CodeLiturgy.Dashboard/CodeLiturgy.Views/Views/Shared/_Layout.cshtml

45 lines
1.8 KiB
Plaintext
Raw Normal View History

2022-10-30 19:48:24 +03:00
@using CodeLiturgy.Views.Utils
2022-10-27 20:13:02 +03:00
@using BlueWest.Data.Auth
@{
var applicationUser = ViewData.GetUserViewData();
var rootUrl = SessionConstants.CookieDomain;
}
<!DOCTYPE html>
2022-09-19 05:50:15 +03:00
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
2022-10-30 19:48:24 +03:00
<title>@ViewData["Title"] - CodeLiturgy.Views</title>
2022-11-17 00:17:44 +03:00
<link rel="stylesheet" href="@rootUrl/static/main.css" asp-append-version="true"/>
<link rel="stylesheet" href="@rootUrl/static/site.css" asp-append-version="true"/>
2022-10-27 20:13:02 +03:00
<link rel="preload" href="@rootUrl/static/material-icons/web-font/flUhRq6tzZclQEJ-Vdg-IuiaDsNa.woff" as="font" type="font/woff" crossorigin>
<link rel="preload" href="@rootUrl/static/material-icons/web-font/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.woff2" as="font" type="font/woff2" crossorigin>
2022-09-19 05:50:15 +03:00
<style>
@@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
2022-10-27 20:13:02 +03:00
src: url("@rootUrl/static/material-icons/web-font/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.woff2") format('woff2'), url('static/material-icons/web-font/flUhRq6tzZclQEJ-Vdg-IuiaDsNa.woff') format('woff');
2022-09-26 04:05:23 +03:00
font-display: swap;
2022-09-19 05:50:15 +03:00
}
</style>
</head>
<body class="desktop touch body--dark" style="--q-primary:#414141;">
<div id="q-app">
2022-09-26 04:05:23 +03:00
<div class="q-layout q-layout--standard" id="app-entry">
<header class="q-header q-layout__section--marginal fixed-top bg-primary text-white">
2022-10-27 20:13:02 +03:00
@await Html.PartialAsync("_HeaderMenu", applicationUser)
2022-09-26 04:05:23 +03:00
</header>
2022-09-19 05:50:15 +03:00
2022-09-26 04:05:23 +03:00
<div class="q-page-container" style="padding-top: 48px; padding-bottom: 49px;">
<div class="app-body">
@RenderBody()
</div>
</div>
2022-09-19 05:50:15 +03:00
</div>
</div>
@await RenderSectionAsync("Scripts", required: false)
</body>
</html>