diff --git a/packages/website/src/layouts/ToolLayout.astro b/packages/website/src/layouts/ToolLayout.astro
index be9997afe..2fe92d378 100644
--- a/packages/website/src/layouts/ToolLayout.astro
+++ b/packages/website/src/layouts/ToolLayout.astro
@@ -20,7 +20,7 @@ const toolStrings =
];
---
-
+
{
rows.map((row) => (
{row.map((tool) => (
-
+
))}
{row.length < MAX_TOOLS_PER_ROW &&
!("significant" in row[0] && row[0].significant) && (
diff --git a/packages/website/src/pages/[...locale]/performance/index.astro b/packages/website/src/pages/[...locale]/performance/index.astro
index 3812fc8fd..fc34d8b9b 100644
--- a/packages/website/src/pages/[...locale]/performance/index.astro
+++ b/packages/website/src/pages/[...locale]/performance/index.astro
@@ -10,7 +10,7 @@ export { getStaticPaths } from "../index.astro";
const { locale } = Astro.props;
---
-
+
diff --git a/packages/website/src/pages/[...locale]/playlist/index.astro b/packages/website/src/pages/[...locale]/playlist/index.astro
index ebec90b80..5d5989351 100644
--- a/packages/website/src/pages/[...locale]/playlist/index.astro
+++ b/packages/website/src/pages/[...locale]/playlist/index.astro
@@ -9,7 +9,7 @@ export { getStaticPaths } from "../index.astro";
const { locale } = Astro.props;
---
-
+
diff --git a/packages/website/src/pages/[...locale]/tools/compare/index.astro b/packages/website/src/pages/[...locale]/tools/compare/index.astro
index 79bd4bf49..cf0884483 100644
--- a/packages/website/src/pages/[...locale]/tools/compare/index.astro
+++ b/packages/website/src/pages/[...locale]/tools/compare/index.astro
@@ -1,7 +1,9 @@
---
-import LegacyRedirect from '../../../../layouts/LegacyRedirect.astro';
+import LegacyRedirect from "../../../../layouts/LegacyRedirect.astro";
-export { getStaticPaths } from '../../index.astro';
+export { getStaticPaths } from "../../index.astro";
+
+const { locale } = Astro.props;
---
-
+
diff --git a/packages/website/src/pages/[...locale]/tools/embed/[embed]/index.astro b/packages/website/src/pages/[...locale]/tools/embed/[embed]/index.astro
index 607f5651f..4e8240656 100644
--- a/packages/website/src/pages/[...locale]/tools/embed/[embed]/index.astro
+++ b/packages/website/src/pages/[...locale]/tools/embed/[embed]/index.astro
@@ -1,8 +1,8 @@
---
-import type { GetStaticPaths } from 'astro';
-import { embedConfigurations } from '../../../../../constants/embeds';
-import LegacyRedirect from '../../../../../layouts/LegacyRedirect.astro';
-import { getStaticPaths as parentGetStaticPaths } from '../index.astro';
+import type { GetStaticPaths } from "astro";
+import { embedConfigurations } from "../../../../../constants/embeds";
+import LegacyRedirect from "../../../../../layouts/LegacyRedirect.astro";
+import { getStaticPaths as parentGetStaticPaths } from "../index.astro";
export const getStaticPaths = (() => {
const parentPaths = parentGetStaticPaths();
@@ -14,12 +14,13 @@ export const getStaticPaths = (() => {
...parent.params,
embed: embed as keyof typeof embedConfigurations,
},
- })),
+ }))
)
.flat();
}) satisfies GetStaticPaths;
const { embed } = Astro.params;
+const { locale } = Astro.props;
---
-
+
diff --git a/packages/website/src/pages/[...locale]/tools/embed/index.astro b/packages/website/src/pages/[...locale]/tools/embed/index.astro
index ebbc3a0d9..3564c4fa8 100644
--- a/packages/website/src/pages/[...locale]/tools/embed/index.astro
+++ b/packages/website/src/pages/[...locale]/tools/embed/index.astro
@@ -1,7 +1,9 @@
---
-import LegacyRedirect from '../../../../layouts/LegacyRedirect.astro';
+import LegacyRedirect from "../../../../layouts/LegacyRedirect.astro";
-export { getStaticPaths } from '../../index.astro';
+export { getStaticPaths } from "../../index.astro";
+
+const { locale } = Astro.props;
---
-
+
diff --git a/packages/website/src/pages/[...locale]/tools/gallery/index.astro b/packages/website/src/pages/[...locale]/tools/gallery/index.astro
index 1d94adf84..13a26f486 100644
--- a/packages/website/src/pages/[...locale]/tools/gallery/index.astro
+++ b/packages/website/src/pages/[...locale]/tools/gallery/index.astro
@@ -1,7 +1,9 @@
---
-import LegacyRedirect from '../../../../layouts/LegacyRedirect.astro';
+import LegacyRedirect from "../../../../layouts/LegacyRedirect.astro";
-export { getStaticPaths } from '../../index.astro';
+export { getStaticPaths } from "../../index.astro";
+
+const { locale } = Astro.props;
---
-
+
diff --git a/packages/website/src/pages/[...locale]/tools/performance/index.astro b/packages/website/src/pages/[...locale]/tools/performance/index.astro
index 739130147..37a006ac9 100644
--- a/packages/website/src/pages/[...locale]/tools/performance/index.astro
+++ b/packages/website/src/pages/[...locale]/tools/performance/index.astro
@@ -1,7 +1,9 @@
---
-import LegacyRedirect from '../../../../layouts/LegacyRedirect.astro';
+import LegacyRedirect from "../../../../layouts/LegacyRedirect.astro";
-export { getStaticPaths } from '../../index.astro';
+export { getStaticPaths } from "../../index.astro";
+
+const { locale } = Astro.props;
---
-
+
diff --git a/packages/website/src/pages/[...locale]/tools/session/index.astro b/packages/website/src/pages/[...locale]/tools/session/index.astro
index a45bf8368..f0777caef 100644
--- a/packages/website/src/pages/[...locale]/tools/session/index.astro
+++ b/packages/website/src/pages/[...locale]/tools/session/index.astro
@@ -1,7 +1,9 @@
---
-import LegacyRedirect from '../../../../layouts/LegacyRedirect.astro';
+import LegacyRedirect from "../../../../layouts/LegacyRedirect.astro";
-export { getStaticPaths } from '../../index.astro';
+export { getStaticPaths } from "../../index.astro";
+
+const { locale } = Astro.props;
---
-
+
diff --git a/packages/website/src/pages/[...locale]/tools/tankopedia/[id]/index.astro b/packages/website/src/pages/[...locale]/tools/tankopedia/[id]/index.astro
index c5b181e2f..303907b1c 100644
--- a/packages/website/src/pages/[...locale]/tools/tankopedia/[id]/index.astro
+++ b/packages/website/src/pages/[...locale]/tools/tankopedia/[id]/index.astro
@@ -1,8 +1,8 @@
---
-import { fetchTankDefinitions } from '@blitzkit/core';
-import type { GetStaticPaths } from 'astro';
-import LegacyRedirect from '../../../../../layouts/LegacyRedirect.astro';
-import { getStaticPaths as parentGetStaticPaths } from '../index.astro';
+import { fetchTankDefinitions } from "@blitzkit/core";
+import type { GetStaticPaths } from "astro";
+import LegacyRedirect from "../../../../../layouts/LegacyRedirect.astro";
+import { getStaticPaths as parentGetStaticPaths } from "../index.astro";
export const getStaticPaths = (async () => {
const tankDefinitions = await fetchTankDefinitions();
@@ -12,14 +12,15 @@ export const getStaticPaths = (async () => {
.map((tank) =>
parentPaths.map((parent) => ({
params: { ...parent.params, id: tank.id },
- })),
+ }))
)
.flat();
}) satisfies GetStaticPaths;
const { id } = Astro.params;
+const { locale } = Astro.props;
const tankDefinitions = await fetchTankDefinitions();
const tank = tankDefinitions.tanks[id];
---
-
+
diff --git a/packages/website/src/pages/[...locale]/tools/tankopedia/index.astro b/packages/website/src/pages/[...locale]/tools/tankopedia/index.astro
index e26a09adf..ce837a8b7 100644
--- a/packages/website/src/pages/[...locale]/tools/tankopedia/index.astro
+++ b/packages/website/src/pages/[...locale]/tools/tankopedia/index.astro
@@ -1,7 +1,9 @@
---
-import LegacyRedirect from '../../../../layouts/LegacyRedirect.astro';
+import LegacyRedirect from "../../../../layouts/LegacyRedirect.astro";
-export { getStaticPaths } from '../../index.astro';
+export { getStaticPaths } from "../../index.astro";
+
+const { locale } = Astro.props;
---
-
+
diff --git a/packages/website/src/pages/[...locale]/tools/tier-list/index.astro b/packages/website/src/pages/[...locale]/tools/tier-list/index.astro
index 3ec94e268..32f3c7180 100644
--- a/packages/website/src/pages/[...locale]/tools/tier-list/index.astro
+++ b/packages/website/src/pages/[...locale]/tools/tier-list/index.astro
@@ -1,7 +1,9 @@
---
-import LegacyRedirect from '../../../../layouts/LegacyRedirect.astro';
+import LegacyRedirect from "../../../../layouts/LegacyRedirect.astro";
-export { getStaticPaths } from '../../index.astro';
+export { getStaticPaths } from "../../index.astro";
+
+const { locale } = Astro.props;
---
-
+