This commit is contained in:
2024-02-19 14:43:26 +00:00
parent 07e413ccf6
commit a7b83d5d42
9 changed files with 2469 additions and 1 deletions

View File

@@ -13,6 +13,23 @@ use Illuminate\Support\Facades\Route;
|
*/
// @route('home')
// @route('index')
Route::get('/', function () {
return view('welcome');
return view('layout', ['heading' => 'Description', 'content' => '<p>Hello World!</p>']);
});
// @route('publications')
Route::get('/publications', function() {
return view('layout', ['heading' => 'Publications', 'content' => '<p><ul><li>A</li><li>B</li><li>C</li></ul></p>']);
});
// @route('profile')
Route::get('/profile', function() {
return view('layout', ['heading' => 'Profile', 'content' => '<p>This is my profile...</p>']);
});
// @route('contact')
Route::get('/contact', function() {
return view('contact');
});