@extends('front.layout')
@section('meta-keywords', !empty($seo) ? $seo->about_meta_keywords : '')
@section('meta-description', !empty($seo) ? $seo->about_meta_description : '')
@php
$additional_section_status = json_decode($bs->about_additional_section_status ?? '{}', true) ?? [];
@endphp
@section('pagename')
- {{ __('About') }}
@endsection
@section('breadcrumb-title')
{{ __('About') }}
@endsection
@section('breadcrumb-link')
{{ __('About') }}
@endsection
@section('styles')
@endsection
@section('content')
{{ !empty(@$homeSec->about_hero_badge) ? @$homeSec->about_hero_badge : __('Our Story') }}
{!! !empty(@$homeSec->about_hero_title) ? @$homeSec->about_hero_title : __('Building the Future of') . ' ' . __('eCommerce') . ' ' !!}
{{ !empty(@$homeSec->about_hero_subtitle) ? @$homeSec->about_hero_subtitle : __('We empower entrepreneurs worldwide with state-of-the-art tools, high-conversion storefront templates, and lightning-fast web infrastructure to launch and scale their dream stores instantly.') }}
@if(!empty(@$homeSec->about_hero_btn_text))
@endif
@if ($bs->about_features_section_status == 1)
{{ !empty(@$homeSec->features_section_title) ? @$homeSec->features_section_title : __("WHY TO CHOOSE OUR TEMPLATE") }}
{{ !empty($homeSec->features_section_subtitle) ? $homeSec->features_section_subtitle : __("Bring More Profit With More Features") }}
{{ !empty($homeSec->features_section_text) ? $homeSec->features_section_text : __("With our platform, you get powerful tools, seamless integrations, and top-notch support to grow your business. We offer reliable performance, user-friendly features, and the flexibility to scale as you do. Choose us for a partner in your success.") }}
@foreach ($features as $feature)
@php
$title_lower = strtolower($feature->title);
if (str_contains($title_lower, 'dashboard') || str_contains($title_lower, 'easy') || str_contains($title_lower, 'panel') || str_contains($title_lower, 'board') || str_contains($title_lower, 'interface')) {
$fa_icon = 'fas fa-tachometer-alt';
} elseif (str_contains($title_lower, 'payment') || str_contains($title_lower, 'secure') || str_contains($title_lower, 'pay') || str_contains($title_lower, 'security') || str_contains($title_lower, 'safe')) {
$fa_icon = 'fas fa-shield-alt';
} elseif (str_contains($title_lower, 'growth') || str_contains($title_lower, 'scalab') || str_contains($title_lower, 'scale') || str_contains($title_lower, 'grow') || str_contains($title_lower, 'chart')) {
$fa_icon = 'fas fa-chart-line';
} elseif (str_contains($title_lower, 'support') || str_contains($title_lower, '24') || str_contains($title_lower, 'help') || str_contains($title_lower, 'customer') || str_contains($title_lower, 'chat')) {
$fa_icon = 'fas fa-headset';
} else {
$fa_icon = 'fas fa-star';
}
@endphp
{{ $feature->title }}
{{ $feature->text }}
@endforeach
@endif
@if (count($after_features) > 0)
@foreach ($after_features as $cusFeatures)
@if (isset($additional_section_status[$cusFeatures->id]))
@if ($additional_section_status[$cusFeatures->id] == 1)
@php
$cusFeaturesContent = App\Models\AdditionalSectionContent::where([
['language_id', $lang_id],
['addition_section_id', $cusFeatures->id],
])->first();
@endphp
@includeIf('front.additional-section', [
'data' => $cusFeaturesContent,
'possition' => $cusFeatures->possition,
]);
@endif
@endif
@endforeach
@endif
@if ($bs->about_work_process_section_status == 1)
{{ __('Simple Workflow') }}
{{ @$homeSec->work_process_section_title }}
@foreach ($processes as $index => $process)
{{ sprintf("%02d", $index + 1) }}
{{ $process->title }}
{{ $process->text }}
@endforeach
@endif
@if (count($after_work_process) > 0)
@foreach ($after_work_process as $cusWorkProcess)
@if (isset($additional_section_status[$cusWorkProcess->id]))
@if ($additional_section_status[$cusWorkProcess->id] == 1)
@php
$cusWorkProcessContent = App\Models\AdditionalSectionContent::where([
['language_id', $lang_id],
['addition_section_id', $cusWorkProcess->id],
])->first();
@endphp
@includeIf('front.additional-section', [
'data' => $cusWorkProcessContent,
'possition' => $cusWorkProcess->possition,
]);
@endif
@endif
@endforeach
@endif
@if ($bs->about_counter_section_status == 1)
{{ __('Our Impact') }}
{{ @$counterSection->title }}
{{ @$counterSection->text }}
@foreach ($counters as $counter)
@php
$hex = str_replace('#', '', $counter->color);
if(strlen($hex) == 3) {
$hex = $hex[0].$hex[0].$hex[1].$hex[1].$hex[2].$hex[2];
}
$r = hexdec(substr($hex, 0, 2)) ?: 0;
$g = hexdec(substr($hex, 2, 2)) ?: 0;
$b = hexdec(substr($hex, 4, 2)) ?: 0;
// Calculate contrast ratio (YIQ)
$yiq = (($r * 299) + ($g * 587) + ($b * 114)) / 1000;
if ($yiq > 200) {
// Pastel light colors (defaults) - pair with rich deep text and matching borders
if (strtolower($hex) == 'f1f7ff') {
$numColor = '#2563eb'; // Royal Blue
$borderColor = 'rgba(37, 99, 235, 0.18)';
$cardBg = '#f5f9ff';
} elseif (strtolower($hex) == 'fff9f1') {
$numColor = '#d97706'; // Warm Amber/Orange
$borderColor = 'rgba(217, 119, 6, 0.18)';
$cardBg = '#fffaf4';
} elseif (strtolower($hex) == 'f4f1ff') {
$numColor = '#7c3aed'; // Purple
$borderColor = 'rgba(124, 58, 237, 0.18)';
$cardBg = '#faf7ff';
} elseif (strtolower($hex) == 'ecffff') {
$numColor = '#0d9488'; // Teal
$borderColor = 'rgba(13, 148, 136, 0.18)';
$cardBg = '#f2ffff';
} else {
$numColor = '#ff5a2c'; // Accent Orange
$borderColor = 'rgba(' . $r . ',' . $g . ',' . $b . ', 0.35)';
$cardBg = '#' . $hex;
}
$titleColor = '#475569';
} else {
// Dark / vibrant background - pair with high contrast white text
$numColor = '#ffffff';
$borderColor = 'rgba(255, 255, 255, 0.25)';
$cardBg = '#' . $hex;
$titleColor = 'rgba(255, 255, 255, 0.85)';
}
@endphp
@endforeach
@endif
@if (count($after_counter) > 0)
@foreach ($after_counter as $cusCounter)
@if (isset($additional_section_status[$cusCounter->id]))
@if ($additional_section_status[$cusCounter->id] == 1)
@php
$cusCounterContent = App\Models\AdditionalSectionContent::where([
['language_id', $lang_id],
['addition_section_id', $cusCounter->id],
])->first();
@endphp
@includeIf('front.additional-section', [
'data' => $cusCounterContent,
'possition' => $cusCounter->possition,
]);
@endif
@endif
@endforeach
@endif
{{-- Success Stories / Testimonials removed per user request --}}
@if (count($after_testimonial) > 0)
@foreach ($after_testimonial as $cusTestimonial)
@if (isset($additional_section_status[$cusTestimonial->id]))
@if ($additional_section_status[$cusTestimonial->id] == 1)
@php
$cusTestimonialContent = App\Models\AdditionalSectionContent::where([
['language_id', $lang_id],
['addition_section_id', $cusTestimonial->id],
])->first();
@endphp
@includeIf('front.additional-section', [
'data' => $cusTestimonialContent,
'possition' => $cusTestimonial->possition,
]);
@endif
@endif
@endforeach
@endif
@if ($bs->about_blog_section_status == 1)
{{ __('Resources') }}
@if (!empty(@$homeSec->blog_section_title))
{{ @$homeSec->blog_section_title }}
@endif
@foreach ($blogs as $blog)
{{ $blog->bcategory->name }}
{{ __('Admin') }}
{{ \Carbon\Carbon::parse($blog->created_at)->format('F j, Y') }}
{!! substr(strip_tags($blog->content), 0, 110) !!}...
{{ __('Read More') }}
@endforeach
@endif
@if (count($after_blog) > 0)
@foreach ($after_blog as $cusBlog)
@if (isset($additional_section_status[$cusBlog->id]))
@if ($additional_section_status[$cusBlog->id] == 1)
@php
$cusBlogContent = App\Models\AdditionalSectionContent::where([
['language_id', $lang_id],
['addition_section_id', $cusBlog->id],
])->first();
@endphp
@includeIf('front.additional-section', [
'data' => $cusBlogContent,
'possition' => $cusBlog->possition,
]);
@endif
@endif
@endforeach
@endif
@include('front.partials.bottom_cta', ['page' => 'about'])
@endsection
@section('scripts')
@endsection