36 lines
877 B
PHP
36 lines
877 B
PHP
<?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('home')
|
|
// @route('index')
|
|
Route::get('/', function () {
|
|
return view('layout');
|
|
});
|
|
|
|
// @route('publications')
|
|
Route::get('/publications', function() {
|
|
return view('layout');
|
|
});
|
|
|
|
// @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');
|
|
});
|