Updated git url.
All checks were successful
Build and deploy website / build (push) Successful in 1m20s
Build and deploy website / deploy (push) Successful in 2s

Added various icons.

Started adding hardwarePage content

Signed-off-by: Martin Berg Alstad <git@martials.no>
This commit is contained in:
2024-09-28 15:33:31 +02:00
parent 2bead91a32
commit 93c6c852af
16 changed files with 133 additions and 50 deletions

View File

@ -1,4 +1,5 @@
import { defineCollection, z } from "astro:content"
const projectCollection = defineCollection({
type: "content",
schema: ({ image }) =>
@ -10,9 +11,19 @@ const projectCollection = defineCollection({
tags: z.array(z.string()),
source: z.string(),
createdAt: z.string(),
updatedAt: z.string(),
}),
updatedAt: z.string()
})
})
const hardwareCollection = defineCollection({
type: "data",
schema: z.object({
accessories: z.optional(z.array(z.string())),
hardware: z.array(z.string())
})
})
export const collections = {
projects: projectCollection,
hardware: hardwareCollection
}

View File

@ -0,0 +1,4 @@
accessories:
- a # Screens, keyboards, mice, etc.
hardware:
- b # Graphics cards, CPUs, etc.

View File

@ -0,0 +1,2 @@
hardware:
- b # Graphics cards, CPUs, etc.

View File

@ -0,0 +1,4 @@
accessories:
- a # Screens, keyboards, mice, etc.
hardware:
- b # Graphics cards, CPUs, etc.