Dashboard Headers

The headers in dashboard is set through layouts located at layouts/dashboard/default.blade.php folder.

Following is the example of default header in default layout of dashboard:

@include('components.partials.pro.header')
Note: For other headers use different layouts

Landing Page Headers

You can set different headers for different pages by following these steps:

  • Locate the File:
    • Open the template file for the specific page where you want to set a different header. For example, to change the header on the "about.blade.php" of landing page, navigate to the corresponding template file (e.g., Modules/LandingPages/Resources/views/about.blade.php).
      • Update the Code: Modify the header-related code in the template file. For example, add or update the isHeader1 property as shown below:
    <x-app-layout layout="landing" :isHeader1=true></x-app-layout>
  • Below is the layout file code:
    •  @if ($isHeader1)
                      @include('landingpages::components.partials.header-1')
                  @else
                      @include('landingpages::components.partials.header-2')
                  @endif