-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path_LayoutContent.cshtml
More file actions
66 lines (61 loc) · 3.11 KB
/
Copy path_LayoutContent.cshtml
File metadata and controls
66 lines (61 loc) · 3.11 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
@inherits Microsoft.AspNetCore.Mvc.Razor.RazorPage<TModel>
@inject AppConfig AppConfig
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg" href="img/logo.svg">
<link rel="alternate" type="application/rss+xml" title="RSS" href="@AppConfig.PublicBaseUrl.CombineWith("feed.xml")" />
<title>@ViewData["Title"]</title>
<base href="@(RazorSsg.GetBaseHref() ?? "/")" />
<script>
const cls = document.querySelector('html').classList
if (localStorage.getItem('color-scheme') === 'dark')
cls.add('dark')
else
cls.remove('dark')
</script>
<link rel="stylesheet" href="css/app.css">
<script async src="https://ga.jspm.io/npm:es-module-shims@1.6.3/dist/es-module-shims.js"></script>
@Html.ImportMap(new() {
["app.mjs"] = ("./mjs/app.mjs", "./mjs/app.mjs"),
["vue"] = ("./lib/mjs/vue.mjs", "./lib/mjs/vue.min.mjs"),
["@servicestack/client"] = ("./lib/mjs/servicestack-client.mjs", "./lib/mjs/servicestack-client.min.mjs"),
["@servicestack/vue"] = ("./lib/mjs/servicestack-vue.mjs", "./lib/mjs/servicestack-vue.min.mjs"),
})
@await RenderSectionAsync("head", required: false)
</head>
<body class="bg-white dark:bg-black dark:text-white">
<!-- Background backdrop, visually different from main _Layout -->
<svg class="absolute inset-x-0 top-0 -z-10 h-[64rem] w-full stroke-gray-200 [mask-image:radial-gradient(32rem_32rem_at_center,white,transparent)]" aria-hidden="true">
<defs>
<pattern id="1f932ae7-37de-4c0a-a8b0-a6e3b4d44b84" width="200" height="200" x="50%" y="-1" patternUnits="userSpaceOnUse">
<path d="M.5 200V.5H200" fill="none"/>
</pattern>
</defs>
<svg x="50%" y="-1" class="overflow-visible fill-gray-50">
<path d="M-200 0h201v201h-201Z M600 0h201v201h-201Z M-400 600h201v201h-201Z M200 800h201v201h-201Z" stroke-width="0"/>
</svg>
<rect width="100%" height="100%" stroke-width="0" fill="url(#1f932ae7-37de-4c0a-a8b0-a6e3b4d44b84)"/>
</svg>
<div class="absolute top-0 left-1/2 right-0 -z-10 -ml-24 transform-gpu overflow-hidden blur-3xl lg:ml-24 xl:ml-48">
<svg viewBox="0 0 801 1036" aria-hidden="true" class="w-[50.0625rem]">
<path fill="url(#70656b7e-db44-4b9b-b7d2-1f06791bed52)" fill-opacity=".3" d="m282.279 843.371 32.285 192.609-313.61-25.32 281.325-167.289-58.145-346.888c94.5 92.652 277.002 213.246 251.009-45.597C442.651 127.331 248.072 10.369 449.268.891c160.956-7.583 301.235 116.434 351.256 179.39L507.001 307.557l270.983 241.04-495.705 294.774Z"/>
<defs>
<linearGradient id="70656b7e-db44-4b9b-b7d2-1f06791bed52" x1="508.179" x2="-28.677" y1="-116.221" y2="1091.63" gradientUnits="userSpaceOnUse">
<stop stop-color="#9089FC"/>
<stop offset="1" stop-color="#FF80B5"/>
</linearGradient>
</defs>
</svg>
</div>
@await Html.PartialAsync("Header")
<div class="min-h-screen">
<main role="main" class="pt-14 pb-3">
@RenderBody()
</main>
</div>
@await Html.PartialAsync("Footer")
</body>
</html>