From d1763db786bb00b0ef3cd97cf73d20a4eb52ab96 Mon Sep 17 00:00:00 2001 From: Francesco Sansalvadore Date: Fri, 11 Jul 2025 15:46:23 +0200 Subject: [PATCH] add main stage card links and interactions --- .../LaunchWeek/15/LW15MainStage.tsx | 27 ++++-- .../LaunchWeek/15/data/lw15_data.tsx | 8 +- .../LaunchWeek/15/lw15.components.tsx | 82 ++++++++++++++++++- 3 files changed, 104 insertions(+), 13 deletions(-) diff --git a/apps/www/components/LaunchWeek/15/LW15MainStage.tsx b/apps/www/components/LaunchWeek/15/LW15MainStage.tsx index c53f374096e..b6d889b2d46 100644 --- a/apps/www/components/LaunchWeek/15/LW15MainStage.tsx +++ b/apps/www/components/LaunchWeek/15/LW15MainStage.tsx @@ -10,6 +10,7 @@ import SectionContainer from 'components/Layouts/SectionContainer' import { mainDays, WeekDayProps } from './data' import { useWindowSize } from 'react-use' import { useBreakpoint } from 'common' +import { DayLink } from './lw15.components' const LW15MainStage = ({ className }: { className?: string }) => { const { resolvedTheme } = useTheme() @@ -50,7 +51,9 @@ const DayCard = ({ day }: { day: WeekDayProps }) =>
{day.date} -

[ Access locked ]

+

+ [ Access locked ] +

@@ -68,19 +71,27 @@ const DayCardShipped = ({ day }: { day: WeekDayProps }) => { const { height } = hiddenRef.current.getBoundingClientRect() setHiddenHeight(height + padding) } - - console.log(hiddenHeight) }, [hiddenRef, width]) return (
-
+
    + {day.links?.map((link) => ( +
  • + +
  • + ))} +
{ {day.date}

{day.title}