From 1c93022fd1afc7d9420c05e25b73a52ae7df0971 Mon Sep 17 00:00:00 2001 From: Lachlan Campbell Date: Thu, 14 Mar 2024 23:28:56 -0400 Subject: [PATCH 1/7] FS: Add contact banner --- components/fiscal-sponsorship/contact.js | 36 ++++++++++++++++ components/fiscal-sponsorship/footer.js | 13 ------ pages/fiscal-sponsorship/apply/index.js | 11 ++--- pages/fiscal-sponsorship/index.js | 53 +++++++++++++----------- 4 files changed, 71 insertions(+), 42 deletions(-) create mode 100644 components/fiscal-sponsorship/contact.js delete mode 100644 components/fiscal-sponsorship/footer.js diff --git a/components/fiscal-sponsorship/contact.js b/components/fiscal-sponsorship/contact.js new file mode 100644 index 000000000..6e1a1da54 --- /dev/null +++ b/components/fiscal-sponsorship/contact.js @@ -0,0 +1,36 @@ +import Icon from '../icon' +import { Flex, Link, Text } from 'theme-ui' + +const phoneNumber = '+1 (844) 237-2290' +const phoneNumberUri = '+1-844-237-2290' +const email = 'hcb@hackclub.com' + +export default function ContactBanner({ sx }) { + return ( + + + + Questions? Email {email}{' '} + or call {phoneNumber} + + + ) +} diff --git a/components/fiscal-sponsorship/footer.js b/components/fiscal-sponsorship/footer.js deleted file mode 100644 index 888ab7932..000000000 --- a/components/fiscal-sponsorship/footer.js +++ /dev/null @@ -1,13 +0,0 @@ -import Footer from '../footer' - -// Footer with default props for HCB-specific contact information -const HcbFooter = props => ( -