fixed servicies in home page

This commit is contained in:
Naser Mansour 2026-01-11 21:11:58 +02:00
parent ceb2985f16
commit 4c992c01f5
3 changed files with 132 additions and 54 deletions

View File

@ -15,27 +15,37 @@ return [
// Services Section // Services Section
'services_title' => 'خدماتنا', 'services_title' => 'خدماتنا',
'services_subtitle' => 'حلول قانونية شاملة للأفراد والشركات', 'services_subtitle' => 'حلول قانونية شاملة للأفراد والشركات',
'services' => [
'consultations' => [ 'service_consultation_title' => 'الاستشارات والتمثيل القانوني',
'icon' => 'chat-bubble-left-right', 'service_consultation_items' => [
'title' => 'الاستشارات القانونية', 'الاستشارات القانونية',
'description' => 'استشارات قانونية متخصصة مصممة وفقاً لوضعك واحتياجاتك.', 'التمثيل أمام المحاكم',
'إدارة التقاضي',
'المذكرات والاستئناف',
], ],
'representation' => [
'icon' => 'scale', 'service_family_title' => 'قانون المرأة والأسرة',
'title' => 'التمثيل أمام المحاكم', 'service_family_items' => [
'description' => 'تمثيل احترافي أمام المحاكم والهيئات القضائية في جميع المراحل.', 'إجراءات الطلاق',
'قضايا النفقة',
'حضانة الأطفال',
'الحماية من العنف',
], ],
'litigation' => [
'icon' => 'document-text', 'service_civil_title' => 'النزاعات المدنية والتجارية',
'title' => 'إدارة الدعاوى', 'service_civil_items' => [
'description' => 'إدارة كاملة للقضايا من اللوائح والمذكرات إلى الاستئنافات.', 'قضايا الشراكة',
], 'المطالبات المالية',
'contracts' => [ 'النزاعات المدنية',
'icon' => 'pencil-square', 'التقاضي التجاري',
'title' => 'خدمات العقود',
'description' => 'صياغة ومراجعة العقود والامتثال القانوني لجميع احتياجاتكم التعاقدية.',
], ],
'service_business_title' => 'الخدمات القانونية للأعمال',
'service_business_items' => [
'صياغة ومراجعة العقود',
'الحوكمة والامتثال',
'التحكيم',
'الحل البديل للنزاعات',
], ],
// Values Section // Values Section

View File

@ -15,27 +15,37 @@ return [
// Services Section // Services Section
'services_title' => 'Our Services', 'services_title' => 'Our Services',
'services_subtitle' => 'Comprehensive legal solutions for individuals and businesses', 'services_subtitle' => 'Comprehensive legal solutions for individuals and businesses',
'services' => [
'consultations' => [ 'service_consultation_title' => 'Legal Consultations & Representation',
'icon' => 'chat-bubble-left-right', 'service_consultation_items' => [
'title' => 'Legal Consultations', 'Legal advice',
'description' => 'Expert legal advice tailored to your specific situation and needs.', 'Court representation',
'Litigation management',
'Pleadings & appeals',
], ],
'representation' => [
'icon' => 'scale', 'service_family_title' => 'Women\'s & Family Law',
'title' => 'Court Representation', 'service_family_items' => [
'description' => 'Professional representation before courts and judicial bodies at all stages.', 'Divorce proceedings',
'Alimony cases',
'Child custody',
'Protection from violence',
], ],
'litigation' => [
'icon' => 'document-text', 'service_civil_title' => 'Civil & Commercial Disputes',
'title' => 'Litigation Management', 'service_civil_items' => [
'description' => 'Complete case management from pleadings and memoranda to appeals.', 'Partnership cases',
], 'Financial claims',
'contracts' => [ 'Civil disputes',
'icon' => 'pencil-square', 'Commercial litigation',
'title' => 'Contract Services',
'description' => 'Drafting, review, and legal compliance for all your contractual needs.',
], ],
'service_business_title' => 'Business Legal Services',
'service_business_items' => [
'Contract drafting & review',
'Governance & compliance',
'Arbitration',
'Alternative dispute resolution',
], ],
// Values Section // Values Section

View File

@ -89,19 +89,77 @@ new #[Layout('components.layouts.public')] class extends Component
</div> </div>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6"> <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6">
@foreach(['consultations', 'representation', 'litigation', 'contracts'] as $service) {{-- Legal Consultations & Representation --}}
<div class="bg-card p-6 rounded-lg shadow-card text-center"> <div class="bg-card p-6 rounded-lg shadow-card text-center">
<div class="text-cta mb-4"> <div class="text-cta mb-4">
<flux:icon name="{{ __('home.services.' . $service . '.icon') }}" class="w-12 h-12 mx-auto" /> <flux:icon name="scale" class="w-12 h-12 mx-auto" />
</div> </div>
<h3 class="text-lg font-bold text-text mb-2"> <h3 class="text-lg font-bold text-text mb-4">
{{ __('home.services.' . $service . '.title') }} {{ __('home.service_consultation_title') }}
</h3> </h3>
<p class="text-body text-sm"> <ul class="text-sm text-body space-y-2 text-start">
{{ __('home.services.' . $service . '.description') }} @foreach(__('home.service_consultation_items') as $item)
</p> <li class="flex items-center gap-2">
</div> <span class="w-1.5 h-1.5 bg-cta rounded-full flex-shrink-0"></span>
{{ $item }}
</li>
@endforeach @endforeach
</ul>
</div>
{{-- Women's & Family Law --}}
<div class="bg-card p-6 rounded-lg shadow-card text-center">
<div class="text-cta mb-4">
<flux:icon name="heart" class="w-12 h-12 mx-auto" />
</div>
<h3 class="text-lg font-bold text-text mb-4">
{{ __('home.service_family_title') }}
</h3>
<ul class="text-sm text-body space-y-2 text-start">
@foreach(__('home.service_family_items') as $item)
<li class="flex items-center gap-2">
<span class="w-1.5 h-1.5 bg-cta rounded-full flex-shrink-0"></span>
{{ $item }}
</li>
@endforeach
</ul>
</div>
{{-- Civil & Commercial Disputes --}}
<div class="bg-card p-6 rounded-lg shadow-card text-center">
<div class="text-cta mb-4">
<flux:icon name="building-office" class="w-12 h-12 mx-auto" />
</div>
<h3 class="text-lg font-bold text-text mb-4">
{{ __('home.service_civil_title') }}
</h3>
<ul class="text-sm text-body space-y-2 text-start">
@foreach(__('home.service_civil_items') as $item)
<li class="flex items-center gap-2">
<span class="w-1.5 h-1.5 bg-cta rounded-full flex-shrink-0"></span>
{{ $item }}
</li>
@endforeach
</ul>
</div>
{{-- Business Legal Services --}}
<div class="bg-card p-6 rounded-lg shadow-card text-center">
<div class="text-cta mb-4">
<flux:icon name="briefcase" class="w-12 h-12 mx-auto" />
</div>
<h3 class="text-lg font-bold text-text mb-4">
{{ __('home.service_business_title') }}
</h3>
<ul class="text-sm text-body space-y-2 text-start">
@foreach(__('home.service_business_items') as $item)
<li class="flex items-center gap-2">
<span class="w-1.5 h-1.5 bg-cta rounded-full flex-shrink-0"></span>
{{ $item }}
</li>
@endforeach
</ul>
</div>
</div> </div>
</div> </div>
</section> </section>