mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-29 04:44:23 +01:00
home page
This commit is contained in:
22 files changed
+190
-66
No files matched your search
@@ -1,8 +1,7 @@
|
||||
---
|
||||
import { api } from "../api/dynamic";
|
||||
import { tools } from "../config/tools";
|
||||
import { Heading } from "./Heading";
|
||||
import { Section } from "./Section";
|
||||
import HomeSection from "./HomeSection.astro";
|
||||
import ToolCard from "./ToolCard.astro";
|
||||
import ToolCardLayoutColumn from "./ToolCardLayoutColumn.astro";
|
||||
import ToolCardLayoutRoot from "./ToolCardLayoutRoot.astro";
|
||||
@@ -15,9 +14,7 @@ const { locale } = Astro.props;
|
||||
const strings = await api.strings(locale);
|
||||
---
|
||||
|
||||
<Section>
|
||||
<Heading size="2">{strings.home.tanks}</Heading>
|
||||
|
||||
<HomeSection title={strings.home.tanks}>
|
||||
<ToolCardLayoutRoot>
|
||||
<ToolCardLayoutColumn major>
|
||||
<ToolCard {locale} tool={tools.tanks} />
|
||||
@@ -28,4 +25,4 @@ const strings = await api.strings(locale);
|
||||
<ToolCard {locale} minor tool={tools.performance} />
|
||||
</ToolCardLayoutColumn>
|
||||
</ToolCardLayoutRoot>
|
||||
</Section>
|
||||
</HomeSection>
|
||||
Reference in new issue
Block a user