@extends('customer.layouts.app') @section('title', 'Restaurants') @section('content')
@forelse ($restaurants as $restaurant)
@if ($restaurant->cover_image) {{ $restaurant->name }} @else
@endif
{{ $restaurant->name }}
{{ $restaurant->city?->name }}
{{ number_format($restaurant->avg_rating, 1) }}
@empty
No restaurants found.
@endforelse
{{ $restaurants->links() }}
@endsection