chore: adjust ProjectCard and tag Badge design

This commit is contained in:
enscribe 2024-12-25 21:08:47 -08:00
parent f42e8eed89
commit 86312d32ee
No known key found for this signature in database
GPG key ID: 9BBD5C4114E25322
9 changed files with 116 additions and 42 deletions

View file

@ -2,7 +2,7 @@ import { glob } from 'astro/loaders'
import { defineCollection, z } from 'astro:content'
const blog = defineCollection({
loader: glob({ pattern: '**/*.{md,mdx}', base: "./src/content/blog" }),
loader: glob({ pattern: '**/*.{md,mdx}', base: './src/content/blog' }),
schema: ({ image }) =>
z.object({
title: z
@ -26,7 +26,7 @@ const blog = defineCollection({
})
const authors = defineCollection({
loader: glob({ pattern: '**/*.{md,mdx}', base: "./src/content/authors" }),
loader: glob({ pattern: '**/*.{md,mdx}', base: './src/content/authors' }),
schema: z.object({
name: z.string(),
pronouns: z.string().optional(),
@ -42,7 +42,7 @@ const authors = defineCollection({
})
const projects = defineCollection({
loader: glob({ pattern: '**/*.{md,mdx}', base: "./src/content/projects" }),
loader: glob({ pattern: '**/*.{md,mdx}', base: './src/content/projects' }),
schema: ({ image }) =>
z.object({
name: z.string(),