// app/(home)/page.tsx
'use client';
import * as React from 'react';
// Import layout components from our new shared `ui` library
import { Navbar } from '@workspace/ui/components/layout';
import { Footer } from '@workspace/ui/components/layout';
import { Container, Section, Grid } from '@workspace/ui/components/layout';
// Import the useTone hook to access the global tone setting
import { useTone } from '@workspace/ui/hooks/use-tone';
// Import Lucide icons for the value proposition section
import { DollarSignIcon, WrenchIcon, MapIcon, LockIcon, CloudOffIcon, ZapIcon } from 'lucide-react';
import { PlaceholderIcon } from '@workspace/ui/components/icons';
// Import UI components from our shared library
import { Button } from '@workspace/ui/components/ui';
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@workspace/ui/components/ui';
// Import new content components
import { MetricsKPI } from '@workspace/ui/components/content';
import { LogosMarquee } from '@workspace/ui/components/content';
import { Steps } from '@workspace/ui/components/content';
import { FeatureCard, CaseStudyCard } from '@workspace/ui/components/content/cards';
import { TrustSection } from '@workspace/ui/components/content';
import { FAQAccordion } from '@workspace/ui/components/interactive';
import { FinalCTASection } from '@workspace/ui/components/content';
export default function HomePage() {
const { tone } = useTone(); // Access the current tone
// Content definitions based on tone
const heroHeadline = tone === 'direct'
? "Own your infrastructure. Slash your bill."
: "Cut waste, keep performance.";
const heroSubcopyLine1 = tone === 'direct'
? "Your hosting provider is fucking you. Cloud rent bleeds $25k–$500k/mo."
: "Cloud rent is bleeding your budget dry.";
const heroSubcopyLine2 = tone === 'direct'
? "Own the hardware. Keep the performance. Kill the waste."
: "Own your stack. Colocate it. Keep the performance, ditch the waste.";
const valuePropositions = tone === 'direct' ? [
{
icon: ,
title: "Stop getting scammed.",
description: "Cloud rent bleeds $25k–$500k/mo. Own the hardware. Keep the performance. Kill the waste."
},
{
icon: ,
title: "Build on what works.",
description: "Keep your stack. We wire it together and automate the boring."
},
{
icon: ,
title: "Pave desire paths.",
description: "We embed with your team, shape the system to how they actually work."
}
] : [
{
icon: ,
title: "Cut waste, keep performance.",
description: "Move from renting to owning. Dramatically reduce monthly costs without sacrificing speed or reliability."
},
{
icon: ,
title: "Integrate, don't replace.",
description: "We work with your existing tools and workflows. No disruptive rip-and-replace projects."
},
{
icon: ,
title: "Build around real workflows.",
description: "We map your actual processes, then build automation that fits like a glove."
}
];
// Mock data for LogosMarquee
const logos = Array(6).fill(null).map((_, i) => ({
name: `Client ${i + 1}`,
icon:
}));
// Mock data for Process Steps
const processSteps = [
{
title: "Discovery",
description: "We deep-dive into your current infrastructure, workloads, and pain points.",
youDo: "Share access to cloud billing, architecture docs, and team interviews.",
weDo: "Analyze costs, identify waste, and map technical dependencies."
},
{
title: "Shadow & Map",
description: "We observe how your teams actually work and map desire paths.",
youDo: "Participate in workflow observations and workshops.",
weDo: "Document real workflows, identify automation opportunities, and draft the future state."
},
{
title: "Architect",
description: "We design a tailored, owned infrastructure solution.",
youDo: "Review and approve the proposed architecture and migration plan.",
weDo: "Specify hardware, select software stack, and design for performance and cost."
},
{
title: "Pilot",
description: "We build and test a critical component in the new environment.",
youDo: "Provide feedback on performance, usability, and integration.",
weDo: "Deploy, test, and iterate on the pilot component with your team."
},
{
title: "Migrate",
description: "We execute the planned migration with zero downtime.",
youDo: "Validate functionality and performance post-migration.",
weDo: "Cutover workloads, decommission old systems, and optimize the new stack."
},
{
title: "Operate",
description: "We manage the infrastructure, you focus on your core business.",
youDo: "Use the system and provide ongoing feedback for improvements.",
weDo: "Monitor, maintain, upgrade, and support the infrastructure 24/7."
}
];
// Mock data for Case Studies
const caseStudies = [
{
title: "VFX Studio Migration",
description: "Migrated a major VFX studio from cloud rendering to a colocated HPC cluster, reducing costs by 65%.",
kpi1: { value: "65%", label: "Cost ↓" },
kpi2: { value: "2x", label: "Performance ↑" },
ctaText: "See build",
ctaHref: "/case-studies/vfx-studio"
},
{
title: "Legal Document Management",
description: "Consolidated scattered legal tech stack into a secure, private Nextcloud instance with AI search.",
kpi1: { value: "$120k/mo", label: "Saved" },
kpi2: { value: "0", label: "Egress Fees" },
ctaText: "See build",
ctaHref: "/case-studies/legal-firm"
},
{
title: "Research Data Pipeline",
description: "Built a local ML training environment for a research institute, eliminating data transfer bottlenecks.",
kpi1: { value: "90%", label: "Time-to-Train ↓" },
kpi2: { value: "Break-even: 8mo", label: "" },
ctaText: "See build",
ctaHref: "/case-studies/research-institute"
}
];
// Mock data for Trust Section
const trustItems = [
{
icon: ,
text: "Your data. Your hardware. Your rules."
},
{
icon: ,
text: "Colocated. Monitored. Upgradable without downtime."
},
{
icon: ,
text: "AI-native, privacy-first. No third-party model training."
}
];
// Mock data for FAQ
// (This is just for homepage preview; full FAQ is on /faq page)
const faqItems = [
{
question: "What uptime can I expect?",
answer: "We design for 99.9%+ uptime through redundant hardware, proactive monitoring, and colocation in Tier III+ facilities."
},
{
question: "How is support handled?",
answer: "You get direct access to our engineering team via Slack, email, or phone. We provide 24/7 monitoring and alerting."
}
];
return (
{/* Hero Section */}
{heroHeadline}
{heroSubcopyLine1}
{heroSubcopyLine2}
{/* KPI Metrics */}
{/* Value Proposition Section */}
{valuePropositions.map((item, index) => (
{item.icon}
{item.title}
{item.description}
))}
{/* Proof Strip / Logos Marquee */}
Trusted by forward-thinking teams
{/* Process Snapshot */}
{/* Case Study Rail */}
Proven Results
Real outcomes from real migrations.
{caseStudies.map((study, index) => (
))}
{/* Pricing Preview / Own vs Rent */}
Own vs Rent
Cloud is a rental agreement with infinite term. Owned hardware + colocation breaks even in under 12 months.
Why Owned Infrastructure Wins
-
•
Capex: You buy the hardware once. Depreciate over 3-5 years.
-
•
Low Opex: Colocation is ~$200/server/mo. Managed ops is ~$500/server/mo.
-
•
No Egress Fees: Move data freely within your network.
-
•
Performance: Direct-attached storage and local networks are faster than VPCs.
-
•
No Vendor Lock-in: Standard hardware and open-source software.
Break-even is typically < 12 months. After that, it's pure savings.
{/* Trust Section */}
{/* FAQ Accordion Preview */}
Common Questions
Answers to key concerns about migrating and self-hosting.
{/* Final CTA */}
);
}