Merge pull request #1066 from hackclub/sampoder-patch-2

Custom emails in footer / HCB override
This commit is contained in:
Sam Poder 2024-01-25 16:05:32 -08:00 committed by GitHub
commit 976a49e765
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -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>

View file

@ -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" />
</>
)
}