Hardware page with more content.
Collapse component Signed-off-by: Martin Berg Alstad <git@martials.no>
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
---
|
||||
import Layout from "../../layouts/Layout.astro"
|
||||
import HardwarePage from "../../components/HardwarePage.svelte"
|
||||
import "../../styles/global.css"
|
||||
import Layout from "@/layouts/Layout.astro"
|
||||
import HardwarePage from "@/components/HardwarePage.svelte"
|
||||
import "@/styles/global.css"
|
||||
---
|
||||
|
||||
<Layout title="Hardware" class="mx-auto max-w-[750px]">
|
||||
<h1 class="text-center">Hardware</h1>
|
||||
<HardwarePage client:load />
|
||||
</Layout>
|
||||
</Layout>
|
@ -1,10 +1,12 @@
|
||||
---
|
||||
import Layout from "../layouts/Layout.astro"
|
||||
import HardwarePage from "../components/HardwarePage.svelte"
|
||||
import "../styles/global.css"
|
||||
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>
|
||||
|
Reference in New Issue
Block a user