mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-05 15:52:55 +01:00
feat: tanks section
This commit is contained in:
1 parent
81877f5abd
commit
4a9fc65e71
9 files changed
+66
-33
No files matched your search
@@ -6,6 +6,7 @@ import HomeHero from "../../components/HomeHero.astro";
|
||||
import { Section } from "../../components/Section";
|
||||
import TanksCard from "../../components/TanksCard.astro";
|
||||
import ToolCard from "../../components/ToolCard.astro";
|
||||
import ToolsWrapper from "../../components/ToolsWrapper.astro";
|
||||
import { tools } from "../../core/tools/tools";
|
||||
import BaseLayout from "../../layouts/BaseLayout.astro";
|
||||
|
||||
@@ -21,14 +22,6 @@ export const getStaticPaths = (() => {
|
||||
const { locale } = Astro.props;
|
||||
---
|
||||
|
||||
<style>
|
||||
.tools {
|
||||
display: grid;
|
||||
gap: var(--space-4);
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
</style>
|
||||
|
||||
<BaseLayout {locale} accent="amber">
|
||||
<HomeHero {locale} />
|
||||
|
||||
@@ -38,11 +31,11 @@ const { locale } = Astro.props;
|
||||
<RecentItems {locale} skeleton slot="fallback" />
|
||||
</RecentItems> -->
|
||||
|
||||
<TanksCard />
|
||||
<TanksCard {locale} />
|
||||
|
||||
<Section>
|
||||
<div class="tools">
|
||||
<ToolsWrapper>
|
||||
{Object.values(tools).map((tool) => <ToolCard {locale} {tool} />)}
|
||||
</div>
|
||||
</ToolsWrapper>
|
||||
</Section>
|
||||
</BaseLayout>
|
||||
Reference in new issue
Block a user