Componentalization

This commit is contained in:
2025-09-16 22:01:42 +10:00
parent e965cc2780
commit 91771e9573
19 changed files with 1683 additions and 223 deletions

View File

@@ -7,9 +7,13 @@ use Inertia\Inertia;
Route::get('/', function () {
return Inertia::render('Home',[
'featured_tours' => Tour::all()->random(3),
'featured_tours' => Tour::featuredTours(),
]);
})->name('home');
Route::get('/about', function () {
return Inertia::render('AboutUs');
})->name('home');
require __DIR__.'/settings.php';
require __DIR__.'/auth.php';