name('home'); Route::get('/movies/{page?}', [MovieController::class, 'movies'])->name('movies'); Route::get('/movies/{genre}/{page?}', [MovieController::class, 'genres'])->name('movies.genre'); Route::get('/tv-shows/{page?}', [ShowController::class, 'shows'])->name('shows'); Route::get('/movie/{id}/{slug}', [MovieController::class, 'index'])->name('movie'); Route::get('/series/{id}/{slug}', [ShowController::class, 'index'])->name('show'); Route::get('/series/{id}/{slug}/season/{season}', [ShowController::class, 'season'])->name('show.season'); Route::get('/person/{person_id}/{slug}', [PeopleController::class, 'index'])->name('person'); Route::get('/search', [HomeController::class, 'search'])->name('search'); Route::fallback([HomeController::class, 'index'])->name('fallback');