Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 1.22 KB

codemap.md

File metadata and controls

34 lines (20 loc) · 1.22 KB

src/components/sections/

Responsibility

Design

Flow

Integration

Homepage Sections

Responsibility

Composes localized home pages from hero, biography, project, writing, and contact sections.

Files And Flow

  • Hero.astro: localized headline, cycling accent words, introduction, and anchor calls to action.
  • About.astro: translated biography content.
  • Work.astro: loads projects, orders by order, selects four, and overlays German content when requested.
  • Writing.astro: loads posts, orders by publication date, selects four, and overlays German content when requested.
  • Contact.astro: localized email and social links.

pages/index.astro and pages/en/index.astro instantiate these sections. Content sections call getCollection(), use buildDeMap() and getLocalizedEntry(), then emit links under the appropriate language prefix. BaseLayout consumes section reveal attributes for motion choreography.