Refactor for clearer `main` and `article` elements

This commit is contained in:
Christopher C. Wells 2021-03-05 17:26:01 -08:00
parent 5bc2684ca7
commit debe773def
1 changed files with 34 additions and 37 deletions

View File

@ -24,8 +24,7 @@
@isset($styles) {{ $styles }} @endisset
</head>
<body class="font-sans antialiased">
<div class="min-h-screen bg-gray-100">
<body class="font-sans antialiased min-h-screen bg-gray-100">
@include('layouts.navigation')
<!-- Page Heading -->
@ -56,15 +55,13 @@
<div class="py-6">
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
<div class="bg-white overflow-hidden shadow-sm sm:rounded-lg">
<div class="p-6 bg-white border-b border-gray-200">
<article class="p-6 bg-white border-b border-gray-200">
{{ $slot }}
</div>
</article>
</div>
</div>
</div>
</main>
</div>
@stack('scripts')
</body>
</html>