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

34 lines
1.4 KiB
Plaintext
Raw Permalink Normal View History

2022-10-30 19:48:24 +03:00
@using CodeLiturgy.Views.Utils
2022-11-18 03:15:53 +03:00
@using CodeLiturgy.Data.Auth
2022-10-27 20:13:02 +03:00
@{
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"/>
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>
2022-11-23 01:39:28 +03:00
<body class="home page-template-default page">
@await Html.PartialAsync("_HeaderMenu", applicationUser)
@RenderBody()
@await Html.PartialAsync("_FooterMenu", applicationUser)
2022-09-19 05:50:15 +03:00
@await RenderSectionAsync("Scripts", required: false)
</body>
</html>