checks
Some checks are pending
/ deploy (push) Waiting to run

This commit is contained in:
Loyyd 2026-06-11 09:54:39 +02:00
parent 39f68f0051
commit 9d0a823351
23 changed files with 1158 additions and 31 deletions

View file

@ -20,10 +20,12 @@ is kept in `website/`, while Astro emits the served site into `dist/`.
- `content/speeches/mrs-hak-ja-han-moon/*.md` - extracted Mrs. Hak Ja Han Moon speeches
- `content/blog/<year>/*.md` - extracted non-speech blog content by publish year
- `content/README.md` - content archive notes
- `src/pages/index.html.ts` - Astro endpoint for the home page
- `src/pages/[...route].ts` - Astro endpoint for all other existing HTML pages
- `src/lib/static-pages.ts` - maps `website/` files to Astro static routes
- `src/components/` - Astro shared layout components for ongoing migration
- `src/content/pages/*.html` - preserved body fragments for migrated public pages
- `src/pages/index.astro` - Astro home page route
- `src/pages/about.astro`, `src/pages/contact.astro`, `src/pages/events.astro`, `src/pages/services.astro`, `src/pages/videos.astro`, `src/pages/the-founders.astro` - migrated public page routes
- `src/pages/[...route].ts` - Astro endpoint for the remaining exported HTML archive pages
- `src/lib/static-pages.ts` - maps `website/` files to Astro static routes and excludes migrated pages from the catch-all
- `src/components/` - Astro shared layout components
- `dist/` - generated site output, ignored by git
- `css/` - site-level stylesheets
- `css/theme.css` - extracted Parabola inline theme settings
@ -41,13 +43,16 @@ is kept in `website/`, while Astro emits the served site into `dist/`.
## Shared Layout
The current source pages remain static HTML, but common navigation, sidebar, and
footer markup is generated from `scripts/components.mjs`. Run
`npm run render:layout` after editing those components.
The important public pages now render through Astro components:
`src/components/SiteLayout.astro` owns the document shell, header, navigation,
and footer, while `src/components/TwoColumnPage.astro` wraps standard
content/sidebar pages. Their preserved page bodies live in
`src/content/pages/`.
Astro components in `src/components/` are available for the next migration step:
converting individual pages from exported HTML into `.astro` or Markdown content
while reusing the same layout structure.
The large blog and speech archive remains static exported HTML served through
`src/pages/[...route].ts`. Common navigation, sidebar, and footer markup for
those exported files is still generated from `scripts/components.mjs`; run
`npm run render:layout` after editing those legacy components.
## Content Archive