Added Sb1 Actual integration to projects.
All checks were successful
Build and deploy website / build (push) Successful in 39s

- Code style is Catppuccin Mocha
- Added lang tag to project
- Added keywords to project
- Sort projects by latest updated
This commit is contained in:
2025-02-27 21:13:01 +01:00
parent 14c65bda05
commit a2584b97a1
13 changed files with 175 additions and 33 deletions

View File

@ -5,11 +5,13 @@ const projectCollection = defineCollection({
loader: glob({ pattern: "**\/*.mdx", base: "./src/content/projects" }),
schema: ({ image }) =>
z.object({
lang: z.union([z.literal("en"), z.literal("nb")]),
title: z.string(),
description: z.string(),
heroImage: image(),
heroImageAlt: z.string(),
tags: z.array(z.string()),
keywords: z.array(z.string()),
source: z.string().url(),
createdAt: z.string().date(),
updatedAt: z.string().date(),