Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add HCB Phone Number #1101

Merged
merged 6 commits into from Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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',
phoneNumberHyphen = '1-855-625-HACK',
Chay2203 marked this conversation as resolved.
Show resolved Hide resolved
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:${phoneNumberHyphen}`}>{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" phoneNumberHyphen="+1-(844)-237-2290"/>
Chay2203 marked this conversation as resolved.
Show resolved Hide resolved
</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" phoneNumberHyphen="+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" phoneNumberHyphen="+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" phoneNumberHyphen="+1-(844)-237-2290"/>
</>
)
}