@extends('layouts.app') @section('title', 'Home') @section('content')

Welcome to Sweet Delights

Freshly baked artisanal treats made with love, every single day

Explore Our Bakery
@php $saleCount = \App\Models\Product::where('availability', true) ->whereNotNull('sale_price') ->whereColumn('sale_price', '<', 'price') ->count(); @endphp @if($saleCount > 0)

🎉 Special Sale! 🎉

Don't miss out on {{ $saleCount }} amazing deals!

Shop Sale Items →
@endif

Featured Delights

@if($featuredProducts->count() > 0)
@foreach($featuredProducts as $product) @endforeach
@else

No featured products available at the moment.

@endif
@if($testimonials->count() > 0)

What Our Customers Say

@foreach($testimonials as $index => $testimonial)
"
@for($i = 1; $i <= 5; $i++) @endfor

"{{ $testimonial->testimonial }}"

- {{ $testimonial->name }}

@endforeach
@if($testimonials->count() > 1)
@foreach($testimonials as $index => $testimonial) @endforeach
@endif
@endif @endsection @push('modals')

Welcome to Sweet Delights!

Discover our freshly baked artisanal treats and exclusive offers. Subscribe to our newsletter for special deals and new arrivals!

@csrf

We respect your privacy. Unsubscribe at any time.

@endpush @push('scripts') @endpush