@extends('front.layout') @section('pagename') - {{ __('Home') }} @endsection @section('meta-description', !empty($seo) ? $seo->home_meta_description : '') @section('meta-keywords', !empty($seo) ? $seo->home_meta_keywords : '') @section('content')
{{ $be->hero_section_title }}

{{ $be->hero_section_subtitle }}

{{ $be->hero_section_text }}

@if (!empty($be->hero_section_button_url)) {{ $be->hero_section_button_text }} @endif @if (!empty($be->hero_section_secound_button_url)) {{ $be->hero_section_secound_button_text }} @endif
Shape
Shape Shape Shape Shape Shape Shape Shape
@if ($bs->partners_section == 1) @endif @if ($bs->process_section == 1)

{{ $bs->work_process_title }}

@foreach ($processes as $key => $process)
@if (!empty($process->image)) Icon @endif

{{ $process->title }}

{{ $process->subtitle }}

@endforeach
Shape Shape Shape Shape
@endif @if ($bs->templates_section == 1)
{{ $bs->preview_templates_title }}

{{ $bs->preview_templates_subtitle }}

@foreach ($templates as $template) @endforeach
Shape Shape Shape Shape Shape Shape Shape Shape Shape Shape
@endif @if ($bs->feature_section == 1 || $bs->intro_section == 1)
@if ($bs->intro_section == 1)
{{ $bs->intro_title }}

{{ $bs->intro_subtitle }}

@php $contents = explode(PHP_EOL, $bs->intro_text); @endphp @foreach ($contents as $content) @if ($loop->first)

{{ $content }}

@endif @endforeach
    @foreach ($contents as $content) @if (!$loop->first)
  • {{ $content }}
  • @endif @endforeach
@if ($bs->intro_button_name && $bs->intro_button_url) {{ $bs->intro_button_name }} @endif
@endif @if ($bs->feature_section == 1)
intro_section != 1) class="col-lg-12" @else class="col-lg-6" @endif>
@foreach ($features as $feature)
Icon

{{ $feature->title }}

{{ $feature->text }}

@endforeach
@endif
Shape Shape Shape Shape Shape Shape
@endif @if ($bs->vcard_section == 1)

{{ $bs->vcard_section_title }}

{{ $bs->vcard_section_subtitle }}

{{ __('More Templates') }}
@foreach ($vcards as $vcard)
@php preg_match('/\d+/', $vcard->template_name, $matches); $number = $matches[0] ?? ''; $vcardLabel = __('vCard'); @endphp
{{ $vcardLabel . ' ' . $number }}
@endforeach
Shape Shape Shape Shape Shape Shape
@endif @if ($bs->pricing_section == 1)
{{ $bs->pricing_title }}

{{ $bs->pricing_subtitle }}

{{ $bs->pricing_text }}

@if (count($terms) > 1) @endif
@foreach ($terms as $term)
@php $packages = \App\Models\Package::where('status', '1') ->where('featured', '1') ->where('term', strtolower($term)) ->orderBy('serial_number', 'ASC') ->get(); @endphp @foreach ($packages as $package) @php $pFeatures = json_decode($package->features); // AI fields $aiEngines = !empty($package->ai_engines) ? json_decode($package->ai_engines, true) : []; $aiPages = !empty($package->ai_pages) ? json_decode($package->ai_pages, true) : []; // Engine label + paid/free text $engineMeta = [ 'openai' => [ 'label' => 'OpenAI', 'type' => 'Paid (API Key required)', ], 'gemini' => [ 'label' => 'Gemini', 'type' => 'Paid (API Key required)', ], 'pollinations' => [ 'label' => 'Pollinations', 'type' => 'Free (No API Key needed)', ], ]; @endphp

{{ __($package->title) }}

{{ $package->price != 0 && $be->base_currency_symbol_position == 'left' ? $be->base_currency_symbol : '' }}{{ $package->price == 0 ? __('Free') : $package->price }}{{ $package->price != 0 && $be->base_currency_symbol_position == 'right' ? $be->base_currency_symbol : '' }} / @if ($package->term == 'monthly') {{ __('month') }} @elseif($package->term == 'yearly') {{ __('year') }} @else {{ __($package->term) }} @endif
{{ __("What's Included") }}
    {{-- ===================== AI SECTION START ===================== --}} @if (is_array($allPfeatures) && in_array('One-Click AI Website Setup', $allPfeatures)) @php $pFeatures = !empty($package->features) ? json_decode($package->features, true) : []; // show only if One-Click AI Website Setup feature enabled $hasAiFeature = is_array($pFeatures) && in_array('One-Click AI Website Setup', $pFeatures); $aiEngine = $package->ai_engine ?? null; $aiGenerateLimit = $package->ai_generate_limit ?? null; // pages list $aiPages = !empty($package->ai_pages) ? json_decode($package->ai_pages, true) : []; $engineMap = [ 'openai' => 'OpenAI', 'gemini' => 'Gemini', 'pollinations' => 'Pollinations', ]; $engineName = $aiEngine ? $engineMap[$aiEngine] ?? ucfirst($aiEngine) : null; @endphp @php // ========= Tooltip content build ========= $aiTooltip = "
    "; $aiTooltip .= "
    " . e(__('One-Click AI Full Site Content')) . '
    '; $aiTooltip .= "
    " . e( __( 'This package includes AI website page generation features', ), ) . '
    '; if (!empty($engineName)) { $aiTooltip .= "
    " . e(__('Engine')) . '
    '; $aiTooltip .= "
    " . e($engineName) . '
    '; } if (!empty($aiGenerateLimit)) { $aiTooltip .= "
    " . e( __( 'AI Website Content Generation Attempts Limit', ), ) . '
    '; if ((int) $aiGenerateLimit === 999999) { $aiTooltip .= "
    " . e(__('Unlimited')) . '
    '; } else { $aiTooltip .= "
    " . e($aiGenerateLimit) . '
    '; } } if (!empty($aiPages) && is_array($aiPages)) { $aiTooltip .= "
    " . e(__('Included Pages')) . '
    '; $aiTooltip .= "
      "; foreach ($aiPages as $pg) { $aiTooltip .= "
    • " . e(__($pg)) . '
    • '; } $aiTooltip .= '
    '; } else { $aiTooltip .= "
    No AI pages configured.
    "; } $aiTooltip .= '
    '; @endphp @endif {{-- ===================== AI SECTION END ======================= --}} @foreach ($allPfeatures as $feature) @continue($feature == 'Additional Language' || $feature == 'One-Click AI Website Setup')
  • @if (is_array($pFeatures) && in_array($feature, $pFeatures)) @else @endif @if ($feature == 'vCard' && is_array($pFeatures) && in_array($feature, $pFeatures)) @if ($package->number_of_vcards == 999999) {{ __('Unlimited') }} {{ __('vCards') }} @elseif(empty($package->number_of_vcards)) 0 {{ __('vCard') }} @else {{ $package->number_of_vcards }} {{ $package->number_of_vcards > 1 ? __('vCards') : __('vCard') }} @endif @continue @elseif($feature == 'vCard' && (is_array($pFeatures) && !in_array($feature, $pFeatures))) {{ __('vCards') }} @continue @endif {{ __("$feature") }} @if ($feature == 'Plugins') ({{ __('Google Analytics, Disqus, WhatsApp, Facebook Pixel, Tawk.to') }}) @endif
  • {{-- AI LINE after Donation Management --}} @if ( $feature === 'Donation Management' && is_array($allPfeatures) && in_array('One-Click AI Website Setup', $allPfeatures) && $hasAiFeature)
  • @if (!empty($aiEngine)) @else @endif {{ __('One-Click AI Full Site Content') }} @if (!empty($engineName)) ({{ __($engineName) }}) @endif
  • @endif @endforeach @if (is_array($allPfeatures) && in_array('Additional Language', $allPfeatures))
  • @if ($package->number_of_languages == 999999) {{ __('Additional Languages') }} ({{ __('Unlimited') }}) @elseif($package->number_of_languages > 0) {{ $package->number_of_languages > 1 ? __('Additional Languages') : __('Additional Language') }} ({{ $package->number_of_languages }}) @else {{ __('Additional Language') }} @endif
  • @endif
@if ($package->is_trial === '1' && $package->price != 0) {{ __('Trial') }} @endif @if ($package->price == 0) {{ __('Signup') }} @else {{ __('Purchase') }} @endif
@endforeach
@endforeach
Shape Shape Shape Shape Shape Shape
@endif @if ($bs->featured_users_section == 1)
@if (!empty($bs->featured_users_subtitle))

{{ $bs->featured_users_subtitle }}

@endif
@foreach ($featured_users as $featured_user)
User

{{ $featured_user->first_name . ' ' . $featured_user->last_name }}

status == 0) title="Account deactivated" @endif target="_blank" href=" @if ($featured_user->status == 1) {{ detailsUrl($featured_user) }} @else # @endif" class="btn btn-sm btn-outline @if ($featured_user->status == 0) cursor-not-allowed @endif"> {{ __('Website') }} @guest {{ __('Follow') }} @endguest @if (Auth::guard('web')->check() && Auth::guard('web')->id() != $featured_user->id) @if (App\Models\User\Follower::where('follower_id', Auth::id())->where('following_id', $featured_user->id)->count() > 0) {{ __('Unfollow') }} @else {{ __('Follow') }} @endif @endif
@endforeach
Shape Shape Shape Shape Shape Shape
@endif @if ($bs->testimonial_section == 1)

{{ $bs->testimonial_title }}

@foreach ($testimonials as $testimonial)
{{ number_format($testimonial->rating) }} @if ($testimonial->rating > 1) {{ __('Stars') }} @else {{ __('Star') }} @endif

{{ $testimonial->comment }}

Person Image
{{ $testimonial->name }}
{{ $testimonial->rank }}
@endforeach
Image
Shape Shape Shape Shape Shape Shape
@endif @if ($bs->news_section == 1)

{{ $bs->blog_title }}

{{ __('View More') }}
@foreach ($blogs as $blog)
@endforeach
Shape Shape Shape Shape Shape Shape
@endif @endsection