Files
bedrock/web/app/themes/badegg/resources/views/layouts/app.blade.php

44 lines
943 B
PHP

<!doctype html>
<html @php(language_attributes())>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
@php(do_action('get_header'))
@php(wp_head())
@vite(['resources/css/app.scss', 'resources/js/app.js'])
</head>
<body @php(body_class())>
@php(wp_body_open())
<div id="app">
<a class="sr-only focus:not-sr-only" href="#main">
{{ __('Skip to content', 'sage') }}
</a>
@include('sections.header.header')
<div class="wrapper">
<main id="main" class="main">
@yield('content')
</main>
@hasSection('sidebar')
<aside class="sidebar">
@yield('sidebar')
</aside>
@endif
@include('sections.footer.footer')
</div>
@include('partials.menu-off-canvas')
</div>
@php(do_action('get_footer'))
@php(wp_footer())
</body>
</html>