Skip to content

Dynamic footer year - #81

Open
shivanshshri wants to merge 2 commits into
alphaonelabs:mainfrom
shivanshshri:dynamic-footer-year
Open

shivanshshri wants to merge 2 commits into
alphaonelabs:mainfrom
shivanshshri:dynamic-footer-year

Conversation

@shivanshshri

@shivanshshri shivanshshri commented Sep 10, 2026 •

Copy link
Copy Markdown

Description

Replaced the hard-coded copyright year in the footer with a dynamically generated year using JavaScript.

Changes Made

  • Removed the hard-coded year from the footer.
  • Added JavaScript using new Date().getFullYear() to automatically display the current year.
  • The footer will now update automatically each year without requiring a code change.

Before

The footer displayed a fixed year.
Screenshot 2026-09-11 012710

View :
image

After

The footer dynamically displays the current year.
Screenshot 2026-09-11 024921

View :
image

Note: There will be no change in the ui itself. I have only made the year being displayed here dynamic.

Testing

  • Verified the current year is displayed correctly in the footer.
  • Confirmed the change works when running the project locally with Wrangler.

@coderabbitai

coderabbitai Bot commented Sep 10, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Repository: alphaonelabs/coderabbit/.coderabbit.yaml

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 5fb75501-ed9d-42d3-a4e9-72b40c1b395f


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@shivanshshri

Copy link
Copy Markdown
Author

Hi, the PR is ready for review. The workflow is currently awaiting maintainer approval for the CodeRabbit review. Could a maintainer please approve the workflow when convenient?

@ghanshyam2005singh

Copy link
Copy Markdown
Contributor

Thankyou @shivanshshri for the PR, but can you change the discription and share the before and after of website, not the code?

@shivanshshri

Copy link
Copy Markdown
Author

Thankyou @shivanshshri for the PR, but can you change the discription and share the before and after of website, not the code?

@ghanshyam2005singh I changed the description with before and after implementation.

@shivanshshri

Copy link
Copy Markdown
Author

@ghanshyam2005singh Thank you for approving the changes. but GitHub shows “1 workflow awaiting approval.” Could you please approve the workflow so it can run?

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.

2 participants