mirror of
https://github.com/System-End/site.git
synced 2026-04-20 00:25:19 +00:00
Merge pull request #1066 from hackclub/sampoder-patch-2
Custom emails in footer / HCB override
This commit is contained in:
commit
976a49e765
2 changed files with 3 additions and 3 deletions
|
|
@ -51,7 +51,7 @@ const Service = ({ href, icon, name = '', ...props }) => (
|
|||
</Link>
|
||||
)
|
||||
|
||||
const Footer = ({ dark = false, children, ...props }) => (
|
||||
const Footer = ({ dark = false, email = "team@hackclub.com", children, ...props }) => (
|
||||
<Base
|
||||
color={dark ? 'muted' : 'slate'}
|
||||
py={[4, 5]}
|
||||
|
|
@ -173,7 +173,7 @@ const Footer = ({ dark = false, children, ...props }) => (
|
|||
icon="instagram"
|
||||
name="Instagram"
|
||||
/>
|
||||
<Service href="mailto:team@hackclub.com" icon="email-fill" />
|
||||
<Service href={`mailto:${email}`} icon="email-fill" />
|
||||
</Grid>
|
||||
<Text my={2}>
|
||||
<Link href="tel:1-855-625-HACK">1-855-625-HACK</Link>
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ export default function Bank({ stats }) {
|
|||
<Start stats={stats} />
|
||||
</Box>
|
||||
</Box>
|
||||
<Footer dark key="footer" />
|
||||
<Footer dark key="footer" email="hcb@hackclub.com" />
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue