44
55** IMPORTANT: Always use Docker for all build, dev, and test commands.**
66
7+ ## Tech Stack
8+
9+ - ** Astro 5** (SSR with ` @astrojs/node ` or static for GitHub Pages)
10+ - ** Tailwind CSS v4** (via ` @tailwindcss/vite ` plugin, not PostCSS)
11+ - ** Shiki** for syntax highlighting (custom neural theme in ` src/utils/shiki-neural-theme.ts ` )
12+ - ** Marked** for markdown rendering
13+ - ** TypeScript** (strict mode, ` astro/tsconfigs/strict ` )
14+ - No test framework configured
15+
716``` bash
817# Build the project
918docker compose run --rm gaeia-web npm run build
@@ -20,10 +29,21 @@ docker compose run --rm gaeia-web npm install
2029
2130## Project Structure
2231
32+ ### Path Aliases (tsconfig.json)
33+
34+ - ` @/* ` → ` src/* `
35+ - ` @components/* ` → ` src/components/* `
36+ - ` @layouts/* ` → ` src/layouts/* `
37+ - ` @utils/* ` → ` src/utils/* `
38+
2339- ` src/components/ ` - Astro components
2440- ` src/pages/ ` - Astro pages (file-based routing)
2541- ` src/utils/ ` - Utility functions
2642- ` src/types/ ` - TypeScript type definitions
43+ - ` src/scripts/ ` - Client-side scripts (progress hydration, interactive checklist)
44+ - ` src/styles/ ` - Global CSS (` global.css ` , ` markdown.css ` , ` particles.css ` )
45+ - ` src/layouts/ ` - Base layout (single ` BaseLayout.astro ` )
46+ - ` docker/ ` - Dockerfile.dev, Dockerfile.prod, nginx.conf
2747
2848## Content Architecture
2949
@@ -102,3 +122,15 @@ The `universe/_catalog.json` uses direct JSON file paths:
102122 "topicos" : { "path" : " topicos" , "indexFile" : " _index.json" }
103123}
104124```
125+
126+ ## Output Modes
127+
128+ Controlled by ` PUBLIC_MODE ` env var in ` astro.config.mjs ` :
129+ - ` PUBLIC_MODE=hybrid ` (default, Docker) → SSR with node adapter, ` base: '/' `
130+ - ` PUBLIC_MODE=static ` → Static build for GitHub Pages, ` base: '/gaeia' `
131+
132+ ## Language
133+
134+ - UI and content are in ** Brazilian Portuguese** (pt-BR)
135+ - Variable/function names use Portuguese terms (trilha, topico, modulo, conquistas)
136+ - Code comments and logs are in English
0 commit comments