mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
32 lines
786 B
Plaintext
32 lines
786 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.technical}</Heading>
|
|
|
|
<ToolCardLayoutRoot minor>
|
|
<ToolCardLayoutColumn>
|
|
<ToolCard {locale} tool={tools.api} />
|
|
</ToolCardLayoutColumn>
|
|
|
|
<ToolCardLayoutColumn>
|
|
<ToolCard {locale} tool={tools.changelogs} />
|
|
</ToolCardLayoutColumn>
|
|
</ToolCardLayoutRoot>
|
|
</Section>
|