import React, { useState, useEffect, FormEvent } from 'react';
import { createRoot } from 'react-dom/client';
import {
Cpu,
Layout,
Terminal,
Zap,
Shield,
Layers,
Users,
ChevronRight,
ExternalLink,
Github,
Twitter,
Activity,
Code2,
Box,
Mail,
Send,
MessageSquare,
Globe,
ArrowRight,
User,
DollarSign,
Sparkles,
BrainCircuit,
Wifi
} from 'lucide-react';
const LOGO_URL = "https://camzun.com/ai-os/assets/images/camzun-logo.png";
const DEV_EMAIL = "nishantkondal@gmail.com";
const DEV_NAME = "Nishant Kondal";
type Page = 'home' | 'about' | 'core' | 'cosmic' | 'roadmap' | 'contact';
const Navbar = ({ activePage, setPage }: { activePage: Page, setPage: (p: Page) => void }) => {
const [scrolled, setScrolled] = useState(false);
useEffect(() => {
const handleScroll = () => setScrolled(window.scrollY > 20);
window.addEventListener('scroll', handleScroll);
return () => window.removeEventListener('scroll', handleScroll);
}, []);
const links: { id: Page, label: string }[] = [
{ id: 'about', label: 'About' },
{ id: 'core', label: 'Core' },
{ id: 'cosmic', label: 'COSMIC' },
{ id: 'roadmap', label: 'Roadmap' },
{ id: 'contact', label: 'Contact' }
];
return (
setPage('home')} className="flex items-center gap-3 group">
Camzun OS
{links.map(link => (
setPage(link.id)}
className={`transition-colors relative py-1 ${activePage === link.id ? 'text-sky-400' : 'hover:text-sky-400'}`}
>
{link.label}
{activePage === link.id &&
}
))}
setPage('contact')}
className="px-5 py-2 rounded-full bg-sky-500 hover:bg-sky-400 text-white font-semibold transition-all hover:scale-105 active:scale-95 shadow-lg shadow-sky-500/20"
>
Invest / Join
);
};
const SectionHeader = ({ title, subtitle }: { title: string, subtitle?: string }) => (
{title}
{subtitle &&
{subtitle}
}
);
const FeatureCard = ({ icon: Icon, title, desc }: { icon: any, title: string, desc: string }) => (
);
const CorePillar = ({ name, description }: { name: string, description: string }) => (
);
const ContactForm = () => {
const [submitted, setSubmitted] = useState(false);
const [loading, setLoading] = useState(false);
const handleSubmit = (e: FormEvent) => {
e.preventDefault();
setLoading(true);
// Simulate form submission
setTimeout(() => {
setLoading(false);
setSubmitted(true);
}, 1500);
};
if (submitted) {
return (
Message Sent!
Thank you for reaching out. Nishant Kondal will review your message and get back to you shortly.
setSubmitted(false)} className="text-sky-400 font-semibold flex items-center gap-2 mx-auto hover:gap-3 transition-all">
Send another message
);
}
return (
);
};
const App = () => {
const [page, setPage] = useState('home');
useEffect(() => {
window.scrollTo(0, 0);
}, [page]);
return (
{/* Main Content Areas */}
{page === 'home' && (
The Linux Evolution.
Engineered From Scratch.
Camzun OS is an independent Linux distribution built upon LFS standards, featuring the adaptive Cami AI Agent and Rust-powered COSMIC environment.
setPage('contact')} className="px-8 py-4 rounded-full bg-white text-slate-950 font-bold flex items-center gap-2 hover:bg-sky-50 transition-all hover:scale-105 active:scale-95 group">
Join the Alpha Waitlist
setPage('core')} className="px-8 py-4 rounded-full glass text-white font-bold flex items-center gap-2 hover:bg-white/10 transition-all">
View Architecture
{/* Cami AI Section Shortcut */}
Core Feature
Meet Cami, Your AI Agent
Cami is built directly into the system core. She learns from your daily behaviors, automating repetitive tasks and evolving into your perfect companion.
Adaptive Learning
Cloud-Enhanced Intel
LFS
BLFS
GLFS
ALFS
)}
{page === 'about' && (
)}
{page === 'core' && (
camzun@os: ~/cami-core
$ cami --status
>> Cami AI Agent: Active [Online Mode]
>> Neural Model: v2.1 (Adaptive Learning Active)
>> Syncing intelligence with Cloud Node... [DONE]
New Workflow Detected:
Optimizing 'cargo build' priority...
Automating daily backups at 04:00...
CAMI IS EVOLVING...
)}
{page === 'cosmic' && (
Refined by Rust & AI
Intelligent layouts that adapt to your focus.
UI Intelligence
Cami learns your window tiling preferences and automatically arranges them as you work.
Workflow Focus
Customizable layouts designed for both mouse-heavy and keyboard-driven workflows.
Secure by Design
Native Wayland support with strictly enforced permission boundaries for all apps.
)}
{page === 'roadmap' && (
{[
{ phase: "Phase 1: The Seed", status: "Completed", items: ["Kernel Hardening", "LFS Base System Stabilization", "Cami AI Alpha Architecture"] },
{ phase: "Phase 2: Growth", status: "In Progress", items: ["COSMIC Desktop Tuning", "Cami Behavioral Learning Core", "ALFS Automation Pipelines"] },
{ phase: "Phase 3: Community", status: "Upcoming", items: ["Public Alpha Program", "Cloud-Enhanced Intelligence Sync", "Developer Documentation Launch"] },
{ phase: "Phase 4: Maturity", status: "Future", items: ["Stable 1.0 Release", "Cami Global Neural Network", "AI-Core Hardware Integration"] }
].map((step, idx) => (
{step.phase}
{step.status}
{step.items.map((item, i) => (
{item}
))}
))}
)}
{page === 'contact' && (
{/* Contact Info Sidebar */}
Developer Details
Lead Developer
{DEV_NAME}
Investment
Camzun OS is scaling fast. If you are interested in venture opportunities or angel investment to accelerate our LFS/ALFS/Cami AI infrastructure, please reach out directly.
Currently seeking Seed-level partnerships for infrastructure expansion.
{/* Form Area */}
)}
{/* Footer */}
setPage('home')} className="flex items-center gap-3 mb-6 cursor-pointer group">
Camzun OS
The next evolution of the Linux desktop, engineered from source and powered by the adaptive Cami AI Agent.
Navigation
setPage('about')} className="hover:text-sky-400 transition-colors">About the Project
setPage('core')} className="hover:text-sky-400 transition-colors">Core Technology
setPage('cosmic')} className="hover:text-sky-400 transition-colors">COSMIC Desktop
setPage('roadmap')} className="hover:text-sky-400 transition-colors">Project Roadmap
© {new Date().getFullYear()} Camzun OS. Featuring Cami AI. All rights reserved.
Developed with passion by {DEV_NAME}
);
};
const root = createRoot(document.getElementById('root')!);
root.render( );