Skip to content

Conversation

@voidisnull
Copy link

Added a "Package updates" section to the bottom of the homepage, right next to the recent news. It fetches the latest commits from cports.

I also fixed a missing </p> on the homepage.

If the styling or layout needs adjustment, just let me know, happy to make changes.

Screenshot attached below!

Screenshot from 2026-01-17 02-39-06

Closes #20

@q66
Copy link
Member

q66 commented Jan 16, 2026

thanks, this looks good

but i'd like a clean fallback when there is no javascript support (the site as is does not require javascript)

@q66
Copy link
Member

q66 commented Jan 16, 2026

(from what i can tell currently there will be a bunch of empty space)

@voidisnull
Copy link
Author

Ah, completely forgot about that, sorry!

I've added a static fallback for when JS is disabled or when the fetch fails, it will show a 'View recent updates on GitHub...' link so that the layout never breaks.
Also made the "View all" button only appear when the fetch succeeds to avoid redundant links.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Showcase a small feed of cports commits

2 participants