mirror of
https://github.com/System-End/site.git
synced 2026-04-19 23:22:49 +00:00
Custom emails in footer
This commit is contained in:
parent
2fab803268
commit
8b6f055731
1 changed files with 2 additions and 2 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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue