fix: remove deprecated link property from project template
Generate a build and push to Cloudflare Pages / Build and Deploy to Cloudflare Pages (push) Successful in 1m27s
Generate a build and push to Cloudflare Pages / Build and Deploy to Cloudflare Pages (push) Successful in 1m27s
This commit is contained in:
@@ -24,9 +24,10 @@ const projects = defineCollection({
|
|||||||
description: z.string(),
|
description: z.string(),
|
||||||
tags: z.array(z.string()),
|
tags: z.array(z.string()),
|
||||||
image: image(),
|
image: image(),
|
||||||
|
link: z.string().url().optional(),
|
||||||
links: z.array(z.object({
|
links: z.array(z.object({
|
||||||
label: z.string(),
|
label: z.string(),
|
||||||
url: z.url()
|
url: z.string().url()
|
||||||
})).optional(),
|
})).optional(),
|
||||||
order: z.number().optional(),
|
order: z.number().optional(),
|
||||||
startDate: z.coerce.date().optional(),
|
startDate: z.coerce.date().optional(),
|
||||||
|
|||||||
Reference in New Issue
Block a user