Updated one-pager and added assets

This commit is contained in:
2022-09-03 15:35:06 +02:00
parent aaa11dd163
commit 7aa148e766
10 changed files with 33 additions and 21 deletions

View File

@ -1,8 +1,12 @@
<div {{ $attributes->merge(['class' => "flex flex-row m-auto max-w-4xl py-8 space-x-6"]) }}>
<div class="lg:w-1/2 flex items-center">
<p class="text-lg">{{ $slot }}</p>
<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 class="flex flex-col">
@isset ($title)
<h3 class="text-blue-800 font-bold mb-2 uppercase">{{ $title }}</h3>
@endisset
<p class="text-lg">{{ $slot }}</p>
</div>
</div>
<div class="lg:w-1/2 items-center align-middle">
<img src="" width="400px" height="150px" class="bg-gray-100 border-none">
<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>
</div>