diff --git a/apps/live/src/app/(landing)/CarnivalLanding/CarnivalScene.tsx b/apps/live/src/app/(landing)/CarnivalLanding/CarnivalScene.tsx new file mode 100644 index 00000000..d2202d5d --- /dev/null +++ b/apps/live/src/app/(landing)/CarnivalLanding/CarnivalScene.tsx @@ -0,0 +1,172 @@ +"use client"; + +import React from "react"; +import HeroBackground from "../../lib/Assets/SVG/CarnivalLanding/HeroBackground"; +import YellowFirework from "../../lib/Assets/SVG/CarnivalLanding/YellowFirework"; +import OrangeFirework from "../../lib/Assets/SVG/CarnivalLanding/OrangeFirework"; +import PurpleTent from "../../lib/Assets/SVG/CarnivalLanding/PurpleTent"; +import OrangeTent from "../../lib/Assets/SVG/CarnivalLanding/OrangeTent"; +import DartBoard from "../../lib/Assets/SVG/CarnivalLanding/DartBoard"; +import CabinRace from "./Components/CabinRace"; +import OpeningText from "./Components/OpeningText"; +import useDevice from "@util/hooks/useDevice"; + +const CarnivalScene: React.FC = () => { + const { isMobile, isTablet, isDesktop } = useDevice(); + + const getMinHeight = () => { + // Reduce overall scene height so the following section + // (SponsorFeature) appears closer without a large blank gap. + if (isDesktop) return "min-h-[1000px]"; + if (isTablet) return "min-h-[1300px]"; + return "min-h-[890px]"; + }; + + return ( +