astro-pure
Version:
A simple, clean but powerful blog theme build by astro.
18 lines (16 loc) • 416 B
text/typescript
import { z } from 'astro/zod'
export const HeaderMenuSchema = () =>
z
.array(
z.object({
title: z.string(),
link: z.string()
})
)
.default([
{ title: 'Blog', link: '/blog' },
{ title: 'Projects', link: '/projects' },
{ title: 'Links', link: '/links' },
{ title: 'About', link: '/about' }
])
.describe('The header menu items for your site.')