Skip to content

fix: make landing footer year dynamic#74

Open
MolhamHamwi wants to merge 1 commit into
Ghbounty:mainfrom
MolhamHamwi:fix/dynamic-footer-year
Open

fix: make landing footer year dynamic#74
MolhamHamwi wants to merge 1 commit into
Ghbounty:mainfrom
MolhamHamwi:fix/dynamic-footer-year

Conversation

@MolhamHamwi
Copy link
Copy Markdown

Summary

  • Make the landing footer copyright year derive from new Date().getFullYear().
  • Hoist the inline X icon out of Footer so the touched page passes targeted lint cleanly.

Test Plan

  • pnpm --filter frontend exec eslint app/page.tsx
  • pnpm --filter frontend test
  • pnpm typecheck
  • pnpm test

Closes #69

@MolhamHamwi MolhamHamwi requested a review from tomazzi14 as a code owner May 11, 2026 05:19
Copilot AI review requested due to automatic review settings May 11, 2026 05:19
@vercel
Copy link
Copy Markdown

vercel Bot commented May 11, 2026

@MolhamHamwi is attempting to deploy a commit to the weareghbounty-6269's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the frontend landing page footer to avoid a stale, hardcoded copyright year and refactors the X (Twitter) icon into a top-level component to satisfy linting.

Changes:

  • Replace the hardcoded footer year with new Date().getFullYear() rendered via a currentYear variable.
  • Hoist the inline XIcon out of Footer into a top-level function XIcon(...) definition.
  • Refactor the makeIcon icon factory into a block-bodied function that returns an inner Icon component.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

test: typo in landing footer copyright year

2 participants