Further updates

This commit is contained in:
2022-09-04 19:12:29 +02:00
parent 7aa148e766
commit fb2cac3529
2 changed files with 37 additions and 27 deletions

View File

@ -1,5 +1,5 @@
<div {{ $attributes->merge(['class' => "flex flex-row m-auto max-w-5xl py-8 gap-x-10"]) }}>
<div class="lg:w-1/2 flex p-4 align-middle items-center">
<div {{ $attributes->merge(['class' => "flex lg:flex-row flex-col m-auto max-w-5xl py-8 gap-x-10"]) }}>
<div class="lg:w-1/2 w-full flex p-4 align-middle items-center">
<div class="flex flex-col">
@isset ($title)
<h3 class="text-blue-800 font-bold mb-2 uppercase">{{ $title }}</h3>
@ -7,6 +7,6 @@
<p class="text-lg">{{ $slot }}</p>
</div>
</div>
<div class="lg:w-1/2 items-center align-middle rounded-lg" style='background-color: #EEE; background-position: {{ $yPosition ?? 'center' }} center; background-image: url("{{ $imgSrc ?? '' }}"); background-repeat: no-repeat; background-size: cover; min-height: 250px;'>
<div class="lg:w-1/2 w-full items-center align-middle rounded-lg" style='background-color: #EEE; background-position: {{ $yPosition ?? 'center' }} center; background-image: url("{{ $imgSrc ?? '' }}"); background-repeat: no-repeat; background-size: cover; min-height: 250px;'>
</div>
</div>