diff --git a/options.ts b/options.ts index 98a8086..c376923 100644 --- a/options.ts +++ b/options.ts @@ -19,7 +19,7 @@ const Options = z description: z.string().max(100), keywords: z.array(z.string()), author: z.object({ name: z.string(), email: z.string().email(), url: z.string().url() }), - navigation: z.array(z.object({ text: z.string(), link: z.string(), target: z.string().optional() })), + navigation: z.array(z.object({ text: z.string().trim(), link: z.string(), target: z.string().optional() })), socials: z.array( z.object({ name: z.string(), diff --git a/src/components/header/Header.astro b/src/components/header/Header.astro index 4a2978d..03f48e7 100644 --- a/src/components/header/Header.astro +++ b/src/components/header/Header.astro @@ -18,7 +18,7 @@ import options from '@/options';