From 043e563960423feb038c0ae713d22979783f13e5 Mon Sep 17 00:00:00 2001 From: Bl20052005 <88120481+Bl20052005@users.noreply.github.com> Date: Tue, 21 Jan 2025 22:10:37 -0800 Subject: [PATCH] some time fixes --- .../(main)/schedule/components/EventCard.tsx | 43 +++++++++++++++++-- .../schedule/components/EventSidebar.tsx | 23 ++++++++-- .../(main)/schedule/sections/SchedulePage.tsx | 7 +-- .../schedule/sections/ScheduleScroll.tsx | 26 ++++++++++- 4 files changed, 86 insertions(+), 13 deletions(-) diff --git a/apps/site/src/app/(main)/schedule/components/EventCard.tsx b/apps/site/src/app/(main)/schedule/components/EventCard.tsx index daeb305c..b80aa3b4 100644 --- a/apps/site/src/app/(main)/schedule/components/EventCard.tsx +++ b/apps/site/src/app/(main)/schedule/components/EventCard.tsx @@ -1,7 +1,14 @@ +import { SwordsIcon } from "lucide-react"; import EventProps from "../EventProps"; +import { motion } from "framer-motion"; + import getTimeAndDates from "@/lib/utils/getTimeAndDates"; +interface EventCardProps extends EventProps { + isHappening: boolean; +} + export default function EventCard({ title, location, @@ -11,14 +18,38 @@ export default function EventCard({ organization, hosts, description, -}: EventProps) { + isHappening, +}: EventCardProps) { return ( -
{getTimeAndDates(startTime).day}