Skip to content

Commit

Permalink
Add HCB Phone Number (#1101)
Browse files Browse the repository at this point in the history
Co-authored-by: Gary Tou <gary@garytou.com>
  • Loading branch information
Chay2203 and garyhtou committed Mar 14, 2024
1 parent 48c09fa commit e1dd78d
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion components/fiscal-sponsorship/apply/personal-form.js
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion components/footer.js
Expand Up @@ -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
}) => (
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion pages/fiscal-sponsorship/about.js
Expand Up @@ -487,7 +487,7 @@ export default function FiscalSponsorship() {
}
}}
/>
<Footer dark />
<Footer dark phoneNumber="+1 (844) 237 2290" phoneNumberUri="+1-844-237-2290"/>
</Box>
)
}
2 changes: 1 addition & 1 deletion pages/fiscal-sponsorship/climate/index.js
Expand Up @@ -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>
)
}
Expand Down
2 changes: 1 addition & 1 deletion pages/fiscal-sponsorship/first.js
Expand Up @@ -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" />
</>
)
}
Expand Down
2 changes: 1 addition & 1 deletion pages/fiscal-sponsorship/index.js
Expand Up @@ -581,7 +581,7 @@ export default function Page() {
</Text>
</Flex>
</Box>
<Footer />
<Footer phoneNumber="+1 (844) 237 2290" phoneNumberUri="+1-844-237-2290"/>
</>
)
}

0 comments on commit e1dd78d

Please sign in to comment.