feat: Initial TheSections

This commit is contained in:
2025-09-22 11:49:48 -04:00
parent c6fce32c54
commit fe2b500684
10 changed files with 78 additions and 28 deletions

View File

@@ -0,0 +1,10 @@
<script setup lang="ts">
import type { TheSectionFragment } from "#graphql-operations";
const props = defineProps<{ sections: (TheSectionFragment)[] }>();
const sections = props.sections.map(useSection);
</script>
<template>
<component :is="component" v-for="({ component, attrs }, i) in sections" :key="i" v-bind="attrs" />
</template>