import { createFileRoute, Link } from "@tanstack/react-router"; import { ArrowRight, AudioLines, Bot, Cloud, ShieldCheck, Sparkles, Zap, Lock, Globe } from "lucide-react"; import hero from "@/assets/home-hero.jpg"; import { useAuth } from "@/hooks/use-auth"; export const Route = createFileRoute("/")({ head: () => ({ meta: [ { title: "Codesynux — Autonomous AI Platform" }, { name: "description", content: "Talk to Echo, run autonomous agents, scan security and deploy to the cloud — all in one Codesynux platform." }, { property: "og:title", content: "Codesynux — Autonomous AI Platform" }, { property: "og:description", content: "Live voice agents, autonomous systems, cybersecurity and cloud deployment in one place." }, { property: "og:type", content: "website" }, { name: "twitter:card", content: "summary_large_image" }, ], }), component: Home, }); const FEATURES = [ { to: "/echo", icon: AudioLines, name: "Echo Voice", tag: "Talk. Build. Publish.", text: "A live voice call with Echo that builds websites while you speak and publishes them in seconds." }, { to: "/autonomous", icon: Bot, name: "Autonomous Systems", tag: "Think with an agent", text: "Chat, plan, research and code by typing, dictating, live voice or a face-to-face video call." }, { to: "/security", icon: ShieldCheck, name: "Cybersecurity", tag: "Guard what you ship", text: "Security scans for your published sites, with clear fixes explained by a security agent." }, { to: "/cloud", icon: Cloud, name: "Codesynux Cloud", tag: "Deploy & store code", text: "Live deployments and CodeHub — private storage for your code projects." }, ] as const; const QUOTES = [ { q: "Speak an idea. Watch it go live.", by: "The Echo promise" }, { q: "Autonomy is speed with judgment.", by: "Codesynux principle" }, { q: "Security is a feature you ship every day.", by: "Codesynux principle" }, ]; function Home() { const { user } = useAuth(); return (
Glowing Codesynux AI core Autonomous AI platform

Build, guard and ship with Codesynux

Voice agents that code, autonomous systems that plan and research, security that watches your sites, and a cloud that deploys them.

{user ? "Talk to Echo" : "Get started"} Explore what we do
{[{ i: Zap, t: "Live voice" }, { i: Lock, t: "Private by default" }, { i: Globe, t: "One-tap publish" }].map((x, n) => (

{x.t}

))}

Explore what we do

Four systems. One platform.

{FEATURES.map((f, n) => (
0{n + 1}

{f.name}

{f.tag}

{f.text}

{user ? "Open" : "Sign in to open"} ))}
{QUOTES.map((q, n) => (
“{q.q}”
{q.by}
))}
); }