1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-29 15:11:58 +00:00

Added messages when there is no album or shared album

This commit is contained in:
Alex Tran 2022-07-24 23:30:30 -05:00
parent 969f770df0
commit ec1c3a86f5
No known key found for this signature in database
GPG key ID: E4954BC787B85C8A
4 changed files with 27 additions and 0 deletions

View file

@ -161,6 +161,19 @@
{/key}
{/each}
</div>
<!-- Empty Message -->
{#if albums.length === 0}
<div
class="border p-5 w-[50%] m-auto mt-10 bg-gray-50 rounded-lg flex flex-col place-content-center place-items-center"
>
<img src="/empty-1.svg" alt="Empty shared album" width="500" />
<p class="text-center text-immich-text-gray-500">
Create an album to organize your photos and videos
</p>
</div>
{/if}
</section>
</section>

View file

@ -108,6 +108,18 @@
>
{/each}
</div>
<!-- Empty List -->
{#if sharedAlbums.length === 0}
<div
class="border p-5 w-[50%] m-auto mt-10 bg-gray-50 rounded-lg flex flex-col place-content-center place-items-center"
>
<img src="/empty-2.svg" alt="Empty shared album" width="500" />
<p class="text-center text-immich-text-gray-500">
Create a shared album to share photos and videos with people in your network
</p>
</div>
{/if}
</section>
</section>
</section>

1
web/static/empty-1.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.3 KiB

1
web/static/empty-2.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.6 KiB