removed dark mod and applied fixes for text colors
This commit is contained in:
@@ -27,21 +27,21 @@ new class extends Component
|
||||
</div>
|
||||
|
||||
@forelse ($pendingBookings as $booking)
|
||||
<div wire:key="pending-{{ $booking->id }}" class="border-b border-zinc-100 py-2 last:border-0 dark:border-zinc-700">
|
||||
<div class="font-medium text-zinc-900 dark:text-zinc-100">{{ $booking->user?->full_name ?? __('widgets.unknown_client') }}</div>
|
||||
<div class="flex items-center gap-2 text-sm text-zinc-500 dark:text-zinc-400">
|
||||
<div wire:key="pending-{{ $booking->id }}" class="border-b border-zinc-100 py-2 last:border-0">
|
||||
<div class="font-medium text-zinc-900">{{ $booking->user?->full_name ?? __('widgets.unknown_client') }}</div>
|
||||
<div class="flex items-center gap-2 text-sm text-zinc-500">
|
||||
<span>{{ $booking->booking_date->translatedFormat('M j') }}</span>
|
||||
<flux:badge size="sm">{{ $booking->consultation_type->label() }}</flux:badge>
|
||||
</div>
|
||||
</div>
|
||||
@empty
|
||||
<flux:text class="text-zinc-500 dark:text-zinc-400">{{ __('widgets.no_pending_bookings') }}</flux:text>
|
||||
<flux:text class="text-zinc-500">{{ __('widgets.no_pending_bookings') }}</flux:text>
|
||||
@endforelse
|
||||
|
||||
@if ($pendingCount > 5)
|
||||
<a
|
||||
href="{{ route('admin.bookings.pending') }}"
|
||||
class="mt-4 block text-sm text-blue-600 hover:underline dark:text-blue-400"
|
||||
class="mt-4 block text-sm text-blue-600 hover:underline"
|
||||
wire:navigate
|
||||
>
|
||||
{{ __('widgets.view_all_pending', ['count' => $pendingCount]) }}
|
||||
|
||||
@@ -24,22 +24,22 @@ new class extends Component
|
||||
<a
|
||||
wire:key="update-{{ $update->id }}"
|
||||
href="{{ route('admin.timelines.show', $update->timeline_id) }}"
|
||||
class="block border-b border-zinc-100 py-2 last:border-0 hover:bg-zinc-50 dark:border-zinc-700 dark:hover:bg-zinc-700/50"
|
||||
class="block border-b border-zinc-100 py-2 last:border-0 hover:bg-zinc-50"
|
||||
wire:navigate
|
||||
>
|
||||
<div class="text-sm text-zinc-900 dark:text-zinc-100">
|
||||
<div class="text-sm text-zinc-900">
|
||||
{{ Str::limit($update->update_text, 50) }}
|
||||
</div>
|
||||
<div class="mt-1 flex items-center gap-2 text-xs text-zinc-500 dark:text-zinc-400">
|
||||
<div class="mt-1 flex items-center gap-2 text-xs text-zinc-500">
|
||||
<span>{{ $update->timeline?->case_name ?? __('widgets.unknown_case') }}</span>
|
||||
<span>•</span>
|
||||
<span>{{ $update->timeline?->user?->full_name ?? __('widgets.unknown_client') }}</span>
|
||||
</div>
|
||||
<div class="mt-1 text-xs text-zinc-400 dark:text-zinc-500">
|
||||
<div class="mt-1 text-xs text-zinc-400">
|
||||
{{ $update->created_at->diffForHumans() }}
|
||||
</div>
|
||||
</a>
|
||||
@empty
|
||||
<flux:text class="text-zinc-500 dark:text-zinc-400">{{ __('widgets.no_recent_updates') }}</flux:text>
|
||||
<flux:text class="text-zinc-500">{{ __('widgets.no_recent_updates') }}</flux:text>
|
||||
@endforelse
|
||||
</div>
|
||||
|
||||
@@ -33,12 +33,12 @@ new class extends Component
|
||||
<flux:heading size="sm" class="mb-4">{{ __('widgets.todays_schedule') }}</flux:heading>
|
||||
|
||||
@forelse ($todaySchedule as $consultation)
|
||||
<div wire:key="schedule-{{ $consultation->id }}" class="flex items-center justify-between border-b border-zinc-100 py-2 last:border-0 dark:border-zinc-700">
|
||||
<div wire:key="schedule-{{ $consultation->id }}" class="flex items-center justify-between border-b border-zinc-100 py-2 last:border-0">
|
||||
<div>
|
||||
<div class="font-medium text-zinc-900 dark:text-zinc-100">
|
||||
<div class="font-medium text-zinc-900">
|
||||
{{ \Carbon\Carbon::parse($consultation->booking_time)->format('g:i A') }}
|
||||
</div>
|
||||
<div class="flex items-center gap-2 text-sm text-zinc-500 dark:text-zinc-400">
|
||||
<div class="flex items-center gap-2 text-sm text-zinc-500">
|
||||
<span>{{ $consultation->user?->full_name ?? __('widgets.unknown_client') }}</span>
|
||||
<flux:badge size="sm">{{ $consultation->consultation_type->label() }}</flux:badge>
|
||||
</div>
|
||||
@@ -62,6 +62,6 @@ new class extends Component
|
||||
</div>
|
||||
</div>
|
||||
@empty
|
||||
<flux:text class="text-zinc-500 dark:text-zinc-400">{{ __('widgets.no_consultations_today') }}</flux:text>
|
||||
<flux:text class="text-zinc-500">{{ __('widgets.no_consultations_today') }}</flux:text>
|
||||
@endforelse
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user