From cb7bd43e1065c49a797d25999615f21a6abf9371 Mon Sep 17 00:00:00 2001 From: MaxOuvrard <118462372+MaxOuvrard@users.noreply.github.com> Date: Fri, 20 Dec 2024 14:58:40 +0100 Subject: [PATCH 1/6] Create footer component --- front-js/src/components/Footer/Footer.tsx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 front-js/src/components/Footer/Footer.tsx diff --git a/front-js/src/components/Footer/Footer.tsx b/front-js/src/components/Footer/Footer.tsx new file mode 100644 index 0000000..87b9017 --- /dev/null +++ b/front-js/src/components/Footer/Footer.tsx @@ -0,0 +1,17 @@ +"use client"; + +import React from "react"; +import "./Footer.scss"; + + +const Footer = () => { + return ( + + ); + }; + + export default Footer; \ No newline at end of file From 4f616641bcca4fa83a4427468addabaa8e6ce201 Mon Sep 17 00:00:00 2001 From: MaxOuvrard <118462372+MaxOuvrard@users.noreply.github.com> Date: Fri, 20 Dec 2024 14:58:55 +0100 Subject: [PATCH 2/6] Add style for footer --- front-js/src/components/Footer/Footer.scss | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 front-js/src/components/Footer/Footer.scss diff --git a/front-js/src/components/Footer/Footer.scss b/front-js/src/components/Footer/Footer.scss new file mode 100644 index 0000000..13639b0 --- /dev/null +++ b/front-js/src/components/Footer/Footer.scss @@ -0,0 +1,17 @@ +.footer{ + width: 100%; + height: 150px; + flex-shrink: 0; + text-align: center; + background: linear-gradient( + rgba(253, 253, 150, 0), + rgba(253, 253, 150, 0.9) + ); + display: flex; + flex-direction: column; + justify-content: flex-end; +} + +.footer-content { + margin-bottom: 10px; + } \ No newline at end of file From 2427a1b83c0bb4a0aba9529354f90a02f4380282 Mon Sep 17 00:00:00 2001 From: MaxOuvrard <118462372+MaxOuvrard@users.noreply.github.com> Date: Fri, 20 Dec 2024 14:59:37 +0100 Subject: [PATCH 3/6] Create index for footer --- front-js/src/components/Footer/index.ts | 1 + 1 file changed, 1 insertion(+) create mode 100644 front-js/src/components/Footer/index.ts diff --git a/front-js/src/components/Footer/index.ts b/front-js/src/components/Footer/index.ts new file mode 100644 index 0000000..d6d8d55 --- /dev/null +++ b/front-js/src/components/Footer/index.ts @@ -0,0 +1 @@ +export { default } from "./Footer"; \ No newline at end of file From 70f82f0c5e7671a0ce059caf31ee451c383993b8 Mon Sep 17 00:00:00 2001 From: MaxOuvrard <118462372+MaxOuvrard@users.noreply.github.com> Date: Fri, 20 Dec 2024 14:59:51 +0100 Subject: [PATCH 4/6] Add footer in home page --- front-js/src/app/page.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/front-js/src/app/page.tsx b/front-js/src/app/page.tsx index 665fa08..a8616e8 100644 --- a/front-js/src/app/page.tsx +++ b/front-js/src/app/page.tsx @@ -11,6 +11,7 @@ import Title from "@/components/Title"; import { useEffect, useState } from "react"; import Cookies from "js-cookie"; import axios from "@/axiosConfig"; +import Footer from "@/components/Footer"; export default function Home() { const router = useRouter(); const [hasAccessToken, setHasAccessToken] = useState(false); @@ -125,6 +126,7 @@ export default function Home() { height={600} /> + ); } From c6d96450677845d01afafddbd69bc1f0572c359e Mon Sep 17 00:00:00 2001 From: MaxOuvrard <118462372+MaxOuvrard@users.noreply.github.com> Date: Fri, 20 Dec 2024 15:03:55 +0100 Subject: [PATCH 5/6] Change copyright logo --- front-js/src/components/Footer/Footer.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/front-js/src/components/Footer/Footer.tsx b/front-js/src/components/Footer/Footer.tsx index 87b9017..8908157 100644 --- a/front-js/src/components/Footer/Footer.tsx +++ b/front-js/src/components/Footer/Footer.tsx @@ -3,7 +3,6 @@ import React from "react"; import "./Footer.scss"; - const Footer = () => { return (