@extends('layouts.app') @section('content')
{{-- Location cards --}} @foreach($locations as $loc)
@if($loc['weather']) @php $w = $loc['weather']; $icon = $w['risk'] >= 80 ? 'bi-lightning-charge-fill text-danger' : ($w['risk'] >= 50 ? 'bi-cloud-rain-fill text-warning' : ($w['risk'] >= 30 ? 'bi-cloud-fill text-info' : 'bi-sun-fill text-warning')); @endphp
{{ $w['temp'] }}°C
{{ $loc['name'] }}
{{ $loc['country'] }}
{{ $w['label'] }}
Risk {{ $w['risk'] }}
@else
Unavailable
{{ $loc['name'] }}
{{ $loc['country'] }}
@endif
@endforeach
{{-- Map --}}
Weather Map Click a hub card to focus
{{-- Right panel: custom location + hourly forecast --}}
{{-- Global City/Country Search --}}
Search Any City/Country Worldwide
Search any city, country, or address globally
{{-- Custom coordinates --}}
Or Use Custom Coordinates
—
—
—% humidity
— km/h
— mm
{{-- Hourly chart --}}
24-Hour Temperature Forecast
@endsection @push('scripts') @endpush