Files
blitzkit/packages/website-ue/src/pages/tanks/index.astro
T

21 lines
407 B
Plaintext
Raw Normal View History

2025-11-28 13:19:15 -06:00
---
2025-12-19 22:23:03 -06:00
import "@radix-ui/colors/violet-dark.css";
2025-11-28 13:19:15 -06:00
import { api } from "../../core/api/dynamic";
2025-12-19 17:55:26 -06:00
import BaseLayout from "../../layouts/BaseLayout.astro";
2025-11-28 13:19:15 -06:00
2025-12-26 19:21:14 -06:00
const tankList = await api.tankList();
2025-11-28 13:19:15 -06:00
---
2025-12-19 22:23:03 -06:00
<BaseLayout accent="violet">
2025-12-19 17:55:26 -06:00
<h1>tanks</h1>
2025-11-28 13:19:15 -06:00
2025-12-19 17:55:26 -06:00
{
2025-12-26 19:21:14 -06:00
tankList.list.map(({ id, slug }) => (
2025-12-19 17:55:26 -06:00
<p>
<a href={`/tanks/${slug}`}>
{slug} ({id})
</a>
</p>
))
}
</BaseLayout>