From 6298d6230f83942834e84804967c0d2e569078d9 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 09:13:56 -0500 Subject: [PATCH 1/6] Update ads.txt --- public/ads.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/ads.txt b/public/ads.txt index 101d6d9b9..1f756c478 100644 --- a/public/ads.txt +++ b/public/ads.txt @@ -1 +1,3 @@ google.com, pub-1289406790225052, DIRECT, f08c47fec0942fa0 +appnexus.com, 14163, RESELLER +pubcenter.microsoft.com, 253617120, DIRECT 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 2/6] 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 ( + <> +
+