mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +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;
|
||||
@@ -15,5 +17,12 @@ const strings = getStrings(locale);
|
||||
|
||||
<Heading size="8" className="title">{strings.home.games}</Heading>
|
||||
|
||||
<ToolCard {locale} tool={tools.mixer} />
|
||||
<ToolCard {locale} tool={tools.guesser} />
|
||||
<ToolCardLayoutRoot>
|
||||
<ToolCardLayoutColumn major>
|
||||
<ToolCard {locale} tool={tools.mixer} />
|
||||
</ToolCardLayoutColumn>
|
||||
|
||||
<ToolCardLayoutColumn>
|
||||
<ToolCard {locale} tool={tools.guesser} />
|
||||
</ToolCardLayoutColumn>
|
||||
</ToolCardLayoutRoot>
|
||||
Reference in new issue
Block a user