mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-03 07:50:36 +01:00
32 lines
809 B
Plaintext
32 lines
809 B
Plaintext
---
|
|
import { api } from "../api/dynamic";
|
|
import { tools } from "../constants/tools";
|
|
import { Heading } from "./Heading";
|
|
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>
|
|
<Heading size="2">{strings.home.cosmetics}</Heading>
|
|
|
|
<ToolCardLayoutRoot minor>
|
|
<ToolCardLayoutColumn>
|
|
<ToolCard {locale} tool={tools.avatars} />
|
|
</ToolCardLayoutColumn>
|
|
|
|
<ToolCardLayoutColumn>
|
|
<ToolCard {locale} tool={tools.backgrounds} />
|
|
</ToolCardLayoutColumn>
|
|
</ToolCardLayoutRoot>
|
|
</HomeSection>
|