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">
defineProps<{ reason: string; error?: boolean; resource?: string }>()
const emit = defineEmits<{ retry: [] }>()
</script>
<template>
<CfAlert
v-if="reason || error"
class="cf-quota-notice"
:tone="error ? 'error' : 'info'"
><div>
<strong>{{
$t(
error
? 'cloud.dashboard.quotaUnavailable'
: `cloud.dashboard.quota_${reason}`,
)
}}</strong>
<p v-if="reason === 'upgrade'">{{ $t('cloud.dashboard.quotaHelp') }}</p>
</div>
<template #actions
><CfButton
v-if="error"
variant="secondary"
size="sm"
@click="emit('retry')"
>{{ $t('cloud.messages.retry') }}</CfButton
>
<CfButton
v-else-if="reason === 'upgrade'"
variant="secondary"
size="sm"
to="/account/plan#plans"
>{{ $t('cloud.dashboard.viewPlans') }}</CfButton
></template
></CfAlert
>
</template>