Homepage news: add WOOT26 presentation item and wire RecentNews into homepage - #31
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
static/img/IMG_9401.jpgin place (not added/changed).Description
src/components/RecentNews.jsto robustly load news entries from the repositorynews/folder, improve frontmatter/summary selection and slug/date handling, and construct stable news item links for rendering.src/pages/index.jsto include theRecentNewscomponent (showing up to 4 items) and to use the slider/hero layout adjustments so the homepage displays the new news block.news/2026-08-12-woot26-presentation.mdcontaining frontmatter and body text for the WOOT26 presentation item and referencing the existingstatic/img/IMG_9401.jpgas the news image (the JPG was not copied or changed in the diff).Testing
git status --short --branchandgit diffto verify the change set contains only the three expected text files and thatstatic/img/IMG_9401.jpgis not part of the changes; these checks succeeded.news/files andRecentNews.jsoutput in the working tree to confirm the new markdown will be discovered by the component and that generated slugs/dates render as intended; static code inspection passed (no site build was executed).Codex Task