feat: pub ads

This commit is contained in:
TrèsAbhi committed 2024-04-21 10:21:52 -05:00
1 parent 6298d6230f
commit 57cd3aae50
4 files changed
+45 -5

No files matched your search

+2 -2
View File
@@ -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) {
<meta property="og:site_name" content="Blitzkrieg" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<Google />
<Party3 />
</head>
<body
+8 -1
View File
@@ -1,5 +1,6 @@
import { Flex, Link } from '@radix-ui/themes';
import { use } from 'react';
import { AdHorizontal } from '../../../../components/Ads/Horizontal';
import PageWrapper from '../../../../components/PageWrapper';
import { tankDefinitions } from '../../../../core/blitzkrieg/tankDefinitions';
@@ -8,11 +9,17 @@ export default function Page() {
return (
<PageWrapper>
<title>Super duper secret map for SEO</title>
<AdHorizontal />
<Flex direction="column" align="center">
{Object.values(awaitedTankDefinitions)
.sort((a, b) => b.tier - a.tier)
.map((tank) => (
<Link href={`./${tank.id}`}>{tank.name}</Link>
<Link href={`./${tank.id}`} key={tank.id}>
{tank.name}
</Link>
))}
</Flex>
</PageWrapper>