From f33fdb3bfd6ace708c941178b38dfac72fdf60dd Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Wed, 3 Apr 2024 14:32:23 +0200 Subject: [PATCH] Refactor code and comment out unused imports and code blocks --- resources/js/app.js | 10 +-- .../views/auth/two-factor-challenge.blade.php | 74 +++++++++---------- resources/views/layouts/simple.blade.php | 1 + .../views/livewire/profile/index.blade.php | 4 +- 4 files changed, 44 insertions(+), 45 deletions(-) diff --git a/resources/js/app.js b/resources/js/app.js index 47313863b..befec919e 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -1,6 +1,6 @@ -import { createApp } from "vue"; -import MagicBar from "./components/MagicBar.vue"; +// import { createApp } from "vue"; +// import MagicBar from "./components/MagicBar.vue"; -const app = createApp({}); -app.component("magic-bar", MagicBar); -app.mount("#vue"); +// const app = createApp({}); +// app.component("magic-bar", MagicBar); +// app.mount("#vue"); diff --git a/resources/views/auth/two-factor-challenge.blade.php b/resources/views/auth/two-factor-challenge.blade.php index 33094920c..b5fc28e51 100644 --- a/resources/views/auth/two-factor-challenge.blade.php +++ b/resources/views/auth/two-factor-challenge.blade.php @@ -1,42 +1,40 @@ -
-
-
-
Coolify
- {{-- --}} -
-
-
- @csrf -
- - {{--
Use - Recovery Code -
--}} -
-
- - {{--
Use - One-Time Code -
--}} -
- {{ __('auth.login') }} -
- @if ($errors->any()) -
- @foreach ($errors->all() as $error) -

{{ $error }}

- @endforeach -
- @endif - @if (session('status')) -
- {{ session('status') }} -
- @endif +
+
+ + Coolify + +
+
+
+ @csrf +
+ +
Enter + Recovery Code +
+
+
+ +
+ {{ __('auth.login') }} +
+ @if ($errors->any()) +
+ @foreach ($errors->all() as $error) +

{{ $error }}

+ @endforeach +
+ @endif + @if (session('status')) +
+ {{ session('status') }} +
+ @endif +
-
+ diff --git a/resources/views/layouts/simple.blade.php b/resources/views/layouts/simple.blade.php index 4a897ff2f..27248f4ec 100644 --- a/resources/views/layouts/simple.blade.php +++ b/resources/views/layouts/simple.blade.php @@ -1,5 +1,6 @@ @extends('layouts.base') @section('body') + @livewireScripts
{{ $slot }}
diff --git a/resources/views/livewire/profile/index.blade.php b/resources/views/livewire/profile/index.blade.php index 2c47a9b17..dbe41f093 100644 --- a/resources/views/livewire/profile/index.blade.php +++ b/resources/views/livewire/profile/index.blade.php @@ -19,8 +19,8 @@
- - + +