flatpak.github.io
flatpak.github.io copied to clipboard
Porting to a different stack
Hey @jimmac @allanday @AsciiWolf @mwleeds
I'm currently consider to redo this page with next.js mostly to be able to share components from flathub - but also to get this to a more modern stack, that maybe more (webpeople) can help with.
Please let me know, if that's a direction that's fine with you
It sounds like a good idea to me.
You could probably try asking @barthalion to give you push rights (Collaborator status) to this repo.
Just keep in mind this is currently a static website so if we switch to next.js it has to work with next export.
yes, that would be my plan - should hopefully be easier here
Personally I don't think flatpak.org is a web app. Even Jekyll can make you waste an hour on dependencies when you come back to a project after a few months to do a 3 line CSS fix.
Tobias changed my mind about using plain HTML+CSS for a website. It really works best long term in terms of maintenance. Short term convenience is really diminished by dependency cost.
I have no experience with next.js though, it might be just fine.
Tobias changed my mind about using plain HTML+CSS for a website. It really works best long term in terms of maintenance. Short term convenience is really diminished by dependency cost.
While it should be maintainable, I don't think we should optimize for that, we should optimize for users and people being able to find it.
I'll probably start porting this to astro, as we get the best of both worlds that way.
So I've spend the last hour copying stuff into a new stack. It's a copy job for now, but most things are there. I've omited setup (hoping to reuse the flathub pages) and mobile nav is broken right now.
https://github.com/razzeee/flatpak-astro
https://flatpak-astro.vercel.app/
Imported the setup pages now, but they need styling work - but content should be there now.
Back in the day, Allan wasn't fan of going developer-centric for flatpak.org. I feel like flathub.org is covering the setup and intro to Flatpak well enough these days for users that I would revisit the idea.
I feel like flatpak.org should give an elevator pitch on what it provides compared to distro packages, and point to devel docs and communication channels.
I can drop the whole setup thing and just remove the button from the rework.
Would spare me quiet some work.
Removed all setup facing bits as suggested.
https://flatpak-astro.vercel.app/
Things to fix
- mobile nav
- page descriptions
- meta tags/og tags