From 2f55b14fbf37bdac9ed4c044f2b1fa50668b4cca Mon Sep 17 00:00:00 2001 From: Yoda Date: Wed, 22 Nov 2023 09:46:01 -0800 Subject: [PATCH] Changes --- pages/santa.js | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/pages/santa.js b/pages/santa.js index 9f16c3451..5fd2d0d10 100644 --- a/pages/santa.js +++ b/pages/santa.js @@ -19,6 +19,10 @@ 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, @@ -84,7 +88,7 @@ const Page = () => ( caps > - It's 2022, + It's 2023, the holidays have come, @@ -104,7 +108,7 @@ const Page = () => ( animation: `${floating} cubic-bezier(.55,.03,.43,.98) 8s infinite alternate` }} /> - + ( just in time for the holidays! {/* Signup form */} - - {/* */} + {signupsOpen ? ( + + ) : ( + + )} @@ -186,14 +193,14 @@ function Field({ placeholder, label, name, type, value, onChange }) { function Signup() { const [values, setValues] = useState({}) return ( - + Register! Be sure to check out the{' '} rules @@ -202,7 +209,7 @@ function Signup() { setValues({ ...values, name: e.target.value })} @@ -210,7 +217,7 @@ function Signup() {