Added About Page
This commit is contained in:
@@ -16,8 +16,10 @@ Route::get('/about', function () {
|
||||
})->name('about');
|
||||
|
||||
Route::get('/adventures/{tour}', function ($tour) {
|
||||
return Inertia::render('TourNavigator',[
|
||||
'tour' => Tour::where('internal_name', $tour)->with('countries.continent')->first(),
|
||||
return Inertia::render('TourOverview',[
|
||||
'tour' => Tour::where('internal_name', $tour)
|
||||
->with('tour_days')
|
||||
->with('countries.continent')->first(),
|
||||
]);
|
||||
})->name('tour');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user