@extends('layouts.front.home') @section('title') {{ app()->getLocale() === 'ar' ? 'الشروط والأحكام' : 'Terms and Conditions' }} @endsection @section('css') @endsection @section('content')
{{ app()->getLocale() === 'ar' ? 'الصفحات القانونية' : 'Legal Pages' }}

{{ app()->getLocale() === 'ar' ? 'الشروط والأحكام' : 'Terms and Conditions' }}

{{ app()->getLocale() === 'ar' ? 'توضح هذه الصفحة الشروط التي تحكم استخدام موقع هيما والخدمات المرتبطة به.' : 'This page explains the terms governing the use of the Hema website and related services.' }}

{{ app()->getLocale() === 'ar' ? 'بنود الشروط والأحكام' : 'Terms Items' }}

{{ app()->getLocale() === 'ar' ? 'يمكن لمزود الدفع مراجعة هذه الصفحة مباشرة عبر الرابط العام في الموقع.' : 'Payment providers can review this page directly through the public website link.' }}

@if($info?->updated_at) {{ app()->getLocale() === 'ar' ? 'آخر تحديث' : 'Last updated' }}: {{ $info->updated_at->format('Y-m-d') }} @endif
@forelse($terms as $index => $term)
{{ $index + 1 }}

{{ $term['head'] ?? ($term->head ?? '') }}

{{ $term['body'] ?? ($term->body ?? '') }}

@empty
{{ app()->getLocale() === 'ar' ? 'لم يتم إضافة بنود الشروط والأحكام بعد.' : 'No terms and conditions items have been added yet.' }}
@endforelse
@endsection @section('script') @endsection