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('/search', [HomeController::class, 'search'])->name('search');