refactor: redesign compute architecture section with animated mesh topology

- Replaced simple icon-based architecture cards with interactive animated grid layout
- Added three new SVG animations (MeshNetworking, Deterministic, SovereignCompute) to visualize system concepts
- Updated border colors from gray-600 to gray-800 for consistent dark theme across cloud hosting page
This commit is contained in:
2025-11-07 15:58:11 +01:00
parent 46d02fca47
commit a61267944d
7 changed files with 701 additions and 53 deletions

View File

@@ -42,10 +42,10 @@ export function CloudHostingNew() {
return (
<div className="bg-[#121212] text-white">
{/* ✅ Top horizontal line with spacing */}
<div className="max-w-7xl bg-[#111111] mx-auto py-6 border border-t-0 border-b-0 border-gray-600"></div>
<div className="w-full border-t border-l border-r border-gray-600" />
<div className="max-w-7xl bg-[#111111] mx-auto py-6 border border-t-0 border-b-0 border-gray-800"></div>
<div className="w-full border-t border-l border-r border-gray-800" />
{/* ✅ MAIN CONTENT */}
<main className="mx-auto max-w-7xl px-6 lg:px-12 py-12 border border-t-0 border-b-0 border-gray-600">
<main className="mx-auto max-w-7xl px-6 lg:px-12 py-12 border border-t-0 border-b-0 border-gray-800">
<div className="mx-auto max-w-2xl lg:max-w-none">
{/* ✅ Product Section */}
@@ -98,8 +98,8 @@ export function CloudHostingNew() {
</main>
{/* ✅ Bottom horizontal line with spacing */}
<div className="w-full border-b border-gray-600" />
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-600"></div>
<div className="w-full border-b border-gray-800" />
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-800"></div>
</div>
)
}

View File

@@ -1,53 +1,125 @@
import {
LockClosedIcon,
CpuChipIcon,
AdjustmentsHorizontalIcon,
} from '@heroicons/react/24/solid'
import { Container } from '@/components/Container'
import { Eyebrow, H3, CT, CP } from '@/components/Texts'
"use client";
const architecture = [
import { Eyebrow, H3, P } from "@/components/Texts";
import MeshNetworking from "./animations/Meshnetworking";
import Deterministic from "./animations/Deterministic";
import SovereignCompute from "./animations/SovereignCompute";
const deterministicCards = [
{
name: 'Mesh Networking',
description: 'Secure connectivity across all nodes.',
icon: LockClosedIcon,
id: "core",
eyebrow: "ARCHITECTURE",
title: "Deterministic by Design",
description:
"Every workload runs exactly as declared: no drift, no hidden state, no surpriseSecure connectivity across all nodes..",
animation: null,
colSpan: "lg:col-span-3",
rowSpan: "lg:row-span-1",
custom: true,
noBorder: true,
},
{
name: 'Sovereign Compute',
description: 'Execution only on hardware you control.',
icon: CpuChipIcon,
id: "crypto",
title: "Mesh Networking",
description:
"Secure connectivity across all nodes.",
animation: <MeshNetworking className="lg:-mt-12" />, // ✅ NEW
colSpan: "lg:col-span-3",
rowSpan: "lg:row-span-1",
rounded: "lg:rounded-tr-4xl max-lg:rounded-t-4xl",
innerRounded: "lg:rounded-tr-[calc(2rem+1px)] max-lg:rounded-t-[calc(2rem+1px)]",
},
{
name: 'Deterministic Orchestration',
description: 'Workloads deploy and update predictably.',
icon: AdjustmentsHorizontalIcon,
id: "stateless",
title: "Deterministic Orchestration",
description:
"Workloads deploy and update predictably.",
animation: <Deterministic className="lg:-mt-12" />, // ✅ NEW
colSpan: "lg:col-span-3",
rowSpan: "lg:row-span-1",
rounded: "lg:rounded-bl-4xl max-lg:rounded-b-4xl",
innerRounded: "lg:rounded-bl-[calc(2rem+1px)] max-lg:rounded-b-[calc(2rem+1px)]",
},
]
{
id: "healing",
title: "Automatic healing and recovery",
description:
"Self-repairing processes ensure workloads stay available and consistent.",
animation: <SovereignCompute />, // ✅ NEW
colSpan: "lg:col-span-3",
rowSpan: "lg:row-span-1",
rounded: "lg:rounded-br-4xl max-lg:rounded-b-4xl",
innerRounded: "lg:rounded-br-[calc(2rem+1px)] max-lg:rounded-b-[calc(2rem+1px)]",
},
];
export function ComputeArchitecture() {
return (
<section className="bg-white py-24 sm:py-32">
<Container>
<div className="mx-auto max-w-3xl text-center">
<Eyebrow>ARCHITECTURE</Eyebrow>
<H3 className="mt-4 text-gray-900">HOW IT WORKS</H3>
<section className="relative w-full bg-[#171717] overflow-hidden">
{/* ✅ Top horizontal line */}
<div className="max-w-7xl bg-[#171717] mx-auto py-6 border border-t-0 border-b-0 border-gray-800"></div>
<div className="w-full border-t border-l border-r border-gray-800" />
<div className="mx-auto bg-[#111111] max-w-2xl px-6 lg:max-w-7xl lg:px-10 border border-t-0 border-b-0 border-gray-800">
<div className="grid grid-cols-1 gap-6 pt-6 lg:grid-cols-6 lg:grid-rows-2 pb-6">
{deterministicCards.map((card) => (
<div
key={card.id}
className={`relative ${card.colSpan} ${card.rowSpan} transition-transform duration-300 hover:scale-102`}
>
{/* ✅ Disable wrapper on first card */}
{!card.noBorder && (
<div
className={`absolute inset-0 rounded-md border border-gray-800 bg-[#111212] ${card.rounded}`}
/>
)}
<div
className={`relative flex lg:h-90 flex-col overflow-hidden rounded-[calc(var(--radius-lg)+1px)] ${card.innerRounded}`}
>
{/* ✅ SVG Animation instead of images */}
{card.animation ? (
<div className="lg:h-64 h-48 w-full overflow-hidden bg-transparent flex items-center">
<div className="w-full h-full">
{card.animation}
</div>
</div>
) : (
<div className="h-48 w-full flex items-center justify-center bg-transparent" />
)}
<div className="px-8 pt-4 pb-6">
{card.custom ? (
<>
{card.eyebrow && <Eyebrow>{card.eyebrow}</Eyebrow>}
<H3 className="mt-2 text-white">{card.title}</H3>
<P className="mt-4 max-w-lg text-gray-200">{card.description}</P>
</>
) : (
<>
<p className="mt-1 text-lg font-medium lg:text-xl tracking-tight text-white">
{card.title}
</p>
<p className="mt-1 max-w-lg text-sm/6 text-gray-200">
{card.description}
</p>
</>
)}
</div>
</div>
<div className="mx-auto mt-16 max-w-5xl">
<dl className="grid grid-cols-1 gap-12 text-gray-600 sm:grid-cols-2 lg:grid-cols-3">
{architecture.map((item) => (
<div key={item.name} className="relative pl-12">
<item.icon
aria-hidden="true"
className="absolute left-0 top-1 size-6 text-cyan-600"
{!card.noBorder && (
<div
className={`pointer-events-none absolute inset-0 rounded-lg shadow-sm outline outline-black/5 ${card.rounded}`}
/>
<CT className="font-semibold text-gray-900">{item.name}</CT>
<CP className="mt-1 text-gray-600">{item.description}</CP>
)}
</div>
))}
</dl>
</div>
</Container>
</div>
<div className="w-full border-b border-gray-800" />
<div className="max-w-7xl mx-auto py-6 border-x border-gray-800 border-t-0 border-b-0" />
</section>
)
);
}

View File

@@ -0,0 +1,189 @@
"use client";
import { motion, useReducedMotion } from "framer-motion";
import clsx from "clsx";
type Props = {
className?: string;
accent?: string;
gridStroke?: string;
};
const W = 760;
const H = 420;
export default function Deterministic({
className,
accent = "#00b8db",
gridStroke = "#2b2a2a",
}: Props) {
const prefers = useReducedMotion();
const stages = [
{ x: 180, y: 180, w: 120, h: 80, label: "Build" },
{ x: 330, y: 180, w: 120, h: 80, label: "Package" },
{ x: 480, y: 180, w: 120, h: 80, label: "Deploy" },
];
// Packet path (deterministic flow)
const packetPath = `M ${stages[0].x + 120} ${stages[0].y + 40}
L ${stages[1].x + 0} ${stages[1].y + 40}
L ${stages[1].x + 120} ${stages[1].y + 40}
L ${stages[2].x + 0} ${stages[2].y + 40}`;
// tiny arrow for each transition
const arrows = [
`M ${stages[0].x + 120} ${stages[0].y + 40} L ${stages[1].x + 6} ${stages[1].y + 40}`,
`M ${stages[1].x + 120} ${stages[1].y + 40} L ${stages[2].x + 6} ${stages[2].y + 40}`
];
return (
<div
className={clsx("relative overflow-hidden", className)}
aria-hidden="true"
role="img"
aria-label="Deterministic orchestration: predictable deployments"
style={{ background: "transparent" }}
>
<svg viewBox={`0 0 ${W} ${H}`} className="w-full h-full">
{/* BACKGROUND GRID */}
<defs>
<pattern id="grid-orch" width="28" height="28" patternUnits="userSpaceOnUse">
<path d="M 28 0 L 0 0 0 28"
fill="none"
stroke={gridStroke}
strokeWidth="1"
opacity="0.45"
/>
</pattern>
{/* Soft glow for highlight */}
<filter id="orch-glow">
<feGaussianBlur stdDeviation="4" result="blur" />
<feMerge>
<feMergeNode in="blur" />
<feMergeNode in="SourceGraphic" />
</feMerge>
</filter>
</defs>
<rect width={W} height={H} fill="url(#grid-orch)" />
{/* STAGE BOXES */}
{stages.map((s, i) => (
<motion.rect
key={`stage-${i}`}
x={s.x}
y={s.y}
width={s.w}
height={s.h}
rx={14}
fill="#0d0d0d"
stroke="#1a1a1a"
strokeWidth={2}
initial={{ opacity: 0 }}
animate={{ opacity: 0.9 }}
transition={{ duration: 0.6 + i * 0.1 }}
/>
))}
{/* Stage labels (subtle, not text-heavy) */}
{stages.map((s, i) => (
<motion.text
key={`label-${i}`}
x={s.x + s.w / 2}
y={s.y + s.h / 2 + 6}
fill="#9ca3af"
textAnchor="middle"
fontSize="14"
fontFamily="Inter, sans-serif"
initial={{ opacity: 0 }}
animate={{ opacity: 0.9 }}
transition={{ delay: 0.1 * i, duration: 0.6 }}
>
{s.label}
</motion.text>
))}
{/* CONSISTENT ORCHESTRATION LINES */}
{arrows.map((d, i) => (
<motion.path
key={`arrow-${i}`}
d={d}
stroke="#3a3a3a"
strokeWidth={4}
strokeLinecap="round"
fill="none"
initial={{ pathLength: 0, opacity: 0 }}
animate={{ pathLength: 1, opacity: 0.8 }}
transition={{ delay: 0.15 * i, duration: 0.8, ease: [0.22, 1, 0.36, 1] }}
/>
))}
{/* CYAN ACCENT OVERLAY ON LINES (predictable updates) */}
{arrows.map((d, i) => (
<motion.path
key={`arrow-accent-${i}`}
d={d}
stroke={accent}
strokeWidth={2}
strokeLinecap="round"
strokeDasharray="10"
fill="none"
initial={{ pathLength: 0, opacity: 0 }}
animate={{ pathLength: 1, opacity: 1 }}
transition={{
delay: 0.25 * i,
duration: 0.8,
ease: [0.22, 1, 0.36, 1]
}}
/>
))}
{/* MOVING PACKET SHOWING DETERMINISTIC FLOW */}
{!prefers && (
<motion.circle
r={6}
fill={accent}
filter="url(#orch-glow)"
style={{
offsetPath: `path('${packetPath}')`,
}}
initial={{ offsetDistance: "0%", opacity: 0 }}
animate={{
offsetDistance: ["0%", "100%"],
opacity: [0.2, 1, 0.2],
}}
transition={{
duration: 2.3,
repeat: Infinity,
repeatType: "loop",
ease: "linear",
}}
/>
)}
{/* FINAL CONFIRMATION PULSE AT DEPLOY STAGE */}
{!prefers && (
<motion.circle
cx={stages[2].x + stages[2].w / 2}
cy={stages[2].y + stages[2].h / 2}
r={24}
fill={accent}
opacity={0.1}
initial={{ scale: 0.9, opacity: 0 }}
animate={{ scale: [1, 1.15, 1], opacity: [0.05, 0.3, 0.05] }}
transition={{
duration: 1.8,
repeat: Infinity,
repeatType: "mirror",
ease: [0.22, 1, 0.36, 1],
}}
filter="url(#orch-glow)"
/>
)}
</svg>
</div>
);
}

View File

@@ -0,0 +1,151 @@
"use client";
import { motion, useReducedMotion } from "framer-motion";
import clsx from "clsx";
type Props = {
className?: string;
accent?: string;
stroke?: string;
};
const W = 760;
const H = 420;
export default function MeshNetworking({
className,
accent = "#00b8db",
stroke = "#4B5563",
}: Props) {
const prefersReduced = useReducedMotion();
// Nodes in a real mesh (hex pattern)
const nodes = [
{ x: 200, y: 120 },
{ x: 380, y: 100 },
{ x: 560, y: 120 },
{ x: 130, y: 240 },
{ x: 320, y: 240 },
{ x: 540, y: 240 },
{ x: 630, y: 240 },
{ x: 260, y: 340 },
{ x: 440, y: 340 },
];
// All connected pairs (mesh links)
const links = [
[0,1],[1,2],
[0,3],[1,4],[2,5],
[3,4],[4,5],[5,6],
[3,7],[4,7],[4,8],[5,8],
[7,8]
];
const drawLine = (i: number, j: number) => {
const a = nodes[i];
const b = nodes[j];
return `M ${a.x} ${a.y} L ${b.x} ${b.y}`;
};
return (
<div
className={clsx("relative overflow-hidden", className)}
aria-hidden="true"
role="img"
aria-label="Mesh networking topology"
style={{ background: "transparent" }} // ✅ transparent background
>
<svg viewBox={`0 0 ${W} ${H}`} className="w-full h-full">
{/* ✅ Subtle dark grid */}
<defs>
<pattern id="mesh-grid" width="28" height="28" patternUnits="userSpaceOnUse">
<path d="M 28 0 L 0 0 0 28" fill="none" stroke="#2b2a2a" strokeWidth="1" />
</pattern>
</defs>
<rect width={W} height={H} fill="url(#mesh-grid)" />
{/* ✅ Gray baseline mesh connections */}
{links.map(([i, j], idx) => (
<motion.path
key={`base-${idx}`}
d={drawLine(i, j)}
stroke={stroke}
strokeWidth={2}
strokeLinecap="round"
fill="none"
initial={{ pathLength: 0 }}
animate={{ pathLength: 1, opacity: 0.4 }}
transition={{
delay: 0.05 * idx,
duration: 0.6,
ease: [0.22, 1, 0.36, 1],
}}
/>
))}
{/* ✅ Cyan signal traveling across mesh diagonally */}
{!prefersReduced &&
links.map(([i, j], idx) => {
const path = drawLine(i, j);
return (
<motion.circle
key={`signal-${idx}`}
r={4}
fill={accent}
style={{ offsetPath: `path('${path}')` }}
initial={{ offsetDistance: "0%", opacity: 0 }}
animate={{
offsetDistance: ["0%", "100%"],
opacity: [0, 1, 0],
}}
transition={{
delay: idx * 0.15,
duration: 1.8,
repeat: Infinity,
repeatType: "loop",
ease: "linear",
}}
/>
);
})}
{/* ✅ Nodes with soft glow */}
{nodes.map((n, idx) => (
<g key={`node-${idx}`}>
<motion.circle
cx={n.x}
cy={n.y}
r={18}
fill="#0d0d0d"
stroke="#111"
strokeWidth={2}
initial={{ opacity: 0 }}
animate={{ opacity: 0.7 }}
transition={{ duration: 0.5 }}
/>
<motion.circle
cx={n.x}
cy={n.y}
r={10}
fill={accent}
initial={{ opacity: 0, scale: 0.8 }}
animate={{
opacity: 1,
scale: prefersReduced ? 1 : [1, 1.08, 1],
}}
transition={{
duration: 1.6,
repeat: prefersReduced ? 0 : Infinity,
repeatType: "mirror",
ease: [0.22, 1, 0.36, 1],
}}
/>
</g>
))}
</svg>
</div>
);
}

View File

@@ -0,0 +1,236 @@
"use client";
import { motion, useReducedMotion } from "framer-motion";
import clsx from "clsx";
type Props = {
className?: string;
accent?: string; // cyan highlight
gridStroke?: string; // grid color (default #2b2a2a as requested)
};
const W = 760;
const H = 420;
const Server = ({
x,
y,
w = 140,
h = 90,
rows = 3,
}: {
x: number;
y: number;
w?: number;
h?: number;
rows?: number;
}) => {
const rowH = (h - 24) / rows;
return (
<g>
{/* chassis */}
<rect x={x} y={y} width={w} height={h} rx={12} fill="#0d0d0d" stroke="#1a1a1a" strokeWidth={2} />
{/* bays */}
{Array.from({ length: rows }).map((_, i) => (
<g key={i}>
<rect
x={x + 12}
y={y + 12 + i * rowH}
width={w - 24}
height={rowH - 10}
rx={8}
fill="#111111"
stroke="#1f1f1f"
strokeWidth={1}
/>
{/* bay indicators */}
<rect x={x + 20} y={y + 22 + i * rowH} width={10} height={6} rx={2} fill="#16a34a" opacity={0.8} />
<rect x={x + 36} y={y + 22 + i * rowH} width={10} height={6} rx={2} fill="#9ca3af" opacity={0.6} />
<rect x={x + 52} y={y + 22 + i * rowH} width={10} height={6} rx={2} fill="#9ca3af" opacity={0.6} />
</g>
))}
{/* subtle top highlight */}
<rect x={x + 2} y={y + 2} width={w - 4} height={10} rx={5} fill="#0f0f0f" />
</g>
);
};
export default function SovereignCompute({
className,
accent = "#00b8db",
gridStroke = "#2b2a2a",
}: Props) {
const prefers = useReducedMotion();
// Positions
const left = { x: 140, y: 120 };
const mid = { x: 310, y: 150 };
const right= { x: 500, y: 120 };
// Shield position (trust boundary)
const shield = { cx: 600, cy: 250, r: 38 };
// Attestation paths from racks to shield
const pathFromLeft = `M ${left.x + 140} ${left.y + 45} C 330 150, 470 200, ${shield.cx - 50} ${shield.cy}`;
const pathFromMid = `M ${mid.x + 140} ${mid.y + 45} C 420 190, 500 215, ${shield.cx - 50} ${shield.cy}`;
const pathFromRight = `M ${right.x + 140} ${right.y + 45} C 520 180, 560 220, ${shield.cx - 50} ${shield.cy}`;
return (
<div
className={clsx("relative overflow-hidden", className)}
aria-hidden="true"
role="img"
aria-label="Sovereign compute: execution only on hardware you control"
style={{ background: "transparent" }}
>
<svg viewBox={`0 0 ${W} ${H}`} className="w-full h-full">
{/* GRID (transparent bg, subtle dark grid) */}
<defs>
<pattern id="grid-secure" width="28" height="28" patternUnits="userSpaceOnUse">
<path d="M 28 0 L 0 0 0 28" fill="none" stroke={gridStroke} strokeWidth="1" opacity="0.45" />
</pattern>
{/* soft glow filter for shield */}
<filter id="glow">
<feGaussianBlur stdDeviation="6" result="coloredBlur" />
<feMerge>
<feMergeNode in="coloredBlur" />
<feMergeNode in="SourceGraphic" />
</feMerge>
</filter>
</defs>
<rect width={W} height={H} fill="url(#grid-secure)" />
{/* RACKS (hardware you control) */}
<Server x={left.x} y={left.y} />
<Server x={mid.x} y={mid.y} />
<Server x={right.x} y={right.y} />
{/* BASELINES for attestation links */}
{[pathFromLeft, pathFromMid, pathFromRight].map((d, i) => (
<motion.path
key={`base-${i}`}
d={d}
fill="none"
stroke="#303030"
strokeWidth={3}
strokeLinecap="round"
initial={{ pathLength: 0, opacity: 0 }}
animate={{ pathLength: 1, opacity: 0.6 }}
transition={{ delay: 0.15 * i, duration: 0.8, ease: [0.22, 1, 0.36, 1] }}
/>
))}
{/* MOVING ATTESTATION TOKENS (signatures/hashes) */}
{!prefers && [pathFromLeft, pathFromMid, pathFromRight].map((d, i) => (
<motion.circle
key={`token-${i}`}
r={5}
fill={accent}
style={{ offsetPath: `path('${d}')` }}
initial={{ offsetDistance: "0%", opacity: 0 }}
animate={{ offsetDistance: ["0%", "100%"], opacity: [0, 1, 0] }}
transition={{
delay: 0.25 * i,
duration: 2.0,
repeat: Infinity,
repeatType: "loop",
ease: "linear",
}}
/>
))}
{/* TRUST BOUNDARY + SHIELD (hardware attestation target) */}
<motion.circle
cx={shield.cx}
cy={shield.cy}
r={shield.r + 18}
fill="none"
stroke="#1f1f1f"
strokeWidth={2}
initial={{ opacity: 0 }}
animate={{ opacity: 0.9 }}
transition={{ duration: 0.6 }}
/>
{/* cyan halo */}
{!prefers && (
<motion.circle
cx={shield.cx}
cy={shield.cy}
r={shield.r + 6}
fill={accent}
opacity={0.12}
initial={{ scale: 0.95, opacity: 0 }}
animate={{ scale: [1, 1.12, 1], opacity: [0.1, 0.35, 0.1] }}
transition={{ duration: 1.8, repeat: Infinity, repeatType: "mirror", ease: [0.22, 1, 0.36, 1] }}
filter="url(#glow)"
/>
)}
{/* Shield outline */}
<motion.path
d={`M ${shield.cx} ${shield.cy - 30}
L ${shield.cx + 28} ${shield.cy - 15}
L ${shield.cx + 22} ${shield.cy + 24}
L ${shield.cx} ${shield.cy + 34}
L ${shield.cx - 22} ${shield.cy + 24}
L ${shield.cx - 28} ${shield.cy - 15}
Z`}
fill="none"
stroke={accent}
strokeWidth={3}
strokeLinecap="round"
strokeLinejoin="round"
initial={{ pathLength: 0, opacity: 0 }}
animate={{ pathLength: 1, opacity: 1 }}
transition={{ duration: 0.9, ease: [0.22, 1, 0.36, 1] }}
filter="url(#glow)"
/>
{/* Check mark (verified hardware) */}
<motion.path
d={`M ${shield.cx - 14} ${shield.cy + 6} L ${shield.cx - 2} ${shield.cy + 18} L ${shield.cx + 18} ${shield.cy - 6}`}
fill="none"
stroke={accent}
strokeWidth={4}
strokeLinecap="round"
strokeLinejoin="round"
initial={{ pathLength: 0 }}
animate={{ pathLength: 1 }}
transition={{ duration: 0.9, delay: 0.2, ease: [0.22, 1, 0.36, 1] }}
filter="url(#glow)"
/>
{/* LOCKED EXECUTION BOUNDARY (subtle arc) */}
<motion.path
d={`M ${shield.cx - 70} ${shield.cy + 46} Q ${shield.cx} ${shield.cy + 76} ${shield.cx + 70} ${shield.cy + 46}`}
fill="none"
stroke="#2e2e2e"
strokeWidth={2}
initial={{ pathLength: 0, opacity: 0 }}
animate={{ pathLength: 1, opacity: 0.6 }}
transition={{ duration: 0.8, delay: 0.3 }}
/>
{/* Cyan confirmation pulses emanating out (execution allowed) */}
{!prefers && [0, 1].map((i) => (
<motion.circle
key={`emit-${i}`}
cx={shield.cx}
cy={shield.cy}
r={shield.r + 12}
fill="none"
stroke={accent}
strokeWidth={2}
initial={{ opacity: 0, scale: 0.9 }}
animate={{ opacity: [0.0, 0.5, 0.0], scale: [1, 1.15, 1.3] }}
transition={{ duration: 1.8, delay: i * 0.3, repeat: Infinity, ease: [0.22, 1, 0.36, 1] }}
/>
))}
</svg>
</div>
);
}

View File

@@ -5,12 +5,12 @@ export function CallToAction() {
return (
<section className='relative overflow-hidden bg-gray-900'>
{/* ✅ Top horizontal line with spacing */}
<div className="max-w-7xl bg-[#111111] mx-auto py-6 border border-t-0 border-b-0 border-gray-600"></div>
<div className="max-w-7xl bg-[#111111] mx-auto py-6 border border-t-0 border-b-0 border-gray-800"></div>
{/* === Content === */}
<div className="w-full border-t border-l border-r border-gray-600 " />
<div className="w-full border-t border-l border-r border-gray-800 " />
<div
id="get-started"
className="py-18 max-w-7xl mx-auto border-t-0 border-b-0 border bg-[#111111] border-gray-600">
className="py-18 max-w-7xl mx-auto border-t-0 border-b-0 border bg-[#111111] border-gray-800">
<Container className="relative">
<div className="mx-auto max-w-2xl text-center ">
<h2 className="text-3xl lg:text-4xl font-medium tracking-tight text-white sm:text-4xl">
@@ -41,8 +41,8 @@ export function CallToAction() {
</div>
{/* ✅ Bottom horizontal line with spacing */}
<div className="w-full border-b border-gray-600" />
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-600"></div>
<div className="w-full border-b border-gray-800" />
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-800"></div>
</section>
)
}

View File

@@ -9,10 +9,10 @@ export function StackSectionDark() {
return (
<section className="relative w-full bg-[#171717] overflow-hidden">
{/* ✅ Top horizontal line with spacing */}
<div className="max-w-7xl bg-[#111111] mx-auto py-6 border border-t-0 border-b-0 border-gray-600"></div>
<div className="w-full border-t border-l border-r border-gray-600" />
<div className="max-w-7xl bg-[#111111] mx-auto py-6 border border-t-0 border-b-0 border-gray-800"></div>
<div className="w-full border-t border-l border-r border-gray-800" />
{/* === Background Layer === */}
<div className="absolute inset-0 z-0 bg-transparent border-t-0 border-b-0 border-gray-600">
<div className="absolute inset-0 z-0 bg-transparent border-t-0 border-b-0 border-gray-800">
{/* Central main aura */}
<motion.div
className="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 w-[1200px] h-[1200px] rounded-full pointer-events-none"
@@ -54,7 +54,7 @@ export function StackSectionDark() {
</div>
{/* === Content === */}
<div className="relative mx-auto max-w-7xl px-6 lg:px-12 border border-t-0 border-b-0 border-gray-600 grid grid-cols-1 lg:grid-cols-3 gap-16 items-center py-24 ">
<div className="relative mx-auto max-w-7xl px-6 lg:px-12 border border-t-0 border-b-0 border-gray-800 grid grid-cols-1 lg:grid-cols-3 gap-16 items-center py-24 ">
{/* Left Column - Text */}
<div className="text-center lg:text-left z-10">
<FadeIn>
@@ -97,8 +97,8 @@ export function StackSectionDark() {
</div>
</div>
{/* ✅ Bottom horizontal line with spacing */}
<div className="w-full border-b border-gray-600" />
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-600"></div>
<div className="w-full border-b border-gray-800" />
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-800"></div>
</section>
);
}