1. Very first, you need to run below command into your terminal and that will generate component:

  1. php artisan make:component footer

2. After run above command, you will see components folder inside resources/views folder and please check below images for more clarity:

3. Now you need to put below code inside your resources/views/components/footer.blade.php file:

<div class="jumbotron text-center" style="margin-bottom:0">
  <p>Footer</p>
</div>

#bootstrap 4 #laravel 7

Laravel 7 components benefits to sections and layouts Part 1
1.60 GEEK