diff --git a/packages/admin/resources/views/components/dropdown-link.blade.php b/packages/admin/resources/views/components/dropdown-link.blade.php index 46a62b553..770efc537 100755 --- a/packages/admin/resources/views/components/dropdown-link.blade.php +++ b/packages/admin/resources/views/components/dropdown-link.blade.php @@ -1,3 +1,3 @@ -twMerge(['class' => 'group flex items-center px-4 py-2 text-sm leading-5 text-gray-700 dark:text-gray-400 hover:bg-gray-50 dark:hover:bg-gray-800 hover:text-gray-900 dark:hover:text-white transition duration-150 ease-in-out']) }} wire:navigate> +twMerge(['class' => 'group flex items-center px-4 py-2 text-sm leading-5 text-gray-700 hover:text-gray-900 hover:bg-gray-50 dark:text-gray-400 dark:hover:bg-white/5 dark:hover:text-white transition duration-150 ease-in-out']) }}> {{ $slot }} - + diff --git a/packages/admin/resources/views/livewire/components/account/dropdown.blade.php b/packages/admin/resources/views/livewire/components/account/dropdown.blade.php index fc87b9963..fea53ad6b 100755 --- a/packages/admin/resources/views/livewire/components/account/dropdown.blade.php +++ b/packages/admin/resources/views/livewire/components/account/dropdown.blade.php @@ -49,15 +49,16 @@ class="absolute z-50 top-10 right-2.5 w-56 origin-top-right rounded-lg bg-white
-
- - {{ __('shopper::layout.account_dropdown.sign_out') }} - -
diff --git a/packages/admin/resources/views/livewire/modals/delete-customer.blade.php b/packages/admin/resources/views/livewire/modals/delete-customer.blade.php deleted file mode 100755 index 1feea36d3..000000000 --- a/packages/admin/resources/views/livewire/modals/delete-customer.blade.php +++ /dev/null @@ -1,33 +0,0 @@ - - -
-
- -
-
- -
-

- {{ __('shopper::pages/customers.modal.description') }} -

-
-
-
-
- - - - - - {{ __('shopper::layout.forms.actions.confirm') }} - - - - - {{ __('shopper::layout.forms.actions.cancel') }} - - - -
diff --git a/packages/admin/resources/views/livewire/pages/auth/login.blade.php b/packages/admin/resources/views/livewire/pages/auth/login.blade.php index f12560864..5d1219fdc 100755 --- a/packages/admin/resources/views/livewire/pages/auth/login.blade.php +++ b/packages/admin/resources/views/livewire/pages/auth/login.blade.php @@ -17,7 +17,7 @@ -
+
group(config('shopper.routes.custom_file')); + Route::as('shopper.')->group(config('shopper.routes.custom_file')); } }); }); diff --git a/packages/admin/src/Livewire/Modals/DeleteCustomer.php b/packages/admin/src/Livewire/Modals/DeleteCustomer.php deleted file mode 100755 index f33ef2d5d..000000000 --- a/packages/admin/src/Livewire/Modals/DeleteCustomer.php +++ /dev/null @@ -1,38 +0,0 @@ -customerId = $customerId; - } - - public function delete(): void - { - (new UserRepository())->getById($this->customerId)->delete(); - - session()->flash('success', __('shopper::pages/customers.modal.success_message')); - - $this->redirectRoute('shopper.customers.index'); - } - - public static function modalMaxWidth(): string - { - return 'xl'; - } - - public function render(): View - { - return view('shopper::livewire.modals.delete-customer'); - } -}