@php $routeName = request()->route()?->getName() ?? ''; $isCashierView = str_starts_with($routeName, 'cashier.'); $isAdminView = str_starts_with($routeName, 'admin.'); $shouldShowPreloader = ! ($isCashierView || $isAdminView) && request()->routeIs('home'); $brandColor = \App\Models\StoreSetting::getValue('store.brand_color', '#F7BFA0'); $brandName = \App\Models\StoreSetting::getValue('store.name', config('app.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; $brandTagline = \App\Models\StoreSetting::getValue('store.tagline', 'Solusi gaya dan kebutuhan UMKM Anda.'); $adminWhatsapp = \App\Models\StoreSetting::getValue('store.whatsapp_admin', '6283879865012'); @endphp
{{ $brandName }}
Memuat pengalaman D'Shop...