diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index a9e800eb..6657b0b3 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v2 - uses: amondnet/vercel-action@v25 with: - vercel-version: 30.2.2 + vercel-version: "latest" github-comment: | @@ -42,7 +42,7 @@ jobs: - uses: actions/checkout@v2 - uses: amondnet/vercel-action@v25 with: - vercel-version: 30.2.2 + vercel-version: "latest" github-comment: |
diff --git a/README.md b/README.md index 12129943..3276fa75 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# zothacks-site-2023 +# zothacks-site ## Overview @@ -69,4 +69,4 @@ To develop an individual app or package, first navigate to the corresponding dir This repo is currently source available, but not licensed under an open source license. This may be subject to change in the future. -Copyright © 2023 Hack at UCI +Copyright © Hack at UCI diff --git a/apps/sanity/sanity.config.ts b/apps/sanity/sanity.config.ts index 278ca9f5..ed14eb88 100644 --- a/apps/sanity/sanity.config.ts +++ b/apps/sanity/sanity.config.ts @@ -8,7 +8,7 @@ import { HeartHandshake, BadgeHelp, Handshake } from "lucide-react"; export default defineConfig({ name: "default", - title: "zothacks-site-2023", + title: "ZotHacks", projectId: "tz8iut6e", dataset: "production", diff --git a/apps/site/src/app/(home)/sections/Landing/Characters.module.scss b/apps/site/src/app/(home)/sections/Landing/Characters.module.scss deleted file mode 100644 index c0f67fcc..00000000 --- a/apps/site/src/app/(home)/sections/Landing/Characters.module.scss +++ /dev/null @@ -1,71 +0,0 @@ -@use "bootstrap-utils" as bootstrap; - -.character { - position: absolute; - visibility: hidden; - right: 18vw; - top: 15.5vw; - transform: translateY(-70%); - width: 80px; - max-width: 7vw; - - @include bootstrap.media-breakpoint-up(md) { - visibility: visible; - } -} - -.characterFoam { - position: absolute; - visibility: hidden; - right: 18vw; - top: 16.4vw; - transform: translateY(-50%); - width: 80px; - max-width: 7vw; - - @include bootstrap.media-breakpoint-up(md) { - visibility: visible; - } -} - -.characterShadow { - position: absolute; - visibility: hidden; - right: 18vw; - top: 16.5vw; - transform: translateY(-20%); - width: 80px; - max-width: 7vw; - - @include bootstrap.media-breakpoint-up(md) { - visibility: visible; - } -} - -.mainCharacter { - position: absolute; - width: 300px; - visibility: hidden; - left: 10vw; - top: 32vw; - transform: translate(-50%, -50%); - max-width: 18vw; - - @include bootstrap.media-breakpoint-up(md) { - visibility: visible; - } -} - -.beachBall { - position: absolute; - width: 300px; - visibility: hidden; - right: 2vw; - top: 22vw; - transform: translate(calc(50% - 10vw), calc(-50% + 5vw)); - max-width: 14vw; - - @include bootstrap.media-breakpoint-up(md) { - visibility: visible; - } -} diff --git a/apps/site/src/app/(home)/sections/Landing/Characters.tsx b/apps/site/src/app/(home)/sections/Landing/Characters.tsx deleted file mode 100644 index 0de3642d..00000000 --- a/apps/site/src/app/(home)/sections/Landing/Characters.tsx +++ /dev/null @@ -1,71 +0,0 @@ -import Image from "next/image"; -import { motion } from "framer-motion"; - -import waterAnteater from "@/assets/images/intro-water-anteater.svg"; -import waterAnteaterFoam from "@/assets/images/intro-character-foam.svg"; -import waterAnteaterShadow from "@/assets/images/intro-water-anteater-shadow.svg"; -import beachBall from "@/assets/images/intro-beach-ball.svg"; - -import mainCharacter from "@/assets/images/intro-main-anteater.svg"; - -import styles from "./Characters.module.scss"; - -export default function Characters() { - return ( -
- - - - - - - - - - - - - - - - - -
- ); -} diff --git a/apps/site/src/app/schedule/Countdown/Countdown.module.scss b/apps/site/src/app/schedule/Countdown/Countdown.module.scss deleted file mode 100644 index 5cd0b32c..00000000 --- a/apps/site/src/app/schedule/Countdown/Countdown.module.scss +++ /dev/null @@ -1,39 +0,0 @@ -@use "bootstrap-utils" as bootstrap; - -.countdown { - margin: 0; - padding-bottom: 50px; - opacity: 0; - transition: opacity 225ms cubic-bezier(0.32, 0, 0.67, 0); - - span { - text-align: center; - color: white; - font-weight: 600; - - &.time { - display: block; - @include bootstrap.font-size(6rem); - line-height: 100%; - - .number { - display: inline-block; - text-align: center; - width: 2ch; - } - - .colon { - opacity: 0.75; - } - } - - &.caption { - display: block; - @include bootstrap.font-size(1.5rem); - } - } -} - -.loaded { - opacity: 1; -} diff --git a/apps/site/src/app/schedule/Countdown/Countdown.tsx b/apps/site/src/app/schedule/Countdown/Countdown.tsx deleted file mode 100644 index 1a8f2d31..00000000 --- a/apps/site/src/app/schedule/Countdown/Countdown.tsx +++ /dev/null @@ -1,66 +0,0 @@ -"use client"; - -import React, { useEffect, useState } from "react"; - -import clsx from "clsx"; -import styles from "./Countdown.module.scss"; - -interface CountdownProps { - countdownTo: Date; - isHackingStarted: boolean; -} - -const Countdown: React.FC = ({ - countdownTo, - isHackingStarted, -}) => { - const [remainingSeconds, setRemainingSeconds] = useState(NaN); - - useEffect(() => { - setRemainingSeconds( - Math.max(0, (countdownTo.valueOf() - new Date().valueOf()) / 1000), - ); - const interval = setInterval(() => { - setRemainingSeconds((r) => Math.max(0, r - 1)); - }, 1000); - - return () => clearInterval(interval); - }, [countdownTo]); - - return ( -
- - - {Math.floor(remainingSeconds / (60 * 60)) - .toString() - .padStart(2, "0")} - - : - - {Math.floor((remainingSeconds / 60) % 60) - .toString() - .padStart(2, "0")} - - - : - - {Math.floor(remainingSeconds % 60) - .toString() - .padStart(2, "0")} - - - - {isHackingStarted && !isNaN(remainingSeconds) - ? "Until Hacking Ends" - : "Until Hacking Begins"} - -
- ); -}; - -export default Countdown; diff --git a/apps/site/src/app/schedule/DayOne/DayOne.module.scss b/apps/site/src/app/schedule/DayOne/DayOne.module.scss deleted file mode 100644 index 3771f318..00000000 --- a/apps/site/src/app/schedule/DayOne/DayOne.module.scss +++ /dev/null @@ -1,87 +0,0 @@ -@use "bootstrap-utils" as bootstrap; - -.mapContainer { - width: 100vw; - position: relative; - display: flex; - justify-content: center; - align-items: center; - height: 1300px; - @include bootstrap.media-breakpoint-down(md) { - height: 1500px; - } -} - -.map1 { - position: absolute; - width: 80%; - min-width: 1000px; - @include bootstrap.media-breakpoint-down(md) { - display: none; - } -} - -.title { - position: absolute; - top: -70px; - left: 50%; - transform: translateX(-50%); - font-weight: bold; -} - -.mapPath { - position: absolute; - aspect-ratio: 1 / 1; - @include bootstrap.media-breakpoint-down(md) { - width: 265px; - height: 592px; - } -} - -.mobileMap { - position: absolute; - width: 80%; - min-width: 1000px; - height: 70%; - @include bootstrap.media-breakpoint-up(md) { - display: none; - } -} - -.mobilePath { - position: absolute; - height: 100%; - width: 100%; - @include bootstrap.media-breakpoint-up(md) { - display: none; - } -} - -.pathImage { - width: 100%; - height: 100%; - @include bootstrap.media-breakpoint-down(md) { - display: none; - } -} - -@media screen and (min-width: 1501px) { - .mapPath { - width: 966px; - height: 793px; - } -} - -@media screen and (min-width: 1000px) and (max-width: 1500px) { - .mapPath { - width: 772px; - height: 634px; - } -} - -@media screen and (min-width: 768px) and (max-width: 999px) { - .mapPath { - width: 627px; - height: 515px; - } -} diff --git a/apps/site/src/app/schedule/DayOne/DayOne.tsx b/apps/site/src/app/schedule/DayOne/DayOne.tsx deleted file mode 100644 index 78f3c22d..00000000 --- a/apps/site/src/app/schedule/DayOne/DayOne.tsx +++ /dev/null @@ -1,61 +0,0 @@ -"use client"; -import Image from "next/image"; - -import EventCircle from "../Assets/Circle"; - -import Map1 from "@/assets/images/map1/map_1.svg"; -import MobileMap from "@/assets/images/map1/mobile_map.svg"; -import MobilePath from "@/assets/images/map1/mobile_path.png"; -import Path from "@/assets/images/map1/map_1_path.png"; - -import styles from "./DayOne.module.scss"; - -interface DayOneProps { - schedule: Array; - time: number; -} - -const DayOne: React.FC = ({ schedule, time }) => { - const positions = [ - { top: "-5px", left: "-10px" }, - { top: "calc(36% - 25px)", left: "50%" }, - { top: "calc(100% - 25px)", left: "calc(100% - 25px)" }, - ]; - return ( - <> -
- - -
- - - - {schedule.map((event, i) => ( - - ))} -

Day One

-
-
- - ); -}; - -export default DayOne; diff --git a/apps/site/src/app/schedule/DayThree/DayThree.module.scss b/apps/site/src/app/schedule/DayThree/DayThree.module.scss deleted file mode 100644 index a0c36fab..00000000 --- a/apps/site/src/app/schedule/DayThree/DayThree.module.scss +++ /dev/null @@ -1,94 +0,0 @@ -@use "bootstrap-utils" as utils; - -.mapContainer { - width: 100vw; - position: relative; - display: flex; - justify-content: center; - align-items: center; - height: 1300px; -} - -.map3 { - position: absolute; - width: 120%; - min-width: 1400px; -} - -.title { - position: absolute; - top: -250px; - left: 50%; - transform: translateX(-50%); - font-weight: bold; -} - -.mapPath { - position: absolute; -} - -.pathImage { - position: relative; - top: -160px; - left: 15%; - - width: 70%; - height: 160%; - - @include utils.media-breakpoint-down(sm) { - display: none; - } -} - -.mobilePath { - position: relative; - top: -40%; - left: 20%; - - width: 65%; - height: 600px; - - @include utils.media-breakpoint-up(sm) { - display: none; - } -} - -@include utils.media-breakpoint-up(sm) { - .pathImage { - top: 0; - left: 0; - width: 100%; - height: 100%; - } - - .map3 { - position: absolute; - width: 80%; - min-width: 1100px; - } - - .title { - top: -100px; - } -} - -@media screen and (min-width: 1751px) { - .mapPath { - width: 1168px; - height: 598px; - } -} - -@media screen and (min-width: 1450px) and (max-width: 1750px) { - .mapPath { - width: 934px; - height: 478px; - } -} - -@media screen and (max-width: 1451px) { - .mapPath { - width: min(70%, 747px); - height: 382px; - } -} diff --git a/apps/site/src/app/schedule/DayThree/DayThree.tsx b/apps/site/src/app/schedule/DayThree/DayThree.tsx deleted file mode 100644 index f0ed7e44..00000000 --- a/apps/site/src/app/schedule/DayThree/DayThree.tsx +++ /dev/null @@ -1,66 +0,0 @@ -"use client"; - -import React from "react"; -import Image from "next/image"; - -import EventCircle from "../Assets/Circle"; -import useWindowWidth from "@/lib/useWindowWidth"; - -import Map3 from "@/assets/images/map3/map_3.svg"; -import Path from "@/assets/images/map3/map_3_path.png"; -import MobilePath from "@/assets/images/map3/map_3_path_mobile.png"; - -import styles from "./DayThree.module.scss"; - -interface DayThreeProps { - schedule: Array; - time: number; -} - -const DayThree: React.FC = ({ schedule, time }) => { - const windowWidth = useWindowWidth(); - const positions = - windowWidth > 576 - ? [ - { top: "-5px", left: "-10px" }, - { top: "calc(53% - 25px)", left: "50%" }, - { top: "calc(100% - 25px)", left: "calc(100% - 50px)" }, - ] - : [ - { top: "-200px", left: "22px" }, - { top: "calc(14% - 25px)", left: "63%" }, - { top: "calc(117% - 25px)", left: "calc(90% - 50px)" }, - ]; - - return ( - <> -
- -
- - - {schedule.map((event, i) => ( - - ))} -

Day Three

-
-
- - ); -}; - -export default DayThree; diff --git a/apps/site/src/app/schedule/DayTwo/DayTwo.module.scss b/apps/site/src/app/schedule/DayTwo/DayTwo.module.scss deleted file mode 100644 index f1ee0a91..00000000 --- a/apps/site/src/app/schedule/DayTwo/DayTwo.module.scss +++ /dev/null @@ -1,75 +0,0 @@ -@use "bootstrap-utils" as bootstrap; - -.mapContainer { - width: 100vw; - position: relative; - display: flex; - justify-content: center; - align-items: center; - height: auto; -} - -.map2 { - position: absolute; - width: 90%; - min-width: 1400px; -} - -.title { - position: absolute; - top: -60px; - left: 50%; - transform: translateX(-50%); - font-weight: bold; -} - -.mapPath { - position: absolute; -} - -.pathImage { - height: 100%; - width: 100%; - @include bootstrap.media-breakpoint-down(md) { - display: none; - } -} - -.mobilePath { - width: 100%; - height: 2690px; - @include bootstrap.media-breakpoint-up(md) { - display: none; - } -} - -@media screen and (min-width: 1601px) { - .mapPath { - width: 1145px; - height: 3049px; - } - .mapContainer { - height: 4000px; - } -} - -@media screen and (min-width: 1351px) and (max-width: 1600px) { - .mapPath { - width: 817px; - height: 2439px; - } - .mapContainer { - height: 3000px; - } -} - -@media screen and (max-width: 1350px) { - .mapPath { - width: min(80%, 677px); - height: 2690px; - } - - .mapContainer { - height: 3000px; - } -} diff --git a/apps/site/src/app/schedule/DayTwo/DayTwo.tsx b/apps/site/src/app/schedule/DayTwo/DayTwo.tsx deleted file mode 100644 index a11ad9d8..00000000 --- a/apps/site/src/app/schedule/DayTwo/DayTwo.tsx +++ /dev/null @@ -1,85 +0,0 @@ -"use client"; - -import React from "react"; -import Image from "next/image"; - -import EventCircle from "../Assets/Circle"; -import useWindowWidth from "@/lib/useWindowWidth"; - -import Map2 from "@/assets/images/map2/map_2.svg"; -import Path from "@/assets/images/map2/map_2_path.png"; -import MobilePath from "@/assets/images/map2/map_2_path_mobile.png"; - -import styles from "./DayTwo.module.scss"; - -interface DayTwoProps { - schedule: Array; - time: number; -} - -const DayTwo: React.FC = ({ schedule, time }) => { - const windowWidth = useWindowWidth(); - const positions = - windowWidth > 768 - ? [ - { top: "-0.5%", left: "16%" }, - { top: "1.5%", left: "60%" }, - { top: "13.5%", left: "65%" }, - { top: "24%", left: "55%" }, - { top: "28.5%", left: "32%" }, - { top: "43%", left: "23%" }, - { top: "44.8%", left: "60%" }, - { top: "59.5%", left: "38%" }, - { top: "70%", left: "30%" }, - { top: "80.5%", left: "70%" }, - { top: "82.5%", left: "20%" }, - { top: "95%", left: "50%" }, - { top: "99%", left: "92%" }, - ] - : [ - { top: "-0.5%", left: "16%" }, - { top: "-0.4%", left: "70%" }, - { top: "13.5%", left: "65%" }, - { top: "20%", left: "18%" }, - { top: "28%", left: "32%" }, - { top: "43%", left: "23%" }, - { top: "50%", left: "74%" }, - { top: "59%", left: "38%" }, - { top: "71%", left: "30%" }, - { top: "80.5%", left: "70%" }, - { top: "82.5%", left: "20%" }, - { top: "94%", left: "10%" }, - { top: "98.5%", left: windowWidth < 576 ? "79%" : "90%" }, - ]; - return ( - <> -
- -
- - - {schedule.map((event, i) => ( - - ))} -

Day Two

-
-
- - ); -}; - -export default DayTwo; diff --git a/apps/site/src/assets/background/ocean-sand-background.svg b/apps/site/src/assets/background/ocean-sand-background.svg deleted file mode 100644 index 10d48ba3..00000000 --- a/apps/site/src/assets/background/ocean-sand-background.svg +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/site/src/assets/background/ocean-sand-mobile-background.svg b/apps/site/src/assets/background/ocean-sand-mobile-background.svg deleted file mode 100644 index 357a29c9..00000000 --- a/apps/site/src/assets/background/ocean-sand-mobile-background.svg +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/site/src/assets/icons/google-cloud-logo.png b/apps/site/src/assets/icons/google-cloud-logo.png deleted file mode 100644 index 846407cd..00000000 Binary files a/apps/site/src/assets/icons/google-cloud-logo.png and /dev/null differ diff --git a/apps/site/src/assets/icons/hack.png b/apps/site/src/assets/icons/hack.png deleted file mode 100644 index 8bb4400b..00000000 Binary files a/apps/site/src/assets/icons/hack.png and /dev/null differ diff --git a/apps/site/src/assets/icons/instagram.png b/apps/site/src/assets/icons/instagram.png deleted file mode 100644 index 6332c762..00000000 Binary files a/apps/site/src/assets/icons/instagram.png and /dev/null differ diff --git a/apps/site/src/assets/icons/spotify-logo.png b/apps/site/src/assets/icons/spotify-logo.png deleted file mode 100644 index 8a601f5e..00000000 Binary files a/apps/site/src/assets/icons/spotify-logo.png and /dev/null differ diff --git a/apps/site/src/assets/icons/twitter-logo.png b/apps/site/src/assets/icons/twitter-logo.png deleted file mode 100644 index 075b6289..00000000 Binary files a/apps/site/src/assets/icons/twitter-logo.png and /dev/null differ diff --git a/apps/site/src/assets/images/MentorStickyGreen.svg b/apps/site/src/assets/images/MentorStickyGreen.svg deleted file mode 100644 index a41fbc5c..00000000 --- a/apps/site/src/assets/images/MentorStickyGreen.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/apps/site/src/assets/images/MentorStickyYellow.svg b/apps/site/src/assets/images/MentorStickyYellow.svg deleted file mode 100644 index b6b570b1..00000000 --- a/apps/site/src/assets/images/MentorStickyYellow.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/apps/site/src/assets/images/ZotHacks 2023.svg b/apps/site/src/assets/images/ZotHacks 2023.svg deleted file mode 100644 index df7f1466..00000000 --- a/apps/site/src/assets/images/ZotHacks 2023.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/apps/site/src/assets/images/apps-closed.svg b/apps/site/src/assets/images/apps-closed.svg deleted file mode 100644 index c81fe5fd..00000000 --- a/apps/site/src/assets/images/apps-closed.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/apps/site/src/assets/images/clip.svg b/apps/site/src/assets/images/clip.svg deleted file mode 100644 index 4cd185d2..00000000 --- a/apps/site/src/assets/images/clip.svg +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/site/src/assets/images/eraser.png b/apps/site/src/assets/images/eraser.png deleted file mode 100644 index c481533c..00000000 Binary files a/apps/site/src/assets/images/eraser.png and /dev/null differ diff --git a/apps/site/src/assets/images/hack-doodle.png b/apps/site/src/assets/images/hack-doodle.png deleted file mode 100644 index cf3236c5..00000000 Binary files a/apps/site/src/assets/images/hack-doodle.png and /dev/null differ diff --git a/apps/site/src/assets/images/heart_emoji.png b/apps/site/src/assets/images/heart_emoji.png deleted file mode 100644 index 9c01564b..00000000 Binary files a/apps/site/src/assets/images/heart_emoji.png and /dev/null differ diff --git a/apps/site/src/assets/images/index-card-mobile.svg b/apps/site/src/assets/images/index-card-mobile.svg deleted file mode 100644 index ed7575e4..00000000 --- a/apps/site/src/assets/images/index-card-mobile.svg +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/apps/site/src/assets/images/index-card-pin.svg b/apps/site/src/assets/images/index-card-pin.svg deleted file mode 100644 index e2556a87..00000000 --- a/apps/site/src/assets/images/index-card-pin.svg +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/site/src/assets/images/index-card.svg b/apps/site/src/assets/images/index-card.svg deleted file mode 100644 index 65bc6017..00000000 --- a/apps/site/src/assets/images/index-card.svg +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/site/src/assets/images/intro-apply-button.svg b/apps/site/src/assets/images/intro-apply-button.svg deleted file mode 100644 index efca344c..00000000 --- a/apps/site/src/assets/images/intro-apply-button.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/apps/site/src/assets/images/intro-beach-ball.svg b/apps/site/src/assets/images/intro-beach-ball.svg deleted file mode 100644 index 0c1fcbc4..00000000 --- a/apps/site/src/assets/images/intro-beach-ball.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/apps/site/src/assets/images/intro-character-foam.svg b/apps/site/src/assets/images/intro-character-foam.svg deleted file mode 100644 index 6fd1934d..00000000 --- a/apps/site/src/assets/images/intro-character-foam.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/apps/site/src/assets/images/intro-main-anteater.svg b/apps/site/src/assets/images/intro-main-anteater.svg deleted file mode 100644 index f6393081..00000000 --- a/apps/site/src/assets/images/intro-main-anteater.svg +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/site/src/assets/images/intro-water-anteater-shadow.svg b/apps/site/src/assets/images/intro-water-anteater-shadow.svg deleted file mode 100644 index 58050bbf..00000000 --- a/apps/site/src/assets/images/intro-water-anteater-shadow.svg +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/site/src/assets/images/intro-water-anteater.svg b/apps/site/src/assets/images/intro-water-anteater.svg deleted file mode 100644 index 6c282af6..00000000 --- a/apps/site/src/assets/images/intro-water-anteater.svg +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/site/src/assets/images/left-faq-anteater.svg b/apps/site/src/assets/images/left-faq-anteater.svg deleted file mode 100644 index f2a38169..00000000 --- a/apps/site/src/assets/images/left-faq-anteater.svg +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/site/src/assets/images/lined_paper.svg b/apps/site/src/assets/images/lined_paper.svg deleted file mode 100644 index 572a71ed..00000000 --- a/apps/site/src/assets/images/lined_paper.svg +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/site/src/assets/images/map1/map_1.svg b/apps/site/src/assets/images/map1/map_1.svg deleted file mode 100644 index 50f8d144..00000000 --- a/apps/site/src/assets/images/map1/map_1.svg +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/site/src/assets/images/map1/map_1_path.png b/apps/site/src/assets/images/map1/map_1_path.png deleted file mode 100644 index 859164e7..00000000 Binary files a/apps/site/src/assets/images/map1/map_1_path.png and /dev/null differ diff --git a/apps/site/src/assets/images/map1/mobile_map.svg b/apps/site/src/assets/images/map1/mobile_map.svg deleted file mode 100644 index c51b9260..00000000 --- a/apps/site/src/assets/images/map1/mobile_map.svg +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/site/src/assets/images/map1/mobile_path.png b/apps/site/src/assets/images/map1/mobile_path.png deleted file mode 100644 index b1986b10..00000000 Binary files a/apps/site/src/assets/images/map1/mobile_path.png and /dev/null differ diff --git a/apps/site/src/assets/images/map2/cross.svg b/apps/site/src/assets/images/map2/cross.svg deleted file mode 100644 index 73169729..00000000 --- a/apps/site/src/assets/images/map2/cross.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/apps/site/src/assets/images/map2/map_2.svg b/apps/site/src/assets/images/map2/map_2.svg deleted file mode 100644 index b25a6a2c..00000000 --- a/apps/site/src/assets/images/map2/map_2.svg +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/site/src/assets/images/map2/map_2_path.png b/apps/site/src/assets/images/map2/map_2_path.png deleted file mode 100644 index fb89311a..00000000 Binary files a/apps/site/src/assets/images/map2/map_2_path.png and /dev/null differ diff --git a/apps/site/src/assets/images/map2/map_2_path_mobile.png b/apps/site/src/assets/images/map2/map_2_path_mobile.png deleted file mode 100644 index b45b2da9..00000000 Binary files a/apps/site/src/assets/images/map2/map_2_path_mobile.png and /dev/null differ diff --git a/apps/site/src/assets/images/map3/map_3.svg b/apps/site/src/assets/images/map3/map_3.svg deleted file mode 100644 index 83575fc6..00000000 --- a/apps/site/src/assets/images/map3/map_3.svg +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/site/src/assets/images/map3/map_3_path.png b/apps/site/src/assets/images/map3/map_3_path.png deleted file mode 100644 index 604eedb1..00000000 Binary files a/apps/site/src/assets/images/map3/map_3_path.png and /dev/null differ diff --git a/apps/site/src/assets/images/map3/map_3_path_mobile.png b/apps/site/src/assets/images/map3/map_3_path_mobile.png deleted file mode 100644 index 5bd5651b..00000000 Binary files a/apps/site/src/assets/images/map3/map_3_path_mobile.png and /dev/null differ diff --git a/apps/site/src/assets/images/maps/countdown.svg b/apps/site/src/assets/images/maps/countdown.svg deleted file mode 100644 index 7aa12673..00000000 --- a/apps/site/src/assets/images/maps/countdown.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/apps/site/src/assets/images/resource-link.svg b/apps/site/src/assets/images/resource-link.svg deleted file mode 100644 index 4e9ca6d4..00000000 --- a/apps/site/src/assets/images/resource-link.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/apps/site/src/assets/images/resources-bang.svg b/apps/site/src/assets/images/resources-bang.svg deleted file mode 100644 index c60f77fc..00000000 --- a/apps/site/src/assets/images/resources-bang.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/apps/site/src/assets/images/resources-birds.svg b/apps/site/src/assets/images/resources-birds.svg deleted file mode 100644 index b0637d13..00000000 --- a/apps/site/src/assets/images/resources-birds.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/apps/site/src/assets/images/resources-hammerhead.svg b/apps/site/src/assets/images/resources-hammerhead.svg deleted file mode 100644 index 9f6e8c41..00000000 --- a/apps/site/src/assets/images/resources-hammerhead.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/apps/site/src/assets/images/resources-palm-tree-shade.svg b/apps/site/src/assets/images/resources-palm-tree-shade.svg deleted file mode 100644 index 1fe68731..00000000 --- a/apps/site/src/assets/images/resources-palm-tree-shade.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/apps/site/src/assets/images/resources-palm-tree.svg b/apps/site/src/assets/images/resources-palm-tree.svg deleted file mode 100644 index fd8654df..00000000 --- a/apps/site/src/assets/images/resources-palm-tree.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/apps/site/src/assets/images/resources-title.svg b/apps/site/src/assets/images/resources-title.svg deleted file mode 100644 index cfb51176..00000000 --- a/apps/site/src/assets/images/resources-title.svg +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/site/src/assets/images/right-faq-anteater.svg b/apps/site/src/assets/images/right-faq-anteater.svg deleted file mode 100644 index 658ef7ba..00000000 --- a/apps/site/src/assets/images/right-faq-anteater.svg +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/site/src/assets/images/schedule-background.svg b/apps/site/src/assets/images/schedule-background.svg deleted file mode 100644 index 94ce0775..00000000 --- a/apps/site/src/assets/images/schedule-background.svg +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/site/src/assets/images/schedule-chest-open.svg b/apps/site/src/assets/images/schedule-chest-open.svg deleted file mode 100644 index cdc879dc..00000000 --- a/apps/site/src/assets/images/schedule-chest-open.svg +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/site/src/assets/images/schedule-chest.svg b/apps/site/src/assets/images/schedule-chest.svg deleted file mode 100644 index 1f3bebde..00000000 --- a/apps/site/src/assets/images/schedule-chest.svg +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/site/src/assets/images/schedule-title.svg b/apps/site/src/assets/images/schedule-title.svg deleted file mode 100644 index 3191c429..00000000 --- a/apps/site/src/assets/images/schedule-title.svg +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/site/src/assets/images/star.png b/apps/site/src/assets/images/star.png deleted file mode 100644 index 66d0505e..00000000 Binary files a/apps/site/src/assets/images/star.png and /dev/null differ diff --git a/apps/site/src/assets/images/tape.svg b/apps/site/src/assets/images/tape.svg deleted file mode 100644 index 5c2fd1d7..00000000 --- a/apps/site/src/assets/images/tape.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/apps/site/src/assets/index_cards/api-description-card.svg b/apps/site/src/assets/index_cards/api-description-card.svg deleted file mode 100644 index f58112be..00000000 --- a/apps/site/src/assets/index_cards/api-description-card.svg +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/apps/site/src/assets/index_cards/backend-description-card.svg b/apps/site/src/assets/index_cards/backend-description-card.svg deleted file mode 100644 index 2f9f8964..00000000 --- a/apps/site/src/assets/index_cards/backend-description-card.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/apps/site/src/components/.gitkeep b/apps/site/src/components/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/apps/site/src/components/Sticker/BaseSticker.module.scss b/apps/site/src/components/Sticker/BaseSticker.module.scss deleted file mode 100644 index 996b0e97..00000000 --- a/apps/site/src/components/Sticker/BaseSticker.module.scss +++ /dev/null @@ -1,5 +0,0 @@ -.sticker { - cursor: grab; - position: absolute; - z-index: 100; -} diff --git a/apps/site/src/components/Sticker/BaseSticker.tsx b/apps/site/src/components/Sticker/BaseSticker.tsx deleted file mode 100644 index 1df3f694..00000000 --- a/apps/site/src/components/Sticker/BaseSticker.tsx +++ /dev/null @@ -1,82 +0,0 @@ -"use client"; - -import { MutableRefObject, useRef } from "react"; -import { motion } from "framer-motion"; - -import styles from "./BaseSticker.module.scss"; - -interface StickerProps { - imageSrc: string; - alt: string; - height?: number; - width?: number; - draggable?: boolean; - dragConstraints?: object | false | MutableRefObject | undefined; - // dragConstraints prop can be an object containing coordinates, a Falsy boolean, or a parent ref (https://www.framer.com/motion/gestures/#:~:text=%23-,dragConstraints%3A,-false%20%7C%20Partial%3CBoundingBox2D) - animate?: object | undefined; - transition?: object | undefined; - offsetX?: number; - offsetY?: number; -} - -const BaseSticker: React.FC = ({ - imageSrc, - alt, - height = 100, - width = 100, - draggable = true, - dragConstraints = false, - animate = {}, - transition = {}, - offsetX = 0, - offsetY = 0, -}) => { - // prevent next from throwing error involving DOM API - const pageRef = useRef( - typeof document !== "undefined" ? document.documentElement : undefined, - ); - let transitionProps = { ...transition }; - - let animateProps = { - ...animate, - filter: "drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.3))", - }; - - if (draggable) - transitionProps = { - ...transition, - scale: { type: "spring", stiffness: 100 }, - }; - const drag = draggable - ? { - whileTap: { - scale: 1.1, - filter: `drop-shadow(16px 20px 20px rgba(0, 0, 0, 0.15))`, - }, - whileHover: { - scale: 1.025, - filter: `drop-shadow(10px 14px 10px rgba(0, 0, 0, 0.2))`, - }, - drag: true, - initial: { x: -width / 2 + offsetX, y: -height / 2 + offsetY }, - dragMomentum: false, - dragConstraints: dragConstraints ? dragConstraints : pageRef, - dragElastic: 0.2, - transition: transitionProps, - } - : {}; - - return ( - - ); -}; - -export default BaseSticker; diff --git a/apps/site/src/components/Sticker/StickerPosition.module.scss b/apps/site/src/components/Sticker/StickerPosition.module.scss deleted file mode 100644 index a9bd3cdf..00000000 --- a/apps/site/src/components/Sticker/StickerPosition.module.scss +++ /dev/null @@ -1,12 +0,0 @@ -.stickerPosition { - position: relative; - display: flex; - justify-content: center; - width: max-content; -} - -.stickerParent { - position: relative; - width: 0; - height: 0; -} diff --git a/apps/site/src/components/Sticker/StickerPosition.tsx b/apps/site/src/components/Sticker/StickerPosition.tsx deleted file mode 100644 index 445796cc..00000000 --- a/apps/site/src/components/Sticker/StickerPosition.tsx +++ /dev/null @@ -1,56 +0,0 @@ -import type { StickerProps } from "./Stickers/stickerProps"; -import styles from "./StickerPosition.module.scss"; - -interface Sticker { - Node: React.ComponentType; - positionX?: "left" | "right"; - positionY?: "top" | "bottom"; - offsetX?: number; - offsetY?: number; -} - -const StickerParent: React.FC = ({ - Node, - positionY = "top", - offsetX, - offsetY, -}) => ( -
- -
-); - -interface StickerPositionProps { - children?: React.ReactNode; - stickers: Sticker[]; -} - -const StickerPosition: React.FC = ({ - children, - stickers, -}) => { - return ( -
- {stickers - .filter(({ positionX }) => !positionX || positionX === "left") - .map((sticker) => ( - // eslint-disable-next-line react/jsx-key - - ))} - {children} - {stickers - .filter(({ positionX }) => positionX === "right") - .map((sticker) => ( - // eslint-disable-next-line react/jsx-key - - ))} -
- ); -}; - -export default StickerPosition; diff --git a/apps/site/src/components/Sticker/Stickers/HackSticker/HackSticker.tsx b/apps/site/src/components/Sticker/Stickers/HackSticker/HackSticker.tsx deleted file mode 100644 index 398abf35..00000000 --- a/apps/site/src/components/Sticker/Stickers/HackSticker/HackSticker.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import type React from "react"; -import type { StickerProps } from "../stickerProps"; -import HackLogo from "@/assets/icons/hack.png"; -import BaseSticker from "../../BaseSticker"; -import { lightShake } from "@/components/animation"; - -const HackSticker: React.FC = (props) => ( - -); - -export default HackSticker; diff --git a/apps/site/src/components/Sticker/Stickers/HeartSticker/HeartSticker.tsx b/apps/site/src/components/Sticker/Stickers/HeartSticker/HeartSticker.tsx deleted file mode 100644 index 9257901f..00000000 --- a/apps/site/src/components/Sticker/Stickers/HeartSticker/HeartSticker.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import type React from "react"; -import type { StickerProps } from "../stickerProps"; -import HeartEmoji from "@/assets/images/heart_emoji.png"; -import BaseSticker from "../../BaseSticker"; -import { fastShake } from "@/components/animation"; - -const HeartSticker: React.FC = (props) => ( - -); - -export default HeartSticker; diff --git a/apps/site/src/components/Sticker/Stickers/index.tsx b/apps/site/src/components/Sticker/Stickers/index.tsx deleted file mode 100644 index d14e7554..00000000 --- a/apps/site/src/components/Sticker/Stickers/index.tsx +++ /dev/null @@ -1,30 +0,0 @@ -import type React from "react"; -import type { StickerProps } from "./stickerProps"; -import HackLogo from "@/assets/icons/hack.png"; -import HeartEmoji from "@/assets/images/heart_emoji.png"; -import BaseSticker from "../BaseSticker"; -import { fastShake, lightShake } from "@/components/animation"; - -export const HackSticker: React.FC = (props) => { - return ( - - ); -}; - -export const HeartSticker: React.FC = (props) => ( - -); diff --git a/apps/site/src/components/Sticker/Stickers/stickerProps.ts b/apps/site/src/components/Sticker/Stickers/stickerProps.ts deleted file mode 100644 index 054a6a1a..00000000 --- a/apps/site/src/components/Sticker/Stickers/stickerProps.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface StickerProps { - offsetX?: number; - offsetY?: number; -}