Skip to content

Commit

Permalink
Merge pull request #12 from maaz1n/2.x
Browse files Browse the repository at this point in the history
Update widget.blade.php
  • Loading branch information
awcodes authored May 15, 2023
2 parents 8e57e75 + 71e5c20 commit cb7c5b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/widget.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<li class="rounded-xl border border-gray-200 dark:border-gray-800 relative h-24 bg-gradient-to-tr from-gray-100 via-white to-white dark:from-gray-900 dark:via-gray-800 dark:to-gray-800" wire:key="{{ $resource['name'] }}">
<a href="{{ $resource['url'] }}" class="overflow-hidden absolute inset-0 py-2 px-3 text-gray-600 font-medium rounded-xl ring-primary-500 dark:text-gray-400 group hover:ring-2 focus:ring-2">
@if ($resource['icon'])
@svg($resource['icon'], 'w-auto h-24 absolute left-0 top-8 text-primary-500 opacity-20 dark:opacity-20 transition group-hover:scale-110 group-hover:-rotate-12 group-hover:opacity-40 dark:group-hover:opacity-80')
<x-dynamic-component :component="$resource['icon']" class="w-auto h-24 absolute left-0 top-8 text-primary-500 opacity-20 dark:opacity-20 transition group-hover:scale-110 group-hover:-rotate-12 group-hover:opacity-40 dark:group-hover:opacity-80" />
@endif
{{ $resource['name'] }}
<span class="text-gray-600 dark:text-gray-300 absolute bottom-4 right-4 text-3xl font-bold">{{ $resource['count'] }}</span>
Expand Down

0 comments on commit cb7c5b7

Please sign in to comment.