Skip to content

Representation pages

This guide explains how representation pages are structured and where to edit content for each country.

Country pages live in the main website repository:

  • src/pages/representation/finland.astro
  • src/pages/representation/sweden.astro
  • src/pages/representation/norway.astro
  • src/pages/representation/denmark.astro
  • src/pages/representation/iceland.astro
  • src/pages/representation/greenland.astro
  • src/pages/representation/faroe-islands.astro
  • src/pages/representation/kingdom-denmark.astro

Each page is an Astro file that mixes a top “code” section with HTML content.

Most country pages follow the same pattern:

  1. Layout and component imports
  2. PageHeader with title, description, contact email, and hero image
  3. Content sections with headings and text
  4. Committee component
  5. Optional sections (partnerships, publications, photo gallery)
  6. Blog section and call-to-action blocks

src/pages/representation/finland.astro is the best reference because it includes:

  • PageHeader with a hero image
  • Country narrative sections
  • Committee component
  • Publications, partnerships, and blog sections
  • Headings and paragraph text inside the country sections
  • Contact email in PageHeader
  • Committee members (see committee management)
  • Photo gallery entries (Sweden)

Note: when editing text, stay inside the HTML section below the --- frontmatter divider. Avoid changing imports or component names. The code section is everything between the two --- markers at the top of the file.

New country pages should follow the existing layout. Ask a developer to add the initial file, then editors can update the text and committee data.

Key steps:

  • Copy an existing page (Finland or Sweden is best)
  • Update the PageHeader title, description, email, and hero image import
  • Replace section text with the new country content
  • Update the committee country prop to match the new data file
  • Removing required imports at the top
  • Editing the Committee component props incorrectly
  • Changing the hero image path to public/ (use src/assets/ imports only)
  • Leaving a broken link or missing closing tag