diff --git a/packages/website-ue/src/pages/tanks/[slug]/index.astro b/packages/website-ue/src/pages/tanks/[slug]/index.astro deleted file mode 100644 index 2a69fa491..000000000 --- a/packages/website-ue/src/pages/tanks/[slug]/index.astro +++ /dev/null @@ -1,21 +0,0 @@ ---- -import type { GetStaticPaths } from "astro"; -import { api } from "../../../core/api/dynamic"; - -export const getStaticPaths = (async () => { - const { tanks } = await api.tanks(); - - return tanks.map((tank) => ({ - params: { slug: tank.slug }, - props: { id: tank.id }, - })); -}) satisfies GetStaticPaths; - -const { id } = Astro.props; ---- - -

Tank {id}

- - -
{JSON.stringify(await api.tank(id), null, 2)}
-