mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-05 15:52:55 +01:00
feat: recently viewed
This commit is contained in:
1 parent
7399c402af
commit
49f84db473
8 files changed
+86
-7
No files matched your search
@@ -2,6 +2,7 @@
|
||||
import locales from "@blitzkit/i18n/locales.json";
|
||||
import type { GetStaticPaths } from "astro";
|
||||
import HomeHero from "../../components/HomeHero.astro";
|
||||
import { RecentItems } from "../../components/RecentItems";
|
||||
import BaseLayout from "../../layouts/BaseLayout.astro";
|
||||
|
||||
export const getStaticPaths = (() => {
|
||||
@@ -18,4 +19,12 @@ const { locale } = Astro.props;
|
||||
|
||||
<BaseLayout {locale} accent="amber">
|
||||
<HomeHero {locale} />
|
||||
|
||||
<RecentItems {locale} client:only="react">
|
||||
<RecentItems {locale} skeleton slot="fallback" />
|
||||
</RecentItems>
|
||||
|
||||
<!-- <Section>
|
||||
{Object.values(tools).map((tool) => <ToolCard {locale} {tool} />)}
|
||||
</Section> -->
|
||||
</BaseLayout>
|
||||
Reference in new issue
Block a user