Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
danpalmieri committed Apr 30, 2024
1 parent dc7aa20 commit eade110
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions resources/views/components/card.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@

<div {{ $attributes->class(['p-2 space-y-2 bg-white __border rounded-xl']) }}>
@if ($header)
<div class="px-3 py-1">
<div class="px-3 py-1 text-base">
{{ $header }}
</div>
@endif

@if ($header && ($actions || $heading || $image || $slot->isNotEmpty() || $subheading))
<x-lui::hr />
@endif
{{-- @if ($header && ($actions || $heading || $image || $slot->isNotEmpty() || $subheading))--}}
{{-- <x-lui::hr />--}}
{{-- @endif--}}

@if ($actions || $heading || $image || $slot->isNotEmpty() || $subheading)
<div class="space-y-2">
Expand All @@ -31,9 +31,9 @@
<div aria-hidden="true" class="absolute inset-0 bg-zinc-200 animate-pulse rounded-lg"></div>

<img
class="absolute inset-0 object-cover rounded-lg"
src="{{ $image }}"
@if ($imageAlt) alt="{{ $imageAlt }}" @endif
class="absolute inset-0 object-cover rounded-lg"
src="{{ $image }}"
@if ($imageAlt) alt="{{ $imageAlt }}" @endif
/>
</figure>
@endif
Expand Down

0 comments on commit eade110

Please sign in to comment.