From 228c28c5af46426113bfef6b7ca9b4619f5afc4c Mon Sep 17 00:00:00 2001 From: Bikram Mondal Date: Wed, 8 Jul 2026 01:46:37 +0530 Subject: [PATCH] issue-#93 --- client/src/components/Footer.jsx | 125 +++++++++++++++++++++++++++++-- 1 file changed, 117 insertions(+), 8 deletions(-) diff --git a/client/src/components/Footer.jsx b/client/src/components/Footer.jsx index 0ab03fb..453a86e 100644 --- a/client/src/components/Footer.jsx +++ b/client/src/components/Footer.jsx @@ -1,9 +1,11 @@ import React, { useCallback } from "react"; -import { Link } from "react-router-dom"; +import { Link, useLocation } from "react-router-dom"; import { Github, ArrowUp } from "lucide-react"; const Footer = () => { const currentYear = new Date().getFullYear(); + const location = useLocation(); + const isLandingPage = location.pathname === "/"; const scrollToTop = useCallback(() => { window.scrollTo({ top: 0, behavior: "smooth" }); @@ -16,25 +18,129 @@ const Footer = () => { } }; + if (!isLandingPage) { + return ( + + ); + } + return (