From 04bf0fd062fd723868e0af961eefb95b2cfd7e8e Mon Sep 17 00:00:00 2001 From: IanWearsHat Date: Fri, 1 Nov 2024 14:55:04 -0700 Subject: [PATCH] Fixed heights of maps, reordered imports in day components --- apps/site/src/app/schedule/DayOne/DayOne.module.scss | 1 - apps/site/src/app/schedule/DayOne/DayOne.tsx | 4 ++-- apps/site/src/app/schedule/DayThree/DayThree.module.scss | 2 -- apps/site/src/app/schedule/DayThree/DayThree.tsx | 6 +++--- apps/site/src/app/schedule/DayTwo/DayTwo.module.scss | 1 - apps/site/src/app/schedule/DayTwo/DayTwo.tsx | 4 ++-- 6 files changed, 7 insertions(+), 11 deletions(-) diff --git a/apps/site/src/app/schedule/DayOne/DayOne.module.scss b/apps/site/src/app/schedule/DayOne/DayOne.module.scss index 21d1c688..897d2506 100644 --- a/apps/site/src/app/schedule/DayOne/DayOne.module.scss +++ b/apps/site/src/app/schedule/DayOne/DayOne.module.scss @@ -15,7 +15,6 @@ .map1 { position: absolute; - height: auto; width: 80%; min-width: 1000px; @include bootstrap.media-breakpoint-down(md) { diff --git a/apps/site/src/app/schedule/DayOne/DayOne.tsx b/apps/site/src/app/schedule/DayOne/DayOne.tsx index 68f2f0aa..08fb153f 100644 --- a/apps/site/src/app/schedule/DayOne/DayOne.tsx +++ b/apps/site/src/app/schedule/DayOne/DayOne.tsx @@ -3,13 +3,13 @@ import Image from "next/image"; import EventCircle from "../Assets/Circle"; -import styles from "./DayOne.module.scss"; - 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; diff --git a/apps/site/src/app/schedule/DayThree/DayThree.module.scss b/apps/site/src/app/schedule/DayThree/DayThree.module.scss index 62d3b8ab..93c49c58 100644 --- a/apps/site/src/app/schedule/DayThree/DayThree.module.scss +++ b/apps/site/src/app/schedule/DayThree/DayThree.module.scss @@ -6,7 +6,6 @@ display: flex; justify-content: center; align-items: center; - height: auto; height: 1300px; } @@ -14,7 +13,6 @@ position: absolute; width: 120%; min-width: 1400px; - height: auto; } .title { diff --git a/apps/site/src/app/schedule/DayThree/DayThree.tsx b/apps/site/src/app/schedule/DayThree/DayThree.tsx index f76fb5cb..0efede02 100644 --- a/apps/site/src/app/schedule/DayThree/DayThree.tsx +++ b/apps/site/src/app/schedule/DayThree/DayThree.tsx @@ -1,17 +1,17 @@ "use client"; -import React, { useEffect } from "react"; +import React from "react"; import Image from "next/image"; import EventCircle from "../Assets/Circle"; import useWindowWidth from "@/lib/useWindowWidth"; -import styles from "./DayThree.module.scss"; - 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; diff --git a/apps/site/src/app/schedule/DayTwo/DayTwo.module.scss b/apps/site/src/app/schedule/DayTwo/DayTwo.module.scss index 86dd93c7..e1eff408 100644 --- a/apps/site/src/app/schedule/DayTwo/DayTwo.module.scss +++ b/apps/site/src/app/schedule/DayTwo/DayTwo.module.scss @@ -13,7 +13,6 @@ position: absolute; width: 90%; min-width: 1400px; - height: auto; } .title { diff --git a/apps/site/src/app/schedule/DayTwo/DayTwo.tsx b/apps/site/src/app/schedule/DayTwo/DayTwo.tsx index 91ed6c3c..7073808d 100644 --- a/apps/site/src/app/schedule/DayTwo/DayTwo.tsx +++ b/apps/site/src/app/schedule/DayTwo/DayTwo.tsx @@ -6,12 +6,12 @@ import Image from "next/image"; import EventCircle from "../Assets/Circle"; import useWindowWidth from "@/lib/useWindowWidth"; -import styles from "./DayTwo.module.scss"; - 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;