Redirect auth views when logged in, dynamic landing CTA, and refresh landing images

This commit is contained in:
Arya Dwi Putra
2025-12-02 08:11:10 +07:00
parent 84fa1dcb73
commit 7c8e1dfa82
6 changed files with 16 additions and 8 deletions

View File

@@ -13,6 +13,9 @@ class AuthController extends Controller
{
public function showLogin()
{
if (Auth::check()) {
return redirect()->route('index');
}
return view('pages.authentication.sign-in-cover');
}
@@ -35,6 +38,9 @@ class AuthController extends Controller
public function showRegister()
{
if (Auth::check()) {
return redirect()->route('index');
}
return view('pages.authentication.sign-up-cover');
}