diff --git a/app/layouts/main.vue b/app/layouts/main.vue index 097327e..e44078c 100644 --- a/app/layouts/main.vue +++ b/app/layouts/main.vue @@ -121,7 +121,7 @@ svg[height='0'] { } .name { - font-size: 4rem; + font-size: 3rem; font-weight: 400; line-height: 1.2; margin: 0; diff --git a/app/pages/index.vue b/app/pages/index.vue index c904185..15b9b3f 100644 --- a/app/pages/index.vue +++ b/app/pages/index.vue @@ -163,7 +163,7 @@ definePageMeta({ - diff --git a/content.config.ts b/content.config.ts index faaddf3..aefa803 100644 --- a/content.config.ts +++ b/content.config.ts @@ -1,10 +1,15 @@ -import { defineContentConfig, defineCollection } from '@nuxt/content'; +import { defineContentConfig, defineCollection, z } from '@nuxt/content'; export default defineContentConfig({ collections: { writing: defineCollection({ type: 'page', source: 'writing/**/*.md', + schema: z.object({ + title: z.string(), + date: z.coerce.date(), + description: z.string(), + }), }), }, }); diff --git a/content/writing/thing.md b/content/writing/thing.md deleted file mode 100644 index 5949007..0000000 --- a/content/writing/thing.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: An idea -description: Something I thought of once. ---- - -blah blah blah