From 964918485e15d6307f433ae24b1ae5af6c9bdaa2 Mon Sep 17 00:00:00 2001 From: BaptisteLacroix Date: Sun, 22 Sep 2024 18:09:01 +0200 Subject: [PATCH] feat: adding credit footer --- src/App.tsx | 4 ++++ src/modules/CreditComponent.tsx | 13 +++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 src/modules/CreditComponent.tsx diff --git a/src/App.tsx b/src/App.tsx index b276f1d..c08da59 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -4,6 +4,7 @@ import {FormationComponent} from "./modules/FormationComponent.tsx"; import {PortfolioComponent} from "./modules/PortfolioComponent.tsx"; import SkillsSection from "./modules/SkillsSection.tsx"; import {useRef} from "react"; +import CreditComponent from "./modules/CreditComponent.tsx"; export default function App() { const homeRef = useRef(null); @@ -51,6 +52,9 @@ export default function App() {
+
+ +
); diff --git a/src/modules/CreditComponent.tsx b/src/modules/CreditComponent.tsx new file mode 100644 index 0000000..485af8c --- /dev/null +++ b/src/modules/CreditComponent.tsx @@ -0,0 +1,13 @@ +import React from 'react'; + +const CreditComponent: React.FC = () => { + const currentYear = new Date().getFullYear(); + return ( + + ); +}; + +export default CreditComponent; \ No newline at end of file