Skip to content

Commit

Permalink
feat: get year with Date
Browse files Browse the repository at this point in the history
  • Loading branch information
Chep0x61 committed Sep 29, 2024
1 parent 7702e2d commit 687bbc7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/src/Components/Footer.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import CircleBadge from "./CircleBadge";

const Footer = () => {
const currentYear = new Date().getFullYear();

return (
<div className="flex flex-col justify-center items-center pt-8">
<div className="flex gap-x-1">
Expand All @@ -11,7 +13,7 @@ const Footer = () => {
<CircleBadge src="/icons/socials/linkedin.png" alt="LinkedInMathisLunot" href="https://www.linkedin.com/in/mathis-lunot/"/>
</div>
<a className="my-4 text-sm md:text-md lg:text-base hover:text-[#BDBDBD]" href="https://github.com/Chep0x61" target="_blank" rel="noreferrer">
<p>© FulmoFilms 2023 - Made with ❤️ by Chep0x61 !</p>
<p>© FulmoFilms {currentYear} - Made with ❤️ by Chep0x61 !</p>
</a>
</div>
);
Expand Down

0 comments on commit 687bbc7

Please sign in to comment.