From c5785c7ae6b78ebc7be260430d579ee536974cf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Wed, 24 Dec 2025 19:57:26 -0600 Subject: [PATCH] feat: more controllers --- .../src/pages/tanks/[slug]/_index.tsx | 103 ++++++++++++++++++ 1 file changed, 103 insertions(+) diff --git a/packages/website-ue/src/pages/tanks/[slug]/_index.tsx b/packages/website-ue/src/pages/tanks/[slug]/_index.tsx index 0eab14587..5bd0686a8 100644 --- a/packages/website-ue/src/pages/tanks/[slug]/_index.tsx +++ b/packages/website-ue/src/pages/tanks/[slug]/_index.tsx @@ -4,6 +4,7 @@ import { api } from "../../../core/api/dynamic"; import { characteristicsOrder } from "../../../core/tankopedia/characteristicsOrder"; import { computeCharacteristics } from "../../../core/tankopedia/computeCharacteristics"; import { renderCharacteristic } from "../../../core/tankopedia/renderCharacteristic"; +import { TerrainHardness } from "../../../core/tankopedia/tankState"; import { useAwait } from "../../../hooks/useAwait"; import { Tankopedia } from "../../../stores/tankopedia"; @@ -30,6 +31,8 @@ function Content({ id }: { id: string }) { <>

{id}

+
+
{times(tank.upgrade_stages.length + 1, (index) => ( + ) + )} +
+ +
+ {characteristicsOrder.map(({ group, order }) => ( <>

{group}