Skip to content

Add Geografi › Klima category with 11 topics - #52

Closed
rastermanden with Copilot wants to merge 3 commits into
mainfrom
copilot/geografi-klima-umbrella-issue
Closed

Add Geografi › Klima category with 11 topics#52
rastermanden with Copilot wants to merge 3 commits into
mainfrom
copilot/geografi-klima-umbrella-issue

Conversation

Copilot AI commented May 13, 2026

Copy link
Copy Markdown
Contributor

Implements the Klima umbrella category under Geografi, covering climate systems from folkeskole to gymnasium level.

New content: content/geografi/klima/

11 topic files + category index:

Slug Topic
vejr-vs-klima Weather vs. climate, normalperioder, klimafaktorer
klimaets-elementer Temperature, precipitation, pressure, wind, measurement
atmosfaerens-opbygning Atmospheric layers, ozone layer
globale-vindsystemer Hadley cells, trade winds, westerlies, jet streams, monsoon
klimazoner Tropical → polar zones
koeppens-klimaklassifikation A–E climate groups with examples
havstroemme Gulf Stream, gyres, AMOC, thermohaline circulation
drivhuseffekten Natural and enhanced greenhouse effect, radiative balance
klimaforandringer Historical + anthropogenic change, IPCC conclusions
klimatilpasning Paris Agreement, renewables, CCS, climate migration
el-nino-la-nina ENSO system, global teleconnections

Each topic: 3–6 Danish-language sections, Wikimedia Commons images with credits/licenses, 5–8 multiple-choice quiz questions.

Routing

Topics accessible at canonical routes:

  • /geografi/klima/<slug>
  • /geografi/klima/<slug>/quiz

Updated

content/geografi/index.ts — adds klima as second category alongside regioner.

Copilot AI linked an issue May 13, 2026 that may be closed by this pull request
16 tasks
Copilot AI and others added 2 commits May 13, 2026 14:09
Creates content/geografi/klima/ with 11 topic files covering:
- vejr-vs-klima: Difference between weather and climate
- klimaets-elementer: Temperature, precipitation, pressure, wind
- atmosfaerens-opbygning: Atmospheric layers and ozone
- globale-vindsystemer: Trade winds, Hadley cells, jet streams, monsoon
- klimazoner: Tropical, subtropical, temperate, polar zones
- koeppens-klimaklassifikation: Köppen-Geiger A–E climate types
- havstroemme: Ocean currents, Gulf Stream, thermohaline circulation
- drivhuseffekten: Greenhouse effect and radiative balance
- klimaforandringer: Climate change, IPCC conclusions, observed effects
- klimatilpasning: Mitigation, Paris Agreement, renewables, adaptation
- el-nino-la-nina: ENSO system, El Niño, La Niña, global teleconnections

All topics include Danish-language sections (3–5 each), Wikimedia Commons
images and 6–10 quiz questions. Updates geografi/index.ts to register
the new Klima category.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Co-authored-by: rastermanden <1125134+rastermanden@users.noreply.github.com>
- 'opler' → 'opvælder' (ocean upwelling)
- 'telekonnek­tioner' → 'telekonnektioner' (teleconnections)
- 'fjernbetjent koblings­effekt' → 'fjernpåvirkning' (correct meteorological term)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Co-authored-by: rastermanden <1125134+rastermanden@users.noreply.github.com>
Copilot AI changed the title [WIP] Add umbrella issue for climate category in geography Add Geografi › Klima category with 11 topics May 13, 2026
Copilot AI requested a review from rastermanden May 13, 2026 14:14
rastermanden added a commit that referenced this pull request May 13, 2026
* Split content registries to eliminate merge-conflict hot spots

Topic PRs all converged on the same three central files
(content/<subject>/index.ts, app/[subject]/[category]/[topic]/page.tsx,
README.md), so any two open topic PRs were guaranteed to conflict.
This refactor splits the registries so each PR only touches files it
owns.

Per-category content modules
- Add content/<subject>/categories/<category>.ts files that import
  their own topics and export the Category object.
- Slim content/matematik/index.ts and content/geografi/index.ts to
  just compose the category list. They only change when a brand-new
  category is added.
- Adding a topic to an existing category now touches a single shared
  file (its category file) instead of the subject index.

Per-topic demo components
- Replace the string-keyed demoKey field on Topic with an optional
  demoComponent: ComponentType reference.
- Each topic file imports its own demo component and sets it on the
  Topic object.
- Remove the central TOPIC_DEMO_COMPONENTS record in
  app/[subject]/[category]/[topic]/page.tsx; the page reads
  topic.demoComponent directly. Topic PRs no longer touch the page
  file at all.

Docs
- Document the new "adding a topic" workflow in AGENTS.md so future
  topic PRs land in the per-category file and the per-topic demo
  field, keeping the shared surface minimal.

Build still produces 131/131 static routes.

* Add Klima category to geografi (11 topics) — Re-roll of #52 onto the per-category content structure from #61.

---------

Co-authored-by: Claude <noreply@anthropic.com>
@rastermanden

Copy link
Copy Markdown
Owner

Superseded by #67, which has been merged into main. All 11 topic files were preserved verbatim in content/geografi/klima/ and registered in a new klima category against the per-category structure from #61. Closing.


Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Geografi › Klima (umbrella)

2 participants