mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
feat: stricter ad boundaries
This commit is contained in:
1 parent
22cc7b367c
commit
690ed2aa7e
3 files changed
+12
-45
No files matched your search
@@ -1,26 +0,0 @@
|
||||
'use client';
|
||||
|
||||
import { Flex, Link } from '@radix-ui/themes';
|
||||
import { use } from 'react';
|
||||
import PageWrapper from '../../../../components/PageWrapper';
|
||||
import { tankDefinitions } from '../../../../core/blitzkit/tankDefinitions';
|
||||
|
||||
export default function Page() {
|
||||
const awaitedTankDefinitions = use(tankDefinitions);
|
||||
|
||||
return (
|
||||
<PageWrapper>
|
||||
<title>Super duper secret map for SEO</title>
|
||||
|
||||
<Flex direction="column" align="center">
|
||||
{Object.values(awaitedTankDefinitions)
|
||||
.sort((a, b) => b.tier - a.tier)
|
||||
.map((tank) => (
|
||||
<Link href={`./${tank.id}`} key={tank.id}>
|
||||
{tank.name}
|
||||
</Link>
|
||||
))}
|
||||
</Flex>
|
||||
</PageWrapper>
|
||||
);
|
||||
}
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
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';
|
||||
@@ -24,10 +23,6 @@ export default function Page() {
|
||||
<Ad key={index} type={AdType.MediumRectangleHorizontalPurple} />
|
||||
))}
|
||||
</Flex>
|
||||
|
||||
<Flex justify="center" mt="4">
|
||||
<Link href="/tools/tankopedia/map">Super duper secret map</Link>
|
||||
</Flex>
|
||||
</PageWrapper>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user