add cc base design template
Deploy site / build-and-deploy (push) Canceled after 0s

This commit is contained in:
2026-10-18 02:15:50 -04:00
parent a870f025f0
commit 5f1eaaf0a7
36 changed files with 1092 additions and 286 deletions
+20
View File
@@ -0,0 +1,20 @@
import { defineCollection } from 'astro:content';
import { glob } from 'astro/loaders';
import { z } from 'astro/zod';
const projects = defineCollection({
loader: glob({ pattern: '**/*.md', base: './src/content/projects' }),
schema: z.object({
title: z.string(),
summary: z.string(),
domain: z.enum(['hardware', 'rf', 'silicon', 'systems']),
domainLabel: z.string(), // e.g. "HARDWARE · PCB"
when: z.string(), // e.g. "NOV 24 – FEB 25"
whenLabel: z.enum(['WHEN', 'STATUS']).default('WHEN'),
order: z.number(),
tech: z.array(z.string()).default([]),
links: z.array(z.object({ label: z.string(), href: z.string().url() })).default([]),
}),
});
export const collections = { projects };