chore: adjust ProjectCard
and tag Badge
design
This commit is contained in:
parent
f42e8eed89
commit
86312d32ee
9 changed files with 116 additions and 42 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue