diff --git a/src/app/about-us/page.tsx b/src/app/about-us/page.tsx index 62bca54..2055d7f 100644 --- a/src/app/about-us/page.tsx +++ b/src/app/about-us/page.tsx @@ -30,6 +30,7 @@ const AboutUs = () => {

+

Photo By Mzximvs VdB from Brussels, belgium - Road to Issyk-Kul (south shore), CC BY-SA 2.0

; ); }; diff --git a/src/widgets/Footer/Footer.tsx b/src/widgets/Footer/Footer.tsx index 314c75e..469f680 100644 --- a/src/widgets/Footer/Footer.tsx +++ b/src/widgets/Footer/Footer.tsx @@ -8,22 +8,8 @@ import facebook from "./icons/facebook.svg"; import instagram from "./icons/instagram.svg"; import app_store_btn from "./icons/app-store-btn.svg"; import play_market_btn from "./icons/play-market-btn.svg"; -import { usePathname } from 'next/navigation'; const Footer = () => { - - const pathname = usePathname(); - const isHomePage = pathname === '/'; - const isAboutPage = pathname === '/about'; - let creditsInFooter; - if (isHomePage) { - creditsInFooter =

Photo By ThomasG, CC BY-SA 3.0

; - } else if (isAboutPage) { - creditsInFooter =

Photo By Mzximvs VdB from Brussels, belgium - Road to Issyk-Kul (south shore), CC BY-SA 2.0

; - } else { - creditsInFooter =

; - } - return (