mirror of
https://github.com/Xahau/xahau-web.git
synced 2026-08-23 19:10:53 +00:00
1a7d9abc2ca753e1cb94773291b90130bd9ecba3
Adds a build-time-rendered roadmap chart (XahauRoadmap.astro) backed by a single JSON source of truth (src/data/roadmap.json) validated by a Zod schema. The old hand-written per-locale MDX pages are removed in favour of an Astro i18n route at src/pages/[...lang]/roadmap.astro that renders /roadmap and /es/roadmap, using BaseLayout directly so the page shows one heading instead of a duplicate PageLayout H1. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Xahau website and documentation
Project Structure
Inside the project, these are the most relevant folders for collaboration
/
├── public/
├── src/
│ └── assets/
│ └── ecosystem-logos/
│ └── content/
│ └── docs/
│ └── docs/
│ └── pages/
│ └── schemas/
The project is using .mdx files for content, which combines markdown with JSX. When editing content, look at the existing files for reference on how various elements are used, such as LinkButton, LinkCard, Aside etc.
Commands
All commands are run from the root of the project, from a terminal:
| Command | Action |
|---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run astro ... |
Run CLI commands like astro add, astro check |
npm run astro -- --help |
Get help using the Astro CLI |
Standards for Formatting Contributions
When contributing, please adhere to the standards defined in "contributing.md".
Description
Languages
MDX
90.5%
Astro
5%
TypeScript
3.6%
JavaScript
0.9%