Merge pull request #126 from tresabhi/main

This commit is contained in:
TrèsAbhi authored and GitHub committed 2024-06-10 14:08:20 -05:00
commit 8901a3664b
8 files changed
+35 -32

No files matched your search

-3
View File
@@ -2,7 +2,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/blitzkit/tankDefinitions';
@@ -13,8 +12,6 @@ export default function Page() {
<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)
+8
View File
@@ -1,8 +1,10 @@
'use client';
import { Flex } from '@radix-ui/themes';
import { times } from 'lodash';
import Link from 'next/link';
import { useRouter } from 'next/navigation';
import { Ad, AdType } from '../../../components/Ad';
import PageWrapper from '../../../components/PageWrapper';
import { TankSearch } from './components/TankSearch';
@@ -17,6 +19,12 @@ export default function Page() {
}}
/>
<Flex justify="center" wrap="wrap">
{times(2, () => (
<Ad type={AdType.TankopediaHorizontal800} />
))}
</Flex>
<Flex justify="center" mt="4">
<Link href="/tools/tankopedia/map">Super duper secret map</Link>
</Flex>