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 HardwarePage from "@/components/HardwarePage.svelte"
|
||||
import "@/styles/global.css"
|
||||
import { getCollection } from "astro:content"
|
||||
|
||||
const hardware = await getCollection("hardware")
|
||||
---
|
||||
|
||||
<Layout title="Hardware" class="mx-auto max-w-[750px]">
|
||||
<h1 class="text-center">Hardware</h1>
|
||||
<HardwarePage client:load />
|
||||
<HardwarePage client:load hardware={hardware} />
|
||||
</Layout>
|
Loading…
x
Reference in New Issue
Block a user