Dominik Milacher 0dc24c4db7
Some checks failed
Build and deploy updated apps / Build & deploy (push) Failing after 50s
Extend ux layer and overhaul panoramablick-saalbach.at
2025-11-21 21:17:52 +01:00

37 lines
647 B
Vue

<script setup lang="ts">
const { g, p } = useContentInjected()
const props = defineProps<{
class?: string
ux?: any
linkProps?: any
}>()
const classes = useStyling(
'scaffoldVerticalNavList',
{
slots: {
base: '',
list: 'flex flex-col',
item: '',
},
},
props
)
</script>
<template>
<nav :class="classes.base">
<ul :class="classes.list">
<li :class="classes.item" v-for="page in g.scaffold.pages">
<XText
as="link"
:link-props="{ to: p(page.link) }"
:text="page.text"
v-bind="props.linkProps"
/>
</li>
</ul>
</nav>
</template>