Feature / Improvement
Replace hardcoded copyright years with a dynamically generated year using JavaScript and turn AOSSIE footer into an interactive text
Problem
- Currently, some pages in the frontend contain hardcoded copyright years.
- This requires manual updates every year and can introduce unnecessary maintenance overhead.
- The AOSSIE text in the footer needs to be converted into a clickable link that redirects to the official AOSSIE website.
Example problem:
A year such as © 2016–2024 must be manually updated to 2025, 2026, etc.
AOSSIE is just a text
Proposed Solution
Use JavaScript's new Date().getFullYear() to dynamically generate the current year.
Example:
© 2016-{new Date().getFullYear()}
This ensures the copyright year automatically updates each year without requiring code changes.
Use AOSSIE Org link to:
<a href="https://aossie.org" target="_blank" rel="noopener noreferrer">
AOSSIE
</a>
Files Potentially Affected
Benefits
- Prevents yearly manual updates
- Reduces maintenance overhead
- Ensures accurate and up-to-date branding
- Avoids technical debt from outdated copyright notices
- makes the site more interactive
Scope
This is a small frontend maintenance improvement and does not introduce any new dependencies or functionality.
If approved, I would be happy to implement this change.
Additional Context
Code of Conduct
Feature / Improvement
Replace hardcoded copyright years with a dynamically generated year using JavaScript and turn AOSSIE footer into an interactive text
Problem
Example problem:
A year such as
© 2016–2024must be manually updated to2025,2026, etc.AOSSIE is just a text
Proposed Solution
Use JavaScript's
new Date().getFullYear()to dynamically generate the current year.Example:
This ensures the copyright year automatically updates each year without requiring code changes.
Use AOSSIE Org link to:
Files Potentially Affected
About.tsxCoachPage.tsxBenefits
Scope
This is a small frontend maintenance improvement and does not introduce any new dependencies or functionality.
If approved, I would be happy to implement this change.
Additional Context
Code of Conduct