Fix build error
Signed-off-by: Martin Berg Alstad <git@martials.no>
This commit is contained in:
parent
8ba480eab1
commit
c3b698956b
@ -2,9 +2,11 @@
|
|||||||
import Layout from "@/layouts/Layout.astro"
|
import Layout from "@/layouts/Layout.astro"
|
||||||
import HardwarePage from "@/components/HardwarePage.svelte"
|
import HardwarePage from "@/components/HardwarePage.svelte"
|
||||||
import "@/styles/global.css"
|
import "@/styles/global.css"
|
||||||
|
import { getCollection } from "astro:content"
|
||||||
|
|
||||||
|
const hardware = await getCollection("hardware")
|
||||||
---
|
---
|
||||||
|
|
||||||
<Layout title="Hardware" class="mx-auto max-w-[750px]">
|
<Layout title="Hardware" class="mx-auto max-w-[750px]">
|
||||||
<h1 class="text-center">Hardware</h1>
|
<HardwarePage client:load hardware={hardware} />
|
||||||
<HardwarePage client:load />
|
|
||||||
</Layout>
|
</Layout>
|
Loading…
x
Reference in New Issue
Block a user