feat: introduce main and writing layouts to standardize page structure

This commit is contained in:
Jaron
2026-04-29 23:13:10 -05:00
parent 846ebb44c9
commit a91b56abb8
7 changed files with 450 additions and 305 deletions
+6 -2
View File
@@ -12,10 +12,14 @@ useSeoMeta({
title: page.value?.title,
description: page.value?.description,
});
definePageMeta({
layout: 'writing',
});
</script>
<template>
<div>
<NuxtLayout name="writing" :title="page?.title" :description="page?.description">
<ContentRenderer v-if="page" :value="page" />
</div>
</NuxtLayout>
</template>