From 57cd3aae5021e1de4a9e6ed4dfe59fd2798e1f20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Sun, 21 Apr 2024 10:21:52 -0500 Subject: [PATCH] feat: pub ads --- src/app/layout.tsx | 4 ++-- src/app/tools/tankopedia/map/page.tsx | 9 ++++++++- src/components/Ads/Horizontal.tsx | 19 +++++++++++++++++++ src/components/{Google.tsx => Party3.tsx} | 18 ++++++++++++++++-- 4 files changed, 45 insertions(+), 5 deletions(-) create mode 100644 src/components/Ads/Horizontal.tsx rename src/components/{Google.tsx => Party3.tsx} (63%) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 51ad5b5be..e46ef804e 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -7,9 +7,9 @@ import { Roboto_Flex } from 'next/font/google'; import { usePathname } from 'next/navigation'; import { ReactNode, Suspense, useEffect, useState } from 'react'; import { Footer } from '../components/Footer'; -import { Google } from '../components/Google'; import { Loader } from '../components/Loader'; import Navbar from '../components/Navbar'; +import { Party3 } from '../components/Party3'; import isDev from '../core/blitzkrieg/isDev'; import { isLocalhost } from '../core/blitzkrieg/isLocalhost'; import { useFullScreen } from '../hooks/useFullScreen'; @@ -60,7 +60,7 @@ export default function RootLayout({ children }: RootLayoutProps) { - + + Super duper secret map for SEO + + + {Object.values(awaitedTankDefinitions) .sort((a, b) => b.tier - a.tier) .map((tank) => ( - {tank.name} + + {tank.name} + ))} diff --git a/src/components/Ads/Horizontal.tsx b/src/components/Ads/Horizontal.tsx new file mode 100644 index 000000000..0c8eab9ad --- /dev/null +++ b/src/components/Ads/Horizontal.tsx @@ -0,0 +1,19 @@ +export function AdHorizontal() { + return ( + <> +
+