mirror of
https://github.com/System-End/site.git
synced 2026-04-19 20:55:09 +00:00
31 lines
793 B
JavaScript
31 lines
793 B
JavaScript
import BankApplyForm from '../../components/bank/form'
|
|
import { Box, Container, Card } from 'theme-ui'
|
|
import ForceTheme from '../../components/force-theme'
|
|
import Head from 'next/head'
|
|
import Meta from '@hackclub/meta'
|
|
import GeoPattern from 'geopattern'
|
|
import { useEffect } from 'react'
|
|
|
|
export default function Apply() {
|
|
const bg = GeoPattern.generate(new Date()).toDataUrl()
|
|
|
|
return (
|
|
<>
|
|
<Meta as={Head} title="Apply for Hack Club Bank" />
|
|
<Box
|
|
sx={{
|
|
backgroundImage: bg,
|
|
py: 4,
|
|
backgroundAttachment: 'fixed'
|
|
}}
|
|
>
|
|
<ForceTheme theme="dark" />
|
|
<Container variant="copy">
|
|
<Card variant="primary">
|
|
<BankApplyForm />
|
|
</Card>
|
|
</Container>
|
|
</Box>
|
|
</>
|
|
)
|
|
}
|