diskfloppy.me/routes/web.php

44 lines
1.1 KiB
PHP
Raw Normal View History

2023-06-13 20:59:16 +00: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 22:07:20 +00:00
return View::make('pages.home');
2023-06-13 20:59:16 +00:00
});
2023-06-13 22:50:07 +00:00
Route::get('/bookmarks', function () {
return View::make('pages.bookmarks');
});
2023-06-14 21:07:28 +00:00
Route::get('/projects', function () {
return View::make('pages.projects');
});
2023-06-14 21:08:36 +00:00
Route::get('/calculators', function () {
return View::make('pages.calculators');
});
2023-06-14 21:10:24 +00: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');