diff --git a/src/components/StackSection.tsx b/src/components/StackSection.tsx index fea4567..d2f7c37 100644 --- a/src/components/StackSection.tsx +++ b/src/components/StackSection.tsx @@ -7,7 +7,7 @@ import { FadeIn } from "./FadeIn"; export function StackSectionPreview() { return ( -
+
{/* Left Column - Text (1/3 width) */} @@ -25,7 +25,7 @@ export function StackSectionPreview() {
{/* Right Column - Stacked Cubes (2/3 width) */} -
+
diff --git a/src/components/ui/StackedCubes.tsx b/src/components/ui/StackedCubes.tsx index cb33333..0753bbc 100644 --- a/src/components/ui/StackedCubes.tsx +++ b/src/components/ui/StackedCubes.tsx @@ -33,7 +33,7 @@ const stackData = [ export function StackedCubes() { const [active, setActive] = useState("agent"); - const [selectedForMobile, setSelectedForMobile] = useState(null); + const [selectedForMobile, setSelectedForMobile] = useState("agent"); const handleCubeClick = (id: string) => { setSelectedForMobile(prev => (prev === id ? null : id)); @@ -44,11 +44,11 @@ export function StackedCubes() { return (
setActive("agent")} >
{selectedMobileLayer && ( -
+

{selectedMobileLayer.descriptionTitle}