template for landing page and routes

This commit is contained in:
2019-11-17 22:55:04 -06:00
parent e1efe82b0c
commit 6da777d948
3 changed files with 18 additions and 3 deletions

View File

@@ -53,6 +53,19 @@ class LoginController extends Controller
'redirectToProvider']);
}
/**
* Landing page function
*
* @return view
*/
public function landingPage() {
if(Auth::check()) {
return redirect('/dashboard');
}
return view('landing.ladning');
}
/**
* Logout function
*