wah.moe/routes/web.php

44 lines
1.1 KiB
PHP
Raw Normal View History

2023-06-13 21:59:16 +01:00
<?php
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider and all of them will
| be assigned to the "web" middleware group. Make something great!
|
*/
Route::get('/', function () {
2023-06-13 23:07:20 +01:00
return View::make('pages.home');
2023-06-13 21:59:16 +01:00
});
2023-06-13 23:50:07 +01:00
Route::get('/bookmarks', function () {
return View::make('pages.bookmarks');
});
2023-06-14 22:07:28 +01:00
Route::get('/projects', function () {
return View::make('pages.projects');
});
2023-06-14 22:08:36 +01:00
Route::get('/calculators', function () {
return View::make('pages.calculators');
});
2023-06-14 22:10:24 +01:00
Route::get('/computers', function () {
return View::make('pages.computers');
});
Route::get('/guestbook', 'App\Http\Controllers\GuestbookController@guestbook')
->name('guestbook');
Route::post('/guestbook', 'App\Http\Controllers\GuestbookController@guestbookpost')
->name('guestbookPost')
->middleware('rate_limit');