Skip to content

Commit 04b7723

Browse files
authored
Update empty notifications display (#1093)
Better empty state page for notifications #1044
1 parent 738a1f4 commit 04b7723

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

resources/views/livewire/notifications.blade.php

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,14 @@
3939

4040
{{ $notifications->links() }}
4141
@else
42-
<p class="text-gray-600 text-base">
43-
You have no unread notifications
44-
</p>
42+
<div class="relative block w-full rounded-lg border-2 border-dashed border-gray-300 p-12 text-center hover:border-gray-400 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2">
43+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="mx-auto h-12 w-12 text-gray-400">
44+
<path stroke-linecap="round" stroke-linejoin="round" d="M9.143 17.082a24.248 24.248 0 0 0 3.844.148m-3.844-.148a23.856 23.856 0 0 1-5.455-1.31 8.964 8.964 0 0 0 2.3-5.542m3.155 6.852a3 3 0 0 0 5.667 1.97m1.965-2.277L21 21m-4.225-4.225a23.81 23.81 0 0 0 3.536-1.003A8.967 8.967 0 0 1 18 9.75V9A6 6 0 0 0 6.53 6.53m10.245 10.245L6.53 6.53M3 3l3.53 3.53" />
45+
</svg>
46+
<span class="mt-2 block text-sm font-semibold text-gray-900">
47+
You have no unread notifications
48+
</span>
49+
</div>
4550
@endif
4651
</div>
4752
</div>

0 commit comments

Comments
 (0)