Created
September 30, 2020 11:36
-
-
Save jongravois/f7630dd406186be2d5d34edd677ca0e9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@props([ 'header' => false, 'pagetitle' => null ]) | |
<x-layouts.base :pagetitle="$pagetitle"> | |
<div> | |
<x-navigation.nav-bar /> | |
@if($header) | |
<header class="bg-white shadow"> | |
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
{{ $header }} | |
</div> | |
</header> | |
@endif | |
<main>{{ $slot }}</main> | |
</div> | |
</x-layouts.base> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment