MIF_E31222582/resources/views/livewire/detail-paket-foto-page.blad...

70 lines
4.4 KiB
PHP

<div class="w-full max-w-[85rem] max-h-screen py-10 px-4 sm:px-6 lg:px-8 mx-auto">
<section class="overflow-hidden bg-white py-11 font-poppins dark:bg-gray-800">
<div class="max-w-6xl px-4 py-4 mx-auto lg:py-8 md:px-6">
<div class="flex flex-wrap -mx-4">
<div class="w-full mb-8 md:w-1/2 md:mb-0" x-data="{ mainImage: '{{ url('storage', $paketfoto->gambar) }}' }">
<div class="sticky top-0 z-50 overflow-hidden ">
<div class="aspect-[4/3] ">
<img x-bind:src="mainImage" alt="" class="object-cover w-full lg:h-full ">
</div>
<div class="flex-wrap hidden md:flex ">
<div class="w-1/2 p-2 sm:w-1/4" x-on:click="mainImage='https://m.media-amazon.com/images/I/71f5Eu5lJSL._SX679_.jpg'">
<alt="" class="object-cover w-full lg:h-20 cursor-pointer hover:border hover:border-blue-500">
</div>
</div>
<div class="px-6 pb-6 mt-6 border-t border-gray-300 dark:border-gray-400 ">
<div class="flex flex-wrap items-center mt-6">
{{-- <span class="mr-2">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="w-4 h-4 text-gray-700 dark:text-gray-400 bi bi-truck" viewBox="0 0 16 16">
<path d="M0 3.5A1.5 1.5 0 0 1 1.5 2h9A1.5 1.5 0 0 1 12 3.5V5h1.02a1.5 1.5 0 0 1 1.17.563l1.481 1.85a1.5 1.5 0 0 1 .329.938V10.5a1.5 1.5 0 0 1-1.5 1.5H14a2 2 0 1 1-4 0H5a2 2 0 1 1-3.998-.085A1.5 1.5 0 0 1 0 10.5v-7zm1.294 7.456A1.999 1.999 0 0 1 4.732 11h5.536a2.01 2.01 0 0 1 .732-.732V3.5a.5.5 0 0 0-.5-.5h-9a.5.5 0 0 0-.5.5v7a.5.5 0 0 0 .294.456zM12 10a2 2 0 0 1 1.732 1h.768a.5.5 0 0 0 .5-.5V8.35a.5.5 0 0 0-.11-.312l-1.48-1.85A.5.5 0 0 0 13.02 6H12v4zm-9 1a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm9 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2z">
</path>
</svg>
</span>
<h2 class="text-lg font-bold text-gray-700 dark:text-gray-400">Free Shipping</h2>--}}
</div>
</div>
</div>
</div>
<div class="w-full px-4 md:w-1/2 ">
<div class="lg:pl-20">
<div class="mb-8 ">
<h2 class="max-w-xl mb-6 text-2xl font-bold dark:text-gray-400 md:text-4xl">
{{ $paketfoto->nama_paket_foto }}
</h2>
<p class="inline-block mb-6 text-4xl font-bold text-gray-700 dark:text-gray-400 ">
<span>
{{ Number::currency($paketfoto->harga_paket_foto, 'IDR') }}
</span>
{{-- <span class="text-base font-normal text-gray-500 line-through dark:text-gray-400">$1800.99</span> --}}
</p>
<p class="max-w-md text-gray-700 dark:text-gray-400">
{{ $paketfoto->fasilitas }}
</p>
</div>
<div class="w-32 mb-8 ">
<div class="flex flex-col items-start">
<a href="{{ route('booking', ['id' => $paketfoto->id]) }}" class="px-6 py-3 bg-blue-500 rounded-md text-white hover:bg-blue-600 dark:bg-blue-500 dark:hover:bg-blue-700">
Booking
</a>
</div>
{{-- <label for="" class="w-full pb-1 text-xl font-semibold text-gray-700 border-b border-blue-300 dark:border-gray-600 dark:text-gray-400">Quantity</label>
<div class="relative flex flex-row w-full h-10 mt-6 bg-transparent rounded-lg"> --}}
{{-- <button class="w-20 h-full text-gray-600 bg-gray-300 rounded-l outline-none cursor-pointer dark:hover:bg-gray-700 dark:text-gray-400 hover:text-gray-700 dark:bg-gray-900 hover:bg-gray-400">
<span class="m-auto text-2xl font-thin">-</span>
</button>
<input type="number" readonly class="flex items-center w-full font-semibold text-center text-gray-700 placeholder-gray-700 bg-gray-300 outline-none dark:text-gray-400 dark:placeholder-gray-400 dark:bg-gray-900 focus:outline-none text-md hover:text-black" placeholder="1">
<button class="w-20 h-full text-gray-600 bg-gray-300 rounded-r outline-none cursor-pointer dark:hover:bg-gray-700 dark:text-gray-400 dark:bg-gray-900 hover:text-gray-700 hover:bg-gray-400">
<span class="m-auto text-2xl font-thin">+</span>
</button> --}}
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</div>