mirror of
https://github.com/System-End/site.git
synced 2026-04-19 23:22:49 +00:00
Temporary Slack lockdown for Vitalik AMA
This commit is contained in:
parent
3c23ec253d
commit
6b86c59f81
2 changed files with 10 additions and 8 deletions
|
|
@ -1,9 +1,11 @@
|
|||
import { Button, Box, Container, Heading, Flex, Grid, Text } from 'theme-ui'
|
||||
import SlideUp from '../slide-up'
|
||||
import Icon from '../icon'
|
||||
import JoinForm from './join-form'
|
||||
import { Card, Label, Input, Checkbox, Textarea } from 'theme-ui'
|
||||
// import JoinForm from './join-form'
|
||||
import usePrefersMotion from '../../lib/use-prefers-motion'
|
||||
import useHasMounted from '../../lib/use-has-mounted'
|
||||
import Announcement from '../announcement'
|
||||
|
||||
const Content = () => (
|
||||
<Grid
|
||||
|
|
@ -47,13 +49,11 @@ const Content = () => (
|
|||
</Button>
|
||||
</Box>
|
||||
<SlideUp sx={{ zIndex: 5, display: 'flex', alignItems: 'center' }}>
|
||||
<JoinForm
|
||||
sx={{
|
||||
variant: 'cards.translucent',
|
||||
position: 'relative',
|
||||
zIndex: 3
|
||||
}}
|
||||
/>
|
||||
<Announcement
|
||||
copy="Interested in joining?"
|
||||
caption="
|
||||
We've temporarily closed signups after our AMA with Vitalik Buterin. Check back in a couple days!
|
||||
" />
|
||||
</SlideUp>
|
||||
</Grid>
|
||||
)
|
||||
|
|
|
|||
|
|
@ -30,6 +30,8 @@ export default async function handler(req, res) {
|
|||
|
||||
console.log(data)
|
||||
|
||||
return res.status(500).json({ error: 'Turning off signup while the vitalik AMA wave passes' })
|
||||
|
||||
let secrets = (process.env.NAUGHTY || '').split(',')
|
||||
|
||||
for (const secret of secrets) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue