wip: refactor sections

This commit is contained in:
2025-09-24 15:14:48 -04:00
parent b2b9b2ba8f
commit 9af11d00cf
9 changed files with 56 additions and 59 deletions

View File

@@ -1,12 +1,11 @@
<script setup lang="ts">
const { path } = useRoute();
const { node, component, breadcrumbs } = await useNodeByUri(path);
useSeoMeta({ title: node?.title });
const { component, attrs, breadcrumbs } = await useNodeByUri(path);
</script>
<template>
<div id="page-node-by-uri">
<SiteBreadcrumbs :breadcrumbs="breadcrumbs" />
<component :is="component" :node="node" />
<component :is="component" v-bind="attrs" />
</div>
</template>