mirror of
https://github.com/pacnpal/thrillwiki_laravel.git
synced 2025-12-20 08:51:11 -05:00
58 lines
1.1 KiB
PHP
58 lines
1.1 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', function () {
|
|
return 'Parks Index';
|
|
})->name('parks.index');
|
|
|
|
// 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');
|