aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Blazor/Pages/_Host.cshtml
diff options
context:
space:
mode:
authortranstrike <transtrike@gmail.com>2020-12-19 16:32:14 +0200
committertranstrike <transtrike@gmail.com>2020-12-19 16:32:14 +0200
commit8880e0efec7462f6865e528f01b9973c6e722e8b (patch)
tree8771072a8df80227beb0bbff5634df194eccc813 /src/DevHive.Blazor/Pages/_Host.cshtml
parent05d8be770dd5e728bc93a2322343cda3ddf939b7 (diff)
downloadDevHive-8880e0efec7462f6865e528f01b9973c6e722e8b.tar
DevHive-8880e0efec7462f6865e528f01b9973c6e722e8b.tar.gz
DevHive-8880e0efec7462f6865e528f01b9973c6e722e8b.zip
Blazor Template added
Diffstat (limited to 'src/DevHive.Blazor/Pages/_Host.cshtml')
-rw-r--r--src/DevHive.Blazor/Pages/_Host.cshtml35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/DevHive.Blazor/Pages/_Host.cshtml b/src/DevHive.Blazor/Pages/_Host.cshtml
new file mode 100644
index 0000000..9c03a62
--- /dev/null
+++ b/src/DevHive.Blazor/Pages/_Host.cshtml
@@ -0,0 +1,35 @@
+@page "/"
+@namespace DevHive.Blazor.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>DevHive.Blazor</title>
+ <base href="~/" />
+ <link rel="stylesheet" href="css/bootstrap/bootstrap.min.css" />
+ <link href="css/site.css" rel="stylesheet" />
+ <link href="DevHive.Blazor.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>