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
/** Keep entry transitions subtle and respect the visitor's motion preference. */
export function useCloudMotion() {
const reduced = usePreferredReducedMotion()
return computed(() => ({
initial: { opacity: 0, y: reduced.value === 'reduce' ? 0 : 12 },
animate: { opacity: 1, y: 0 },
transition: { duration: reduced.value === 'reduce' ? 0 : 0.35 },
}))
}