AppFooter.vue 497 B

1234567891011121314151617181920212223
  1. <script setup lang="ts">
  2. const { footer } = useAppConfig()
  3. </script>
  4. <template>
  5. <UFooter>
  6. <template #left>
  7. {{ footer.credits }}
  8. </template>
  9. <template #right>
  10. <UColorModeButton v-if="footer?.colorMode" />
  11. <template v-if="footer?.links">
  12. <UButton
  13. v-for="(link, index) of footer?.links"
  14. :key="index"
  15. v-bind="{ color: 'neutral', variant: 'ghost', ...link }"
  16. />
  17. </template>
  18. </template>
  19. </UFooter>
  20. </template>