|
| 1 | +# GAIA Website |
| 2 | + |
| 3 | +Developer-focused landing page for GAIA - Local AI Agents framework. |
| 4 | + |
| 5 | +## Tech Stack |
| 6 | + |
| 7 | +- **Framework**: [Astro](https://astro.build) (static, fast) |
| 8 | +- **Styling**: [Tailwind CSS](https://tailwindcss.com) |
| 9 | +- **Hosting**: Cloudflare Pages (recommended) |
| 10 | + |
| 11 | +## Development |
| 12 | + |
| 13 | +```bash |
| 14 | +# Install dependencies |
| 15 | +npm install |
| 16 | + |
| 17 | +# Start dev server |
| 18 | +npm run dev |
| 19 | + |
| 20 | +# Build for production |
| 21 | +npm run build |
| 22 | + |
| 23 | +# Preview production build |
| 24 | +npm run preview |
| 25 | +``` |
| 26 | + |
| 27 | +## Project Structure |
| 28 | + |
| 29 | +``` |
| 30 | +website/ |
| 31 | +├── public/ # Static assets (favicon, robots.txt) |
| 32 | +├── src/ |
| 33 | +│ ├── components/ # Astro components |
| 34 | +│ │ ├── Header.astro |
| 35 | +│ │ ├── Hero.astro |
| 36 | +│ │ ├── WhyNotX.astro |
| 37 | +│ │ ├── CodeExamples.astro |
| 38 | +│ │ ├── Benchmarks.astro |
| 39 | +│ │ ├── BuiltWith.astro |
| 40 | +│ │ ├── Integrations.astro |
| 41 | +│ │ ├── QuickStart.astro |
| 42 | +│ │ ├── TrustSignals.astro |
| 43 | +│ │ └── Footer.astro |
| 44 | +│ ├── layouts/ |
| 45 | +│ │ └── Layout.astro # Base HTML layout |
| 46 | +│ └── pages/ |
| 47 | +│ └── index.astro # Landing page |
| 48 | +├── astro.config.mjs |
| 49 | +├── tailwind.config.mjs |
| 50 | +└── package.json |
| 51 | +``` |
| 52 | + |
| 53 | +## Design System |
| 54 | + |
| 55 | +- **Background**: `#0d0d0d` |
| 56 | +- **Card Background**: `#1e1e2e` |
| 57 | +- **Accent (AMD Red)**: `#ED1C24` |
| 58 | +- **Text**: `#e4e4e7` |
| 59 | +- **Muted Text**: `#a1a1aa` |
| 60 | +- **Font (Code)**: JetBrains Mono |
| 61 | +- **Font (UI)**: Inter |
| 62 | + |
| 63 | +## Deployment |
| 64 | + |
| 65 | +### Railway (Recommended for Quick Deploy) |
| 66 | + |
| 67 | +See **[RAILWAY_DEPLOY.md](./RAILWAY_DEPLOY.md)** for detailed instructions. |
| 68 | + |
| 69 | +**Quick setup:** |
| 70 | +1. Push code to `github.com/amd/gaia-website` |
| 71 | +2. Connect Railway to your GitHub repo |
| 72 | +3. Railway auto-detects Astro and deploys |
| 73 | +4. Set custom domain to `amd-gaia.ai` |
| 74 | + |
| 75 | +**Auto-deploy:** Push to GitHub → Railway builds and deploys automatically |
| 76 | + |
| 77 | +### Cloudflare Pages (Recommended for Production) |
| 78 | + |
| 79 | +1. Connect your repository to Cloudflare Pages |
| 80 | +2. Set build command: `npm run build` |
| 81 | +3. Set output directory: `dist` |
| 82 | +4. Deploy |
| 83 | + |
| 84 | +**Benefits:** Faster global CDN, unlimited bandwidth, better DDoS protection |
| 85 | + |
| 86 | +### Manual Deploy |
| 87 | + |
| 88 | +```bash |
| 89 | +npm run build |
| 90 | +# Upload contents of dist/ to your hosting provider |
| 91 | +``` |
| 92 | + |
| 93 | +## Assets Needed |
| 94 | + |
| 95 | +Before launch, add these assets to `public/`: |
| 96 | + |
| 97 | +- [ ] `og-image.png` (1200x630) - Social share image |
| 98 | +- [ ] Integration logos (VS Code, Blender, Jira, Docker) |
| 99 | +- [ ] GAIA logo SVG (if different from favicon) |
| 100 | + |
| 101 | +## License |
| 102 | + |
| 103 | +MIT License - Copyright (C) 2024-2026 Advanced Micro Devices, Inc. |
0 commit comments