aboutsummaryrefslogtreecommitdiff
path: root/Web/Pages/_Host.cshtml
diff options
context:
space:
mode:
authortranstrike <transtrike@gmail.com>2020-12-10 13:54:23 +0200
committertranstrike <transtrike@gmail.com>2020-12-10 13:54:23 +0200
commitee80c6ff969b5b4cfc3d1292f15928fc8bd2d667 (patch)
tree02d126568767f77f78127a347b142e5225fab4de /Web/Pages/_Host.cshtml
parent7941f1ab479b72ee53e94aef54b8390d21d36f84 (diff)
downloadDevHive-ee80c6ff969b5b4cfc3d1292f15928fc8bd2d667.tar
DevHive-ee80c6ff969b5b4cfc3d1292f15928fc8bd2d667.tar.gz
DevHive-ee80c6ff969b5b4cfc3d1292f15928fc8bd2d667.zip
Replaced ASP.NET Core MVC with Blazor
Diffstat (limited to 'Web/Pages/_Host.cshtml')
-rw-r--r--Web/Pages/_Host.cshtml35
1 files changed, 35 insertions, 0 deletions
diff --git a/Web/Pages/_Host.cshtml b/Web/Pages/_Host.cshtml
new file mode 100644
index 0000000..46779a9
--- /dev/null
+++ b/Web/Pages/_Host.cshtml
@@ -0,0 +1,35 @@
+@page "/"
+@namespace Web.Pages
+@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
+@{
+ Layout = null;
+}
+
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <title>Web</title>
+ <base href="~/" />
+ <link rel="stylesheet" href="css/bootstrap/bootstrap.min.css" />
+ <link href="css/site.css" rel="stylesheet" />
+ <link href="Web.styles.css" rel="stylesheet" />
+</head>
+<body>
+ <component type="typeof(App)" render-mode="ServerPrerendered" />
+
+ <div id="blazor-error-ui">
+ <environment include="Staging,Production">
+ An error has occurred. This application may no longer respond until reloaded.
+ </environment>
+ <environment include="Development">
+ An unhandled exception has occurred. See browser dev tools for details.
+ </environment>
+ <a href="" class="reload">Reload</a>
+ <a class="dismiss">🗙</a>
+ </div>
+
+ <script src="_framework/blazor.server.js"></script>
+</body>
+</html>