58 lines
1.3 KiB
Markdown
58 lines
1.3 KiB
Markdown
# Huskies Website
|
|
|
|
Static marketing and documentation site, built with Next.js (`output: 'export'`).
|
|
|
|
## Development
|
|
|
|
```bash
|
|
npm install
|
|
npm run dev # starts dev server at http://localhost:3000
|
|
```
|
|
|
|
## Build
|
|
|
|
```bash
|
|
npm install
|
|
npm run build # produces out/ directory
|
|
```
|
|
|
|
The `out/` directory is a fully static export — plain HTML, CSS, JS, and assets. No Node.js required at runtime.
|
|
|
|
## Deploy
|
|
|
|
Serve the `out/` directory with any static file server. nginx example:
|
|
|
|
```nginx
|
|
server {
|
|
listen 80;
|
|
server_name huskies.dev;
|
|
root /path/to/out;
|
|
index index.html;
|
|
|
|
location / {
|
|
try_files $uri $uri.html $uri/ =404;
|
|
}
|
|
}
|
|
```
|
|
|
|
## Pages
|
|
|
|
| Route | File |
|
|
|-------|------|
|
|
| `/` | `app/page.tsx` |
|
|
| `/privacy` | `app/privacy/page.tsx` |
|
|
| `/docs` | `app/docs/page.tsx` |
|
|
| `/docs/quickstart` | `app/docs/quickstart/page.tsx` |
|
|
| `/docs/pipeline` | `app/docs/pipeline/page.tsx` |
|
|
| `/docs/commands` | `app/docs/commands/page.tsx` |
|
|
| `/docs/configuration` | `app/docs/configuration/page.tsx` |
|
|
| `/docs/cli` | `app/docs/cli/page.tsx` |
|
|
| `/docs/transports` | `app/docs/transports/page.tsx` |
|
|
|
|
## Tech
|
|
|
|
- Next.js 14 App Router with `output: 'export'`
|
|
- TypeScript
|
|
- `next/font/google` for self-hosted Bricolage Grotesque and Karla fonts
|
|
- No server components with dynamic data, no API routes, no server actions
|