Skip to content

Commit cbcc95d

Browse files
authored
Add GAIA website (#369)
## Summary Astro + Tailwind landing page for amd-gaia.ai serving two audiences: **End users** — Download the desktop Agent UI installer, see what GAIA can do **Developers** — Explore the Python SDK and C++ framework, build custom agents ### Key Pages - **Landing page** — Hero, feature highlights, download buttons, SDK code examples - **Download page** — Platform-specific installers with OS detection, links to R2-hosted builds - **Python SDK overview** — Agent creation, tool decorator, RAG, Chat SDK with interactive code examples - **C++ Framework overview** — C++ agent development, LemonadeClient, background monitoring - **Documentation links** — Points to amd-gaia.ai/docs (Mintlify) for full SDK reference and guides ### Technical - Astro + Tailwind static site - Configured for Railway or Cloudflare Pages deployment - Interactive code examples with typewriter animation - OS-specific install commands and download buttons (Windows/Linux/macOS) - Auto-label CI for website/ changes ## Test plan - [ ] `cd website && npm install && npm run build` succeeds - [ ] `npx serve dist -s` serves the site locally - [ ] Download buttons link to correct R2 URLs per platform - [ ] Python SDK code examples are accurate and match current API - [ ] C++ framework code examples are accurate - [ ] All doc links point to amd-gaia.ai - [ ] Deployment builds and serves correctly
1 parent d25d933 commit cbcc95d

19 files changed

Lines changed: 8604 additions & 0 deletions

.github/labeler.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@ electron:
9494
- changed-files:
9595
- any-glob-to-any-file: ['src/gaia/apps/**/*.html', 'src/gaia/apps/**/*.js', 'src/gaia/apps/**/*.css']
9696

97+
# Website changes (Astro + Tailwind landing site)
98+
website:
99+
- changed-files:
100+
- any-glob-to-any-file: ['website/**/*']
101+
97102
# Dependencies
98103
dependencies:
99104
- changed-files:

website/.gitignore

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Dependencies
2+
node_modules/
3+
4+
# Build output
5+
dist/
6+
.astro/
7+
8+
# Environment
9+
.env
10+
.env.local
11+
.env.production
12+
13+
# Editor
14+
.vscode/
15+
.idea/
16+
*.swp
17+
*.swo
18+
19+
# OS
20+
.DS_Store
21+
Thumbs.db
22+
23+
# Logs
24+
npm-debug.log*
25+
yarn-debug.log*
26+
yarn-error.log*
27+
dev.log
28+
*.log
29+
30+
# Build scripts
31+
test-server.sh

website/.railwayignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Don't upload these to Railway
2+
node_modules/
3+
.astro/
4+
dist/
5+
.git/
6+
*.log
7+
.env.local
8+
.vscode/
9+
.idea/

website/README.md

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
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.

website/astro.config.mjs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// Copyright(C) 2024-2026 Advanced Micro Devices, Inc. All rights reserved.
2+
// SPDX-License-Identifier: MIT
3+
4+
import { defineConfig } from 'astro/config';
5+
import tailwind from '@astrojs/tailwind';
6+
7+
export default defineConfig({
8+
integrations: [tailwind()],
9+
site: 'https://amd-gaia.ai',
10+
vite: {
11+
server: {
12+
allowedHosts: [
13+
'.ngrok-free.app',
14+
'.ngrok.io',
15+
'.ngrok.app',
16+
],
17+
},
18+
},
19+
});

0 commit comments

Comments
 (0)