From d247e67690a14b7965e1e64990e93974284b1a51 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com>
Date: Mon, 18 Aug 2025 11:21:16 -0500
Subject: [PATCH] fix: link the whole frame
---
.../GuideSection/components/GuidesBlitz.tsx | 51 ----------------
.../Tankopedia/GuideSection/index.tsx | 59 +++++++++++++++++--
2 files changed, 54 insertions(+), 56 deletions(-)
delete mode 100644 packages/website/src/components/Tankopedia/GuideSection/components/GuidesBlitz.tsx
diff --git a/packages/website/src/components/Tankopedia/GuideSection/components/GuidesBlitz.tsx b/packages/website/src/components/Tankopedia/GuideSection/components/GuidesBlitz.tsx
deleted file mode 100644
index 4d40c39d6..000000000
--- a/packages/website/src/components/Tankopedia/GuideSection/components/GuidesBlitz.tsx
+++ /dev/null
@@ -1,51 +0,0 @@
-import { CaretRightIcon } from '@radix-ui/react-icons';
-import { Box, Flex, Link, Text } from '@radix-ui/themes';
-import { Var } from '../../../../core/radix/var';
-import type { TankGuide } from '../../../../pages/[...locale]/tanks/[slug]/index.astro';
-
-interface Props {
- guide: TankGuide;
-}
-
-export function GuidesBlitz({ guide }: Props) {
- return (
- <>
-
-
-
-
- GuidesBlitz
-
-
-
- {guide.description}
-
-
-
-
-
-
-
- Read the full guide
-
-
-
- >
- );
-}
diff --git a/packages/website/src/components/Tankopedia/GuideSection/index.tsx b/packages/website/src/components/Tankopedia/GuideSection/index.tsx
index 70e17043b..fbf7d797a 100644
--- a/packages/website/src/components/Tankopedia/GuideSection/index.tsx
+++ b/packages/website/src/components/Tankopedia/GuideSection/index.tsx
@@ -1,6 +1,7 @@
-import { Flex } from '@radix-ui/themes';
+import { CaretRightIcon } from '@radix-ui/react-icons';
+import { Box, Flex, Link, Text } from '@radix-ui/themes';
+import { Var } from '../../../core/radix/var';
import type { TankGuide } from '../../../pages/[...locale]/tanks/[slug]/index.astro';
-import { GuidesBlitz } from './components/GuidesBlitz';
interface Props {
guide: TankGuide;
@@ -9,9 +10,57 @@ interface Props {
export function GuideSection({ guide }: Props) {
return (
-
-
-
+
+
+
+
+
+
+ GuidesBlitz
+
+
+
+ {guide.description}
+
+
+
+
+
+
+
+ Read the full guide
+
+
+
+
+
);
}