diff --git a/package-lock.json b/package-lock.json index ab8c9a8..26aa855 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4,6 +4,9 @@ "requires": true, "packages": { "": { + "dependencies": { + "bootstrap-icons": "^1.11.3" + }, "devDependencies": { "animate.css": "^4.1.1", "autoprefixer": "^10.4.20", @@ -1051,6 +1054,22 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/bootstrap-icons": { + "version": "1.11.3", + "resolved": "https://registry.npmjs.org/bootstrap-icons/-/bootstrap-icons-1.11.3.tgz", + "integrity": "sha512-+3lpHrCw/it2/7lBL15VR0HEumaBss0+f/Lb6ZvHISn1mlK83jjFpooTLsMWbIjJMDjDjOExMsTxnXSIT4k4ww==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/twbs" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/bootstrap" + } + ], + "license": "MIT" + }, "node_modules/brace-expansion": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", diff --git a/package.json b/package.json index 8f7c0d9..db956df 100644 --- a/package.json +++ b/package.json @@ -16,5 +16,8 @@ "sweetalert2": "^11.15.2", "tailwindcss": "^3.4.17", "vite": "^6.0" + }, + "dependencies": { + "bootstrap-icons": "^1.11.3" } } diff --git a/resources/css/app.css b/resources/css/app.css index b5c61c9..d931bba 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -1,3 +1,4 @@ +@import 'bootstrap-icons/font/bootstrap-icons.css'; @tailwind base; @tailwind components; -@tailwind utilities; +@tailwind utilities; \ No newline at end of file diff --git a/resources/views/smart/dashboard.blade.php b/resources/views/smart/dashboard.blade.php index 74c2630..ad6ccfc 100644 --- a/resources/views/smart/dashboard.blade.php +++ b/resources/views/smart/dashboard.blade.php @@ -16,176 +16,68 @@
diff --git a/routes/web.php b/routes/web.php index d0bdfb0..7cf181c 100644 --- a/routes/web.php +++ b/routes/web.php @@ -14,7 +14,7 @@ Route::Group(['prefix' => 'cp', 'middleware' => 'web'], function () { if (!Auth::check()) { return redirect()->route('auth'); } else { - return redirect()->route('internal'); + return redirect()->route('dashboard'); } }); Route::get('auth/',[\App\Http\Controllers\SmartController::class, 'index'])->name('auth');