mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: ads
This commit is contained in:
1 parent
e370a53473
commit
626eb7e2d6
5 files changed
+28
-25
No files matched your search
@@ -3,6 +3,7 @@
|
||||
import { Flex } from '@radix-ui/themes';
|
||||
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';
|
||||
|
||||
@@ -11,6 +12,10 @@ export default function Page() {
|
||||
|
||||
return (
|
||||
<PageWrapper size={1200} color="purple">
|
||||
<Flex justify="center">
|
||||
<Ad type={AdType.TankopediaHorizontal800} style={{ flex: 1 }} />
|
||||
</Flex>
|
||||
|
||||
<TankSearch
|
||||
onSelect={(tank) => {
|
||||
router.push(`./tankopedia/${tank.id}`);
|
||||
|
||||
Reference in new issue
Block a user