my-website/routes/web.php

116 lines
2.7 KiB
PHP
Raw Normal View History

2024-02-15 19:30:27 +02: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 () {
2024-02-15 21:01:07 +02:00
return view('homepage');
2024-02-15 19:30:27 +02:00
});
Route::get('/about', function () {
return view('about');
});
Route::get('/beef', function() {
return view('beef', [
"sidebarContent" => [
[
"name" => "Ribeye",
"href" => "ribeye",
],
[
"name" => "Sirloin",
"href" => "sirloin",
],
[
"name" => "T-Bone",
"href" => "tbone",
],
[
"name" => "Filet Mignon",
"href" => "filetmignon",
],
[
"name" => "Brisket",
"href" => "brisket",
],
[
"name" => "Chuck",
"href" => "chuck",
],
[
"name" => "Round",
"href" => "round",
],
[
"name" => "Flank",
"href" => "flank",
],
[
"name" => "Skirt",
"href" => "skirt",
],
[
"name" => "Short Ribs",
"href" => "short-ribs",
],
],
]);
});
Route::get('/poultry', function() {
return view('poultry');
});
Route::get('/pork', function() {
return view('pork', [
"sidebarContent" => [
[
"name" => "Pork Shoulder (Boston Butt)",
"href" => "pork-shoulder",
],
[
"name" => "Pork Belly",
"href" => "pork-belly",
],
[
"name" => "Pork Chops",
"href" => "pork-chops",
],
[
"name" => "Pork Loin",
"href" => "pork-loin",
],
[
"name" => "Pork Ribs (Spareribs and Bay Back Ribs)",
"href" => "pork-ribs",
],
[
"name" => "Ham",
"href" => "ham",
],
[
"name" => "Pork Tenderloin",
"href" => "pork-tenderloin",
],
]
]);
});
Route::get('/lamb', function() {
return view('lamb');
});