Skip to content

Commit

Permalink
feat: new sidebar added
Browse files Browse the repository at this point in the history
  • Loading branch information
mahmudz committed Oct 20, 2024
1 parent 74a50f2 commit 8ee1aeb
Show file tree
Hide file tree
Showing 62 changed files with 3,927 additions and 1,352 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class AuthenticatedSessionController extends Controller
*/
public function create(): Response
{
return Inertia::render('Auth/Login', [
return Inertia::render('auth/login', [
'canResetPassword' => Route::has('password.request'),
'status' => session('status'),
]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class ConfirmablePasswordController extends Controller
*/
public function show(): Response
{
return Inertia::render('Auth/ConfirmPassword');
return Inertia::render('auth/confirm-password');
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ public function __invoke(Request $request): RedirectResponse|Response
{
return $request->user()->hasVerifiedEmail()
? redirect()->intended(route('dashboard', absolute: false))
: Inertia::render('Auth/VerifyEmail', ['status' => session('status')]);
: Inertia::render('auth/verify-email', ['status' => session('status')]);
}
}
2 changes: 1 addition & 1 deletion app/Http/Controllers/Auth/NewPasswordController.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class NewPasswordController extends Controller
*/
public function create(Request $request): Response
{
return Inertia::render('Auth/ResetPassword', [
return Inertia::render('auth/reset-password', [
'email' => $request->email,
'token' => $request->route('token'),
]);
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Auth/PasswordResetLinkController.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class PasswordResetLinkController extends Controller
*/
public function create(): Response
{
return Inertia::render('Auth/ForgotPassword', [
return Inertia::render('auth/forgot-password', [
'status' => session('status'),
]);
}
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Auth/RegisteredUserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class RegisteredUserController extends Controller
*/
public function create(): Response
{
return Inertia::render('Auth/Register');
return Inertia::render('auth/register');
}

/**
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/ProfileController.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ProfileController extends Controller
*/
public function edit(Request $request): Response
{
return Inertia::render('Profile/Edit', [
return Inertia::render('profile/edit', [
'mustVerifyEmail' => $request->user() instanceof MustVerifyEmail,
'status' => session('status'),
]);
Expand Down
4 changes: 2 additions & 2 deletions components.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"prefix": ""
},
"aliases": {
"components": "@/Components",
"components": "@/components",
"utils": "@/lib/utils"
}
}
}
Loading

0 comments on commit 8ee1aeb

Please sign in to comment.