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
style(map): fix pin style in light mode
Timothy Yin12ff723dcbd9
diff --git a/app/components/map/ClusterPin.vue b/app/components/map/ClusterPin.vueindex 0ef6374e..84983380 100644--- a/app/components/map/ClusterPin.vue+++ b/app/components/map/ClusterPin.vue@@ -82,7 +82,7 @@ const sizeDelta = computed(() => {:thumbhash="representativePhoto.thumbnailHash":threshold="0.1"root-margin="100px"- class="h-full w-full object-cover opacity-40"+ class="h-full w-full object-cover opacity-50"/><divclass="from-blue/60 to-purple/80 dark:from-blue/70 dark:to-purple/90 absolute inset-0 bg-gradient-to-br"@@ -94,7 +94,7 @@ const sizeDelta = computed(() => {:class="twMerge('relative flex flex-col justify-center items-center rounded-full border shadow-lg hover:shadow-xl',- 'border-white/40 bg-white/95 hover:bg-white dark:border-white/20 dark:bg-black/60 dark:hover:bg-black/80',+ 'border-white/30 bg-black/60 hover:bg-black/80',)":style="{@@ -103,7 +103,7 @@ const sizeDelta = computed(() => {}"><div- class="absolute inset-0 rounded-full bg-gradient-to-br from-white/30 to-white/10 dark:from-white/20 dark:to-white/5"+ class="absolute inset-0 rounded-full bg-gradient-to-br from-white/10 to-white/5"/><!-- Cluster count -->@@ -138,9 +138,13 @@ const sizeDelta = computed(() => {<div class="relative overflow-hidden p-3 space-y-3"><div class="flex items-center justify-between"><h3 class="text-sm font-semibold">- {{ $t('map.cluster.nearbyPhotos', [clusteredPhotos.length]) }}+ {{+ $t('map.cluster.nearbyPhotos', [clusteredPhotos.length])+ }}</h3>- <div class="text-muted text-[10px]">{{ $t('map.cluster.details') }}</div>+ <div class="text-muted text-[10px]">+ {{ $t('map.cluster.details') }}+ </div></div><!-- Show grid of photos for cluster --><div class="grid grid-cols-3 gap-2 h-full">diff --git a/app/components/map/SinglePhotoPin.vue b/app/components/map/SinglePhotoPin.vueindex d0d2a523..7b467378 100644--- a/app/components/map/SinglePhotoPin.vue+++ b/app/components/map/SinglePhotoPin.vue@@ -70,7 +70,7 @@ const onClick = () => {:thumbhash="marker.thumbnailHash":threshold="0.1"root-margin="100px"- class="h-full w-full object-cover opacity-40"+ class="h-full w-full object-cover opacity-50"/><divclass="from-green/60 to-emerald/80 dark:from-green/70 dark:to-emerald/90 absolute inset-0 bg-gradient-to-br"@@ -81,15 +81,15 @@ const onClick = () => {<div:class="twMerge(- 'relative size-10 flex justify-center items-center rounded-full border shadow-lg hover:shadow-xl backdrop-blur-md',+ 'relative size-10 flex justify-center items-center rounded-full border shadow-lg hover:shadow-xl',isSelected? 'border-primary/40 bg-primary/90 shadow-primary/50 dark:border-primary/30 dark:bg-primary/80'- : 'border-white/40 bg-white/95 hover:bg-white dark:border-white/20 dark:bg-black/80 dark:hover:bg-black/90',+ : 'border-white/30 bg-black/80 hover:bg-black/90',)"><div- class="absolute inset-0 rounded-full bg-gradient-to-br from-white/30 to-white/10 dark:from-white/20 dark:to-white/5"+ class="absolute inset-0 rounded-full bg-gradient-to-br from-white/10 to-white/5"/><Iconname="tabler:photo"