flatpak.github.io icon indicating copy to clipboard operation
flatpak.github.io copied to clipboard

Porting to a different stack

Open razzeee opened this issue 11 months ago • 10 comments

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

razzeee avatar Dec 12 '24 00:12 razzeee

It sounds like a good idea to me.

You could probably try asking @barthalion to give you push rights (Collaborator status) to this repo.

AsciiWolf avatar Dec 12 '24 11:12 AsciiWolf

Just keep in mind this is currently a static website so if we switch to next.js it has to work with next export.

barthalion avatar Dec 12 '24 12:12 barthalion

yes, that would be my plan - should hopefully be easier here

razzeee avatar Dec 12 '24 13:12 razzeee

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.

jimmac avatar Dec 14 '24 11:12 jimmac

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.

razzeee avatar Dec 14 '24 15:12 razzeee

I'll probably start porting this to astro, as we get the best of both worlds that way.

razzeee avatar Feb 15 '25 11:02 razzeee

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/

razzeee avatar Feb 18 '25 00:02 razzeee

Imported the setup pages now, but they need styling work - but content should be there now.

razzeee avatar Feb 22 '25 01:02 razzeee

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.

jimmac avatar Feb 24 '25 07:02 jimmac

I can drop the whole setup thing and just remove the button from the rework.

Would spare me quiet some work.

razzeee avatar Feb 24 '25 08:02 razzeee

Removed all setup facing bits as suggested.

https://flatpak-astro.vercel.app/

Things to fix

  • mobile nav
  • page descriptions
  • meta tags/og tags

razzeee avatar Mar 02 '25 13:03 razzeee