removed dark mod and applied fixes for text colors
This commit is contained in:
@@ -39,66 +39,66 @@ new class extends Component
|
||||
</div>
|
||||
|
||||
{{-- Profile Information Card --}}
|
||||
<div class="mt-6 rounded-lg border border-zinc-200 bg-white p-6 shadow-sm dark:border-zinc-700 dark:bg-zinc-900">
|
||||
<div class="mt-6 rounded-lg border border-zinc-200 bg-white p-6 shadow-sm">
|
||||
@if ($isIndividual)
|
||||
<dl class="space-y-4">
|
||||
<div>
|
||||
<dt class="text-sm text-zinc-500 dark:text-zinc-400">{{ __('profile.full_name') }}</dt>
|
||||
<dt class="text-sm text-zinc-500">{{ __('profile.full_name') }}</dt>
|
||||
<dd class="text-lg font-medium">{{ $user->full_name }}</dd>
|
||||
</div>
|
||||
<div>
|
||||
<dt class="text-sm text-zinc-500 dark:text-zinc-400">{{ __('profile.national_id') }}</dt>
|
||||
<dt class="text-sm text-zinc-500">{{ __('profile.national_id') }}</dt>
|
||||
<dd>{{ $user->national_id }}</dd>
|
||||
</div>
|
||||
<div>
|
||||
<dt class="text-sm text-zinc-500 dark:text-zinc-400">{{ __('profile.email') }}</dt>
|
||||
<dt class="text-sm text-zinc-500">{{ __('profile.email') }}</dt>
|
||||
<dd>{{ $user->email }}</dd>
|
||||
</div>
|
||||
<div>
|
||||
<dt class="text-sm text-zinc-500 dark:text-zinc-400">{{ __('profile.phone') }}</dt>
|
||||
<dt class="text-sm text-zinc-500">{{ __('profile.phone') }}</dt>
|
||||
<dd>{{ $user->phone }}</dd>
|
||||
</div>
|
||||
<div>
|
||||
<dt class="text-sm text-zinc-500 dark:text-zinc-400">{{ __('profile.preferred_language') }}</dt>
|
||||
<dt class="text-sm text-zinc-500">{{ __('profile.preferred_language') }}</dt>
|
||||
<dd>{{ $user->preferred_language === 'ar' ? __('profile.arabic') : __('profile.english') }}</dd>
|
||||
</div>
|
||||
<div>
|
||||
<dt class="text-sm text-zinc-500 dark:text-zinc-400">{{ __('profile.member_since') }}</dt>
|
||||
<dt class="text-sm text-zinc-500">{{ __('profile.member_since') }}</dt>
|
||||
<dd>{{ $user->created_at->translatedFormat(app()->getLocale() === 'ar' ? 'j F Y' : 'F j, Y') }}</dd>
|
||||
</div>
|
||||
</dl>
|
||||
@else
|
||||
<dl class="space-y-4">
|
||||
<div>
|
||||
<dt class="text-sm text-zinc-500 dark:text-zinc-400">{{ __('profile.company_name') }}</dt>
|
||||
<dt class="text-sm text-zinc-500">{{ __('profile.company_name') }}</dt>
|
||||
<dd class="text-lg font-medium">{{ $user->company_name }}</dd>
|
||||
</div>
|
||||
<div>
|
||||
<dt class="text-sm text-zinc-500 dark:text-zinc-400">{{ __('profile.registration_number') }}</dt>
|
||||
<dt class="text-sm text-zinc-500">{{ __('profile.registration_number') }}</dt>
|
||||
<dd>{{ $user->company_cert_number }}</dd>
|
||||
</div>
|
||||
<div>
|
||||
<dt class="text-sm text-zinc-500 dark:text-zinc-400">{{ __('profile.contact_person') }}</dt>
|
||||
<dt class="text-sm text-zinc-500">{{ __('profile.contact_person') }}</dt>
|
||||
<dd>{{ $user->contact_person_name }}</dd>
|
||||
</div>
|
||||
<div>
|
||||
<dt class="text-sm text-zinc-500 dark:text-zinc-400">{{ __('profile.contact_person_id') }}</dt>
|
||||
<dt class="text-sm text-zinc-500">{{ __('profile.contact_person_id') }}</dt>
|
||||
<dd>{{ $user->contact_person_id }}</dd>
|
||||
</div>
|
||||
<div>
|
||||
<dt class="text-sm text-zinc-500 dark:text-zinc-400">{{ __('profile.email') }}</dt>
|
||||
<dt class="text-sm text-zinc-500">{{ __('profile.email') }}</dt>
|
||||
<dd>{{ $user->email }}</dd>
|
||||
</div>
|
||||
<div>
|
||||
<dt class="text-sm text-zinc-500 dark:text-zinc-400">{{ __('profile.phone') }}</dt>
|
||||
<dt class="text-sm text-zinc-500">{{ __('profile.phone') }}</dt>
|
||||
<dd>{{ $user->phone }}</dd>
|
||||
</div>
|
||||
<div>
|
||||
<dt class="text-sm text-zinc-500 dark:text-zinc-400">{{ __('profile.preferred_language') }}</dt>
|
||||
<dt class="text-sm text-zinc-500">{{ __('profile.preferred_language') }}</dt>
|
||||
<dd>{{ $user->preferred_language === 'ar' ? __('profile.arabic') : __('profile.english') }}</dd>
|
||||
</div>
|
||||
<div>
|
||||
<dt class="text-sm text-zinc-500 dark:text-zinc-400">{{ __('profile.member_since') }}</dt>
|
||||
<dt class="text-sm text-zinc-500">{{ __('profile.member_since') }}</dt>
|
||||
<dd>{{ $user->created_at->translatedFormat(app()->getLocale() === 'ar' ? 'j F Y' : 'F j, Y') }}</dd>
|
||||
</div>
|
||||
</dl>
|
||||
|
||||
Reference in New Issue
Block a user