diff --git a/app/Helpers/MenuHelper.php b/app/Helpers/MenuHelper.php new file mode 100644 index 0000000..d1a57ad --- /dev/null +++ b/app/Helpers/MenuHelper.php @@ -0,0 +1,141 @@ + 'dashboard', + 'name' => 'Dashboard', + 'subItems' => [ + ['name' => 'Ecommerce', 'path' => '/'], + ], + ], + [ + 'icon' => 'calendar', + 'name' => 'Calendar', + 'path' => '/calendar', + ], + [ + 'icon' => 'user-profile', + 'name' => 'User Profile', + 'path' => '/profile', + ], + [ + 'name' => 'Forms', + 'icon' => 'forms', + 'subItems' => [ + ['name' => 'Form Elements', 'path' => '/form-elements', 'pro' => false], + ], + ], + [ + 'name' => 'Tables', + 'icon' => 'tables', + 'subItems' => [ + ['name' => 'Basic Tables', 'path' => '/basic-tables', 'pro' => false] + ], + ], + [ + 'name' => 'Pages', + 'icon' => 'pages', + 'subItems' => [ + ['name' => 'Blank Page', 'path' => '/blank', 'pro' => false], + ['name' => '404 Error', 'path' => '/error-404', 'pro' => false] + ], + ], + ]; + } + + public static function getOthersItems() + { + return [ + [ + 'icon' => 'charts', + 'name' => 'Charts', + 'subItems' => [ + ['name' => 'Line Chart', 'path' => '/line-chart', 'pro' => false], + ['name' => 'Bar Chart', 'path' => '/bar-chart', 'pro' => false] + ], + ], + [ + 'icon' => 'ui-elements', + 'name' => 'UI Elements', + 'subItems' => [ + ['name' => 'Alerts', 'path' => '/alerts', 'pro' => false], + ['name' => 'Avatar', 'path' => '/avatars', 'pro' => false], + ['name' => 'Badge', 'path' => '/badge', 'pro' => false], + ['name' => 'Buttons', 'path' => '/buttons', 'pro' => false], + ['name' => 'Images', 'path' => '/image', 'pro' => false], + ['name' => 'Videos', 'path' => '/videos', 'pro' => false], + ], + ], + [ + 'icon' => 'authentication', + 'name' => 'Authentication', + 'subItems' => [ + ['name' => 'Sign In', 'path' => '/signin', 'pro' => false], + ['name' => 'Sign Up', 'path' => '/signup', 'pro' => false], + ], + ], + ]; + } + + public static function getMenuGroups() + { + return [ + [ + 'title' => 'Menu', + 'items' => self::getMainNavItems() + ], + [ + 'title' => 'Others', + 'items' => self::getOthersItems() + ] + ]; + } + + public static function isActive($path) + { + return request()->is(ltrim($path, '/')); + } + + public static function getIconSvg($iconName) + { + $icons = [ + 'dashboard' => '', + + 'ai-assistant' => '', + + 'ecommerce' => '', + + 'calendar' => '', + + 'user-profile' => '', + + 'task' => '', + + 'forms' => '', + + 'tables' => '', + + 'pages' => '', + + 'charts' => '', + + 'ui-elements' => '', + + 'authentication' => '', + + 'chat' => '', + + 'support-ticket' => '', + + 'email' => '', + ]; + + return $icons[$iconName] ?? ''; + } +} diff --git a/app/Http/Controllers/Dashboard/DashboardController.php b/app/Http/Controllers/Dashboard/DashboardController.php index 3b11812..06c89cb 100644 --- a/app/Http/Controllers/Dashboard/DashboardController.php +++ b/app/Http/Controllers/Dashboard/DashboardController.php @@ -54,10 +54,33 @@ class DashboardController extends Controller implements HasMiddleware $alts = null; $esiHelper = new Esi; $config = config('esi'); + + $user = auth()->user(); + $characterId = (int)$user->character_id; + + $scopes = EsiScope::query() + ->where('character_id', $characterId) + ->orderBy('scope') + ->get(); + + $permissions = UserPermission::query() + ->where('character_id', $characterId) + ->orderBy('permission') + ->get(); + + $roles = UserRole::query() + ->where('character_id', $characterId) + ->orderBy('rank') + ->get(); + + $alts = UserAlt::query() + ->where('main_id', $characterId) + ->orderBy('name') + ->get(); $roleEntry = UserRole::where([ 'character_id' => auth()->user()->character_id, - ]); + ])->first(); $role = $roleEntry->role; /** @@ -68,8 +91,19 @@ class DashboardController extends Controller implements HasMiddleware ])->count(); - - return view('dashboard.dashboard')->with('altCount', $altCount) - ->with('role', $role); + return view('dashboard.dashboard', [ + 'title' => 'User Dashboard', + 'user' => $user, + 'scopes' => $scopes, + 'scopeCount' => $scopes->count(); + 'permissions' => $permissions; + 'permissionCount' => $permissions->count(); + 'roles' => $roles; + 'roleCount' => $roles->count(); + 'role' => $roles->first()?->role, + 'alts' => $alts, + 'altCount' => $alts->count(), + ]); + } } diff --git a/app/Models/Auth/User.php b/app/Models/Auth/User.php index 854890d..35c8aff 100644 --- a/app/Models/Auth/User.php +++ b/app/Models/Auth/User.php @@ -18,7 +18,7 @@ class User extends Authenticatable 'refresh_token', 'expiresIn', 'user_jwt', // holds jwt (per spec) - 'user_jwt_issued-at', + 'user_jwt_issued_at', 'user_jwt_expires_at', 'privleges_version', ]; diff --git a/app/View/Components/CalenderArea.php b/app/View/Components/CalenderArea.php new file mode 100644 index 0000000..f2765f6 --- /dev/null +++ b/app/View/Components/CalenderArea.php @@ -0,0 +1,26 @@ +isOpen = $isOpen; + $this->showCloseButton = $showCloseButton; + $this->isFullscreen = $isFullscreen; + $this->modalId = $modalId ?? 'modal-' . uniqid(); + } + + /** + * Get the view / contents that represent the component. + */ + public function render(): View|Closure|string + { + return view('components.ui.modal'); + } +} diff --git a/app/View/Components/ui/YoutubeEmbed.php b/app/View/Components/ui/YoutubeEmbed.php new file mode 100644 index 0000000..5f4652f --- /dev/null +++ b/app/View/Components/ui/YoutubeEmbed.php @@ -0,0 +1,26 @@ + + + + + + diff --git a/public/images/brand/brand-02.svg b/public/images/brand/brand-02.svg new file mode 100644 index 0000000..14da422 --- /dev/null +++ b/public/images/brand/brand-02.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/public/images/brand/brand-03.svg b/public/images/brand/brand-03.svg new file mode 100644 index 0000000..8d29afa --- /dev/null +++ b/public/images/brand/brand-03.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/public/images/brand/brand-04.svg b/public/images/brand/brand-04.svg new file mode 100644 index 0000000..837a4d4 --- /dev/null +++ b/public/images/brand/brand-04.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/images/brand/brand-05.svg b/public/images/brand/brand-05.svg new file mode 100644 index 0000000..7044f46 --- /dev/null +++ b/public/images/brand/brand-05.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/public/images/brand/brand-06.svg b/public/images/brand/brand-06.svg new file mode 100644 index 0000000..78c5d01 --- /dev/null +++ b/public/images/brand/brand-06.svg @@ -0,0 +1,4 @@ + + + + diff --git a/public/images/brand/brand-07.svg b/public/images/brand/brand-07.svg new file mode 100644 index 0000000..5abb368 --- /dev/null +++ b/public/images/brand/brand-07.svg @@ -0,0 +1,4 @@ + + + + diff --git a/public/images/brand/brand-08.svg b/public/images/brand/brand-08.svg new file mode 100644 index 0000000..71bc1e2 --- /dev/null +++ b/public/images/brand/brand-08.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/public/images/brand/brand-09.svg b/public/images/brand/brand-09.svg new file mode 100644 index 0000000..1330ba2 --- /dev/null +++ b/public/images/brand/brand-09.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/public/images/brand/brand-10.svg b/public/images/brand/brand-10.svg new file mode 100644 index 0000000..60308dd --- /dev/null +++ b/public/images/brand/brand-10.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/public/images/brand/brand-11.svg b/public/images/brand/brand-11.svg new file mode 100644 index 0000000..b316bb4 --- /dev/null +++ b/public/images/brand/brand-11.svg @@ -0,0 +1,4 @@ + + + + diff --git a/public/images/brand/brand-12.svg b/public/images/brand/brand-12.svg new file mode 100644 index 0000000..8396a56 --- /dev/null +++ b/public/images/brand/brand-12.svg @@ -0,0 +1,4 @@ + + + + diff --git a/public/images/brand/brand-13.svg b/public/images/brand/brand-13.svg new file mode 100644 index 0000000..dd53f79 --- /dev/null +++ b/public/images/brand/brand-13.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/public/images/brand/brand-14.svg b/public/images/brand/brand-14.svg new file mode 100644 index 0000000..381d72d --- /dev/null +++ b/public/images/brand/brand-14.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/public/images/brand/brand-15.svg b/public/images/brand/brand-15.svg new file mode 100644 index 0000000..dfde3dd --- /dev/null +++ b/public/images/brand/brand-15.svg @@ -0,0 +1,4 @@ + + + + diff --git a/public/images/cards/card-01.jpg b/public/images/cards/card-01.jpg new file mode 100644 index 0000000..6ca5220 Binary files /dev/null and b/public/images/cards/card-01.jpg differ diff --git a/public/images/cards/card-01.png b/public/images/cards/card-01.png new file mode 100644 index 0000000..50136d2 Binary files /dev/null and b/public/images/cards/card-01.png differ diff --git a/public/images/cards/card-02.jpg b/public/images/cards/card-02.jpg new file mode 100644 index 0000000..4529105 Binary files /dev/null and b/public/images/cards/card-02.jpg differ diff --git a/public/images/cards/card-02.png b/public/images/cards/card-02.png new file mode 100644 index 0000000..29e3c40 Binary files /dev/null and b/public/images/cards/card-02.png differ diff --git a/public/images/cards/card-03.jpg b/public/images/cards/card-03.jpg new file mode 100644 index 0000000..dea4663 Binary files /dev/null and b/public/images/cards/card-03.jpg differ diff --git a/public/images/cards/card-03.png b/public/images/cards/card-03.png new file mode 100644 index 0000000..b8c8ed0 Binary files /dev/null and b/public/images/cards/card-03.png differ diff --git a/public/images/carousel/carousel-01.png b/public/images/carousel/carousel-01.png new file mode 100644 index 0000000..0c738c8 Binary files /dev/null and b/public/images/carousel/carousel-01.png differ diff --git a/public/images/carousel/carousel-02.png b/public/images/carousel/carousel-02.png new file mode 100644 index 0000000..963ca5f Binary files /dev/null and b/public/images/carousel/carousel-02.png differ diff --git a/public/images/carousel/carousel-03.png b/public/images/carousel/carousel-03.png new file mode 100644 index 0000000..d744261 Binary files /dev/null and b/public/images/carousel/carousel-03.png differ diff --git a/public/images/carousel/carousel-04.png b/public/images/carousel/carousel-04.png new file mode 100644 index 0000000..58d393d Binary files /dev/null and b/public/images/carousel/carousel-04.png differ diff --git a/public/images/chat/chat.jpg b/public/images/chat/chat.jpg new file mode 100644 index 0000000..7ad98e5 Binary files /dev/null and b/public/images/chat/chat.jpg differ diff --git a/public/images/country/country-01.svg b/public/images/country/country-01.svg new file mode 100644 index 0000000..4c14b12 --- /dev/null +++ b/public/images/country/country-01.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/public/images/country/country-02.svg b/public/images/country/country-02.svg new file mode 100644 index 0000000..52f57c7 --- /dev/null +++ b/public/images/country/country-02.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/public/images/country/country-03.svg b/public/images/country/country-03.svg new file mode 100644 index 0000000..e435fab --- /dev/null +++ b/public/images/country/country-03.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/public/images/country/country-04.svg b/public/images/country/country-04.svg new file mode 100644 index 0000000..93b49b6 --- /dev/null +++ b/public/images/country/country-04.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/images/country/country-05.svg b/public/images/country/country-05.svg new file mode 100644 index 0000000..5aa26b5 --- /dev/null +++ b/public/images/country/country-05.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/public/images/country/country-06.svg b/public/images/country/country-06.svg new file mode 100644 index 0000000..730e2e6 --- /dev/null +++ b/public/images/country/country-06.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/public/images/country/country-07.svg b/public/images/country/country-07.svg new file mode 100644 index 0000000..ce770d4 --- /dev/null +++ b/public/images/country/country-07.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/public/images/country/country-08.svg b/public/images/country/country-08.svg new file mode 100644 index 0000000..c652b95 --- /dev/null +++ b/public/images/country/country-08.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/public/images/error/404-dark.svg b/public/images/error/404-dark.svg new file mode 100644 index 0000000..4d14ec9 --- /dev/null +++ b/public/images/error/404-dark.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/public/images/error/404.svg b/public/images/error/404.svg new file mode 100644 index 0000000..ff8b8a2 --- /dev/null +++ b/public/images/error/404.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/public/images/error/500-dark.svg b/public/images/error/500-dark.svg new file mode 100644 index 0000000..c5ac764 --- /dev/null +++ b/public/images/error/500-dark.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/images/error/500.svg b/public/images/error/500.svg new file mode 100644 index 0000000..82f5159 --- /dev/null +++ b/public/images/error/500.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/images/error/503-dark.svg b/public/images/error/503-dark.svg new file mode 100644 index 0000000..8df2a94 --- /dev/null +++ b/public/images/error/503-dark.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/images/error/503.svg b/public/images/error/503.svg new file mode 100644 index 0000000..a27a714 --- /dev/null +++ b/public/images/error/503.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/images/error/maintenance-dark.svg b/public/images/error/maintenance-dark.svg new file mode 100644 index 0000000..e2a4499 --- /dev/null +++ b/public/images/error/maintenance-dark.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/public/images/error/maintenance.svg b/public/images/error/maintenance.svg new file mode 100644 index 0000000..859d817 --- /dev/null +++ b/public/images/error/maintenance.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/public/images/error/success-dark.svg b/public/images/error/success-dark.svg new file mode 100644 index 0000000..b57643f --- /dev/null +++ b/public/images/error/success-dark.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/images/error/success.svg b/public/images/error/success.svg new file mode 100644 index 0000000..91e1a76 --- /dev/null +++ b/public/images/error/success.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/images/grid-image/image-01.png b/public/images/grid-image/image-01.png new file mode 100644 index 0000000..b00223b Binary files /dev/null and b/public/images/grid-image/image-01.png differ diff --git a/public/images/grid-image/image-02.png b/public/images/grid-image/image-02.png new file mode 100644 index 0000000..e1e9fb2 Binary files /dev/null and b/public/images/grid-image/image-02.png differ diff --git a/public/images/grid-image/image-03.png b/public/images/grid-image/image-03.png new file mode 100644 index 0000000..9fe184a Binary files /dev/null and b/public/images/grid-image/image-03.png differ diff --git a/public/images/grid-image/image-04.png b/public/images/grid-image/image-04.png new file mode 100644 index 0000000..0020a65 Binary files /dev/null and b/public/images/grid-image/image-04.png differ diff --git a/public/images/grid-image/image-05.png b/public/images/grid-image/image-05.png new file mode 100644 index 0000000..9ee8797 Binary files /dev/null and b/public/images/grid-image/image-05.png differ diff --git a/public/images/grid-image/image-06.png b/public/images/grid-image/image-06.png new file mode 100644 index 0000000..d7e3668 Binary files /dev/null and b/public/images/grid-image/image-06.png differ diff --git a/public/images/icons/file-image-dark.svg b/public/images/icons/file-image-dark.svg new file mode 100644 index 0000000..ff2d6df --- /dev/null +++ b/public/images/icons/file-image-dark.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/images/icons/file-image.svg b/public/images/icons/file-image.svg new file mode 100644 index 0000000..0303d63 --- /dev/null +++ b/public/images/icons/file-image.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/images/icons/file-pdf-dark.svg b/public/images/icons/file-pdf-dark.svg new file mode 100644 index 0000000..8fc5a47 --- /dev/null +++ b/public/images/icons/file-pdf-dark.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/images/icons/file-pdf.svg b/public/images/icons/file-pdf.svg new file mode 100644 index 0000000..a525a26 --- /dev/null +++ b/public/images/icons/file-pdf.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/images/icons/file-video-dark.svg b/public/images/icons/file-video-dark.svg new file mode 100644 index 0000000..9415c3d --- /dev/null +++ b/public/images/icons/file-video-dark.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/public/images/icons/file-video.svg b/public/images/icons/file-video.svg new file mode 100644 index 0000000..49732ca --- /dev/null +++ b/public/images/icons/file-video.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/public/images/logistics/avatar-1.png b/public/images/logistics/avatar-1.png new file mode 100644 index 0000000..367dc95 Binary files /dev/null and b/public/images/logistics/avatar-1.png differ diff --git a/public/images/logistics/truck.png b/public/images/logistics/truck.png new file mode 100644 index 0000000..d674eb7 Binary files /dev/null and b/public/images/logistics/truck.png differ diff --git a/public/images/logo/auth-logo.svg b/public/images/logo/auth-logo.svg new file mode 100644 index 0000000..eb11cc7 --- /dev/null +++ b/public/images/logo/auth-logo.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/images/logo/logo-dark.svg b/public/images/logo/logo-dark.svg new file mode 100644 index 0000000..4b94dac --- /dev/null +++ b/public/images/logo/logo-dark.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/images/logo/logo-icon.svg b/public/images/logo/logo-icon.svg new file mode 100644 index 0000000..11d52ca --- /dev/null +++ b/public/images/logo/logo-icon.svg @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/images/logo/logo.svg b/public/images/logo/logo.svg new file mode 100644 index 0000000..758dedd --- /dev/null +++ b/public/images/logo/logo.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/images/product/product-01.jpg b/public/images/product/product-01.jpg new file mode 100644 index 0000000..7ffb1e6 Binary files /dev/null and b/public/images/product/product-01.jpg differ diff --git a/public/images/product/product-02.jpg b/public/images/product/product-02.jpg new file mode 100644 index 0000000..db30a9a Binary files /dev/null and b/public/images/product/product-02.jpg differ diff --git a/public/images/product/product-03.jpg b/public/images/product/product-03.jpg new file mode 100644 index 0000000..95fd8d4 Binary files /dev/null and b/public/images/product/product-03.jpg differ diff --git a/public/images/product/product-04.jpg b/public/images/product/product-04.jpg new file mode 100644 index 0000000..131a9f5 Binary files /dev/null and b/public/images/product/product-04.jpg differ diff --git a/public/images/product/product-05.jpg b/public/images/product/product-05.jpg new file mode 100644 index 0000000..1ad17a9 Binary files /dev/null and b/public/images/product/product-05.jpg differ diff --git a/public/images/shape/grid-01.svg b/public/images/shape/grid-01.svg new file mode 100644 index 0000000..6490367 --- /dev/null +++ b/public/images/shape/grid-01.svg @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/images/support/user-1.jpg b/public/images/support/user-1.jpg new file mode 100644 index 0000000..5d50135 Binary files /dev/null and b/public/images/support/user-1.jpg differ diff --git a/public/images/support/user-2.jpg b/public/images/support/user-2.jpg new file mode 100644 index 0000000..baf5105 Binary files /dev/null and b/public/images/support/user-2.jpg differ diff --git a/public/images/task/google-drive.svg b/public/images/task/google-drive.svg new file mode 100644 index 0000000..2bdb033 --- /dev/null +++ b/public/images/task/google-drive.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/public/images/task/pdf.svg b/public/images/task/pdf.svg new file mode 100644 index 0000000..4390c8d --- /dev/null +++ b/public/images/task/pdf.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/public/images/task/task.jpg b/public/images/task/task.jpg new file mode 100644 index 0000000..5e6add1 Binary files /dev/null and b/public/images/task/task.jpg differ diff --git a/public/images/task/task.png b/public/images/task/task.png new file mode 100644 index 0000000..0031cdb Binary files /dev/null and b/public/images/task/task.png differ diff --git a/public/images/user/owner.jpg b/public/images/user/owner.jpg new file mode 100644 index 0000000..55985fe Binary files /dev/null and b/public/images/user/owner.jpg differ diff --git a/public/images/user/owner.png b/public/images/user/owner.png new file mode 100644 index 0000000..810cf07 Binary files /dev/null and b/public/images/user/owner.png differ diff --git a/public/images/user/owner.webp b/public/images/user/owner.webp new file mode 100644 index 0000000..b5c7d44 Binary files /dev/null and b/public/images/user/owner.webp differ diff --git a/public/images/user/user-01.jpg b/public/images/user/user-01.jpg new file mode 100644 index 0000000..4877840 Binary files /dev/null and b/public/images/user/user-01.jpg differ diff --git a/public/images/user/user-02.jpg b/public/images/user/user-02.jpg new file mode 100644 index 0000000..fe64d3e Binary files /dev/null and b/public/images/user/user-02.jpg differ diff --git a/public/images/user/user-03.jpg b/public/images/user/user-03.jpg new file mode 100644 index 0000000..7a8647a Binary files /dev/null and b/public/images/user/user-03.jpg differ diff --git a/public/images/user/user-04.jpg b/public/images/user/user-04.jpg new file mode 100644 index 0000000..0522414 Binary files /dev/null and b/public/images/user/user-04.jpg differ diff --git a/public/images/user/user-05.jpg b/public/images/user/user-05.jpg new file mode 100644 index 0000000..c0b7ddb Binary files /dev/null and b/public/images/user/user-05.jpg differ diff --git a/public/images/user/user-06.jpg b/public/images/user/user-06.jpg new file mode 100644 index 0000000..d80d37e Binary files /dev/null and b/public/images/user/user-06.jpg differ diff --git a/public/images/user/user-07.jpg b/public/images/user/user-07.jpg new file mode 100644 index 0000000..7e8f58d Binary files /dev/null and b/public/images/user/user-07.jpg differ diff --git a/public/images/user/user-08.jpg b/public/images/user/user-08.jpg new file mode 100644 index 0000000..86d14ef Binary files /dev/null and b/public/images/user/user-08.jpg differ diff --git a/public/images/user/user-09.jpg b/public/images/user/user-09.jpg new file mode 100644 index 0000000..35942ed Binary files /dev/null and b/public/images/user/user-09.jpg differ diff --git a/public/images/user/user-10.jpg b/public/images/user/user-10.jpg new file mode 100644 index 0000000..e330208 Binary files /dev/null and b/public/images/user/user-10.jpg differ diff --git a/public/images/user/user-11.jpg b/public/images/user/user-11.jpg new file mode 100644 index 0000000..7aa2dd9 Binary files /dev/null and b/public/images/user/user-11.jpg differ diff --git a/public/images/user/user-12.jpg b/public/images/user/user-12.jpg new file mode 100644 index 0000000..2b9065c Binary files /dev/null and b/public/images/user/user-12.jpg differ diff --git a/public/images/user/user-13.jpg b/public/images/user/user-13.jpg new file mode 100644 index 0000000..7657777 Binary files /dev/null and b/public/images/user/user-13.jpg differ diff --git a/public/images/user/user-14.jpg b/public/images/user/user-14.jpg new file mode 100644 index 0000000..28ef7a9 Binary files /dev/null and b/public/images/user/user-14.jpg differ diff --git a/public/images/user/user-15.jpg b/public/images/user/user-15.jpg new file mode 100644 index 0000000..e39fb30 Binary files /dev/null and b/public/images/user/user-15.jpg differ diff --git a/public/images/user/user-16.jpg b/public/images/user/user-16.jpg new file mode 100644 index 0000000..f23e96c Binary files /dev/null and b/public/images/user/user-16.jpg differ diff --git a/public/images/user/user-17.jpg b/public/images/user/user-17.jpg new file mode 100644 index 0000000..4effac3 Binary files /dev/null and b/public/images/user/user-17.jpg differ diff --git a/public/images/user/user-18.jpg b/public/images/user/user-18.jpg new file mode 100644 index 0000000..4660835 Binary files /dev/null and b/public/images/user/user-18.jpg differ diff --git a/public/images/user/user-19.jpg b/public/images/user/user-19.jpg new file mode 100644 index 0000000..b8d2ae9 Binary files /dev/null and b/public/images/user/user-19.jpg differ diff --git a/public/images/user/user-20.jpg b/public/images/user/user-20.jpg new file mode 100644 index 0000000..6acae07 Binary files /dev/null and b/public/images/user/user-20.jpg differ diff --git a/public/images/user/user-21.jpg b/public/images/user/user-21.jpg new file mode 100644 index 0000000..d86084c Binary files /dev/null and b/public/images/user/user-21.jpg differ diff --git a/public/images/user/user-22.jpg b/public/images/user/user-22.jpg new file mode 100644 index 0000000..9cf7e13 Binary files /dev/null and b/public/images/user/user-22.jpg differ diff --git a/public/images/user/user-23.jpg b/public/images/user/user-23.jpg new file mode 100644 index 0000000..b79ffec Binary files /dev/null and b/public/images/user/user-23.jpg differ diff --git a/public/images/user/user-24.jpg b/public/images/user/user-24.jpg new file mode 100644 index 0000000..ee09128 Binary files /dev/null and b/public/images/user/user-24.jpg differ diff --git a/public/images/user/user-25.jpg b/public/images/user/user-25.jpg new file mode 100644 index 0000000..e930892 Binary files /dev/null and b/public/images/user/user-25.jpg differ diff --git a/public/images/user/user-26.jpg b/public/images/user/user-26.jpg new file mode 100644 index 0000000..c4934b4 Binary files /dev/null and b/public/images/user/user-26.jpg differ diff --git a/public/images/user/user-27.jpg b/public/images/user/user-27.jpg new file mode 100644 index 0000000..2a08ebe Binary files /dev/null and b/public/images/user/user-27.jpg differ diff --git a/public/images/user/user-28.jpg b/public/images/user/user-28.jpg new file mode 100644 index 0000000..82cf2d1 Binary files /dev/null and b/public/images/user/user-28.jpg differ diff --git a/public/images/user/user-29.jpg b/public/images/user/user-29.jpg new file mode 100644 index 0000000..1a1fa49 Binary files /dev/null and b/public/images/user/user-29.jpg differ diff --git a/public/images/user/user-30.jpg b/public/images/user/user-30.jpg new file mode 100644 index 0000000..512e8dd Binary files /dev/null and b/public/images/user/user-30.jpg differ diff --git a/public/images/user/user-31.jpg b/public/images/user/user-31.jpg new file mode 100644 index 0000000..0144b84 Binary files /dev/null and b/public/images/user/user-31.jpg differ diff --git a/public/images/user/user-32.jpg b/public/images/user/user-32.jpg new file mode 100644 index 0000000..712e336 Binary files /dev/null and b/public/images/user/user-32.jpg differ diff --git a/public/images/user/user-33.jpg b/public/images/user/user-33.jpg new file mode 100644 index 0000000..1f7796b Binary files /dev/null and b/public/images/user/user-33.jpg differ diff --git a/public/images/user/user-34.jpg b/public/images/user/user-34.jpg new file mode 100644 index 0000000..40202f6 Binary files /dev/null and b/public/images/user/user-34.jpg differ diff --git a/public/images/user/user-35.jpg b/public/images/user/user-35.jpg new file mode 100644 index 0000000..b78921a Binary files /dev/null and b/public/images/user/user-35.jpg differ diff --git a/public/images/user/user-36.jpg b/public/images/user/user-36.jpg new file mode 100644 index 0000000..a023f2f Binary files /dev/null and b/public/images/user/user-36.jpg differ diff --git a/public/images/user/user-37.jpg b/public/images/user/user-37.jpg new file mode 100644 index 0000000..6d3186e Binary files /dev/null and b/public/images/user/user-37.jpg differ diff --git a/public/images/video-thumb/thumb-16.png b/public/images/video-thumb/thumb-16.png new file mode 100644 index 0000000..1f12017 Binary files /dev/null and b/public/images/video-thumb/thumb-16.png differ diff --git a/public/images/video-thumb/youtube-icon-84.svg b/public/images/video-thumb/youtube-icon-84.svg new file mode 100644 index 0000000..5a9478a --- /dev/null +++ b/public/images/video-thumb/youtube-icon-84.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/views/components/calender-area.blade.php b/resources/views/components/calender-area.blade.php new file mode 100644 index 0000000..106db82 --- /dev/null +++ b/resources/views/components/calender-area.blade.php @@ -0,0 +1,159 @@ + +
+
+
+
+
+
+ + + +
+ diff --git a/resources/views/components/common/common-grid-shape.blade.php b/resources/views/components/common/common-grid-shape.blade.php new file mode 100644 index 0000000..8392fe6 --- /dev/null +++ b/resources/views/components/common/common-grid-shape.blade.php @@ -0,0 +1,8 @@ +
+
+ grid +
+
+ grid +
+
diff --git a/resources/views/components/common/component-card.blade.php b/resources/views/components/common/component-card.blade.php new file mode 100644 index 0000000..17757e4 --- /dev/null +++ b/resources/views/components/common/component-card.blade.php @@ -0,0 +1,25 @@ +@props([ + 'title', + 'desc' => '', +]) + +
merge(['class' => 'rounded-2xl border border-gray-200 bg-white dark:border-gray-800 dark:bg-white/[0.03]']) }}> + +
+

+ {{ $title }} +

+ @if($desc) +

+ {{ $desc }} +

+ @endif +
+ + +
+
+ {{ $slot }} +
+
+
\ No newline at end of file diff --git a/resources/views/components/common/dropdown-menu.blade.php b/resources/views/components/common/dropdown-menu.blade.php new file mode 100644 index 0000000..38c1f2f --- /dev/null +++ b/resources/views/components/common/dropdown-menu.blade.php @@ -0,0 +1,22 @@ +@props(['items' => ['View More','Delete']]) +
+ + +
+ @forelse($items as $item) + + @empty + {{ $slot }} + @endforelse +
+
\ No newline at end of file diff --git a/resources/views/components/common/page-breadcrumb.blade.php b/resources/views/components/common/page-breadcrumb.blade.php new file mode 100644 index 0000000..4cc7a85 --- /dev/null +++ b/resources/views/components/common/page-breadcrumb.blade.php @@ -0,0 +1,38 @@ +@props(['pageTitle' => 'Page']) + +
+

+ {{ $pageTitle }} +

+ +
diff --git a/resources/views/components/common/preloader.blade.php b/resources/views/components/common/preloader.blade.php new file mode 100644 index 0000000..bbd9d34 --- /dev/null +++ b/resources/views/components/common/preloader.blade.php @@ -0,0 +1,9 @@ +
+
+
diff --git a/resources/views/components/common/table-dropdown.blade.php b/resources/views/components/common/table-dropdown.blade.php new file mode 100644 index 0000000..3dc582e --- /dev/null +++ b/resources/views/components/common/table-dropdown.blade.php @@ -0,0 +1,39 @@ +
+
+ {{ $button }} +
+ +
+
+ +
+
+
diff --git a/resources/views/components/common/theme-toggle.blade.php b/resources/views/components/common/theme-toggle.blade.php new file mode 100644 index 0000000..789b99d --- /dev/null +++ b/resources/views/components/common/theme-toggle.blade.php @@ -0,0 +1,30 @@ + diff --git a/resources/views/components/ecommerce/customer-demographic.blade.php b/resources/views/components/ecommerce/customer-demographic.blade.php new file mode 100644 index 0000000..47c297b --- /dev/null +++ b/resources/views/components/ecommerce/customer-demographic.blade.php @@ -0,0 +1,73 @@ +@props(['countries' => []]) + +@php + $defaultCountries = [ + [ + 'name' => 'USA', + 'flag' => './images/country/country-01.svg', + 'customers' => '2,379', + 'percentage' => 79 + ], + [ + 'name' => 'France', + 'flag' => './images/country/country-02.svg', + 'customers' => '589', + 'percentage' => 23 + ], + ]; + + $countriesList = !empty($countries) ? $countries : $defaultCountries; +@endphp + +
+
+
+

+ Customers Demographic +

+

+ Number of customer based on country +

+
+ + + + +
+ +
+
+
+ +
+ @foreach($countriesList as $country) +
+
+
+ {{ strtolower($country['name']) }} +
+
+

+ {{ $country['name'] }} +

+ + {{ $country['customers'] }} Customers + +
+
+ +
+
+
+
+

+ {{ $country['percentage'] }}% +

+
+
+ @endforeach +
+
diff --git a/resources/views/components/ecommerce/ecommerce-metrics.blade.php b/resources/views/components/ecommerce/ecommerce-metrics.blade.php new file mode 100644 index 0000000..c96ebc2 --- /dev/null +++ b/resources/views/components/ecommerce/ecommerce-metrics.blade.php @@ -0,0 +1,107 @@ +
+
+
+ + + +
+ +
+
+ Customers +

3,782

+
+ + + + + + + 11.01% + +
+
+ +
+
+ + + +
+ +
+
+ Orders +

5,359

+
+ + + + + + + 9.05% + +
+
+
\ No newline at end of file diff --git a/resources/views/components/ecommerce/monthly-sale.blade.php b/resources/views/components/ecommerce/monthly-sale.blade.php new file mode 100644 index 0000000..a6259f1 --- /dev/null +++ b/resources/views/components/ecommerce/monthly-sale.blade.php @@ -0,0 +1,18 @@ +
+
+

+ Monthly Sales +

+ + + + +
+ +
+
+
+
+ + diff --git a/resources/views/components/ecommerce/monthly-target.blade.php b/resources/views/components/ecommerce/monthly-target.blade.php new file mode 100644 index 0000000..9499fd8 --- /dev/null +++ b/resources/views/components/ecommerce/monthly-target.blade.php @@ -0,0 +1,81 @@ +
+
+
+
+

+ Monthly Target +

+

+ Target you’ve set for each month +

+
+ + + + +
+
+ {{-- Chart --}} +
+ +10% +
+

+ You earn $3287 today, it's higher than last month. Keep up your good work! +

+
+ +
+
+

+ Target +

+

+ $20K + + + +

+
+ +
+ +
+

+ Revenue +

+

+ $20K + + + +

+
+ +
+ +
+

+ Today +

+

+ $20K + + + +

+
+
+
+ diff --git a/resources/views/components/ecommerce/recent-orders.blade.php b/resources/views/components/ecommerce/recent-orders.blade.php new file mode 100644 index 0000000..a2bacab --- /dev/null +++ b/resources/views/components/ecommerce/recent-orders.blade.php @@ -0,0 +1,137 @@ +@props(['products' => []]) + +@php + $defaultProducts = [ + [ + 'name' => 'Macbook pro 13"', + 'variants' => 2, + 'image' => '/images/product/product-01.jpg', + 'category' => 'Laptop', + 'price' => '$2399.00', + 'status' => 'Delivered', + ], + [ + 'name' => 'Apple Watch Ultra', + 'variants' => 1, + 'image' => '/images/product/product-02.jpg', + 'category' => 'Watch', + 'price' => '$879.00', + 'status' => 'Pending', + ], + [ + 'name' => 'iPhone 15 Pro Max', + 'variants' => 2, + 'image' => '/images/product/product-03.jpg', + 'category' => 'SmartPhone', + 'price' => '$1869.00', + 'status' => 'Delivered', + ], + [ + 'name' => 'iPad Pro 3rd Gen', + 'variants' => 2, + 'image' => '/images/product/product-04.jpg', + 'category' => 'Electronics', + 'price' => '$1699.00', + 'status' => 'Canceled', + ], + [ + 'name' => 'Airpods Pro 2nd Gen', + 'variants' => 1, + 'image' => '/images/product/product-05.jpg', + 'category' => 'Accessories', + 'price' => '$240.00', + 'status' => 'Delivered', + ], + ]; + + $productsList = !empty($products) ? $products : $defaultProducts; + + // Helper function for status classes + $getStatusClasses = function($status) { + $baseClasses = 'rounded-full px-2 py-0.5 text-theme-xs font-medium'; + + return match($status) { + 'Delivered' => $baseClasses . ' bg-success-50 text-success-600 dark:bg-success-500/15 dark:text-success-500', + 'Pending' => $baseClasses . ' bg-warning-50 text-warning-600 dark:bg-warning-500/15 dark:text-orange-400', + 'Canceled' => $baseClasses . ' bg-error-50 text-error-600 dark:bg-error-500/15 dark:text-error-500', + default => $baseClasses . ' bg-gray-50 text-gray-600 dark:bg-gray-500/15 dark:text-gray-400', + }; + }; +@endphp + +
+
+
+

Recent Orders

+
+ +
+ + + +
+
+ +
+ + + + + + + + + + + @foreach($productsList as $product) + + + + + + + @endforeach + +
+

Products

+
+

Category

+
+

Price

+
+

Status

+
+
+
+ {{ $product['name'] }} +
+
+

+ {{ $product['name'] }} +

+ + {{ $product['variants'] }} Variants + +
+
+
+

{{ $product['category'] }}

+
+

{{ $product['price'] }}

+
+ + {{ $product['status'] }} + +
+
+
\ No newline at end of file diff --git a/resources/views/components/ecommerce/statistics-chart.blade.php b/resources/views/components/ecommerce/statistics-chart.blade.php new file mode 100644 index 0000000..15a8e57 --- /dev/null +++ b/resources/views/components/ecommerce/statistics-chart.blade.php @@ -0,0 +1,73 @@ +
+
+
+

+ Statistics +

+

+ Target you’ve set for each month +

+
+ +
+
+ + @php + $options = [ + ['value' => 'overview', 'label' => 'Overview'], + ['value' => 'sales', 'label' => 'Sales'], + ['value' => 'revenue', 'label' => 'Revenue'], + ]; + @endphp + + @foreach ($options as $option) + + @endforeach +
+ +
+ +
+ + + +
+
+ +
+
+
+
+
+
+ diff --git a/resources/views/components/form/date-picker.blade.php b/resources/views/components/form/date-picker.blade.php new file mode 100644 index 0000000..164102b --- /dev/null +++ b/resources/views/components/form/date-picker.blade.php @@ -0,0 +1,60 @@ +@props([ + 'id' => 'datepicker-' . uniqid(), + 'mode' => 'single', // 'single', 'multiple', 'range', 'time' + 'defaultDate' => null, + 'label' => null, + 'placeholder' => 'Select date', + 'name' => null, + 'dateFormat' => 'Y-m-d', +]) + +
{ + this.$dispatch('date-change', { + selectedDates, + dateStr, + instance + }); + } + }); + }); + }, + destroy() { + if (this.flatpickrInstance) { + this.flatpickrInstance.destroy(); + this.flatpickrInstance = null; + } + } +}" x-init="init()" x-destroy="destroy()"> + @if($label) + + @endif + +
+ + + + + + +
+
diff --git a/resources/views/components/form/form-elements/checkbox-component.blade.php b/resources/views/components/form/form-elements/checkbox-component.blade.php new file mode 100644 index 0000000..79ec6c2 --- /dev/null +++ b/resources/views/components/form/form-elements/checkbox-component.blade.php @@ -0,0 +1,69 @@ + +
+
+ +
+ +
+ +
+ +
+ +
+
+
diff --git a/resources/views/components/form/form-elements/default-inputs.blade.php b/resources/views/components/form/form-elements/default-inputs.blade.php new file mode 100644 index 0000000..0dcc15a --- /dev/null +++ b/resources/views/components/form/form-elements/default-inputs.blade.php @@ -0,0 +1,133 @@ + + +
+ + +
+ + +
+ + +
+ + +
+ +
+ + + + + + +
+
+ + +
+ +
+ + + + + + + + + + +
+
+ + +
+ + + +
+ + +
+ +
+ + + + + + +
+
+ + +
+ + +
+ + + + + + + + +
+
+
diff --git a/resources/views/components/form/form-elements/dropzone.blade.php b/resources/views/components/form/form-elements/dropzone.blade.php new file mode 100644 index 0000000..15efbf0 --- /dev/null +++ b/resources/views/components/form/form-elements/dropzone.blade.php @@ -0,0 +1,119 @@ + + +
+
+ + + +
+ +
+
+ + + +
+
+ + +

+ Drag & Drop Files Here + Drop Files Here +

+ + + Drag and drop your PNG, JPG, WebP, SVG images here or browse + + + + Browse File + +
+
+ + +
+
Uploaded Files:
+
    + +
+
+
+
diff --git a/resources/views/components/form/form-elements/file-input-example.blade.php b/resources/views/components/form/form-elements/file-input-example.blade.php new file mode 100644 index 0000000..5321989 --- /dev/null +++ b/resources/views/components/form/form-elements/file-input-example.blade.php @@ -0,0 +1,10 @@ + + +
+ + +
+
diff --git a/resources/views/components/form/form-elements/input-group.blade.php b/resources/views/components/form/form-elements/input-group.blade.php new file mode 100644 index 0000000..613883a --- /dev/null +++ b/resources/views/components/form/form-elements/input-group.blade.php @@ -0,0 +1,144 @@ + + +
+ +
+ + + + + + +
+
+ + +
+ +
+
+ +
+ + + +
+
+ +
+
+ + +
+ +
+
+ +
+ + + +
+
+ +
+
+ + +
+ +
+ + http:// + + +
+
+ + +
+ +
+ + +
+
+
diff --git a/resources/views/components/form/form-elements/input-states.blade.php b/resources/views/components/form/form-elements/input-states.blade.php new file mode 100644 index 0000000..c0c6241 --- /dev/null +++ b/resources/views/components/form/form-elements/input-states.blade.php @@ -0,0 +1,61 @@ + +
+ +
+ +
+ + + + + + +
+ +

+ This is an error message. +

+
+ + +
+ +
+ + + + + + +
+ +

+ This is an success message. +

+
+ + +
+ + +
+
+
diff --git a/resources/views/components/form/form-elements/radio-buttons.blade.php b/resources/views/components/form/form-elements/radio-buttons.blade.php new file mode 100644 index 0000000..f3852eb --- /dev/null +++ b/resources/views/components/form/form-elements/radio-buttons.blade.php @@ -0,0 +1,53 @@ + +
+
+ +
+ +
+ +
+ +
+ +
+
+
diff --git a/resources/views/components/form/form-elements/select-inputs.blade.php b/resources/views/components/form/form-elements/select-inputs.blade.php new file mode 100644 index 0000000..454bb98 --- /dev/null +++ b/resources/views/components/form/form-elements/select-inputs.blade.php @@ -0,0 +1,36 @@ + +
+ +
+ + + + + + +
+
+ + {{-- multiple select --}} + +
diff --git a/resources/views/components/form/form-elements/text-area-inputs.blade.php b/resources/views/components/form/form-elements/text-area-inputs.blade.php new file mode 100644 index 0000000..bc309e7 --- /dev/null +++ b/resources/views/components/form/form-elements/text-area-inputs.blade.php @@ -0,0 +1,31 @@ + + +
+ + +
+ + +
+ + +
+ + +
+ + +

+ Please enter a message in the textarea. +

+
+
diff --git a/resources/views/components/form/form-elements/toggle-switch.blade.php b/resources/views/components/form/form-elements/toggle-switch.blade.php new file mode 100644 index 0000000..9e729dc --- /dev/null +++ b/resources/views/components/form/form-elements/toggle-switch.blade.php @@ -0,0 +1,110 @@ + + +
+
+ +
+ +
+ +
+ +
+ +
+
+ + +
+
+ +
+ +
+ +
+ +
+ +
+
+
diff --git a/resources/views/components/form/input/radio.blade.php b/resources/views/components/form/input/radio.blade.php new file mode 100644 index 0000000..3c476ba --- /dev/null +++ b/resources/views/components/form/input/radio.blade.php @@ -0,0 +1,43 @@ +@props([ + 'id', + 'name', + 'value', + 'checked' => false, + 'label', + 'disabled' => false, +]) + + \ No newline at end of file diff --git a/resources/views/components/form/select/multiple-select.blade.php b/resources/views/components/form/select/multiple-select.blade.php new file mode 100644 index 0000000..495edf5 --- /dev/null +++ b/resources/views/components/form/select/multiple-select.blade.php @@ -0,0 +1,80 @@ +
+ + +
+ + + + +
+ +
+ + + + + Select options... + +
+ + +
+ + + +
+
+ + +
+
+ +
+
+
+
diff --git a/resources/views/components/header/notification-dropdown.blade.php b/resources/views/components/header/notification-dropdown.blade.php new file mode 100644 index 0000000..6e8f198 --- /dev/null +++ b/resources/views/components/header/notification-dropdown.blade.php @@ -0,0 +1,222 @@ +{{-- Notification Dropdown Component --}} +
+ + + + + + +
diff --git a/resources/views/components/header/user-dropdown.blade.php b/resources/views/components/header/user-dropdown.blade.php new file mode 100644 index 0000000..ce14bbe --- /dev/null +++ b/resources/views/components/header/user-dropdown.blade.php @@ -0,0 +1,128 @@ +
+ + + + + + +
diff --git a/resources/views/components/profile/address-card.blade.php b/resources/views/components/profile/address-card.blade.php new file mode 100644 index 0000000..08ca67e --- /dev/null +++ b/resources/views/components/profile/address-card.blade.php @@ -0,0 +1,108 @@ +
+
+
+
+

Address

+ +
+
+

Country

+

United States

+
+ +
+

City/State

+

+ Phoenix, United States +

+
+ +
+

+ Postal Code +

+

ERT 2489

+
+ +
+

TAX ID

+

AS4568384

+
+
+
+ + +
+
+ +
+
+

+ Edit Address +

+

+ Update your details to keep your profile up-to-date. +

+
+
+
+
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+
+
+
+ + +
+
+
+
+
diff --git a/resources/views/components/profile/personal-info-card.blade.php b/resources/views/components/profile/personal-info-card.blade.php new file mode 100644 index 0000000..760f174 --- /dev/null +++ b/resources/views/components/profile/personal-info-card.blade.php @@ -0,0 +1,54 @@ +
+
+
+
+

+ Personal Information +

+ +
+
+

First Name

+

Musharof

+
+ +
+

Last Name

+

Chowdhury

+
+ +
+

+ Email address +

+

+ randomuser@pimjo.com +

+
+ +
+

Phone

+

+09 363 398 46

+
+ +
+

Bio

+

Team Manager

+
+
+
+ + +
+
+
diff --git a/resources/views/components/profile/profile-card.blade.php b/resources/views/components/profile/profile-card.blade.php new file mode 100644 index 0000000..d2c2058 --- /dev/null +++ b/resources/views/components/profile/profile-card.blade.php @@ -0,0 +1,194 @@ +
+
+
+
+
+ user +
+
+

+ Musharof Chowdhury +

+
+

+ Team Manager +

+ +

+ Arizona, United States. +

+
+
+
+ + + + + + + +
+
+ + +
+
+ + + +
+
+

+ Edit Personal Information +

+

+ Update your details to keep your profile up-to-date. +

+
+
+
+
+
+ Social Links +
+ +
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+
+
+
+
+ Personal Information +
+ +
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+
+
+
+
+ + +
+
+
+
+
diff --git a/resources/views/components/tables/basic-tables/basic-tables-five.blade.php b/resources/views/components/tables/basic-tables/basic-tables-five.blade.php new file mode 100644 index 0000000..c247b14 --- /dev/null +++ b/resources/views/components/tables/basic-tables/basic-tables-five.blade.php @@ -0,0 +1,197 @@ + +@php + $orders = [ + [ + 'product' => 'TailGrids', + 'category' => 'UI Kit', + 'countryFlag' => '/images/country/country-01.svg', + 'country' => 'USA', + 'cr' => 'Dashboard', + 'value' => '$12,499', + ], + [ + 'product' => 'GrayGrids', + 'category' => 'Templates', + 'countryFlag' => '/images/country/country-03.svg', + 'country' => 'UK', + 'cr' => 'Dashboard', + 'value' => '$5,498', + ], + [ + 'product' => 'Uideck', + 'category' => 'Templates', + 'countryFlag' => '/images/country/country-04.svg', + 'country' => 'Canada', + 'cr' => 'Dashboard', + 'value' => '$4,521', + ], + [ + 'product' => 'FormBold', + 'category' => 'SaaS', + 'countryFlag' => '/images/country/country-05.svg', + 'country' => 'Australia', + 'cr' => 'Dashboard', + 'value' => '$13,843', + ], + [ + 'product' => 'NextAdmin', + 'category' => 'Dashboard', + 'countryFlag' => '/images/country/country-06.svg', + 'country' => 'Germany', + 'cr' => 'Dashboard', + 'value' => '$7,523', + ], + [ + 'product' => 'Form Builder', + 'category' => 'SaaS', + 'countryFlag' => '/images/country/country-07.svg', + 'country' => 'France', + 'cr' => 'Dashboard', + 'value' => '$1,377', + ], + [ + 'product' => 'AyroUI', + 'category' => 'UI Kit', + 'countryFlag' => '/images/country/country-08.svg', + 'country' => 'Japan', + 'cr' => 'Dashboard', + 'value' => '$599,00', + ], + ]; +@endphp + +
+
+
+

Recent Orders

+
+ +
+ + + +
+
+ +
+ + + + + + + + + + + + + + + + @foreach ($orders as $order) + + + + + + + + @endforeach + + +
+
+

Products

+
+
+
+

Category

+
+
+
+

Country

+
+
+
+

CR

+
+
+
+

Value

+
+
+
+

+ {{ $order['product'] }} +

+
+
+
+

{{ $order['category'] }}

+
+
+
+
+ {{ $order['country'] }} +
+
+
+
+

+ {{ $order['cr'] }} +

+
+
+
+

{{ $order['value'] }}

+
+
+
+
\ No newline at end of file diff --git a/resources/views/components/tables/basic-tables/basic-tables-four.blade.php b/resources/views/components/tables/basic-tables/basic-tables-four.blade.php new file mode 100644 index 0000000..dba3463 --- /dev/null +++ b/resources/views/components/tables/basic-tables/basic-tables-four.blade.php @@ -0,0 +1,143 @@ +@php + $campaigns = [ + [ + 'creator' => ['name' => 'Wilson Gouse', 'imageUrl' => '/images/user/user-01.jpg'], + 'brand' => ['name' => 'Brand 1', 'logo' => '/images/brand/brand-01.svg'], + 'title' => 'Grow your brand by...', + 'type' => 'Ads campaign', + 'status' => 'Success', + ], + [ + 'creator' => ['name' => 'Terry Franci', 'imageUrl' => '/images/user/user-02.jpg'], + 'brand' => ['name' => 'Brand 2', 'logo' => '/images/brand/brand-02.svg'], + 'title' => 'Make Better Ideas...', + 'type' => 'Ads campaign', + 'status' => 'Pending', + ], + [ + 'creator' => ['name' => 'Alena Franci', 'imageUrl' => '/images/user/user-03.jpg'], + 'brand' => ['name' => 'Brand 3', 'logo' => '/images/brand/brand-03.svg'], + 'title' => 'Increase your website tra...', + 'type' => 'Ads campaign', + 'status' => 'Success', + ], + [ + 'creator' => ['name' => 'Jocelyn Kenter', 'imageUrl' => '/images/user/user-04.jpg'], + 'brand' => ['name' => 'Brand 4', 'logo' => '/images/brand/brand-04.svg'], + 'title' => 'Digital Marketing that...', + 'type' => 'Ads campaign', + 'status' => 'Failed', + ], + [ + 'creator' => ['name' => 'Brandon Philips', 'imageUrl' => '/images/user/user-05.jpg'], + 'brand' => ['name' => 'Brand 2', 'logo' => '/images/brand/brand-02.svg'], + 'title' => 'Self branding', + 'type' => 'Ads campaign', + 'status' => 'Success', + ], + [ + 'creator' => ['name' => 'James Lipshutz', 'imageUrl' => '/images/user/user-06.jpg'], + 'brand' => ['name' => 'Brand 3', 'logo' => '/images/brand/brand-03.svg'], + 'title' => 'Increase your website tra...', + 'type' => 'Ads campaign', + 'status' => 'Success', + ], + ]; + + function getStatusClass($status) { + $baseClasses = 'rounded-full px-2 text-theme-xs font-medium'; + switch ($status) { + case 'Success': + return "$baseClasses bg-success-50 text-success-600 dark:bg-success-500/15 dark:text-success-500"; + case 'Pending': + return "$baseClasses bg-warning-50 text-warning-600 dark:bg-warning-500/15 dark:text-orange-400"; + case 'Failed': + return "$baseClasses bg-error-50 text-error-600 dark:bg-error-500/15 dark:text-error-500"; + default: + return $baseClasses; + } + } +@endphp + +
+
+
+

Featured Campaigns

+
+ +
+
+ +
+ + + + + + + + + + + + + + @foreach ($campaigns as $campaign) + + + + + + @endforeach + + +
+
+

Creator

+
+
+
+

Campaign

+
+
+
+

Status

+
+
+
+
+ {{ $campaign['creator']['name'] }} +
+
+

+ {{ $campaign['creator']['name'] }} +

+
+
+
+
+
+
+ {{ $campaign['brand']['name'] }} +
+
+

+ {{ $campaign['title'] }} +

+ + {{ $campaign['type'] }} + +
+
+
+
+
+ + {{ $campaign['status'] }} + +
+
+
+
\ No newline at end of file diff --git a/resources/views/components/tables/basic-tables/basic-tables-one.blade.php b/resources/views/components/tables/basic-tables/basic-tables-one.blade.php new file mode 100644 index 0000000..b08f36a --- /dev/null +++ b/resources/views/components/tables/basic-tables/basic-tables-one.blade.php @@ -0,0 +1,170 @@ +
+
+
+ + + + + + + + + + + + + +
+

+ User +

+
+

+ Project Name +

+
+

+ Team +

+
+

+ Status +

+
+

+ Budget +

+
+
+
+
\ No newline at end of file diff --git a/resources/views/components/tables/basic-tables/basic-tables-three.blade.php b/resources/views/components/tables/basic-tables/basic-tables-three.blade.php new file mode 100644 index 0000000..321ede9 --- /dev/null +++ b/resources/views/components/tables/basic-tables/basic-tables-three.blade.php @@ -0,0 +1,313 @@ +
+
+ +
+
+

Latest Transactions

+
+
+
+
+ + +
+
+
+
+ + +
+
+ + + + + + + + + + + + + + +
NameDatePriceCategoryStatus + Actions +
+
+
+ + +
+
+ + + + Page of + + + + + +
+
+
+
\ No newline at end of file diff --git a/resources/views/components/tables/basic-tables/basic-tables-two.blade.php b/resources/views/components/tables/basic-tables/basic-tables-two.blade.php new file mode 100644 index 0000000..2bb0c61 --- /dev/null +++ b/resources/views/components/tables/basic-tables/basic-tables-two.blade.php @@ -0,0 +1,207 @@ +
+
+ +
+
+

+ Recent Orders +

+
+
+ + +
+
+ + +
+ + + + + + + + + + + + + + + +
+
+
+ + + +
+ Deal ID +
+
CustomerProduct/ServiceDeal ValueClose DateStatusAction
+
+
+
\ No newline at end of file diff --git a/resources/views/components/ui/alert.blade.php b/resources/views/components/ui/alert.blade.php new file mode 100644 index 0000000..10e4b75 --- /dev/null +++ b/resources/views/components/ui/alert.blade.php @@ -0,0 +1,82 @@ +{{-- resources/views/components/alert.blade.php --}} + +@props([ + 'variant' => 'info', + 'title' => '', + 'message' => '', + 'showLink' => false, + 'linkHref' => '#', + 'linkText' => 'Learn more' +]) + +@php + $variantClasses = [ + 'success' => [ + 'container' => 'border-green-500 bg-green-50 dark:border-green-500/30 dark:bg-green-500/15', + 'icon' => 'text-green-500', + ], + 'error' => [ + 'container' => 'border-red-500 bg-red-50 dark:border-red-500/30 dark:bg-red-500/15', + 'icon' => 'text-red-500', + ], + 'warning' => [ + 'container' => 'border-yellow-500 bg-yellow-50 dark:border-yellow-500/30 dark:bg-yellow-500/15', + 'icon' => 'text-yellow-500', + ], + 'info' => [ + 'container' => 'border-blue-500 bg-blue-50 dark:border-blue-500/30 dark:bg-blue-500/15', + 'icon' => 'text-blue-500', + ], + ]; + + $icons = [ + 'success' => ' + + ', + 'error' => ' + + ', + 'warning' => ' + + ', + 'info' => ' + + ', + ]; + + $containerClass = $variantClasses[$variant]['container'] ?? $variantClasses['info']['container']; + $iconClass = $variantClasses[$variant]['icon'] ?? $variantClasses['info']['icon']; + $icon = $icons[$variant] ?? $icons['info']; +@endphp + +
+
+
+ {!! $icon !!} +
+ +
+ @if($title) +

+ {{ $title }} +

+ @endif + + @if($message) +

{{ $message }}

+ @endif + + @if($showLink) + + {{ $linkText }} + + @endif + + {{-- Slot for custom content --}} + {{ $slot }} +
+
+
\ No newline at end of file diff --git a/resources/views/components/ui/avatar.blade.php b/resources/views/components/ui/avatar.blade.php new file mode 100644 index 0000000..9fcbaa2 --- /dev/null +++ b/resources/views/components/ui/avatar.blade.php @@ -0,0 +1,49 @@ + +@props([ + 'src' => '', + 'alt' => 'User Avatar', + 'size' => 'medium', + 'status' => 'none', +]) + +@php + $sizeClasses = [ + 'xsmall' => 'h-6 w-6 max-w-6', + 'small' => 'h-8 w-8 max-w-8', + 'medium' => 'h-10 w-10 max-w-10', + 'large' => 'h-12 w-12 max-w-12', + 'xlarge' => 'h-14 w-14 max-w-14', + 'xxlarge' => 'h-16 w-16 max-w-16', + ]; + + $statusSizeClasses = [ + 'xsmall' => 'h-1.5 w-1.5 max-w-1.5', + 'small' => 'h-2 w-2 max-w-2', + 'medium' => 'h-2.5 w-2.5 max-w-2.5', + 'large' => 'h-3 w-3 max-w-3', + 'xlarge' => 'h-3.5 w-3.5 max-w-3.5', + 'xxlarge' => 'h-4 w-4 max-w-4', + ]; + + $statusColorClasses = [ + 'online' => 'bg-green-500', + 'offline' => 'bg-red-400', + 'busy' => 'bg-yellow-500', + ]; + + $sizeClass = $sizeClasses[$size] ?? $sizeClasses['medium']; + $statusSizeClass = $statusSizeClasses[$size] ?? $statusSizeClasses['medium']; + $statusColorClass = $statusColorClasses[$status] ?? ''; +@endphp + +
+ {{ $alt }} + + @if($status !== 'none') + + @endif +
\ No newline at end of file diff --git a/resources/views/components/ui/badge.blade.php b/resources/views/components/ui/badge.blade.php new file mode 100644 index 0000000..c2bd54c --- /dev/null +++ b/resources/views/components/ui/badge.blade.php @@ -0,0 +1,53 @@ + +@props([ + 'variant' => 'light', + 'size' => 'md', + 'color' => 'primary', + 'startIcon' => null, + 'endIcon' => null, +]) + +@php + $baseStyles = 'inline-flex items-center px-2.5 py-0.5 justify-center gap-1 rounded-full font-medium capitalize'; + + $sizeStyles = [ + 'sm' => 'text-xs', + 'md' => 'text-sm', + ]; + + $variants = [ + 'light' => [ + 'primary' => 'bg-blue-50 text-blue-500 dark:bg-blue-500/15 dark:text-blue-400', + 'success' => 'bg-green-50 text-green-600 dark:bg-green-500/15 dark:text-green-500', + 'error' => 'bg-red-50 text-red-600 dark:bg-red-500/15 dark:text-red-500', + 'warning' => 'bg-yellow-50 text-yellow-600 dark:bg-yellow-500/15 dark:text-orange-400', + 'info' => 'bg-sky-50 text-sky-500 dark:bg-sky-500/15 dark:text-sky-500', + 'light' => 'bg-gray-100 text-gray-700 dark:bg-white/5 dark:text-white/80', + 'dark' => 'bg-gray-500 text-white dark:bg-white/5 dark:text-white', + ], + 'solid' => [ + 'primary' => 'bg-blue-500 text-white dark:text-white', + 'success' => 'bg-green-500 text-white dark:text-white', + 'error' => 'bg-red-500 text-white dark:text-white', + 'warning' => 'bg-yellow-500 text-white dark:text-white', + 'info' => 'bg-sky-500 text-white dark:text-white', + 'light' => 'bg-gray-400 dark:bg-white/5 text-white dark:text-white/80', + 'dark' => 'bg-gray-700 text-white dark:text-white', + ], + ]; + + $sizeClass = $sizeStyles[$size] ?? $sizeStyles['md']; + $colorStyles = $variants[$variant][$color] ?? $variants['light']['primary']; +@endphp + + + @if($startIcon) + {!! $startIcon !!} + @endif + + {{ $slot }} + + @if($endIcon) + {!! $endIcon !!} + @endif + diff --git a/resources/views/components/ui/button.blade.php b/resources/views/components/ui/button.blade.php new file mode 100644 index 0000000..2838e10 --- /dev/null +++ b/resources/views/components/ui/button.blade.php @@ -0,0 +1,61 @@ +@props([ + 'size' => 'md', + 'variant' => 'primary', + 'startIcon' => null, + 'endIcon' => null, + 'className' => '', + 'disabled' => false, +]) + +@php + // Base classes + $base = 'inline-flex items-center justify-center font-medium gap-2 rounded-lg transition'; + + // Size map + $sizeMap = [ + 'sm' => 'px-4 py-3 text-sm', + 'md' => 'px-5 py-3.5 text-sm', + ]; + $sizeClass = $sizeMap[$size] ?? $sizeMap['md']; + + // Variant map + $variantMap = [ + 'primary' => 'bg-brand-500 text-white shadow-theme-xs hover:bg-brand-600 disabled:bg-brand-300', + 'outline' => 'bg-white text-gray-700 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 dark:bg-gray-800 dark:text-gray-400 dark:ring-gray-700 dark:hover:bg-white/[0.03] dark:hover:text-gray-300', + ]; + $variantClass = $variantMap[$variant] ?? $variantMap['primary']; + + // disabled classes + $disabledClass = $disabled ? 'cursor-not-allowed opacity-50' : ''; + + // final classes (merge user className too) + $classes = trim("{$base} {$sizeClass} {$variantClass} {$className} {$disabledClass}"); +@endphp + + diff --git a/resources/views/components/ui/modal.blade.php b/resources/views/components/ui/modal.blade.php new file mode 100644 index 0000000..744e0a0 --- /dev/null +++ b/resources/views/components/ui/modal.blade.php @@ -0,0 +1,59 @@ +@props([ + 'isOpen' => false, + 'showCloseButton' => true, +]) + + + + diff --git a/resources/views/components/ui/youtube-embed.blade.php b/resources/views/components/ui/youtube-embed.blade.php new file mode 100644 index 0000000..2aab363 --- /dev/null +++ b/resources/views/components/ui/youtube-embed.blade.php @@ -0,0 +1,29 @@ + +@props([ + 'videoId' => '', + 'aspectRatio' => '16:9', + 'title' => 'YouTube video', + 'className' => '' +]) + +@php + $aspectRatioClasses = [ + '16:9' => 'aspect-video', + '4:3' => 'aspect-4/3', + '21:9' => 'aspect-21/9', + '1:1' => 'aspect-square', + ]; + + $aspectRatioClass = $aspectRatioClasses[$aspectRatio] ?? $aspectRatioClasses['16:9']; +@endphp + +
+ +
\ No newline at end of file diff --git a/resources/views/dashboard/dashboard.blade.php b/resources/views/dashboard/dashboard.blade.php index 6ea42cc..6e549ad 100644 --- a/resources/views/dashboard/dashboard.blade.php +++ b/resources/views/dashboard/dashboard.blade.php @@ -1,144 +1,255 @@ -@extends('layouts.user.dashb4') +@extends('layouts.app') + @section('content') -
-
-
-
-

Information

-
-
- This page displays the Scopes, Permissions, and Roles you currently have on the services site.
- By clicking on the Register Alt link you can add alts for SRP management.
-
-
-
-
-
-
-
-
-
-

Scopes

+ @php + $authUser = $user ?? auth()->user(); + @endphp + +
+
+
+
+

+ User Dashboard +

+

+ This page displays the scopes, permissions, roles, and registered alts currently assigned to your services account. +

-
- + +
+
+ Character: {{ $authUser->character_name }} +
+ +
+ Character ID: {{ $authUser->character_id }} +
+ +
+ Primary Role: {{ $role ?? 'None' }} +
+
+ + + +
+
+

Scopes

+

{{ $scopeCount }}

+
+ +
+

Permissions

+

{{ $permissionCount }}

+
+ +
+

Roles

+

{{ $roleCount }}

+
+ +
+

Registered Alts

+

{{ $altCount }}

+
+
+ +
+
+
+

Scopes

+
+ +
+
+
+ + + + + + + @forelse($scopes as $scope) + + + + @empty + + + + @endforelse + +
+ Scope +
+ {{ $scope->scope }} +
+ No scopes assigned. +
+
+
+
+ +
+
+

Permissions

+
+ +
+
+ + + + + + + + @forelse($permissions as $permission) + + + + @empty + + + + @endforelse + +
+ Permission +
+ {{ $permission->permission }} +
+ No permissions assigned. +
+
+
+
+ +
+
+

Roles

+
+ +
+
+ + + + + + + + @forelse($roles as $assignedRole) + + + + @empty + + + + @endforelse + +
+ Role +
+ {{ $assignedRole->role }} +
+ No roles assigned. +
+
+
+
+
+ +
+
+
+
+

Registered Alts

+

+ These alts are attached to your main character for services features such as SRP management. +

+
+
+
+ +
+
+ - + + + + + - @if($scopeCount > 0) - @foreach($scopes as $scope) - - + @forelse($alts as $alt) + + + + - @endforeach - @else + @empty - + - @endif + @endforelse -
Scope
+ Alt Name + + Character ID + + Owner Hash +
{{ $scope->scope }}
+ {{ $alt->name }} + + {{ $alt->character_id }} + + {{ $alt->owner_hash }} +
No Scopes + No alts registered. +
-
-
-
-
-
-
-

Permissions

-
-
- - - - - - @if($permissionCount > 0) - @foreach($permissions as $permission) - - - - @endforeach - @else - - - - @endif -
Permission
{{ $permission->permission }}
No Permissions
-
-
-
-

Roles

+ +
+

JWT Status

+ +
+
+

Issued At

+

+ {{ optional($authUser->user_jwt_issued_at)?->toDateTimeString() ?? 'N/A' }} +

-
- - - - - - @if($roleCount > 0) - @foreach($roles as $role) - - - - @endforeach - @else - - - - @endif - -
Role
{{ $role->role }}
No Role
+ +
+

Expires At

+

+ {{ optional($authUser->user_jwt_expires_at)?->toDateTimeString() ?? 'N/A' }} +

+ +
+

Privileges Version

+

+ {{ $authUser->privileges_version ?? 1 }} +

+
+
+ +
+ +
-
-
-
- - - - - - - - @if($altCount > 0) - @foreach($alts as $alt) - {{ Form::open(['action' => 'Dashboard\DashboardController@removeAlt', 'method' => 'POST']) }} - - - - - - {{ Form::close() }} - @endforeach - @else - - - - - @endif - -
Alt NameCharacter IdRemove
{{ $alt->name }}{{ $alt->character_id }} - {{ Form::hidden('character', $alt->character_id) }} - {{ Form::submit('Remove Alt', ['class' => 'btn btn-primary']) }} -
No Alts on Record
-
-
-
-
-
-

Register Alts for SRP Form and Mining Taxes

-
-
- -
-
-
-
@endsection \ No newline at end of file diff --git a/resources/views/layouts/app-header.blade.php b/resources/views/layouts/app-header.blade.php new file mode 100644 index 0000000..e64ad37 --- /dev/null +++ b/resources/views/layouts/app-header.blade.php @@ -0,0 +1,123 @@ +
+
+
+ + + + + + + + + + Logo + + + + + + + + +
+ + +
+
+ + + + + +
+ + + +
+
+
diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php new file mode 100644 index 0000000..9cfece6 --- /dev/null +++ b/resources/views/layouts/app.blade.php @@ -0,0 +1,138 @@ + + + + + + + + + {{ $title ?? 'Dashboard' }} | TailAdmin - Laravel Tailwind CSS Admin Dashboard Template + + + @vite(['resources/css/app.css', 'resources/js/app.js']) + + + {{-- --}} + + + + + + + + + + + + {{-- preloader --}} + + {{-- preloader end --}} + +
+ @include('layouts.backdrop') + @include('layouts.sidebar') + +
+ + @include('layouts.app-header') + +
+ @yield('content') +
+
+ +
+ + + +@stack('scripts') + + diff --git a/resources/views/layouts/backdrop.blade.php b/resources/views/layouts/backdrop.blade.php new file mode 100644 index 0000000..5cd9728 --- /dev/null +++ b/resources/views/layouts/backdrop.blade.php @@ -0,0 +1,12 @@ +{{--
+sidebarToggle ? 'block xl:hidden' : 'hidden' +
--}} + +
diff --git a/resources/views/layouts/fullscreen-layout.blade.php b/resources/views/layouts/fullscreen-layout.blade.php new file mode 100644 index 0000000..c2d9359 --- /dev/null +++ b/resources/views/layouts/fullscreen-layout.blade.php @@ -0,0 +1,117 @@ + + + + + + + + + {{ $title ?? 'Dashboard' }} | TailAdmin - Laravel Tailwind CSS Admin Dashboard Template + + + @vite(['resources/css/app.css', 'resources/js/app.js']) + + + {{-- --}} + + + + + + + + + + + {{-- preloader --}} + + {{-- preloader end --}} + + @yield('content') + + + +@stack('scripts') + + diff --git a/resources/views/layouts/sidebar-widget.blade.php b/resources/views/layouts/sidebar-widget.blade.php new file mode 100644 index 0000000..409257e --- /dev/null +++ b/resources/views/layouts/sidebar-widget.blade.php @@ -0,0 +1,12 @@ +
+

+ #1 Tailwind CSS Dashboard +

+

+ Leading Tailwind CSS Admin Template with 500+ UI Component and Pages. +

+ + Purchase Plan + +
diff --git a/resources/views/layouts/sidebar.blade.php b/resources/views/layouts/sidebar.blade.php new file mode 100644 index 0000000..7114b4a --- /dev/null +++ b/resources/views/layouts/sidebar.blade.php @@ -0,0 +1,230 @@ + +@php + use App\Helpers\MenuHelper; + $menuGroups = MenuHelper::getMenuGroups(); + + // Get current path + $currentPath = request()->path(); +@endphp + + + + +
diff --git a/resources/views/pages/auth/signin.blade.php b/resources/views/pages/auth/signin.blade.php new file mode 100644 index 0000000..f589a8c --- /dev/null +++ b/resources/views/pages/auth/signin.blade.php @@ -0,0 +1,171 @@ +@extends('layouts.fullscreen-layout') + +@section('content') +
+
+ +
+ +
+
+
+

+ Sign In +

+

+ Enter your email and password to sign in! +

+
+
+
+ + +
+
+
+
+
+
+ Or +
+
+
+
+ +
+ + +
+ +
+ +
+ + + + + + + + + +
+
+ +
+
+ +
+ + Forgot password? + +
+ +
+ +
+
+
+
+

+ Don't have an account? + Sign Up +

+
+
+
+
+
+ + + +
+ +
+
+
+@endsection diff --git a/resources/views/pages/auth/signup.blade.php b/resources/views/pages/auth/signup.blade.php new file mode 100644 index 0000000..901d00a --- /dev/null +++ b/resources/views/pages/auth/signup.blade.php @@ -0,0 +1,181 @@ +@extends('layouts.fullscreen-layout') + +@section('content') +
+
+ +
+ +
+
+

+ Sign Up +

+

+ Enter your email and password to sign up! +

+
+
+
+ + +
+
+
+
+
+
+ Or +
+
+
+
+
+ +
+ + +
+ +
+ + +
+
+ +
+ + +
+ +
+ +
+ + + + + + + + + +
+
+ +
+
+ +
+
+ +
+ +
+
+
+
+

+ Already have an account? + Sign In +

+
+
+
+
+ + +
+ +
+
+
+@endsection diff --git a/resources/views/pages/blank.blade.php b/resources/views/pages/blank.blade.php new file mode 100644 index 0000000..28b5e56 --- /dev/null +++ b/resources/views/pages/blank.blade.php @@ -0,0 +1,17 @@ +@extends('layouts.app') + +@section('content') + +
+
+

+ Card Title Here +

+ +

+ Start putting content on grids or panels, you can also use different combinations of + grids.Please check out the dashboard and other pages +

+
+
+@endsection diff --git a/resources/views/pages/calender.blade.php b/resources/views/pages/calender.blade.php new file mode 100644 index 0000000..10ef5fa --- /dev/null +++ b/resources/views/pages/calender.blade.php @@ -0,0 +1,6 @@ +@extends('layouts.app') + +@section('content') + + +@endsection diff --git a/resources/views/pages/chart/bar-chart.blade.php b/resources/views/pages/chart/bar-chart.blade.php new file mode 100644 index 0000000..6bff80a --- /dev/null +++ b/resources/views/pages/chart/bar-chart.blade.php @@ -0,0 +1,22 @@ +@extends('layouts.app') + +@section('content') + +
+ + +
+
+
+ +
+ + + +
+
+
+ +
+
+@endsection diff --git a/resources/views/pages/chart/line-chart.blade.php b/resources/views/pages/chart/line-chart.blade.php new file mode 100644 index 0000000..0477230 --- /dev/null +++ b/resources/views/pages/chart/line-chart.blade.php @@ -0,0 +1,30 @@ +@extends('layouts.app') + +@section('content') + +
+ + +
+
+
+ +
+ + + +
+
+
+ +
+ + + +
+
+
+ +
+
+@endsection diff --git a/resources/views/pages/dashboard/ecommerce.blade.php b/resources/views/pages/dashboard/ecommerce.blade.php new file mode 100644 index 0000000..d429fbf --- /dev/null +++ b/resources/views/pages/dashboard/ecommerce.blade.php @@ -0,0 +1,25 @@ +@extends('layouts.app') + +@section('content') +
+
+ + +
+
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+
+@endsection diff --git a/resources/views/pages/errors/error-404.blade.php b/resources/views/pages/errors/error-404.blade.php new file mode 100644 index 0000000..08f970d --- /dev/null +++ b/resources/views/pages/errors/error-404.blade.php @@ -0,0 +1,33 @@ +@extends('layouts.fullscreen-layout') + +@section('content') +@php + $currentYear = date('Y'); +@endphp +
+ {{-- common grid shape --}} + + +
+

+ ERROR +

+ + 404 + + +

+ We can't seem to find the page you are looking for! +

+ + + Back to Home Page + +
+ +

+ © {{ $currentYear }} - TailAdmin +

+
+@endsection diff --git a/resources/views/pages/form/form-elements.blade.php b/resources/views/pages/form/form-elements.blade.php new file mode 100644 index 0000000..7169379 --- /dev/null +++ b/resources/views/pages/form/form-elements.blade.php @@ -0,0 +1,21 @@ +@extends('layouts.app') + +@section('content') + +
+
+ + + + +
+
+ + + + + + +
+
+@endsection diff --git a/resources/views/pages/profile.blade.php b/resources/views/pages/profile.blade.php new file mode 100644 index 0000000..2ca2c00 --- /dev/null +++ b/resources/views/pages/profile.blade.php @@ -0,0 +1,11 @@ +@extends('layouts.app') + +@section('content') + +
+

Profile

+ + + +
+@endsection diff --git a/resources/views/pages/tables/basic-tables.blade.php b/resources/views/pages/tables/basic-tables.blade.php new file mode 100644 index 0000000..a8b644e --- /dev/null +++ b/resources/views/pages/tables/basic-tables.blade.php @@ -0,0 +1,22 @@ +@extends('layouts.app') + +@section('content') + +
+ + + + + + + + + + + + + + + +
+@endsection diff --git a/resources/views/pages/ui-elements/alerts.blade.php b/resources/views/pages/ui-elements/alerts.blade.php new file mode 100644 index 0000000..1a0d406 --- /dev/null +++ b/resources/views/pages/ui-elements/alerts.blade.php @@ -0,0 +1,174 @@ +@extends('layouts.app') + +@section('content') + + +
+ {{-- Success Alert --}} + +
+ + + +
+
+ + {{-- Warning Alert --}} + +
+ + + +
+
+ + {{-- Error Alert --}} + +
+ + + +
+
+ + {{-- Info Alert --}} + +
+ + + +
+
+ + {{-- Additional Examples --}} + +
+ {{-- With Slot Content --}} + +

+ This alert uses custom slot content + instead of the message prop. +

+
    +
  • You can add any HTML content
  • +
  • Including lists and formatting
  • +
  • Perfect for complex messages
  • +
+ + + {{-- Minimal Alert --}} + + + {{-- Alert with Long Message --}} + +
+
+ + {{-- Interactive Demo --}} + +
+ {{-- Payment Success --}} + +

+ Your payment of $99.00 has been processed successfully. +

+
+

Order ID: #TAILADMIN-0014

+

Transaction ID: TXN-1234567890

+
+ + View Order Details + + + + {{-- Account Warning --}} + + + {{-- Validation Error --}} + +
    +
  • Email field is required
  • +
  • Password must be at least 8 characters
  • +
  • Please accept the terms and conditions
  • +
+ + + {{-- System Info --}} + +
+
+
+@endsection diff --git a/resources/views/pages/ui-elements/avatars.blade.php b/resources/views/pages/ui-elements/avatars.blade.php new file mode 100644 index 0000000..0006b1a --- /dev/null +++ b/resources/views/pages/ui-elements/avatars.blade.php @@ -0,0 +1,63 @@ +@extends('layouts.app') + +@section('content') + + + @php + $avatarSrc = asset('images/user/user-01.jpg'); + $sizes = ['xsmall', 'small', 'medium', 'large', 'xlarge', 'xxlarge']; + @endphp + +
+ {{-- Default Avatar --}} + +
+ @foreach($sizes as $size) + + @endforeach +
+
+ + {{-- Avatar with Online Indicator --}} + +
+ @foreach($sizes as $size) + + @endforeach +
+
+ + {{-- Avatar with Offline Indicator --}} + +
+ @foreach($sizes as $size) + + @endforeach +
+
+ + {{-- Avatar with Busy Indicator --}} + +
+ @foreach($sizes as $size) + + @endforeach +
+
+
+@endsection \ No newline at end of file diff --git a/resources/views/pages/ui-elements/badges.blade.php b/resources/views/pages/ui-elements/badges.blade.php new file mode 100644 index 0000000..e53fd76 --- /dev/null +++ b/resources/views/pages/ui-elements/badges.blade.php @@ -0,0 +1,76 @@ +@extends('layouts.app') + +@section('content') + + + @php + use Illuminate\Support\HtmlString; + $colors = ['primary', 'success', 'error', 'warning', 'info', 'light', 'dark']; + + $plusIcon = new HtmlString(' + + '); + @endphp + +
+ +
+ @foreach ($colors as $color) + + {{ $color }} + + @endforeach +
+
+ + +
+ @foreach ($colors as $color) + + {{ $color }} + + @endforeach +
+
+ + +
+ @foreach ($colors as $color) + + {{ $color }} + + @endforeach +
+
+ + +
+ @foreach ($colors as $color) + + {{ $color }} + + @endforeach +
+
+ + +
+ @foreach ($colors as $color) + + {{ $color }} + + @endforeach +
+
+ + +
+ @foreach ($colors as $color) + + {{ $color }} + + @endforeach +
+
+
+@endsection diff --git a/resources/views/pages/ui-elements/buttons.blade.php b/resources/views/pages/ui-elements/buttons.blade.php new file mode 100644 index 0000000..2b306a1 --- /dev/null +++ b/resources/views/pages/ui-elements/buttons.blade.php @@ -0,0 +1,77 @@ +@extends('layouts.app') + +@php + use Illuminate\Support\HtmlString; + + // Page title + $currentPageTitle = 'Buttons'; + + // Define BoxIcon once as an HtmlString (so it won’t get escaped) + $BoxIcon = new HtmlString(' + + + + '); +@endphp + +@section('content') + {{-- Page Breadcrumb --}} + + +
+ + {{-- Primary Buttons --}} + +
+ Button Text + Button Text +
+
+ + {{-- Primary Button with Left Icon --}} + +
+ Button Text + Button Text +
+
+ + {{-- Primary Button with Right Icon --}} + +
+ Button Text + Button Text +
+
+ + {{-- Outline Buttons --}} + +
+ Button Text + Button Text +
+
+ + {{-- Outline Button with Left Icon --}} + +
+ Button Text + Button Text +
+
+ + {{-- Outline Button with Right Icon --}} + +
+ Button Text + Button Text +
+
+ +
+@endsection diff --git a/resources/views/pages/ui-elements/images.blade.php b/resources/views/pages/ui-elements/images.blade.php new file mode 100644 index 0000000..5d2ae4d --- /dev/null +++ b/resources/views/pages/ui-elements/images.blade.php @@ -0,0 +1,62 @@ +@extends('layouts.app') + +@php + $images = [ + [ + 'src' => asset('images/grid-image/image-04.png'), + 'alt' => 'Grid image 1', + ], + [ + 'src' => asset('images/grid-image/image-05.png'), + 'alt' => 'Grid image 2', + ], + [ + 'src' => asset('images/grid-image/image-06.png'), + 'alt' => 'Grid image 3', + ], + ]; +@endphp + +@section('content') + {{-- Page Breadcrumb --}} + + +
+ + +
+
+ Cover +
+
+
+
+ + +
+
+ grid +
+ +
+ grid +
+
+
+ + +
+ @foreach ($images as $image) +
+ {{ $image['alt'] }} +
+ @endforeach +
+
+ +
+@endsection diff --git a/resources/views/pages/ui-elements/videos.blade.php b/resources/views/pages/ui-elements/videos.blade.php new file mode 100644 index 0000000..11299dc --- /dev/null +++ b/resources/views/pages/ui-elements/videos.blade.php @@ -0,0 +1,30 @@ + +@extends('layouts.app') + +@section('content') + {{-- Page Breadcrumb --}} + + +
+ +
+ + + + + + + +
+ +
+ + + + + + +
+ +
+@endsection diff --git a/routes/web.php b/routes/web.php index a77c783..60996c6 100644 --- a/routes/web.php +++ b/routes/web.php @@ -11,12 +11,33 @@ use App\Http\Controllers\Dashboard\DashboardController; Route::get('/', [EveLoginController::class, 'showLogin'])->name('login'); Route::get('/login/eve', [EveLoginController::class, 'redirectToProvider'])->name('login.eve'); Route::get('/login/eve/callback', [EveLoginController::class, 'handleProviderCallback'])->name('login.eve.callback'); -Route::get('/logout', [EveLoginController::class, 'logout'])->name('logout'); +Route::post('/logout', [EveLoginController::class, 'logout'])->name('logout'); Route::group(['middleware' => ['auth']], function() { /** * Dashboard pages */ - Route::get('/dashboard', [DashboardController::class, 'displayGuest'])->middleware('role:Guest'); - Route::get('/dashboard/user', [DashboardController::class, 'displayUser'])->middleware('role:User'); + Route::get('/dashboard', [DashboardController::class, 'displayGuest'])->middleware('role:Guest')->name('dashboard.guest'); + Route::get('/dashboard/user', [DashboardController::class, 'displayUser'])->middleware('role:User')->name('dashboard.user'); +}); + +/** + * Routes which require auth and Guest Role + */ +Route::group(['middleware' => ['auth', 'role:Guest']], function() { + +}); + +/** + * Routes which require auth and User Role + */ +Route::group(['middleware' => ['auth', 'role:User']], function() { + +}); + +/** + * Routes which require auth and Admin Role + */ +Route::group(['middleware' => ['auth', 'role:Admin']], function() { + }); diff --git a/vite.config.js b/vite.config.js index 2b18453..ac432b6 100644 --- a/vite.config.js +++ b/vite.config.js @@ -5,7 +5,10 @@ import tailwindcss from '@tailwindcss/vite'; export default defineConfig({ plugins: [ laravel({ - input: ['resources/css/app.css', 'resources/js/app.js'], + input: [ + 'resources/css/app.css', + 'resources/js/app.js' + ], refresh: true, }), tailwindcss(),