@php $brandColor = \App\Models\StoreSetting::getValue('store.brand_color', '#F7BFA0'); $brandName = \App\Models\StoreSetting::getValue('store.name', "D'Shop"); $brandLogo = \App\Models\StoreSetting::getValue('store.logo', 'assets/logo-dshop.png'); $brandLogoUrl = (!empty($brandLogo) && !preg_match('/^(https?:)?\/\//', $brandLogo) && ! str_starts_with($brandLogo, 'data:')) ? asset($brandLogo) : $brandLogo; @endphp {{ config('app.name', "D'Shop") }} @vite(['resources/css/app.css', 'resources/js/app.js'])
@if(!empty($brandLogoUrl)) {{ $brandName }} Logo @else {{ \Illuminate\Support\Str::of($brandName)->substr(0, 2)->upper() }} @endif {{ $brandName }}
{{ $slot }}