'use client'; import React, { useState, useEffect } from 'react'; import { Terminal, Brain as BrainIcon, Download, Database, ShieldCheck, Zap, ChevronRight, Activity, CheckCircle2, FolderOpen, ArrowRight, Check, Command, Settings, Link as LinkIcon } from 'lucide-react'; import Link from 'next/link'; const GitHubIcon = (props: React.SVGProps) => ( ); export default function LandingPage() { const [isLoading, setIsLoading] = useState(true); const [toast, setToast] = useState<{ message: string; visible: boolean }>({ message: '', visible: false }); const showToast = (message: string) => { setToast({ message, visible: true }); setTimeout(() => setToast({ message: '', visible: false }), 3000); }; useEffect(() => { setIsLoading(false); }, []); const API_BASE = process.env.NEXT_PUBLIC_APP_URL ? process.env.NEXT_PUBLIC_APP_URL : (typeof window !== 'undefined' && window.location.hostname === 'localhost' ? 'http://localhost:8000' : ''); const handleDownload = () => { window.location.href = `${API_BASE}/download/setup`; }; return (
{/* Structural Background */}
{/* Toast Notification */}
{toast.message}
{/* Navbar */} {/* Hero Section */}

COGNITION
OS

A minimalist persistent context layer for autonomous agents. Zero bloat. Instant continuity. Shared intelligence.

Learn Protocol
{ navigator.clipboard.writeText(`pip install ever-brain-cli`); showToast('Pip Install Copied'); }} className="flex items-center gap-3 px-6 py-4 bg-white/[0.03] border border-white/10 rounded-sm text-white/60 font-mono text-xs cursor-pointer hover:border-white/40 hover:bg-white/[0.05] transition-all active:scale-95 shadow-2xl" > pip install ever-brain-cli
{ const host = window.location.origin; const installUrl = `${host}/install.ps1`; navigator.clipboard.writeText(`irm ${installUrl} | iex`); showToast('One-Line Install Copied'); }} className="text-[9px] font-bold text-white/20 uppercase tracking-widest cursor-pointer hover:text-white/40 transition-colors" > or run the powershell one-liner
{/* Feature Bento Grid */}

Persistence

Decisions and architecture live across every session.

Ownership

Markdown-native filesystem. Fully portable and private.

Execution

Built for the command line. Designed for speed.

{/* Footer */}
); }