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 = 2023 const announcementMessage = 'https://hackclub.slack.com/archives/C01D7AHKMPF/p1671483616032169' 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 = () => (