From d98c7e88163ddeedc8310fc041de9d9a0696ef31 Mon Sep 17 00:00:00 2001 From: Anton Karpenko Date: Mon, 5 Feb 2024 19:59:27 +0100 Subject: [PATCH 1/3] fix: missing TODO: refactor: Footer uses copyrightHolder --- public/ads.txt | 1 + src/app/(main)/layout.tsx | 2 +- src/layout/components/Footer/Footer.tsx | 7 ++++--- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/public/ads.txt b/public/ads.txt index 8e0ec54..d08b8c9 100644 --- a/public/ads.txt +++ b/public/ads.txt @@ -1 +1,2 @@ +TODO: put real adsense code here google.com, pub-xxxx, DIRECT, f1xxxxxx \ No newline at end of file diff --git a/src/app/(main)/layout.tsx b/src/app/(main)/layout.tsx index 2215028..a90b781 100644 --- a/src/app/(main)/layout.tsx +++ b/src/app/(main)/layout.tsx @@ -13,7 +13,7 @@ export const metadata: Metadata = { // TODO: put your texts here title: APP_NAME, // 'Some Public Website', - description: 'Cool description for the website, this is used for SEO, so make it good!', + description: 'TODO: Cool description for the website, this is used for SEO, so make it good!', }; export const viewport: Viewport = { diff --git a/src/layout/components/Footer/Footer.tsx b/src/layout/components/Footer/Footer.tsx index ed24ffc..e0c4ccb 100644 --- a/src/layout/components/Footer/Footer.tsx +++ b/src/layout/components/Footer/Footer.tsx @@ -20,6 +20,8 @@ const Footer = () => { [onMobile] ); + const copyrightHolder = useMemo(() => TODO: Add company name, []); + return (