refactoring

This commit is contained in:
Burak Civan
2022-10-18 16:29:28 +03:00
parent f5f69139d5
commit 967ea50877
4 changed files with 39 additions and 38 deletions

View File

@ -8,9 +8,11 @@
}
@endphp
<div {{ $first_attributes }}>
<x-marguee-text>
{!! $first !!}
</x-marguee-text>
<div>
<span data-truncate>
{!! $first !!}
</span>
</div>
</div>
@endif
@ -23,13 +25,17 @@
}
@endphp
<div {{ $second_attributes }}>
<x-marguee-text>
{!! $second !!}
</x-marguee-text>
<div>
<span data-truncate>
{!! $second !!}
</span>
</div>
</div>
@endif
<x-marguee-text>
{{ $slot }}
</x-marguee-text>
<div>
<span data-truncate>
{{ $slot }}
</span>
</div>
</td>