diff --git a/src/App.jsx b/src/App.jsx index 0d7a104..b61b6ca 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -4,6 +4,7 @@ import { HashRouter as Router, Routes, Route } from "react-router-dom"; import { ToastContainer } from "react-toastify"; import routes from "@/routes/index"; import Navbar from "@/components/Navbar/index"; +import Footer from "@/components/Footer/index"; import Cursor from "./components/Cursor"; import CursorVariantProvider from "@/context/CursorVariantProvider"; import Loader from "@/components/Loader"; @@ -44,7 +45,8 @@ function App() { key={route.label} /> ))} - + + )} diff --git a/src/assets/images/Teams/sitlogo.svg b/src/assets/images/Teams/sitlogo.svg new file mode 100644 index 0000000..3bc2af1 --- /dev/null +++ b/src/assets/images/Teams/sitlogo.svg @@ -0,0 +1,9 @@ + diff --git a/src/components/Footer/index.jsx b/src/components/Footer/index.jsx new file mode 100644 index 0000000..376f311 --- /dev/null +++ b/src/components/Footer/index.jsx @@ -0,0 +1,132 @@ +import React from "react"; +import { Link, useLocation } from "react-router-dom"; +import Logo from "@/assets/images/logo.svg"; +import SitLogo from "@/assets/images/Teams/sitlogo.svg"; + +const Footer = () => { + const location = useLocation(); + + const handleLinkClick = () => { + window.scrollTo({ top: 0, behavior: "smooth" }); + }; + + return ( + + ); +}; + +export default Footer; diff --git a/src/pages/Contact/index.jsx b/src/pages/Contact/index.jsx index b9c254d..2557c31 100644 --- a/src/pages/Contact/index.jsx +++ b/src/pages/Contact/index.jsx @@ -54,9 +54,6 @@ function Contact() { Contact Us - - Events -