There are times when you want the visual style of the platform to match your brand. After installation, two settings are provided that are located in config/platform.php:

'template' => [
    'header' => null,
    'footer' => null,

To change the page header or footer, you must specify your own blade templates.

Change Logo and Name

Create a new directory in the brand template section and the header.blade.php file. Then the full path will look like /resources/views/brand/header.blade.php.

└── views
    └── brand
        └── header.blade.php

Suppose that we are creating a system for a fictitious analytical agency, we will make changes to the file just created:


<p class="h2 n-m font-thin v-center">
    <x-orchid-icon path="database"/>

    <span class="m-l d-none d-sm-block">
        <small class="v-top opacity">Nest</small>

In order for the created template to be used instead of the standard one, you must specify it in the configuration file, just as if passing an argument in the view('brand.header') helper:

'template' => [
    'header' => 'brand.header',
    'footer' => null,

Note. The configuration file may be cached, and the changes will not take effect until the php artisan config:clear command is executed

In the same way, we can change the bottom of the page, again create a new file /resources/views/brand/footer.blade.php with the following contents:

<p class="small m-n">
    © Copyright {{date('Y')}} 
    <a href="//" target="_blank">Analytics Nest</a>

Also making changes to the configuration file:

'template' => [
    'header' => 'brand.header',
    'footer' => 'brand.footer',

Note. If you want the text or images to be different for the login and panel pages, you can use Authentication Directives.