Further updates

This commit is contained in:
2023-05-25 21:46:20 +02:00
parent 9bc63ae6c2
commit d3a477d9f0
3 changed files with 9 additions and 10 deletions

View File

@ -2,16 +2,16 @@
<div class="lg:w-1/2 w-full flex py-4 md:px-4 align-middle items-center">
<div class="flex flex-col">
@isset ($featureTitle)
<h3 class="text-blue-800 font-bold mb-3 uppercase">
<h3 class="text-blue-800 font-bold text-xl mb-5 border-b-blue-300 border-b-2 pb-2 inline-block">
@isset($new)
<span class="bg-blue-800 text-white px-2 py-1 rounded mr-2">NEW</span>
<span class="bg-blue-800 text-white px-2 py-1 rounded-xl mr-1 text-sm relative bottom-0.5">NEW</span>
@endisset
{{ $featureTitle }}
</h3>
@endisset
<p class="text-lg">{{ $slot }}</p>
<p class="text-lg text-gray-800">{{ $slot }}</p>
</div>
</div>
<div class="lg:w-1/2 w-full items-center align-middle rounded-lg shadow-lg" style='background-color: #EEE; background-position: {{ $yPosition ?? 'center' }} center; background-image: url("{{ $imgSrc ?? '' }}"); background-repeat: no-repeat; background-size: cover; min-height: 260px;'>
</div>
</div>
</div>

View File

@ -3,6 +3,6 @@
@isset ($featureTitle)
<h3 class="text-blue-800 font-bold mb-2 uppercase">{{ $featureTitle }}</h3>
@endisset
<p class="text-lg">{{ $slot }}</p>
<p class="text-gray-800">{{ $slot }}</p>
</div>
</div>
</div>