diff --git a/src/app/tools/tankopedia/components/TankSearch/index.tsx b/src/app/tools/tankopedia/components/TankSearch/index.tsx index 3d3feddfb..0c9213cde 100644 --- a/src/app/tools/tankopedia/components/TankSearch/index.tsx +++ b/src/app/tools/tankopedia/components/TankSearch/index.tsx @@ -14,6 +14,7 @@ import { TextField, } from '@radix-ui/themes'; import { go } from 'fuzzysort'; +import Link from 'next/link'; import { use, useEffect, useMemo, useRef, useState } from 'react'; import { TreeType } from '../../../../../components/Tanks'; import { TANK_CLASSES } from '../../../../../components/Tanks/components/Item/constants'; @@ -807,117 +808,123 @@ export function TankSearch({ compact, onSelect = () => {} }: TankSearchProps) { {!compact && searchResultsPageSlice.map((tank) => ( - onSelect(tank)} - className={styles.listing} + - - - -
- -
-
- - +
+ +
- - {tank.name} + /> +
+ + + + + + {tank.name} + + + + + {TIER_ROMAN_NUMERALS[tank.tier]} - - - {TIER_ROMAN_NUMERALS[tank.tier]} - - - - + + + ))} {compact && (