-
-
Notifications
You must be signed in to change notification settings - Fork 108
Expand file tree
/
Copy pathdocs-layout.blade.php
More file actions
33 lines (30 loc) · 1.05 KB
/
docs-layout.blade.php
File metadata and controls
33 lines (30 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<x-layout>
{{-- Main container --}}
<main
class="mx-auto flex w-full max-w-5xl grow items-start px-4 pt-1 xl:max-w-7xl 2xl:max-w-360"
>
{{-- Left sidebar --}}
@if (! empty($sidebarLeft))
<x-sidebar-left-navigation>
{{ $sidebarLeft }}
</x-sidebar-left-navigation>
@endif
<div class="flex w-full min-w-0 grow items-start px-2 pt-2">
{{-- Content --}}
<article class="flex w-full min-w-0 grow flex-col lg:pl-5 xl:pr-5">
{{-- Docs mobile menu --}}
<x-docs-menu>
<nav class="docs-navigation">{{ $sidebarLeft }}</nav>
</x-docs-menu>
{{-- Main content --}}
<div class="mt-3">{{ $slot }}</div>
</article>
{{-- Right sidebar --}}
@if (! empty($sidebarRight))
<x-sidebar-right>
{{ $sidebarRight }}
</x-sidebar-right>
@endif
</div>
</main>
</x-layout>