# ๐ŸŒŒ BlackRoad OS Web **Production-grade Next.js application with 5 quantum domains** - Full-stack BlackRoad OS web platform with official brand design system. ## ๐ŸŒ Live Deployments This application serves **5 quantum domains**: - **blackroad.io** - Primary domain - **blackroadai.com** - AI-focused portal - **blackroadquantum.com** - Quantum computing interface - **lucidia.earth** - Companion AI platform - **earth.blackroad.io** - Earth visualization ## โœจ Features - **Next.js 15** - Latest App Router architecture - **TypeScript** - Full type safety - **Brand Compliant** - Official BlackRoad design system - **Authentication** - Secure login/signup flows - **Workspace** - Multi-domain workspace interface - **Real-time** - Conversation and collaboration features - **Responsive** - Mobile-first design ## ๐ŸŽจ Brand Compliance โœ… **OFFICIAL BlackRoad Brand Design System Integrated:** - Hot Pink (#FF1D6C) primary color - Golden Ratio spacing (ฯ† = 1.618): 8px, 13px, 21px, 34px, 55px, 89px, 144px - SF Pro Display typography - Line height: 1.618 (Golden Ratio) - Official gradient: 135deg @ 38.2% & 61.8% - No forbidden old colors See `app/globals.css` for complete brand system implementation. ## ๐Ÿš€ Getting Started ### Prerequisites - Node.js 18+ or Bun - npm, yarn, pnpm, or bun ### Installation ```bash # Clone the repository git clone https://github.com/BlackRoad-OS/blackroad-os-web.git cd blackroad-os-web # Install dependencies npm install # or bun install # Run development server npm run dev # or bun dev ``` Open [http://localhost:3000](http://localhost:3000) to see the application. ## ๐Ÿ“ Project Structure ``` blackroad-os-web/ โ”œโ”€โ”€ app/ # Next.js App Router โ”‚ โ”œโ”€โ”€ (app)/ # Authenticated app routes โ”‚ โ”‚ โ”œโ”€โ”€ workspace/ # Main workspace โ”‚ โ”‚ โ””โ”€โ”€ conversations/ # Chat interface โ”‚ โ”œโ”€โ”€ (auth)/ # Authentication routes โ”‚ โ”‚ โ”œโ”€โ”€ login/ # Login page โ”‚ โ”‚ โ””โ”€โ”€ signup/ # Signup page โ”‚ โ”œโ”€โ”€ globals.css # ๐ŸŒŒ OFFICIAL BRAND SYSTEM โ”‚ โ””โ”€โ”€ layout.tsx # Root layout โ”œโ”€โ”€ components/ # React components โ”œโ”€โ”€ stores/ # Zustand state management โ”œโ”€โ”€ lib/ # Utilities โ””โ”€โ”€ public/ # Static assets ``` ## ๐Ÿ”ง Development ```bash # Development server npm run dev # Production build npm run build # Start production server npm start # Lint code npm run lint # Type check npm run type-check ``` ## ๐Ÿšข Deployment ### Cloudflare Pages (Recommended) ```bash # Build for production npm run build # Deploy with Wrangler wrangler pages deploy ./out --project-name=blackroad-os-web ``` ### Automatic Deployment Push to `main` branch triggers automatic deployment via GitHub Actions (if configured). ## ๐Ÿ” Environment Variables Create `.env.local`: ```env # Required NEXT_PUBLIC_API_URL=https://api.blackroad.io NEXT_PUBLIC_SUPABASE_URL=your_supabase_url NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_key # Optional NEXT_PUBLIC_ANALYTICS_ID=your_analytics_id ``` ## ๐Ÿ“Š Performance - **Lighthouse Score Target:** >90 - **First Contentful Paint:** <1.5s - **Time to Interactive:** <3s - **Core Web Vitals:** All Green ## ๐Ÿ”’ Security - HTTPS enforced across all domains - Security headers configured - CSP (Content Security Policy) - XSS protection - CORS properly configured - Environment variables for secrets ## ๐Ÿงช Testing ```bash # Unit tests (when configured) npm run test # E2E tests (when configured) npm run test:e2e ``` ## ๐Ÿ“š Tech Stack - **Framework:** Next.js 15 (App Router) - **Language:** TypeScript - **Styling:** Tailwind CSS + Official Brand System - **State:** Zustand - **Deployment:** Cloudflare Pages - **CI/CD:** GitHub Actions ## ๐Ÿค Contributing This is a production repository serving 5 live domains. All changes require: 1. GitHub issue or approved task 2. Pull request with comprehensive description 3. Brand compliance verification 4. All tests passing 5. Code review approval 6. No breaking changes to live domains ## ๐Ÿ“„ License Copyright ยฉ 2026 BlackRoad OS, Inc. All rights reserved. See [LICENSE](./LICENSE) for details. ## ๐Ÿ”— Related Projects - [BlackRoad API](https://github.com/BlackRoad-OS/blackroad-api) - [BlackRoad OS Interface](https://github.com/BlackRoad-OS/blackroad-os-interface) - [BlackRoad Quantum](https://github.com/BlackRoad-OS/blackroad-os-quantum) - [BlackRoad 30k Agents](https://github.com/BlackRoad-OS/blackroad-30k-agents) ## ๐Ÿ“– Documentation - [Next.js Docs](https://nextjs.org/docs) - [BlackRoad Brand System](../../BLACKROAD_BRAND_SYSTEM.md) - [Traffic Light System](./TRAFFIC_LIGHT_SYSTEM.md) ## ๐Ÿ’ฌ Support - **Issues:** [GitHub Issues](https://github.com/BlackRoad-OS/blackroad-os-web/issues) - **Email:** blackroad.systems@gmail.com --- **Built with โค๏ธ by BlackRoad OS Team** | [blackroad.io](https://blackroad.io) | Powering 5 quantum domains