Files
Mark Gregory c58f89f340
tests / ci (push) Canceled after 0s
Initial Commit
2026-10-15 17:31:14 +01:00

1 line
2.9 KiB
PHP

@extends('lodge.layout')@section('content')<section class="hero"><div class="wrap" style="width:100%"><div class="content"><div class="eyebrow">Unwind · Escape · Explore</div><h1>A little escape.<br>A lot to love.</h1><p>Welcome to Cresta 31 — a comfortable lodge retreat made for slow mornings, fresh air and memorable stays.</p><a class="button" style="background:#fff;color:#1b312b" href="#book">Explore your stay →</a></div></div></section><div class="wrap"><div class="booking" id="book" style="position:relative;margin-top:-45px"><form action="{{ route('lodge.availability') }}" method="get"><div class="booking-grid"><div><label for="check_in">Check in</label><input id="check_in" name="check_in" type="date" min="{{ date('Y-m-d') }}" required></div><div><label for="check_out">Check out</label><input id="check_out" name="check_out" type="date" min="{{ date('Y-m-d',strtotime('+1 day')) }}" required></div><div><label for="guests">Guests</label><select id="guests" name="guests">@for($i=1;$i<=config('lodge.max_guests');$i++)<option value="{{ $i }}">{{ $i }} {{ $i===1?'guest':'guests' }}</option>@endfor</select></div><button>Check dates →</button></div></form></div></div><section class="section" id="the-lodge"><div class="wrap intro"><div><div class="eyebrow" style="color:#76521f">Welcome to Cresta 31</div><h2>Make yourself<br>right at home.</h2><p>Discover the spaces that make Cresta 31 a special place to get away. Whether you're taking a peaceful break or spending time together, settle in and enjoy a change of scenery.</p><p>Browse the lodge photographs below, then choose your dates to check availability.</p><div class="price">From £{{ number_format($rate,0) }} <span class="small">/ night</span></div></div><img src="{{ asset('images/lodge/gallery/photo-02-intro.webp') }}" alt="Cresta 31 lodge interior" loading="lazy" decoding="async" width="640" height="480"></div></section><section class="section" id="gallery" style="background:#eaece6"><div class="wrap"><div class="eyebrow" style="color:#76521f">A closer look</div><h2>Explore the lodge</h2><div class="gallery">@for($i=1;$i<=11;$i++)<a href="{{ asset(sprintf('images/lodge/gallery/photo-%02d.webp',$i)) }}" target="_blank" rel="noopener"><img src="{{ asset(sprintf('images/lodge/thumb/photo-%02d.webp',$i)) }}" loading="lazy" decoding="async" width="320" height="240" alt="Cresta 31 lodge photo {{ $i }}"></a>@endfor@foreach($uploadedPhotos as $photo)<a href="{{ asset('storage/'.$photo->gallery_path) }}" target="_blank" rel="noopener"><img src="{{ asset('storage/'.$photo->thumbnail_path) }}" loading="lazy" decoding="async" width="320" height="240" alt="{{ $photo->alt_text }}"></a>@endforeach</div></div></section><section class="section"><div class="wrap" style="text-align:center"><div class="eyebrow">Your next getaway</div><h2>Ready to stay?</h2><p class="small">Choose your dates and send a booking request.</p><a class="button" href="#book">Check availability →</a></div></section>@endsection