@extends('layouts.front') @section('meta') {{-- ১. সাধারণ এসইও ট্যাগ (Search Engine Optimization) --}} {{ $gs->title }} {{-- ২. ওপেন গ্রাফ ট্যাগ (Facebook, LinkedIn, WhatsApp-এ শেয়ার করার জন্য) --}} {{-- এখানে og:image এর জন্য একটি ডিফল্ট ব্যানার ইমেজ ব্যবহার করা ভালো --}} {{-- ৩. টুইটার কার্ড ট্যাগ (Twitter-এর জন্য) --}} @endsection @section('contents') @include('frontend.partials.home-hero', ['hero' => $hero]) @php $svc = $sections['service_section']; @endphp
@if(!empty($svc->badge)) {{ $svc->badge }} @endif

{!! $svc->title !!}

@if(!empty($svc->description))

{{ $svc->description }}

@endif @if(!empty($svc->extra['highlights']))
@foreach($svc->extra['highlights'] as $highlight) {{ $highlight['text'] ?? '' }} @endforeach
@endif
@php $serviceIconThemes = [ ['bg' => '#dbeafe', 'color' => '#2563eb'], ['bg' => '#dcfce7', 'color' => '#16a34a'], ['bg' => 'var(--primary-bg)', 'color' => 'var(--primary-color)'], ['bg' => '#ffedd5', 'color' => '#ea580c'], ['bg' => '#e2e8f0', 'color' => 'var(--text-heading)'], ['bg' => '#dbeafe', 'color' => '#2563eb'], ['bg' => '#dcfce7', 'color' => '#16a34a'], ['bg' => '#fce7f3', 'color' => 'var(--accent-hover)'], ]; @endphp @forelse($services as $index => $service) @php $theme = $serviceIconThemes[$index % count($serviceIconThemes)]; @endphp

{{ $service->title }}

{{ $service->description }}

আরো জানুন
@empty

কোনো সার্ভিস খুঁজে পাওয়া যায়নি।

@endforelse
@php $pricing = $sections['pricing_section']; @endphp
@if(!empty($pricing->badge)) {{ $pricing->badge }} @endif

{!! $pricing->title !!}

@if(!empty($pricing->description))

{{ $pricing->description }}

@endif
@forelse($plans as $plan)
@empty

বর্তমানে কোনো প্যাকেজ পাওয়া যায়নি।

@endforelse
@php $whyChooseItems = App\Models\WhyChooseUs::orderBy('id', 'asc')->get(); $whyChooseImage = $whyChooseItems->first(); $whyChooseThemes = [ ['bg' => 'var(--primary-bg)', 'color' => 'var(--primary-color)'], ['bg' => '#dbeafe', 'color' => '#2563eb'], ['bg' => '#dcfce7', 'color' => '#16a34a'], ['bg' => '#ffedd5', 'color' => '#ea580c'], ]; @endphp
@if($whyChooseImage && $whyChooseImage->image) Why Choose Us @else Why Choose Us @endif
@php $choose = $sections['choose_section']; @endphp
@if(!empty($choose->badge)) {{ $choose->badge }} @endif

{!! $choose->title !!}

@if(!empty($choose->description))

{{ $choose->description }}

@endif
@forelse($whyChooseItems as $index => $feature) @php $theme = $whyChooseThemes[$index % count($whyChooseThemes)]; @endphp

{{ $feature->title }}

{{ $feature->description }}

@empty

কোনো তথ্য পাওয়া যায়নি।

@endforelse
@php $portfolioSec = $sections['portfolio_section']; @endphp
@if(!empty($portfolioSec->badge)) {{ $portfolioSec->badge }} @endif

{!! $portfolioSec->title !!}

@if(!empty($portfolioSec->description))

{{ $portfolioSec->description }}

@endif
@foreach($portfolio_categories as $p_cat) @endforeach
@forelse($portfolios as $portfolio)
{{ $portfolio->title }}
{{ $portfolio->title }}

{{ $portfolio->category->name }}

ভিজিট করুন
@empty

বর্তমানে কোনো প্রজেক্ট পাওয়া যায়নি।

অনুগ্রহ করে পরে আবার চেষ্টা করুন অথবা আমাদের সাথে যোগাযোগ করুন।

@endforelse
@php $reviews = $sections['reviews_section']; @endphp
@if(!empty($reviews->badge)) {{ $reviews->badge }} @endif

{!! $reviews->title !!}

@if(!empty($reviews->description))

{{ $reviews->description }}

@endif
@php $stepsSec = $sections['steps_section']; @endphp
@if(!empty($stepsSec->badge)) {{ $stepsSec->badge }} @endif

{!! $stepsSec->title !!}

@if(!empty($stepsSec->description))

{{ $stepsSec->description }}

@endif
@foreach($stepsSec->extra['steps'] ?? [] as $index => $step) @if($index > 0) @endif
{{ $step['num'] ?? ($index + 1) }}

{{ $step['title'] ?? '' }}

{{ $step['desc'] ?? '' }}

@endforeach
@php $displayCounters = ($counters && $counters->count()) ? $counters : collect([ (object) ['count_value' => '১০০০+', 'title' => 'হ্যাপি ক্লায়েন্ট'], (object) ['count_value' => '১৩০০+', 'title' => 'প্রজেক্ট সম্পন্ন'], (object) ['count_value' => '২৪/৭', 'title' => 'সাপোর্ট অ্যাক্টিভ'], (object) ['count_value' => '৬+', 'title' => 'বছরের অভিজ্ঞতা'], ]); @endphp @foreach($displayCounters as $counter)
{{ $counter->count_value }}
{{ $counter->title }}
@endforeach
@php $teamSec = $sections['team_section']; @endphp
@if(!empty($teamSec->badge)) {{ $teamSec->badge }} @endif

{!! $teamSec->title !!}

@if(!empty($teamSec->description))

{{ $teamSec->description }}

@endif
@if(!empty($teamSec->extra['more_text'])) @endif
@php $brandsSec = $sections['brands_section']; @endphp

{{ $brandsSec->title }}

@if(isset($brands) && $brands->count())
@foreach($brands as $brand)
@if(!empty($brand->url)) @endif @if(!empty($brand->url)) @endif
@endforeach @foreach($brands as $brand) @endforeach
@endif
@php $cta = $sections['cta_section']; @endphp
@endsection