Different dynamic navbars in views Laravel

  bootstrap-4, html, laravel, navbar, php

is there a way to make navbar in Laravel dynamic? For example I have a welcome page with one type of navbar and on the other page navbar changes it’s content and look.

Images for illustrastion:

Welcome page navbar
Welcome page navbar

Another page navbar
enter image description here

So basically the search field is hidden on the other page. Similar process happens when user logs in and the content of navbar changes.

Thank you.

Source: Ask PHP