All checks were successful
Build and deploy website / build (push) Successful in 34s
Fix way too much padding on <br/> tags. Added some old project entries. Added Project as a convenience type. Added link class to all a tags to easier distinguish links in text. Signed-off-by: Martin Berg Alstad <git@martials.no>
20 lines
498 B
Plaintext
20 lines
498 B
Plaintext
---
|
|
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 {
|
|
return [
|
|
{ params: { project: "hvl-ics-simplifier" } },
|
|
{ params: { project: "homepage" } },
|
|
{ params: { project: "simplify-truths" } }
|
|
]
|
|
}
|
|
|
|
const { project } = Astro.params
|
|
---
|
|
|
|
<ProjectPage project={project as string} />
|