From e6029157aa9099e0b8333ee843e5bd564c3d8803 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com>
Date: Sat, 9 Aug 2025 12:07:26 -0500
Subject: [PATCH] feat: allow scrolling on hero section
---
.../components/TankSandbox/Title/index.tsx | 22 +++++++++++++++----
.../Tankopedia/HeroSection/index.tsx | 8 +++----
2 files changed, 22 insertions(+), 8 deletions(-)
diff --git a/packages/website/src/components/Tankopedia/HeroSection/components/TankSandbox/Title/index.tsx b/packages/website/src/components/Tankopedia/HeroSection/components/TankSandbox/Title/index.tsx
index 44d1b3bca..f6daad894 100644
--- a/packages/website/src/components/Tankopedia/HeroSection/components/TankSandbox/Title/index.tsx
+++ b/packages/website/src/components/Tankopedia/HeroSection/components/TankSandbox/Title/index.tsx
@@ -1,5 +1,5 @@
import { TankType } from '@blitzkit/core';
-import { Box, Heading } from '@radix-ui/themes';
+import { Flex, Heading } from '@radix-ui/themes';
import { Var } from '../../../../../../core/radix/var';
import { useLocale } from '../../../../../../hooks/useLocale';
import { Duel } from '../../../../../../stores/duel';
@@ -87,13 +87,27 @@ export function Title({ foreground }: TitleProps) {
? '2rem'
: `min(65vh, ${125 / name.length}vw)`
: `min(48vh, ${75 / name.length}vw)`;
+ const mutateTankopediaEphemeral = TankopediaEphemeral.useMutation();
return (
-