Closed Mafrans closed 11 months ago
I will take a deeper look at that, my idea was to add Decap CMS for content management: https://decapcms.org
I've used Tina in the past (mainly for https://mafra.nz) and found it pretty reasonable to work with, I believe all three options are decent.
Decap: https://github.com/Braweria/learn-web-dev-svelte/pull/11
Tina: https://github.com/Braweria/learn-web-dev-svelte/pull/12
Tina had a way easier developer experience to get started, I will probably stick with it. It's not finished, it also made me realise I have to rethink on how to do the "pick one" cards.
We need a simple way to add more resources and categories in a scalable way. I've implemented the experimental SvelteKit CMS I wrote for https://tangentkeyboards.github.io, which is a bit limited but I think is suitably simple for our usecase. It uses vite-plugin-markdown to parse a markdown file into frontmatter data and a html body, and makes use of vite's built in globbing functionality to dynamically load content from a folder.