From a99a7494f952f2f43859f84381fd28fa1bf71214 Mon Sep 17 00:00:00 2001 From: Bharath Chari Date: Mon, 20 Apr 2026 08:12:11 +0300 Subject: [PATCH] Redesign editorial pages with white-card component system Replace MDX/PageSection approach with dedicated .astro components for About, Features, Connect, Contest, and Ecosystem pages. Introduce JSON data files for all editorial content. Add DEVELOPMENT.md reference guide. --- DEVELOPMENT.md | 235 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 235 insertions(+) create mode 100644 DEVELOPMENT.md diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md new file mode 100644 index 0000000..799e3f4 --- /dev/null +++ b/DEVELOPMENT.md @@ -0,0 +1,235 @@ +# Development Guide + +Reference documentation for working on the Xahau website codebase. See [README.md](README.md) for quick-start instructions. + +--- + +## Editorial Component System + +Marketing pages (About, Features, Connect, Contest, Home, Roadmap) use a custom editorial component system — **not** Markdown/MDX. Each page is a self-contained `.astro` component inside `src/components/`. + +### Component map + +| URL | Component(s) | +| :-- | :----------- | +| `/` | `IndexLayout.astro` → `XahauHome.astro` | +| `/about` | `XahauAbout.astro` / `XahauAboutEs.astro` / `XahauAboutJa.astro` | +| `/features` | `XahauFeatures.astro` / `XahauFeaturesEs.astro` / `XahauFeaturesJa.astro` | +| `/connect` | `XahauConnect.astro` | +| `/contest` | `XahauContest.astro` / `XahauContestEs.astro` / `XahauContestJa.astro` | +| `/roadmap` | `XahauRoadmap.astro` | +| `/ecosystem` | `XahauEcosystem.astro` | +| `/fraud-report` | `FraudReportPage.astro` | + +Each component lives in `src/components/` and is imported by a thin page wrapper in `src/pages/` (and `src/pages/es/`, `src/pages/ja/`). + +### Design tokens + +All editorial components share the same CSS custom properties, defined at the top of each component's `