From 6e38e58eb9cd853b97f8a19b66569d9b3e6a94e9 Mon Sep 17 00:00:00 2001 From: Yash Patel <109963122+PatelYash7@users.noreply.github.com> Date: Fri, 21 Jun 2024 17:27:14 +0530 Subject: [PATCH] Updated the Footer --- .../Pages/Landing page/components/Footer.tsx | 36 ++++++------------- 1 file changed, 11 insertions(+), 25 deletions(-) diff --git a/Frontend/src/Pages/Landing page/components/Footer.tsx b/Frontend/src/Pages/Landing page/components/Footer.tsx index 4b32fa8..8b7f9b5 100644 --- a/Frontend/src/Pages/Landing page/components/Footer.tsx +++ b/Frontend/src/Pages/Landing page/components/Footer.tsx @@ -1,38 +1,24 @@ +import { useLocation, useNavigate } from "react-router-dom"; import { Discord, Github, LinkedIn, X } from "../../../Resources/Svg/SVG"; import TechTOnionsLogo from "../../../Resources/images/TechTOnions_Bot.png"; export const Footer = () => { + const {pathname} = useLocation(); + const navigate = useNavigate(); return (