feat(web): Map in albums & shared albums (#17906)

* add btn, map and marker

* Fix bug in navigation assetviewer

* Correct bug on main Viewer

* Add to user album the map of his pictures

* change icon to outline

* lint & format

* with manager instead of variable

* remove duplicate

* chore: minor styling change

* formatting

---------

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
David 2025-05-05 04:58:44 +02:00 committed by GitHub
parent 8f7baf8336
commit 7d61ed7ce4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 203 additions and 24 deletions

View file

@ -175,7 +175,7 @@
<MapLibre
{hash}
style=""
class="h-full"
class="h-full rounded-2xl"
{center}
{zoom}
attributionControl={false}
@ -232,7 +232,7 @@
>
{#snippet children({ feature })}
<div
class="rounded-full w-[40px] h-[40px] bg-immich-primary text-immich-gray flex justify-center items-center font-mono font-bold shadow-lg hover:bg-immich-dark-primary transition-all duration-200 hover:text-immich-dark-bg opacity-90"
class="rounded-full w-[40px] h-[40px] bg-immich-primary text-white flex justify-center items-center font-mono font-bold shadow-lg hover:bg-immich-dark-primary transition-all duration-200 hover:text-immich-dark-bg opacity-90"
>
{feature.properties?.point_count}
</div>