mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-05 15:52:55 +01:00
feat: cards
This commit is contained in:
1 parent
d42fc0e3f6
commit
9096644d51
9 files changed
+98
-19
No files matched your search
@@ -2,7 +2,6 @@
|
||||
import locales from "@blitzkit/i18n/locales.json";
|
||||
import "@radix-ui/colors/amber-dark.css";
|
||||
import type { GetStaticPaths } from "astro";
|
||||
import packageJson from "../../../../../package.json";
|
||||
import HomeHero from "../../components/HomeHero.astro";
|
||||
import ToolCard from "../../components/ToolCard.astro";
|
||||
import { tools } from "../../core/tools/tools";
|
||||
@@ -20,10 +19,17 @@ export const getStaticPaths = (() => {
|
||||
const { locale } = Astro.props;
|
||||
---
|
||||
|
||||
<style>
|
||||
.cards {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
</style>
|
||||
|
||||
<BaseLayout accent="amber">
|
||||
<HomeHero {locale} />
|
||||
|
||||
<h1>blitzkit {packageJson.version}</h1>
|
||||
|
||||
{Object.values(tools).map((tool) => <ToolCard {tool} />)}
|
||||
<div class="cards">
|
||||
{Object.values(tools).map((tool) => <ToolCard {locale} {tool} />)}
|
||||
</div>
|
||||
</BaseLayout>
|
||||
Reference in new issue
Block a user