Skip to content

Commit 2eb02b3

Browse files
committed
feat: removed skeleton-ui for pure tailwindcss. AppLayout and DashboardLayout completed
1 parent 968e1d4 commit 2eb02b3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1584
-897
lines changed

app/Http/Middleware/HandleInertiaRequests.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function share(Request $request): array
4747
'error' => $request->session()->get('error'),
4848
];
4949
},
50-
'logo' => '/img/laravelte-logo.png',
50+
'siteLogo' => '/img/laravelte-logo.png',
5151
'siteName' => config('app.name'),
5252
'locale' => Session::get('locale') ?? App::getLocale(),
5353
]);

app/Http/Resources/UserResource.php

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ public function toArray(Request $request): array
1818
'id' => (int) $this->id,
1919
'name' => $this->name,
2020
'email' => $this->email,
21-
'current_team_id' => $this->current_team_id,
2221
'status' => $this->status,
2322
'phone' => $this->phone,
2423
'first_name' => $this->first_name,

app/Repositories/UserRepository.php

+2
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ public function create(array $data, $role) : false|User
117117
}
118118

119119
$user = User::create($data);
120+
121+
DB::commit();
120122
} catch (Exception $e) {
121123
DB::rollBack();
122124

config/app.php

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
*/
1717

1818
'name' => env('APP_NAME', 'Laravel'),
19+
'logo' => env('APP_LOGO', '/img/logo.png'),
1920

2021
/*
2122
|--------------------------------------------------------------------------

package.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
},
99
"type": "module",
1010
"devDependencies": {
11-
"@skeletonlabs/skeleton": "^1.1.0",
1211
"@sveltejs/vite-plugin-svelte": "^2.0.3",
1312
"@tailwindcss/forms": "^0.5.3",
1413
"@tailwindcss/typography": "^0.5.9",
@@ -30,6 +29,11 @@
3029
},
3130
"dependencies": {
3231
"@inertiajs/svelte": "^1.0.2",
33-
"dayjs": "^1.11.7"
32+
"dayjs": "^1.11.7",
33+
"numeral": "^2.0.6",
34+
"svelte-loading-spinners": "^0.3.4",
35+
"svelte-modals": "^1.2.1",
36+
"svelte-toasts": "^1.1.2",
37+
"sweetalert2": "^11.7.3"
3438
}
3539
}

0 commit comments

Comments
 (0)