mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +02:00
home page grouping
This commit is contained in:
1 parent
20cc6d32a4
commit
f3c362dfce
8 files changed
+113
-17
No files matched your search
@@ -3,6 +3,8 @@ import { Heading } from "@radix-ui/themes";
|
||||
import { tools } from "../constants/tools";
|
||||
import { getStrings } from "../core/i18n/getStrings";
|
||||
import ToolCard from "./ToolCard.astro";
|
||||
import ToolCardLayoutColumn from "./ToolCardLayoutColumn.astro";
|
||||
import ToolCardLayoutRoot from "./ToolCardLayoutRoot.astro";
|
||||
|
||||
interface Props {
|
||||
locale: string;
|
||||
@@ -13,7 +15,14 @@ const { locale } = Astro.props;
|
||||
const strings = getStrings(locale);
|
||||
---
|
||||
|
||||
<Heading size="8" className="title">{strings.home.technical}</Heading>
|
||||
<Heading size="8">{strings.home.technical}</Heading>
|
||||
|
||||
<ToolCard {locale} tool={tools.api} />
|
||||
<ToolCard {locale} tool={tools.changelogs} />
|
||||
<ToolCardLayoutRoot minor>
|
||||
<ToolCardLayoutColumn>
|
||||
<ToolCard {locale} tool={tools.api} />
|
||||
</ToolCardLayoutColumn>
|
||||
|
||||
<ToolCardLayoutColumn>
|
||||
<ToolCard {locale} tool={tools.changelogs} />
|
||||
</ToolCardLayoutColumn>
|
||||
</ToolCardLayoutRoot>
|
||||
Reference in new issue
Block a user