Remove unnecessary loading divs in invoices and services views for cleaner markup
This commit is contained in:
@@ -38,7 +38,6 @@
|
||||
@endfor
|
||||
</div>
|
||||
|
||||
<div wire:loading.remove>
|
||||
@forelse ($invoices as $invoice)
|
||||
<a href="{{ route('invoices.show', $invoice) }}" wire:navigate class="block">
|
||||
<div class="bg-gradient-to-br from-background-secondary/50 to-background-secondary/30 hover:bg-secondary/25 border border-neutral/50 p-6 rounded-xl shadow-lg
|
||||
@@ -98,7 +97,6 @@
|
||||
</a>
|
||||
</div>
|
||||
@endforelse
|
||||
</div>
|
||||
|
||||
{{ $invoices->links() }}
|
||||
</div>
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="grid grid-cols-1 gap-3 md:gap-5 ">
|
||||
<div class="grid grid-cols-1 gap-3 md:gap-5">
|
||||
{{-- Skeleton loaders shown during loading --}}
|
||||
<div wire:loading.delay class="space-y-3 md:space-y-5">
|
||||
@for($i = 0; $i < 3; $i++)
|
||||
@@ -47,7 +47,6 @@
|
||||
@endfor
|
||||
</div>
|
||||
|
||||
<div wire:loading.remove>
|
||||
@forelse ($services as $service)
|
||||
<a href="{{ route('services.show', $service) }}" wire:navigate class="block">
|
||||
<div class="bg-gradient-to-br from-background-secondary/50 to-background-secondary/30 hover:bg-secondary/25 border border-neutral/50 p-6 rounded-xl shadow-lg
|
||||
@@ -139,7 +138,6 @@
|
||||
</a>
|
||||
</div>
|
||||
@endforelse
|
||||
</div>
|
||||
|
||||
{{ $services->links() }}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user