refactor: restructure Stadsdeel Indication components using Atomic Design
This cmmit concerns issue #250.
Restructuring components using Atomic Design.
Improving prop passing and data flow.
Separating data retrieval from presentation.
Making components more reusable.
Improving component responsibilities.
feature: Simple styling and basic desktop layout
This commit concerns issue #250.
I've set up a global.css for colour and font sizes and spacing for my styling of the component as I've mostly copied it from the `dev` branch.
Adjusted a slight typo in the `districts.js`.
Added district header and navigation styling with hover animations
fix: put the right colour in the right district
This commit concerns issue #250
I've accidentally put the colour in the wrong order. Now each district has its own respective colour.
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.
refactor: moved the stadsdeel-indicator to +layout.svelte in the /[slug]
This commit concerns issue #250
Moved the stadsdeel-indicator to +layout.svelte in the /[slug].
I've removed unnecessary code.
feature: added basic html for all the elements of the stadsdeel indication
This commit concerns issue #250
I've added moestuin.png in `/lib/assets/` and exported it.
Am able to move back to the stadsdeel (district) i came from and select another article.
I removed some unnecessary lines in `src/routes/[stadsdeel]/+layout.svelte`.
feature: made a simple navigation to get to the detail page easily for developing
This commit concerns issue #250
Simple navigation is added.
Simple Data for the detail page is fetched