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

34 lines
1.4 KiB
Plaintext

@using CodeLiturgy.Views.Utils
@using CodeLiturgy.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"] - CodeLiturgy.Views</title>
<link rel="stylesheet" href="@rootUrl/static/main.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="home page-template-default page">
@await Html.PartialAsync("_HeaderMenu", applicationUser)
@RenderBody()
@await Html.PartialAsync("_FooterMenu", applicationUser)
@await RenderSectionAsync("Scripts", required: false)
</body>
</html>