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/shared/types/review-type.ts b/src/shared/types/review-type.ts index 7b76ff7..18364f3 100644 --- a/src/shared/types/review-type.ts +++ b/src/shared/types/review-type.ts @@ -12,7 +12,3 @@ export interface IReview { review: string; created_at: string; } - -export interface IReviewList extends IList { - results: IReview[]; -} 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 (