Updated unknown
Commit: dbf5b17 Show on GitHub
- Author: Inez
- Date: 11/25/2026, 5:48:38 PM
- Message: feature: Add district colour definition This commit concerns issue #250 I've added a section to put every tiny elements inside. There was a DISTRICTS array already in /lib/districts.js. Each district now has its own: colour: Its associated HSL colour. Using the array of objects makes it easier to manage districts and reuse their information throughout the website. I used {#each} loop inside the nav to get all the district links.
- Stats: 36 total changes (+23 / -13)
Changed Files
src/lib/districts.js— +3 / -3 (6 changes)src/routes/[stadsdeel]/[slug]/+layout.svelte— +20 / -10 (30 changes)