diff --git a/app/Http/Controllers/DashController.php b/app/Http/Controllers/DashController.php new file mode 100644 index 0000000..fffe89e --- /dev/null +++ b/app/Http/Controllers/DashController.php @@ -0,0 +1,26 @@ +[ + "firstname" => "admin", + "lastname" => "admin2", + "email" => "admin@admin.com", + "added" => "10-10-2023", + "last_login" => "10-10-2021", + "uid" => "79ca8829-cd03-4786-8e80-75d3ab4c34fb" + ], + "token"=> 'aac93629-a2c6-43ae-991f-149e796a3c76' + ]; + + return $lresult; + } +} diff --git a/public/assets/images/background-animate.gif b/public/assets/images/background-animate.gif new file mode 100644 index 0000000..e4921b7 Binary files /dev/null and b/public/assets/images/background-animate.gif differ diff --git a/public/assets/images/background-animate.mp4 b/public/assets/images/background-animate.mp4 new file mode 100644 index 0000000..9b7b4c6 Binary files /dev/null and b/public/assets/images/background-animate.mp4 differ diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php index 563429c..20524af 100644 --- a/resources/views/welcome.blade.php +++ b/resources/views/welcome.blade.php @@ -20,113 +20,8 @@ } - -
- @if (Route::has('login')) - - @endif -
-
-{{-- --}} -{{-- --}} -{{-- --}} -{{-- --}} -{{-- --}} -
- -
-
-
- - -
-
- Laravel has wonderful, thorough documentation covering every aspect of the framework. Whether you are new to the framework or have previous experience with Laravel, we recommend reading all of the documentation from beginning to end. -
-
-
- -
-
- - -
- -
-
- Laracasts offers thousands of video tutorials on Laravel, PHP, and JavaScript development. Check them out, see for yourself, and massively level up your development skills in the process. -
-
-
- -
-
- - -
- -
-
- Laravel News is a community driven portal and newsletter aggregating all of the latest and most important news in the Laravel ecosystem, including new package releases and tutorials. -
-
-
- -
-
- -
Vibrant Ecosystem
-
- -
-
- Laravel's robust library of first-party tools and libraries, such as Forge, Vapor, Nova, and Envoyer help you take your projects to the next level. Pair them with powerful open source libraries like Cashier, Dusk, Echo, Horizon, Sanctum, Telescope, and more. -
-
-
-
-
- -
-
-{{--
--}} -{{-- --}} -{{-- --}} -{{-- --}} - -{{-- --}} -{{-- Shop--}} -{{-- --}} - -{{-- --}} -{{-- --}} -{{-- --}} - -{{-- --}} -{{-- Sponsor--}} -{{-- --}} -{{--
--}} -
- -
- Laravel v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }}) -
-
-
-
diff --git a/routes/api.php b/routes/api.php index 4c92036..6cf9066 100644 --- a/routes/api.php +++ b/routes/api.php @@ -20,4 +20,7 @@ Route::middleware('auth:sanctum')->get('/user', function (Request $request) { }); Route::get('/heartbeat',[TestController::class,'heartbeat']); + +Route::get('/dash/general',[\App\Http\Controllers\DashController::class,'general']); + Route::post('/auth/login',[\App\Http\Controllers\AuthController::class,'login']);