Updated to Astro v5 beta.
All checks were successful
Build and deploy website / build (push) Successful in 1m56s

Created a new component for a collapsable list

Implemented some of the new features.
- astro:env
- New astro content layer

Signed-off-by: Martin Berg Alstad <git@martials.no>
This commit is contained in:
2024-10-20 12:05:32 +02:00
parent 32f4c6aaf0
commit 941a93f8a5
17 changed files with 423 additions and 571 deletions

View File

@ -8,5 +8,5 @@ const hardware = await getCollection("hardware")
---
<Layout title="Hardware" class="mx-auto max-w-[750px]">
<HardwarePage client:load hardware={hardware} />
<HardwarePage server:defer hardware={hardware} />
</Layout>

View File

@ -2,6 +2,7 @@
import ProjectPage from "../../../components/projects/ProjectPage.astro"
import { type GetStaticPathsResult } from "astro"
// Prerender the page as static HTML during build
export const prerender = true
export function getStaticPaths(): GetStaticPathsResult {