mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
32 lines
799 B
Plaintext
32 lines
799 B
Plaintext
---
|
|
import { api } from "../api/dynamic";
|
|
import { tools } from "../constants/tools";
|
|
import { Heading } from "./Heading";
|
|
import { Section } from "./Section";
|
|
import ToolCard from "./ToolCard.astro";
|
|
import ToolCardLayoutColumn from "./ToolCardLayoutColumn.astro";
|
|
import ToolCardLayoutRoot from "./ToolCardLayoutRoot.astro";
|
|
|
|
interface Props {
|
|
locale: string;
|
|
}
|
|
|
|
const { locale } = Astro.props;
|
|
|
|
const strings = await api.strings(locale);
|
|
---
|
|
|
|
<Section>
|
|
<Heading size="2" className="title">{strings.home.games}</Heading>
|
|
|
|
<ToolCardLayoutRoot>
|
|
<ToolCardLayoutColumn major>
|
|
<ToolCard {locale} tool={tools.mixer} />
|
|
</ToolCardLayoutColumn>
|
|
|
|
<ToolCardLayoutColumn>
|
|
<ToolCard {locale} tool={tools.guesser} />
|
|
</ToolCardLayoutColumn>
|
|
</ToolCardLayoutRoot>
|
|
</Section>
|