mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
feat: migrate compare
This commit is contained in:
1 parent
320aead17b
commit
b31c7a6738
4 files changed
+4
-7
No files matched your search
@@ -1,6 +1,5 @@
|
||||
import { DiscordLogoIcon, HomeIcon } from '@radix-ui/react-icons';
|
||||
import { Button, Flex, Heading, Text } from '@radix-ui/themes';
|
||||
import Link from 'next/link';
|
||||
import { redirect, usePathname } from 'next/navigation';
|
||||
import { PageWrapper } from '../components/PageWrapper';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { imgur, ImgurSize } from '@blitzkit/core';
|
||||
import Link from 'next/link';
|
||||
import { Link } from '@radix-ui/themes';
|
||||
import { usePathname } from 'next/navigation';
|
||||
import { ReactNode } from 'react';
|
||||
import { TOOLS } from '../../../../website/src/constants/tools';
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { provisionDefinitions, TREE_TYPE_ICONS } from '@blitzkit/core';
|
||||
import { CaretRightIcon, UpdateIcon } from '@radix-ui/react-icons';
|
||||
import { Button, Dialog, Flex, Heading } from '@radix-ui/themes';
|
||||
import Link from 'next/link';
|
||||
import { Button, Dialog, Flex, Heading, Link } from '@radix-ui/themes';
|
||||
import { use, useState } from 'react';
|
||||
import { pushTankopediaPath } from '../../../../../core/blitzkit/pushTankopediaPath';
|
||||
import { tankToDuelMember } from '../../../../../core/blitzkit/tankToDuelMember';
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { fetchProvisionDefinitions } from '@blitzkit/core';
|
||||
import { ExternalLinkIcon, LoopIcon, TrashIcon } from '@radix-ui/react-icons';
|
||||
import { Dialog, Flex, IconButton } from '@radix-ui/themes';
|
||||
import Link from 'next/link';
|
||||
import { Dialog, Flex, IconButton, Link } from '@radix-ui/themes';
|
||||
import { useState } from 'react';
|
||||
import { tankToCompareMember } from '../../core/blitzkit/tankToCompareMember';
|
||||
import { CompareEphemeral } from '../../stores/compareEphemeral';
|
||||
@@ -70,7 +69,7 @@ export function TankControl({ index, id }: TankControlProps) {
|
||||
</Dialog.Content>
|
||||
</Dialog.Root>
|
||||
|
||||
<Link href={`/tools/tankopedia/${id}`} target="_blank" prefetch={false}>
|
||||
<Link href={`/tools/tankopedia/${id}`} target="_blank">
|
||||
<IconButton variant="ghost">
|
||||
<ExternalLinkIcon />
|
||||
</IconButton>
|
||||
|
||||
Reference in new issue
Block a user