@extends('front-end.layout') @section('title') {{ get_label('home', 'Home') }} @endsection @section('content')
home
home
home
{{ get_label('features', 'Features') }}

{{get_label('every','Every')}} {{ get_label('feature', 'Feature') }} {{ get_label('your_team_needs_to', 'Your Team Needs To') }}
{{get_label('complete_work_faster','Complete Work Faster')}}

@if (!empty($frontend_general_settings['features']))
@foreach ($frontend_general_settings['features'] as $index => $feature) @if ($index >= 0 && $index < 5)
@if (!empty($feature['icon'])) {{ $feature['title'] }} @else {{ $feature['title'] }} @endif
{{ $feature['title'] }}
{{ strlen($feature['description']) > 70 ? substr($feature['description'], 0, 70) . '...' : $feature['description'] }}
@endif @endforeach @foreach ($frontend_general_settings['features'] as $index => $feature) @if ($index >= 0 && $index < 5)
@if (!empty($feature['icon'])) {{ $feature['title'] }} @else {{ $feature['title'] }} @endif
{{ $feature['title'] }}
{{ strlen($feature['description']) > 70 ? substr($feature['description'], 0, 70) . '...' : $feature['description'] }}
@endif @endforeach
@foreach ($frontend_general_settings['features'] as $index => $feature) @if ($index >= 5 && $index < 10)
@if (!empty($feature['icon'])) {{ $feature['title'] }} @else {{ $feature['title'] }} @endif
{{ $feature['title'] }}
{{ strlen($feature['description']) > 70 ? substr($feature['description'], 0, 70) . '...' : $feature['description'] }}
@endif @endforeach @foreach ($frontend_general_settings['features'] as $index => $feature) @if ($index >= 5 && $index < 10)
@if (!empty($feature['icon'])) {{ $feature['title'] }} @else {{ $feature['title'] }} @endif
{{ $feature['title'] }}
{{ strlen($feature['description']) > 70 ? substr($feature['description'], 0, 70) . '...' : $feature['description'] }}
@endif @endforeach
@foreach ($frontend_general_settings['features'] as $index => $feature) @if ($index >= 10 && $index < 15)
@if (!empty($feature['icon'])) {{ $feature['title'] }} @else {{ $feature['title'] }} @endif
{{ $feature['title'] }}
{{ strlen($feature['description']) > 70 ? substr($feature['description'], 0, 70) . '...' : $feature['description'] }}
@endif @endforeach @foreach ($frontend_general_settings['features'] as $index => $feature) @if ($index >= 10 && $index < 15)
@if (!empty($feature['icon'])) {{ $feature['title'] }} @else {{ $feature['title'] }} @endif
{{ $feature['title'] }}
{{ strlen($feature['description']) > 70 ? substr($feature['description'], 0, 70) . '...' : $feature['description'] }}
@endif @endforeach
@else
No features available.
@endif
@if (count($plans) > 0)
pattern-lines
{{ get_label('pricing_plans', 'Pricing Plans') }}

{{get_label('you_have_free','You Have Free')}} {{get_label('unlimited_updates','Unlimited Updates And')}}
{{get_label('premium_support','Premium Support')}}
{{get_label('on_each_package','On Each Package.')}}

{{get_label('explore_more_plans','explore more plans')}}
@if ($plans !== null)
@php // Check if there are plans with prices for each frequency or free plans $hasMonthlyPlans = $plans->where('monthly_price', '>', 0)->count() > 0 || $plans->where('plan_type', 'free')->count() > 0; $hasYearlyPlans = $plans->where('yearly_price', '>', 0)->count() > 0 || $plans->where('plan_type', 'free')->count() > 0; $hasLifetimePlans = $plans->where('lifetime_price', '>', 0)->count() > 0 || $plans->where('plan_type', 'free')->count() > 0; // Count how many tabs we have $tabCount = ($hasMonthlyPlans ? 1 : 0) + ($hasYearlyPlans ? 1 : 0) + ($hasLifetimePlans ? 1 : 0); // Set default active tab $activeTab = $hasMonthlyPlans ? 'monthly' : ($hasYearlyPlans ? 'yearly' : 'lifetime'); @endphp @if ($tabCount > 1)
@endif
@if ($hasMonthlyPlans)
@foreach ($plans->where('monthly_price', '>', 0)->merge($plans->where('plan_type', 'free'))->sortBy(function ($plan) { return $plan->plan_type === 'free' ? 0 : 1; })->unique('id') as $index => $plan) @php $gradientIndex = $index % 3; @endphp
{{ $plan->name }}

@if ($plan->monthly_discounted_price > 0 && $plan->monthly_discounted_price < $plan->monthly_price) {{ format_currency($plan->monthly_price) }} {{ format_currency($plan->monthly_discounted_price) }} / {{ get_label('monthly_price', 'Monthly Price') }} @else {{ format_currency($plan->monthly_price) }} / {{ get_label('monthly_price', 'Monthly Price') }} @endif

{{ $plan->description }}

@php $gradientIndex = $index % 3; @endphp @if ($plan->monthly_price == 0) {{ get_label('buy_now', 'Buy now') }} @else {{ get_label('buy_now', 'Buy now') }} @endif

  • {{ get_label('max_projects', 'Max Projects') }}: {!! $plan->max_projects == -1 ? 'Unlimited' : '' . $plan->max_projects . '' !!}
  • {{ get_label('max_clients', 'Max Clients') }}: {!! $plan->max_clients == -1 ? 'Unlimited' : '' . $plan->max_clients . '' !!}
  • {{ get_label('max_team_members', 'Max Team Members') }}: {!! $plan->max_team_members == -1 ? 'Unlimited' : '' . $plan->max_team_members . '' !!}
  • {{ get_label('max_workspaces', 'Max Workspaces') }}: {!! $plan->max_worksapces == -1 ? 'Unlimited' : '' . $plan->max_worksapces . '' !!}
  • @if ($plan->modules)
  • {{ get_label('modules', 'Modules') }}
      @php $modules = json_decode($plan->modules); $checkedModules = []; $uncheckedModules = []; foreach (config('taskify.modules') as $moduleName => $moduleData) { $included = in_array($moduleName, $modules); if ($included) { $checkedModules[] = [ 'name' => $moduleName, 'icon' => $moduleData['icon'], 'included' => true, ]; } else { $uncheckedModules[] = [ 'name' => $moduleName, 'icon' => $moduleData['icon'], 'included' => false, ]; } } $sortedModules = array_merge($checkedModules, $uncheckedModules); @endphp @foreach ($sortedModules as $module) @php $iconClass = $module['included'] ? 'fa-check' : 'fa-times text-danger'; $iconColorClass = $module['included'] ? "module-icon-included-monthly-{$gradientIndex}" : 'module-icon-excluded'; @endphp
    • {{ ucfirst($module['name']) }}
    • @endforeach
  • @endif
@endforeach
@endif @if ($hasYearlyPlans)
@foreach ($plans->where('yearly_price', '>', 0)->merge($plans->where('plan_type', 'free'))->sortBy(function ($plan) { return $plan->plan_type === 'free' ? 0 : 1; })->unique('id') as $index => $plan) @php $gradientIndex = $index % 3; @endphp
{{ $plan->name }}

@if ($plan->yearly_discounted_price > 0 && $plan->yearly_discounted_price < $plan->yearly_price) {{ format_currency($plan->yearly_price) }} {{ format_currency($plan->yearly_discounted_price) }} / {{ get_label('yearly_price', 'Yearly Price') }} @else {{ format_currency($plan->yearly_price) }} / {{ get_label('yearly_price', 'Yearly Price') }} @endif

{{ $plan->description }}

@php $gradientIndex = $index % 3; @endphp @if ($plan->monthly_price == 0) {{ get_label('buy_now', 'Buy now') }} @else {{ get_label('buy_now', 'Buy now') }} @endif

  • {{ get_label('max_projects', 'Max Projects') }}: {!! $plan->max_projects == -1 ? 'Unlimited' : '' . $plan->max_projects . '' !!}
  • {{ get_label('max_clients', 'Max Clients') }}: {!! $plan->max_clients == -1 ? 'Unlimited' : '' . $plan->max_clients . '' !!}
  • {{ get_label('max_team_members', 'Max Team Members') }}: {!! $plan->max_team_members == -1 ? 'Unlimited' : '' . $plan->max_team_members . '' !!}
  • {{ get_label('max_workspaces', 'Max Workspaces') }}: {!! $plan->max_worksapces == -1 ? 'Unlimited' : '' . $plan->max_worksapces . '' !!}
  • @if ($plan->modules)
  • {{ get_label('modules', 'Modules') }}
      @php $modules = json_decode($plan->modules); $checkedModules = []; $uncheckedModules = []; foreach (config('taskify.modules') as $moduleName => $moduleData) { $included = in_array($moduleName, $modules); if ($included) { $checkedModules[] = [ 'name' => $moduleName, 'icon' => $moduleData['icon'], 'included' => true, ]; } else { $uncheckedModules[] = [ 'name' => $moduleName, 'icon' => $moduleData['icon'], 'included' => false, ]; } } $sortedModules = array_merge($checkedModules, $uncheckedModules); @endphp @foreach ($sortedModules as $module) @php $iconClass = $module['included'] ? 'fa-check' : 'fa-times text-danger'; $iconColorClass = $module['included'] ? "module-icon-included-yearly-{$gradientIndex}" : 'module-icon-excluded'; @endphp
    • {{ ucfirst($module['name']) }}
    • @endforeach
  • @endif
@endforeach
@endif @if ($hasLifetimePlans)
@foreach ($plans->where('lifetime_price', '>', 0)->merge($plans->where('plan_type', 'free'))->sortBy(function ($plan) { return $plan->plan_type === 'free' ? 0 : 1; })->unique('id') as $index => $plan) @php $gradientIndex = $index % 3; @endphp
{{ $plan->name }}

@if ($plan->lifetime_discounted_price > 0 && $plan->lifetime_discounted_price < $plan->lifetime_price) {{ format_currency($plan->lifetime_price) }} {{ format_currency($plan->lifetime_discounted_price) }} / {{ get_label('lifetime_price', 'Lifetime Price') }} @else {{ format_currency($plan->lifetime_price) }} / {{ get_label('lifetime_price', 'Lifetime Price') }} @endif

{{ $plan->description }}

@php $gradientIndex = $index % 3; @endphp @if ($plan->monthly_price == 0) {{ get_label('buy_now', 'Buy now') }} @else {{ get_label('buy_now', 'Buy now') }} @endif

  • {{ get_label('max_projects', 'Max Projects') }}: {!! $plan->max_projects == -1 ? 'Unlimited' : '' . $plan->max_projects . '' !!}
  • {{ get_label('max_clients', 'Max Clients') }}: {!! $plan->max_clients == -1 ? 'Unlimited' : '' . $plan->max_clients . '' !!}
  • {{ get_label('max_team_members', 'Max Team Members') }}: {!! $plan->max_team_members == -1 ? 'Unlimited' : '' . $plan->max_team_members . '' !!}
  • {{ get_label('max_workspaces', 'Max Workspaces') }}: {!! $plan->max_worksapces == -1 ? 'Unlimited' : '' . $plan->max_worksapces . '' !!}
  • @if ($plan->modules)
  • {{ get_label('modules', 'Modules') }}
      @php $modules = json_decode($plan->modules); $checkedModules = []; $uncheckedModules = []; foreach (config('taskify.modules') as $moduleName => $moduleData) { $included = in_array($moduleName, $modules); if ($included) { $checkedModules[] = [ 'name' => $moduleName, 'icon' => $moduleData['icon'], 'included' => true, ]; } else { $uncheckedModules[] = [ 'name' => $moduleName, 'icon' => $moduleData['icon'], 'included' => false, ]; } } $sortedModules = array_merge($checkedModules, $uncheckedModules); @endphp @foreach ($sortedModules as $module) @php $iconClass = $module['included'] ? 'fa-check' : 'fa-times text-danger'; $iconColorClass = $module['included'] ? "module-icon-included-lifetime-{$gradientIndex}" : 'module-icon-excluded'; @endphp
    • {{ ucfirst($module['name']) }}
    • @endforeach
  • @endif
@endforeach
@endif @if (!$hasMonthlyPlans && !$hasYearlyPlans && !$hasLifetimePlans)
{{ get_label('no_plans_available', 'No Plans Available') }}
@endif
@else
{{ get_label('no_plans_available', 'No Plans Available') }}
@endif
@endif

{{ get_label('about_us', 'About Us') }}

{{get_label('simplifying','Simplifying')}} {{get_label('project','Project')}} &
{{get_label('task','Task')}}
{{get_label('management','Management')}}

@php // Define your features as an array. You can load these from config or the DB as needed. $features = [ [ 'icon' => '', 'image' => '/assets/front-end/img/icons/manage_project.svg', 'title' => !empty($frontend_general_settings['info_about_us_card1_title']) ? $frontend_general_settings['info_about_us_card1_title'] : get_label('manage_projects_efficiently', 'Manage Projects Efficiently'), 'description' => !empty($frontend_general_settings['info_about_us_card1_description']) ? $frontend_general_settings['info_about_us_card1_description'] : get_label('simplify_workflow', 'Simplify your workflow with powerful tools to organize tasks, collaborate in real-time, and track progress — all in one place.') ], [ 'icon' => '', 'image' => '/assets/front-end/img/icons/assign.svg', 'title' => !empty($frontend_general_settings['info_about_us_card2_title']) ? $frontend_general_settings['info_about_us_card2_title'] : get_label('assign_and_monitor_tasks', 'Assign and Monitor Tasks'), 'description' => !empty($frontend_general_settings['info_about_us_card2_description']) ? $frontend_general_settings['info_about_us_card2_description'] : get_label('assign_track_and_team_members', 'Easily assign tasks to team members, set priorities, and track progress in real-time to ensure nothing falls through the cracks.') ], [ 'icon' => '', 'image' => '/assets/front-end/img/icons/collaboration.svg', 'title' => !empty($frontend_general_settings['info_about_us_card3_title']) ? $frontend_general_settings['info_about_us_card3_title'] : get_label('enhance_collaboration','Enhance Collaboration'), 'description' => !empty($frontend_general_settings['info_about_us_card3_description']) ? $frontend_general_settings['info_about_us_card3_description'] : get_label('seamless_collaboration_for_team_success','Connect your team with real-time communication, shared tasks, and seamless file sharing to boost teamwork and productivity.') ] ]; @endphp @foreach($features as $feature)
{!! $feature['icon'] !!} {{-- {{ $feature['title'] }} --}}

{{ $feature['title'] }}

{{ $feature['description'] }}

@endforeach