mirror of
https://github.com/System-End/site.git
synced 2026-04-19 19:45:07 +00:00
Merge pull request #1402 from hackclub/garyhtou/hcb-application-adults
[HCB] Add teenager mission callout on application form
This commit is contained in:
commit
4958ce5bd9
2 changed files with 35 additions and 1 deletions
29
components/fiscal-sponsorship/apply/callout.js
Normal file
29
components/fiscal-sponsorship/apply/callout.js
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
import { Box, Text } from 'theme-ui'
|
||||
|
||||
export default function Callout() {
|
||||
return (
|
||||
<Box
|
||||
sx={{
|
||||
borderLeft: '3px solid',
|
||||
borderLeftColor: 'blue',
|
||||
paddingLeft: 2,
|
||||
color: 'blue',
|
||||
fontSize: 1,
|
||||
textWrap: 'pretty',
|
||||
lineHeight: 1.375
|
||||
}}
|
||||
>
|
||||
<Text as="p" sx={{ fontWeight: 'bold' }}>
|
||||
HCB is a fiscal sponsor primaily for teenage-led organization
|
||||
</Text>
|
||||
<Text as="p" sx={{ mt: 1, textWrap: 'balance' }}>
|
||||
Although we would love to be able to support organizations across all
|
||||
ages and missions, we are currently prioritizing applications from
|
||||
teenagers.
|
||||
</Text>
|
||||
<Text as="p" sx={{ mt: 1, textWrap: 'balance' }}>
|
||||
We are accepting adult-led organizations on a case-by-case basis.
|
||||
</Text>
|
||||
</Box>
|
||||
)
|
||||
}
|
||||
|
|
@ -13,6 +13,7 @@ import PersonalInfoForm from '../../../components/fiscal-sponsorship/apply/perso
|
|||
import { onSubmit } from '../../../components/fiscal-sponsorship/apply/submit'
|
||||
import Watermark from '../../../components/fiscal-sponsorship/apply/watermark'
|
||||
import ContactBanner from '../../../components/fiscal-sponsorship/contact'
|
||||
import Callout from '../../../components/fiscal-sponsorship/apply/callout'
|
||||
|
||||
export default function Apply() {
|
||||
const router = useRouter()
|
||||
|
|
@ -105,7 +106,9 @@ export default function Apply() {
|
|||
</Heading>
|
||||
</Box>
|
||||
<HCBInfo />
|
||||
<ContactBanner sx={{ borderRadius: 'default', bg: 'snow', width: 'fit-content' }} />
|
||||
<ContactBanner
|
||||
sx={{ borderRadius: 'default', bg: 'snow', width: 'fit-content' }}
|
||||
/>
|
||||
</Flex>
|
||||
<FormContainer
|
||||
ref={formContainer}
|
||||
|
|
@ -121,6 +124,8 @@ export default function Apply() {
|
|||
})
|
||||
}
|
||||
>
|
||||
<Callout />
|
||||
|
||||
<Heading as="h2" variant="headline" sx={{ mb: -2 }}>
|
||||
Your organization
|
||||
</Heading>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue