-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy path_GroupLayout.cshtml
More file actions
25 lines (25 loc) · 925 Bytes
/
_GroupLayout.cshtml
File metadata and controls
25 lines (25 loc) · 925 Bytes
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
@inherits RazorLayoutSlice<GlobalLayoutViewModel>
@implements IUsesLayout<Elastic.Documentation.Site._GlobalLayout, GlobalLayoutViewModel>
@functions {
public GlobalLayoutViewModel LayoutModel => Model;
}
@(await RenderPartialAsync(_CodexHeader.Create(Model)))
<div id="main-container" class="relative">
@await RenderPartialAsync(_CodexSubHeader.Create(Model))
<div class="min-h-screen
w-full
max-w-full
mx-auto
md:px-4
">
<div class="min-h-screen grid grid-cols-1 md:grid-cols-[var(--max-sidebar-width)_1fr] gap-4">
<main id="content-container" class="min-w-0 lg:grid lg:grid-cols-[minmax(0,var(--max-text-width))_minmax(0,var(--max-sidebar-width))] justify-center mx-4 gap-4 md:order-2">
<div class="min-w-0">
@await RenderBodyAsync()
</div>
</main>
@await RenderPartialAsync(_PagesNav.Create(Model))
</div>
</div>
</div>
@await RenderPartialAsync(_CodexFooter.Create(Model))