{{-- Dynamic Main Site - Controlled from Billing Admin Panel --}} {{ $siteData?->hero_title ?? (siteUrlSettings('site_name') ?? config('app.name')) }} @vite(['resources/sass/main-site.scss', 'resources/js/main-site.js']) {{-- ========================================================= NAVBAR ========================================================== --}}
{{-- ========================================================= HERO / BANNER SLIDER ========================================================== --}} {{-- ========================================================= FEATURES / SERVICES ========================================================== --}}
@if ($siteData?->about_title)
{{ $siteData->about_title }}
@else
{{ __('Welcome to') }} {{ siteUrlSettings('portal_name') ?? siteUrlSettings('site_name') }}
@endif

{{ $siteData?->hero_title ?? __('We are always Faster & Reliable') }}

@if ($siteData?->about_body)

{!! nl2br(e($siteData->about_body)) !!}

@elseif($siteData?->hero_subtitle)

{{ $siteData->hero_subtitle }}

@endif

{{ __('Our Services are') }}

{{-- Service Cards --}} @php $services = $siteData?->services ?? []; @endphp @if (count($services) > 0)
@foreach ($services as $service)

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

{{ $service['description'] ?? '' }}

@endforeach
@else {{-- Fallback static services --}}

{{ __('Home Internet') }}

{{ __('High-speed broadband internet for your home. Unlimited data, 24/7 uptime.') }}

{{ __('Corporate Internet') }}

{{ __('Dedicated business-grade connectivity with SLA guarantees and priority support.') }}

{{ __('Data Connectivity') }}

{{ __('Fiber optic point-to-point links for enterprise and campus connectivity needs.') }}

@endif
{{-- ========================================================= Valuable Clint ========================================================== --}} {{-- ========================================================= GALLERY ========================================================== --}} {{-- ========================================================= PRICING TABLE ========================================================== --}}

{{ $siteData?->packages_section_title ?? __('INTERNET PACKAGE PLAN') }}

{{ $siteData?->packages_section_subtitle ?? __('We offer the best Internet Package Plan for You') }}
@php $pkgColors = ['', 'pricing-box-2', 'pricing-box-3', '']; @endphp @if ($packages->isNotEmpty())
@foreach ($packages as $index => $package)
@endforeach
@else

{{ __('No packages available.') }}

@endif
{{-- ========================================================= TEAM ========================================================== --}}

{{ $siteData?->team_title ?? __('CREATIVE TEAM') }}

@if ($siteData?->team_subtitle)

{!! nl2br(e($siteData->team_subtitle)) !!}

@endif
@php $teamMembers = $siteData?->team_members ?? []; if (count($teamMembers) === 0) { $teamMembers = [ [ 'name' => __('TEAM MEMBER 1'), 'role' => __('Staff'), 'bio' => __('Dedicated team member committed to providing excellent service.'), ], [ 'name' => __('TEAM MEMBER 2'), 'role' => __('Staff'), 'bio' => __('Dedicated team member committed to providing excellent service.'), ], [ 'name' => __('TEAM MEMBER 3'), 'role' => __('Staff'), 'bio' => __('Dedicated team member committed to providing excellent service.'), ], [ 'name' => __('TEAM MEMBER 4'), 'role' => __('Staff'), 'bio' => __('Dedicated team member committed to providing excellent service.'), ], ]; } @endphp
@foreach ($teamMembers as $index => $member)
{{ $member['name'] ?? '' }}

{{ strtoupper($member['name'] ?? '') }} {{ $member['role'] ?? '' }}

{{ $member['bio'] ?? '' }}

@endforeach
{{-- Swiper Pagination --}}
{{-- Swiper Navigation --}} @if (count($teamMembers) > 1)
@endif
{{-- ========================================================= CUSTOMER REVIEWS / TESTIMONIALS ========================================================== --}} @if (count($reviews) > 0)

{{ __('What Our Clients Say') }}

{{ __('Feedback and reviews from our active internet subscribers') }}

@foreach ($reviews as $review)
{{ strtoupper(substr($review->pppUser?->customer?->customer_name ?? ($review->pppUser?->username ?? 'C'), 0, 1)) }}
{{ $review->pppUser?->customer?->customer_name ?? __('Valued Customer') }}
{{ __('Active Member') }}
@for ($i = 1; $i <= 5; $i++) @endfor

"{{ $review->comment }}"

@endforeach
@endif {{-- ========================================================= BLOG ========================================================== --}}

{{ $siteData?->blog_title ?? __('Blog') }}

@if ($siteData?->blog_subtitle)

{!! nl2br(e($siteData->blog_subtitle)) !!}

@endif
@php $blogPosts = $siteData?->blog_posts ?? []; if (count($blogPosts) === 0) { $blogPosts = [ [ 'title' => __('Latest News & Updates 1'), 'author' => __('Admin'), 'excerpt' => __( 'Stay updated with the latest news, offers, and updates from our network team.', ), ], [ 'title' => __('Latest News & Updates 2'), 'author' => __('Admin'), 'excerpt' => __( 'Stay updated with the latest news, offers, and updates from our network team.', ), ], [ 'title' => __('Latest News & Updates 3'), 'author' => __('Admin'), 'excerpt' => __( 'Stay updated with the latest news, offers, and updates from our network team.', ), ], [ 'title' => __('Latest News & Updates 4'), 'author' => __('Admin'), 'excerpt' => __( 'Stay updated with the latest news, offers, and updates from our network team.', ), ], ]; } $blogChunks = array_chunk($blogPosts, 3); @endphp
@foreach ($blogPosts as $post)
@if (!empty($post['image'])) {{ $post['title'] ?? '' }} @else {{ $post['title'] ?? '' }} @endif

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

{{ __('By') }} {{ $post['author'] ?? __('Admin') }} @if (!empty($post['date'])) / {{ \Carbon\Carbon::parse($post['date'])->format('M d, Y') }} @endif

{{ $post['excerpt'] ?? '' }}

@endforeach
{{-- ========================================================= TESTIMONIALS ========================================================== --}}

{{ $siteData?->testimonial_title ?? __('Testimonial') }}

@if ($siteData?->testimonial_subtitle)

{!! nl2br(e($siteData->testimonial_subtitle)) !!}

@endif
@php $testimonials = $siteData?->testimonials ?? []; @endphp
@if (count($testimonials) > 0) @foreach ($testimonials as $testimonial)

{{ $testimonial['name'] ?? '' }}

{{ $testimonial['message'] ?? '' }}

@endforeach @else {{-- Fallback testimonials --}} @foreach (['Satisfied Customer', 'Happy Client', 'Regular User', 'Business Owner'] as $name)

{{ __($name) }}

{{ __('Excellent internet service with fast speeds and reliable uptime. Customer support is always responsive and helpful. Highly recommended!') }}

@endforeach @endif
{{-- ========================================================= CONTACT ========================================================== --}}

{{ $siteData?->contact_title ?? __('CONTACT US') }}

@if ($siteData?->contact_subtitle)

{!! nl2br(e($siteData->contact_subtitle)) !!}

@endif
@if ($siteData?->google_map_embed) @elseif(siteUrlSettings('site_map')) @else @endif
{{-- ========================================================= FOOTER ========================================================== --}}
@if (siteUrlSettings('site_logo')) logo @else

{{ siteUrlSettings('site_name') ?? config('app.name') }}

@endif

{{ siteUrlSettings('site_address') ?? __('Our Head Office') }}

{{ siteUrlSettings('site_phone') ?? '01700000000' }}

{{ siteUrlSettings('site_email') ?? 'support@example.com' }}

{{ $siteData?->footer_copyright ?? __('All rights reserved © ') . date('Y') }}

{{-- Social Links --}} @php $fb = siteUrlSettings('site_facebook'); $tw = siteUrlSettings('site_twitter'); $ig = siteUrlSettings('site_instagram'); $yt = siteUrlSettings('site_youtube'); $wa = siteUrlSettings('site_whatsapp'); @endphp
@if ($fb) @endif @if ($tw) @endif @if ($ig) @endif @if ($yt) @endif @if ($wa) @endif
{{ __('Useful Links') }}
{{ __('Total Page Views') }}
@php $formattedTotal = sprintf('%06d', $totalVisits ?? 0); $totalDigits = str_split($formattedTotal); @endphp @foreach ($totalDigits as $digit) {{ $digit }} @endforeach
{{ __('Unique Visitors') }}
@php $formattedUnique = sprintf('%06d', $uniqueVisitors ?? 0); $uniqueDigits = str_split($formattedUnique); @endphp @foreach ($uniqueDigits as $digit) {{ $digit }} @endforeach
{{-- end scrollspy wrapper --}} {{-- Back to Top --}}