mirror of
https://github.com/pacnpal/thrillwiki_laravel.git
synced 2025-12-20 09:51:10 -05:00
65 lines
1.4 KiB
PHP
65 lines
1.4 KiB
PHP
<?php
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
use App\Livewire\Counter;
|
|
|
|
Route::get('/', function () {
|
|
return view('welcome');
|
|
})->name('home');
|
|
|
|
Route::get('/counter', Counter::class);
|
|
|
|
// Parks routes
|
|
Route::get('/parks', \App\Livewire\ParkListComponent::class)->name('parks.index');
|
|
Route::get('/parks/create', function () {
|
|
return 'Create Park';
|
|
})->name('parks.create');
|
|
Route::get('/parks/{park}', function () {
|
|
return 'Show Park';
|
|
})->name('parks.show');
|
|
Route::get('/parks/{park}/edit', function () {
|
|
return 'Edit Park';
|
|
})->name('parks.edit');
|
|
|
|
// Rides routes
|
|
Route::get('/rides', function () {
|
|
return 'Rides Index';
|
|
})->name('rides.index');
|
|
|
|
// Auth routes
|
|
Route::get('/login', function () {
|
|
return 'Login';
|
|
})->name('login');
|
|
|
|
Route::get('/register', function () {
|
|
return 'Register';
|
|
})->name('register');
|
|
|
|
Route::post('/logout', function () {
|
|
return 'Logout';
|
|
})->name('logout');
|
|
|
|
// Settings routes
|
|
Route::get('/settings', function () {
|
|
return 'Settings';
|
|
})->name('settings');
|
|
|
|
// Legal routes
|
|
Route::get('/terms', function () {
|
|
return 'Terms';
|
|
})->name('terms');
|
|
|
|
Route::get('/privacy', function () {
|
|
return 'Privacy';
|
|
})->name('privacy');
|
|
|
|
// Profile routes
|
|
Route::get('/profile/{username}', function () {
|
|
return 'Profile';
|
|
})->name('profile.show');
|
|
|
|
// Search route
|
|
Route::get('/search', function () {
|
|
return 'Search';
|
|
})->name('search');
|