mirror of
https://github.com/System-End/site.git
synced 2026-04-19 16:28:21 +00:00
Changes to hackclub.com/slack post discussion with @zrl (#1206)
Co-authored-by: Sam Poder <sam.r.poder@gmail.com>
This commit is contained in:
parent
54fc0e9812
commit
1efca32a04
1 changed files with 8 additions and 8 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import { getCookie, hasCookie } from 'cookies-next'
|
||||
import {
|
||||
Box,
|
||||
Card,
|
||||
|
|
@ -11,7 +12,6 @@ import {
|
|||
} from 'theme-ui'
|
||||
import useForm from '../../lib/use-form'
|
||||
import Submit from '../submit'
|
||||
import { getCookie, hasCookie } from 'cookies-next'
|
||||
|
||||
import { withRouter } from 'next/router'
|
||||
|
||||
|
|
@ -23,10 +23,10 @@ const JoinForm = ({ sx = {}, router }) => {
|
|||
method: 'POST',
|
||||
initData: hasCookie('continent')
|
||||
? {
|
||||
continent: getCookie('continent'),
|
||||
reason: router.query.reason,
|
||||
event: router.query.event
|
||||
}
|
||||
continent: getCookie('continent'),
|
||||
reason: router.query.reason,
|
||||
event: router.query.event
|
||||
}
|
||||
: { reason: router.query.reason, event: router.query.event }
|
||||
})
|
||||
|
||||
|
|
@ -77,7 +77,7 @@ const JoinForm = ({ sx = {}, router }) => {
|
|||
/>
|
||||
</Label>
|
||||
<Label>
|
||||
Education level
|
||||
School level
|
||||
<Select
|
||||
{...useField('year')}
|
||||
required
|
||||
|
|
@ -93,10 +93,10 @@ const JoinForm = ({ sx = {}, router }) => {
|
|||
</Label>
|
||||
</Grid>
|
||||
<Label>
|
||||
Why do you want to join the Hack Club Slack?
|
||||
How did you hear about us/the Slack? What are you most looking forward to?
|
||||
<Textarea
|
||||
{...useField('reason')}
|
||||
placeholder="Write a few sentences."
|
||||
placeholder="I heard about Hack Club from..."
|
||||
required
|
||||
/>
|
||||
</Label>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue