mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 03:29:51 +02:00
33 lines
847 B
Plaintext
33 lines
847 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">{strings.home.players}</Heading>
|
|
|
|
<ToolCardLayoutRoot>
|
|
<ToolCardLayoutColumn>
|
|
<ToolCard {locale} minor tool={tools.session} />
|
|
<ToolCard {locale} minor tool={tools.playlist} />
|
|
</ToolCardLayoutColumn>
|
|
|
|
<ToolCardLayoutColumn major>
|
|
<ToolCard {locale} tool={tools.players} />
|
|
</ToolCardLayoutColumn>
|
|
</ToolCardLayoutRoot>
|
|
</Section>
|