@php
use App\Models\Setting;
// Get the logo path from the database
$site_logo = Setting::get('site_logo');
// If the logo exists, use it; otherwise, use the default logo from the public directory
$site_logo = $site_logo
? asset('frontend/assets/images/' . $site_logo)
: asset('frontend/assets/images/logo.jpg');
@endphp