1At first give a name to your route and then use it in then use it in anchar tag
2
3Route::get('/', function () {
4 return view('welcome');
5})->name('welcome');
6Route::get('/about', 'PagesController@about')->name('about');
7
8Now you can use it in any page to refer them. like in contact page
9
10<html>
11..
12....
13<a href="{{route('welcome')}}">Home</a>
14<a href="{{route('about')}}">About</a>