ct/app/components/AppFooter.vue

26 lines
563 B
Vue
Raw Normal View History

2025-09-30 09:23:31 +08:00
<script lang="ts" setup>
const {footer} = useAppConfig()
2025-09-29 14:45:33 +08:00
</script>
<template>
<UFooter
2025-09-30 09:23:31 +08:00
:ui="{ left: 'text-muted text-xs' }"
class="z-10 bg-default"
2025-09-29 14:45:33 +08:00
>
<template #left>
{{ footer.credits }}
</template>
<template #right>
2025-09-30 09:23:31 +08:00
{{ footer.address }}
2025-09-29 14:45:33 +08:00
<template v-if="footer?.links">
<UButton
2025-09-30 09:23:31 +08:00
v-for="(link, index) of footer?.links"
:key="index"
v-bind="{ size: 'xs', color: 'neutral', variant: 'ghost', ...link }"
2025-09-29 14:45:33 +08:00
/>
</template>
</template>
</UFooter>
</template>