Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛Bug : Navbar Copyright Year is Static and Not Dynamic #85

Closed
AVNI-THEEXPLORER opened this issue Jan 1, 2025 · 3 comments · Fixed by #148
Closed

🐛Bug : Navbar Copyright Year is Static and Not Dynamic #85

AVNI-THEEXPLORER opened this issue Jan 1, 2025 · 3 comments · Fixed by #148
Assignees
Labels
BEGINNER bug Something isn't working SWOC Social Winter Of Code

Comments

@AVNI-THEEXPLORER
Copy link
Contributor

AVNI-THEEXPLORER commented Jan 1, 2025

Description

The copyright year displayed in the navbar is hardcoded (static) and does not update dynamically based on the current year. This can lead to outdated information being displayed, reducing the credibility and professionalism of the website.

Screenshots

Screenshot 2025-01-01 220139

Any additional information?

Steps to Reproduce:

1.Open the website.
2. Scroll to the navbar section where the copyright year is displayed.
3.Observe that the year does not match the current calendar year.

Expected Behavior:

The copyright year should dynamically update to reflect the current year without requiring manual updates in the code.

Actual Behavior:

The copyright year is static and does not change unless manually updated in the source code.

Impact:

  1. Outdated copyright year can confuse users and may give the impression that the website is not maintained.
  2. It requires manual intervention each year, increasing maintenance overhead.

Proposed Solution:

Use a dynamic method to fetch and display the current year.

What browser are you seeing the problem on?

chrome

@AVNI-THEEXPLORER AVNI-THEEXPLORER added the bug Something isn't working label Jan 1, 2025
@AVNI-THEEXPLORER
Copy link
Contributor Author

@Mujtabaa07 please assign me this issue

@Mujtabaa07
Copy link
Owner

@AVNI-THEEXPLORER Assigned

@Mujtabaa07
Copy link
Owner

✅ This issue has been resolved in PR #148 by @AVNI-THEEXPLORER

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BEGINNER bug Something isn't working SWOC Social Winter Of Code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants