Skip to content

Homepage news: add WOOT26 presentation item and wire RecentNews into homepage - #31

Merged
WPISabaGanji merged 1 commit into
devfrom
codex/update-homepage-news-for-2026-08-12
Aug 12, 2026
Merged

Homepage news: add WOOT26 presentation item and wire RecentNews into homepage#31
WPISabaGanji merged 1 commit into
devfrom
codex/update-homepage-news-for-2026-08-12

Conversation

@WPISabaGanji

Copy link
Copy Markdown
Contributor

Motivation

  • Add a single news item for the WOOT 2026 presentation and surface it on the homepage while keeping the existing image static/img/IMG_9401.jpg in place (not added/changed).

Description

  • Updated src/components/RecentNews.js to robustly load news entries from the repository news/ folder, improve frontmatter/summary selection and slug/date handling, and construct stable news item links for rendering.
  • Updated src/pages/index.js to include the RecentNews component (showing up to 4 items) and to use the slider/hero layout adjustments so the homepage displays the new news block.
  • Added news/2026-08-12-woot26-presentation.md containing frontmatter and body text for the WOOT26 presentation item and referencing the existing static/img/IMG_9401.jpg as the news image (the JPG was not copied or changed in the diff).

Testing

  • Inspected the repository and run git status --short --branch and git diff to verify the change set contains only the three expected text files and that static/img/IMG_9401.jpg is not part of the changes; these checks succeeded.
  • Reviewed the news/ files and RecentNews.js output 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

@WPISabaGanji
WPISabaGanji merged commit 63773a0 into dev Aug 12, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant