I did something like this - In my routes I have
Route::get('/', 'PagesController@landing');
which takes a visitor to the marketing page that's nested within my resource views
public function landing(){
return view('pages.landing.index');
}
From there you can add logic to determine if you want authenticated users to jump into the app when they hit the root domain or be taken to the landing page.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community