mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-29 04:44:23 +01:00
29 lines
738 B
Plaintext
29 lines
738 B
Plaintext
---
|
|
import { api } from "../api/dynamic";
|
|
import { tools } from "../config/tools";
|
|
import HomeSection from "./HomeSection.astro";
|
|
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);
|
|
---
|
|
|
|
<HomeSection title={strings.home.players}>
|
|
<ToolCardLayoutRoot>
|
|
<ToolCardLayoutColumn>
|
|
<ToolCard {locale} tool={tools.session} />
|
|
</ToolCardLayoutColumn>
|
|
|
|
<ToolCardLayoutColumn major>
|
|
<ToolCard {locale} tool={tools.players} />
|
|
</ToolCardLayoutColumn>
|
|
</ToolCardLayoutRoot>
|
|
</HomeSection>
|