Add HCB Phone Number (#1101)

Co-authored-by: Gary Tou <gary@garytou.com>
This commit is contained in:
Naga Chaitanya Varma 2024-03-15 00:34:51 +05:30 committed by GitHub
parent 48c09fa579
commit e1dd78d38c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 8 additions and 6 deletions

View file

@ -111,7 +111,7 @@ export default function PersonalInfoForm({ requiredFields }) {
name="userPhone"
id="userPhone"
type="tel"
placeholder="1-855-625-HACK"
placeholder="+1 (844) 237 2290"
/>
</Field>
<Field

View file

@ -52,6 +52,8 @@ const Service = ({ href, icon, name = '', ...props }) => (
const Footer = ({
dark = false,
email = 'team@hackclub.com',
phoneNumber = '1-855-625-HACK',
phoneNumberUri = '1-855-625-HACK',
children,
...props
}) => (
@ -179,7 +181,7 @@ const Footer = ({
<Service href={`mailto:${email}`} icon="email-fill" />
</Grid>
<Text my={2}>
<Link href="tel:1-855-625-HACK">1-855-625-HACK</Link>
<Link href={`tel:${phoneNumberUri}`}>{phoneNumber}</Link>
<br />
<Text as="span" color="muted">
(call toll-free)

View file

@ -487,7 +487,7 @@ export default function FiscalSponsorship() {
}
}}
/>
<Footer dark />
<Footer dark phoneNumber="+1 (844) 237 2290" phoneNumberUri="+1-844-237-2290"/>
</Box>
)
}

View file

@ -1214,7 +1214,7 @@ export default function ClimatePage({ rawOrganizations, pageRegion }) {
</Box>
</Box>
</Box>
<Footer light key="footer" />
<Footer light key="footer" phoneNumber="+1 (844) 237 2290" phoneNumberUri="+1-844-237-2290"/>
</div>
)
}

View file

@ -186,7 +186,7 @@ export default function First({ stats }) {
<Start stats={stats} />
</Box>
</Box>
<Footer dark key="footer" />
<Footer dark key="footer" phoneNumber="+1 (844) 237 2290" phoneNumberUri="+1-844-237-2290" />
</>
)
}

View file

@ -581,7 +581,7 @@ export default function Page() {
</Text>
</Flex>
</Box>
<Footer />
<Footer phoneNumber="+1 (844) 237 2290" phoneNumberUri="+1-844-237-2290"/>
</>
)
}