import Head from 'next/head'
import Meta from '@hackclub/meta'
import Nav from '../components/nav'
import {
Box,
Container,
Heading,
Button,
Text,
Image,
Input,
Label,
Link
} from 'theme-ui'
import styled from '@emotion/styled'
import Snowfall from 'react-snowfall'
import Footer from '../components/footer'
import FadeIn from '../components/fade-in'
import { keyframes } from '@emotion/react'
import { useState } from 'react'
const year = 2025
const announcementMessage =
'https://hackclub.slack.com/docs/T0266FRGM/F0671A687SA'
const signupsOpen = true
const Hero = styled(Box)`
background-image: linear-gradient(
to right bottom,
rgb(45, 158, 228),
rgb(41, 143, 206)
);
min-height: 100vh;
position: relative;
text-align: center;
canvas {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
`
const Lead = styled(Box)`
font-size: 24px;
margin-left: auto;
margin-right: auto;
margin-top: 18px;
margin-bottom: 18px;
color: rgb(249, 249, 250);
max-width: 48rem;
`
const Space = styled(Text)`
white-space: pre;
transition: 1s;
`
const RemoveSpace = styled(Text)`
&:hover .space {
font-size: 0;
}
`
const floating = keyframes`
from {
transform: translateY(20px) rotate(0deg);
}
to {
transform: translateY(-20px) rotate(5deg);
}
`
const Page = () => (
It's 2025,
the holidays have come,
now let's all have some fun!
Hack Club Secret Santa
Christmas is here and it's time for some fun! The holiday season is
among us and the elves have assembled, which means its time for
gift-giving to begin! The magical elf will assign you a partner,
send them something fun, & you'll get your own gift in the mail
just in time for the holidays!
{/* Signup form */}
{signupsOpen ? (
) : (
)}
)
export default Page
function Base({ children, action, target, method }) {
return (
{children}
)
}
function Field({ placeholder, label, name, type, value, onChange }) {
return (
)
}
function Signup() {
const [values, setValues] = useState({})
return (
Register!
Be sure to check out the{' '}
rules
{' '}
before you sign up!
setValues({ ...values, name: e.target.value })}
/>
setValues({ ...values, likes: e.target.value })}
/>
setValues({ ...values, dislikes: e.target.value })}
/>
)
}