Skip to content

Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.

436 B
Raw Blame
<script setup lang="ts">
withDefaults(defineProps<{ tone?: 'info' | 'error' | 'success' }>(), {
  tone: 'info',
})
</script>
<template>
  <UAlert
    :color="tone === 'info' ? 'neutral' : tone"
    variant="subtle"
    :role="tone === 'error' ? 'alert' : 'status'"
    ><template #description><slot /></template
    ><template
      v-if="$slots.actions"
      #actions
      ><slot name="actions" /></template
  ></UAlert>
</template>