@php $seoPath = request()->path(); $seoQuery = request()->query(); $seoNoindex = in_array($seoPath, ['cart', 'checkout', 'login', 'register', 'wishlist', 'my-orders', 'my-account'], true) || str_starts_with($seoPath, 'my-account/') || request()->routeIs('search') || (request()->routeIs('shop') && collect(array_keys($seoQuery))->diff(['lang'])->isNotEmpty()); if (request()->routeIs('category.show')) { $seoPath = 'category/'.$selectedCategory->slug; } elseif (request()->routeIs('shop') && request()->filled('category')) { $seoPath = 'category/'.request('category'); } $seoBase = url($seoPath === '/' ? '/' : trim($seoPath, '/')); $seoCanonical = $seoBase.'?lang='.app()->getLocale(); $seoTitle = trim($__env->yieldContent('title')); $seoDescription = trim($__env->yieldContent('meta_description')); $seoDocumentTitle = \Illuminate\Support\Str::contains(\Illuminate\Support\Str::lower($seoTitle), \Illuminate\Support\Str::lower($storeName ?? 'Udyog')) ? $seoTitle : $seoTitle.' | '.($storeName ?? 'Udyog'); @endphp {{ $seoDocumentTitle }} @if($seoNoindex)@else@endif @php $faviconUrl = \App\Models\SiteSetting::valueFor('favicon_url'); @endphp @vite(['resources/css/app.css', 'resources/js/app.js']) @php $organizationSchema = ['@context' => 'https://schema.org', '@type' => 'Organization', 'name' => $storeName ?? 'Udyog', 'url' => url('/'), 'email' => \App\Models\SiteSetting::valueFor('email'), 'telephone' => \App\Models\SiteSetting::valueFor('phone'), 'address' => ['@type' => 'PostalAddress', 'addressCountry' => 'BD', 'addressLocality' => \App\Models\SiteSetting::valueFor('address')]]; $websiteSchema = ['@context' => 'https://schema.org', '@type' => 'WebSite', 'name' => $storeName ?? 'Udyog', 'url' => url('/'), 'potentialAction' => ['@type' => 'SearchAction', 'target' => url('/search').'?q={search_term_string}', 'query-input' => 'required name=search_term_string']]; @endphp @stack('head') @php($primaryColor = \App\Models\SiteSetting::valueFor('primary_color', '#344d3d')) @php($logoUrl = \App\Models\SiteSetting::valueFor('logo_url'))
{{ __('Our story') }}
{{ __('Help & contact') }}{{ __('Track order') }}{{ __('Frequently asked questions') }}{{ __('Bangladesh · BDT ৳') }}app()->getLocale()==='en'])>EN/app()->getLocale()==='bn'])>বাংলা
@if($logoUrl)@elseu{{ $storeName ?? 'Udyog' }}@endif
@if(session('success'))
{{ session('success') }}
@endif @if($errors->has('cart')||$errors->has('coupon'))@endif @yield('content') @stack('scripts')