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

Dynamically Update Copyright Year in Footer #241

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions site/components/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react'
import Link from 'next/link'
import { Apple, Play } from 'lucide-react'

const Footer = () => {
const Footer = () => {
return (
<footer aria-label="Site Footer" className="relative bg-gray-900 text-white py-10 px-6">

Expand Down Expand Up @@ -79,7 +79,7 @@ const Footer = () => {

{/* Bottom Text */}
<div className="text-center mt-10">
<p className="text-sm">&copy; 2024 Shubhadip Bhowmik. All rights reserved.</p>
<p className="text-sm">&copy; {new Date().getFullYear()} Shubhadip Bhowmik. All rights reserved.</p>
</div>
</footer>
)
Expand Down