Files
home/Projects/kompose/docs/app/components/AppFooter.vue

25 lines
568 B
Vue
Raw Normal View History

2025-10-09 00:30:31 +02:00
<script setup lang="ts">
2025-10-10 16:43:21 +02:00
const { footer } = useAppConfig();
2025-10-09 00:30:31 +02:00
</script>
<template>
<UFooter>
<template #left>
2025-10-09 15:45:56 +02:00
<img src="/icon.svg" alt="kompose" class="size-5 mr-0/5"></img>
2025-10-09 00:30:31 +02:00
{{ footer.credits }}
</template>
<template #right>
<UColorModeButton v-if="footer?.colorMode" />
<template v-if="footer?.links">
<UButton
v-for="(link, index) of footer?.links"
:key="index"
v-bind="{ color: 'neutral', variant: 'ghost', ...link }"
/>
</template>
</template>
</UFooter>
</template>