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

46 lines
1.8 KiB
Plaintext

@using BlueWest.Views.Utils
@using BlueWest.Data.Auth
@{
var applicationUser = ViewData.GetUserViewData();
var rootUrl = SessionConstants.CookieDomain;
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>@ViewData["Title"] - BlueWest.Views</title>
<link rel="stylesheet" href="@rootUrl/static/main.css"/>
@*
<link rel="stylesheet" href="~/BlueWest.Views.styles.css" asp-append-version="true"/>
*@
<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>
<style>
@@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
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');
font-display: swap;
}
</style>
</head>
<body class="desktop touch body--dark" style="--q-primary:#414141;">
<div id="q-app">
<div class="q-layout q-layout--standard" id="app-entry">
<header class="q-header q-layout__section--marginal fixed-top bg-primary text-white">
@await Html.PartialAsync("_HeaderMenu", applicationUser)
</header>
<div class="q-page-container" style="padding-top: 48px; padding-bottom: 49px;">
<div class="app-body">
@RenderBody()
</div>
</div>
</div>
</div>
@await RenderSectionAsync("Scripts", required: false)
</body>
</html>