Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.
TypeScript albumsexif-extractiongeocodinglive-photomotion-photophoto-galleryphoto-sharingwebgl-viewer
<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>