Increase redirect time, prettier (#333)

This commit is contained in:
Ella 2022-02-02 10:02:24 -08:00 committed by GitHub
parent 7ebedf0be6
commit 60af430cb8
3 changed files with 24 additions and 15 deletions

View file

@ -31,9 +31,10 @@ export default function BankApplyForm() {
>
Apply for Hack Club Bank
</Text>
<Text sx={{ fontSize: 18, mb: 2}}>
<Text sx={{ fontSize: 18, mb: 2 }}>
Hack Club Bank is open to all US-based Hack Clubs, hackathons, and
student-led nonprofits. There are three steps to getting on Hack Club Bank:
student-led nonprofits. There are three steps to getting on Hack Club
Bank:
<ol>
<li>Fill out this form</li>
<li>
@ -64,7 +65,6 @@ export default function BankApplyForm() {
placeholder="Windy City Hacks"
helperText="What's the name of your event or project?"
value={query.eventName}
required
/>
<Field
@ -74,7 +74,6 @@ export default function BankApplyForm() {
type="url"
helperText="If you don't have one yet, you can leave this blank."
value={query.eventWebsite}
/>
<Field
label="Project Location"
@ -111,9 +110,16 @@ export default function BankApplyForm() {
</HelperText>
</Label>
<Label htmlFor="eventDescription" sx={{ color: 'smoke', fontSize: 18, my: 2 }}>
<Label
htmlFor="eventDescription"
sx={{ color: 'smoke', fontSize: 18, my: 2 }}
>
Tell us about your project!
<Textarea name="eventDescription" sx={{ bg: 'dark', my: 1 }} required />
<Textarea
name="eventDescription"
sx={{ bg: 'dark', my: 1 }}
required
/>
<HelperText>
1-2 sentences summarizing what you'd like to use Hack Club Bank for.
This is just to help us know what to expect during the call!
@ -163,11 +169,14 @@ export default function BankApplyForm() {
name="userBirthday"
type="date"
width="fit-content"
sx={{height: '44px'}}
sx={{ height: '44px' }}
required
/>
<Label htmlFor="returningUser" sx={{ color: 'smoke', fontSize: 18, my: 2 }}>
<Label
htmlFor="returningUser"
sx={{ color: 'smoke', fontSize: 18, my: 2 }}
>
Have you used Hack Club Bank before?
<Select
name="returningUser"
@ -180,8 +189,11 @@ export default function BankApplyForm() {
</option>
</Select>
</Label>
<Box sx={{ mb: 2}}>
<Text variant="subheadline" sx={{ mt: 3, mb: 1, display: 'block', fontSize: 3 }}>
<Box sx={{ mb: 2 }}>
<Text
variant="subheadline"
sx={{ mt: 3, mb: 1, display: 'block', fontSize: 3 }}
>
Mailing Address
</Text>
<HelperText>

View file

@ -40,10 +40,7 @@ function Field({ placeholder, label, name, type, value, onChange }) {
export default function Signup() {
const [values, setValues] = useState({})
return (
<Base
method="get"
action="/bank/apply"
>
<Base method="get" action="/bank/apply">
<Field
label="Project name"
name="eventName"

View file

@ -6,7 +6,7 @@ export default function ApplicationSuccess() {
return (
<Container variant="copy">
<Head>
<meta httpEquiv="refresh" content="7;url=https://hackclub.com/bank" />
<meta httpEquiv="refresh" content="15;url=https://hackclub.com/bank" />
</Head>
<ForceTheme theme="dark" />
<Flex