Skip to content

home: Add latest-release banner and make highlights evergreen#185

Merged
ngosang merged 1 commit into
amule-org:mainfrom
ngosang:feature/home_page
Jun 25, 2026
Merged

home: Add latest-release banner and make highlights evergreen#185
ngosang merged 1 commit into
amule-org:mainfrom
ngosang:feature/home_page

Conversation

@ngosang

@ngosang ngosang commented Jun 25, 2026

Copy link
Copy Markdown
Member

Keep the homepage low-maintenance across minor releases:

  • Add src/releaseInfo.ts as the single source of truth for release data (latest version/date, changelog/asset URLs, and the PREV_RELEASES history). Publishing a release now only requires editing this file.
  • Make download.tsx import all release constants from releaseInfo instead of defining them locally.
  • Add a ReleaseBanner component at the top of the homepage announcing the latest release with inline Download and changelog links. The version is interpolated at runtime via , so translations never need redoing when the version bumps. Styling is theme-aware (color-mix over Infima variables).
  • Rename the highlights section from 'What's new in 3.0.0' to 'What's new in aMule 3.0' and point its changelog link to the /changelog index, so the section stays current across the 3.0.x line.
  • Regenerate i18n/en base and add translations for the new banner strings plus the updated title/intro across ca, es, fr, it, lv, pt-BR, tr.

Keep the homepage low-maintenance across minor releases:

- Add src/releaseInfo.ts as the single source of truth for release data
  (latest version/date, changelog/asset URLs, and the PREV_RELEASES
  history). Publishing a release now only requires editing this file.
- Make download.tsx import all release constants from releaseInfo instead
  of defining them locally.
- Add a ReleaseBanner component at the top of the homepage announcing the
  latest release with inline Download and changelog links. The version is
  interpolated at runtime via <Translate values>, so translations never
  need redoing when the version bumps. Styling is theme-aware (color-mix
  over Infima variables).
- Rename the highlights section from 'What's new in 3.0.0' to 'What's new
  in aMule 3.0' and point its changelog link to the /changelog index, so
  the section stays current across the 3.0.x line.
- Regenerate i18n/en base and add translations for the new banner strings
  plus the updated title/intro across ca, es, fr, it, lv, pt-BR, tr.
@ngosang ngosang merged commit 379df76 into amule-org:main Jun 25, 2026
2 checks passed
@ngosang ngosang mentioned this pull request Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant