diff --git a/src/components/Spotlight.tsx b/src/components/Spotlight.tsx
index 514710f..1940767 100644
--- a/src/components/Spotlight.tsx
+++ b/src/components/Spotlight.tsx
@@ -1,10 +1,14 @@
+"use client";
+
import React from "react";
import { cn } from "@/lib/utils";
import { Spotlight } from "@/components/ui/spotlight";
+import { Logomark } from "@/components/Logo";
+import { Button } from "@/components/Button";
export function SpotlightPreview() {
return (
-
+
-
- Spotlight
is the new trend.
+
+
+
+ Built by Everyone
for Everyone.
-
- Spotlight effect is a great way to draw attention to a specific part
- of the page. Here, we are drawing the attention towards the text
- section of the page. I don't know why but I'm running out of
- copy.
+
+ ThreeFold is a fully operational, decentralized internet infrastructure – deployed locally, scalable globally, and owned and powered by the people.
+
+
+
+
+
);
diff --git a/src/components/StackSection.tsx b/src/components/StackSection.tsx
new file mode 100644
index 0000000..1466f49
--- /dev/null
+++ b/src/components/StackSection.tsx
@@ -0,0 +1,29 @@
+"use client";
+
+import { StackedCubes } from "@/components/ui/StackedCubes";
+
+export function StackSectionPreview() {
+
+ return (
+
+
+
+ {/* Left Column - Text (1/3 width) */}
+
+
+ A Decentralized Infrastructure Layer
+
+
+ We have built a foundational platform that runs directly on bare metal, offering a scalable solution focused on the essential building blocks of the Internet and Cloud: compute, data, and network.
+
+
+
+ {/* Right Column - Stacked Cubes (2/3 width) */}
+
+
+
+
+
+
+ );
+}
diff --git a/src/components/ui/Cube.tsx b/src/components/ui/Cube.tsx
new file mode 100644
index 0000000..bf93d4a
--- /dev/null
+++ b/src/components/ui/Cube.tsx
@@ -0,0 +1,147 @@
+"use client";
+
+import React from "react";
+import { motion } from "framer-motion";
+
+interface CubeProps {
+ title: string;
+ descriptionTitle: string;
+ description: string;
+ isActive: boolean;
+ index: number;
+ onHover: () => void;
+ onLeave: () => void;
+}
+
+const CubeSvg: React.FC
& { index: number }> = ({ index, ...props }) => (
+
+);
+
+export function Cube({ title, descriptionTitle, description, isActive, index, onHover, onLeave }: CubeProps) {
+ return (
+
+
+ {/* SVG Cube */}
+
+
+ {/* Title overlay */}
+
+
+ {title}
+
+
+
+ {/* Description with arrow line - Desktop */}
+ {isActive && (
+
+ {/* Arrow line */}
+
+
+ {/* Description text */}
+
+
+ {descriptionTitle}
+
+
+ {description}
+
+
+
+ )}
+
+ {/* Description for Mobile - Below cube */}
+ {isActive && (
+
+
+
+ {descriptionTitle}
+
+
+ {description}
+
+
+
+ )}
+
+
+ );
+}
diff --git a/src/components/ui/Spotlight.tsx b/src/components/ui/Spotlight.tsx
index 01dfe94..779a527 100644
--- a/src/components/ui/Spotlight.tsx
+++ b/src/components/ui/Spotlight.tsx
@@ -1,3 +1,5 @@
+"use client";
+
import React from "react";
import { cn } from "@/lib/utils";
diff --git a/src/components/ui/StackedCubes.tsx b/src/components/ui/StackedCubes.tsx
new file mode 100644
index 0000000..44ffcb4
--- /dev/null
+++ b/src/components/ui/StackedCubes.tsx
@@ -0,0 +1,61 @@
+"use client";
+
+import { useState } from "react";
+import { Cube } from "@/components/ui/Cube";
+
+const stackData = [
+ {
+ id: "network",
+ title: "Network",
+ descriptionTitle: "Secure Network",
+ description:
+ "End-to-end encrypted overlay network, always looking for the shortest possible path between participants. Logical Internet address securely linked to a private key. Unlimited scale and performance optimizations.",
+ position: "top",
+ },
+ {
+ id: "data",
+ title: "Data",
+ descriptionTitle: "Unbreakable Data",
+ description:
+ "Private, distributed, and AI-native storage with user sovereignty at its core. End-to-end encryption and redundancy, with no central control. Optimized for performance and sustainability, far surpassing traditional cloud.",
+ position: "middle",
+ },
+ {
+ id: "compute",
+ title: "Compute",
+ descriptionTitle: "Bare Metal OS",
+ description:
+ "Zero OS, an efficient and secure operating system, runs directly on the hardware – enabling an autonomous cloud. Can run any Web2, Web3, or AI workload at the edge of the Internet, with more scalability and reliability.",
+ position: "bottom",
+ },
+];
+
+export function StackedCubes() {
+ const [active, setActive] = useState("compute");
+
+ return (
+
+
+ {stackData.map((layer, index) => (
+
+ setActive(layer.id)}
+ onLeave={() => setActive("compute")}
+ />
+
+ ))}
+
+
+ );
+}
diff --git a/src/styles/tailwind.css b/src/styles/tailwind.css
index 6c84774..8f0a349 100644
--- a/src/styles/tailwind.css
+++ b/src/styles/tailwind.css
@@ -64,6 +64,9 @@
--container-2xl: 40rem;
+ /* 3D perspective utilities */
+ --perspective-1000: 1000px;
+
@keyframes fade-in {
from {
opacity: 0;
@@ -219,4 +222,4 @@
body {
@apply bg-background text-foreground;
}
-}
\ No newline at end of file
+}