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

Fixed: Bug Copyright Year #349

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
6 changes: 4 additions & 2 deletions client/src/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { FiInstagram } from "react-icons/fi";
import { Link } from "react-router-dom";

const Footer = () => {
const today = new Date();
const year = today.getFullYear();
return (
<div>
<footer className="bg-[#EEE6DB] dark:bg-gray-800 flex flex-col md:flex-row justify-center items-center ">
Expand Down Expand Up @@ -72,11 +74,11 @@ const Footer = () => {
</footer>
<div className="bg-[#EEE6DB] dark:bg-gray-800 py-5 flex justify-center items-center">
<p className=" text-sm text-center sm:text-left">
Copyright&copy; 2024 by Kaam Do. All rights reserved.
Copyright &copy; {year} by Kaam Do. All rights reserved.
</p>
</div>
</div>
);
};

export default Footer;
export default Footer;