Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions front-js/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -125,6 +126,7 @@ export default function Home() {
height={600}
/>
</Space>
<Footer/>
</Layout>
);
}
17 changes: 17 additions & 0 deletions front-js/src/components/Footer/Footer.scss
Original file line number Diff line number Diff line change
@@ -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;
}
16 changes: 16 additions & 0 deletions front-js/src/components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
"use client";

import React from "react";
import "./Footer.scss";

const Footer = () => {
return (
<footer className="footer">
<div className="footer-content">
<p>&copy; 2024 - SAE 5.01 - Barker Ouvrard Rubio Gravier Ouali</p>
</div>
</footer>
);
};

export default Footer;
1 change: 1 addition & 0 deletions front-js/src/components/Footer/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from "./Footer";