Laravel Jetstream/Breeze

Layout fixes for Laravel 8 Breeze and Jetstream.

With the default installation of Laravel Jetstream & Breeze you can't use the app.blade.php without being logged in.

Add null to $header in app.blade.php

<!-- Page Heading -->
<header class="bg-white shadow">
    <div class="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8">
        {{ $header ?? null }}
    </div>
</header>

<!-- Page Content -->
<main>
    {{ $slot }}
</main>

Last updated