Introduced HKW

This commit is contained in:
schnulller
2022-10-24 15:14:27 +02:00
parent 2a18ed1a46
commit aa7206b4fe
277 changed files with 288 additions and 87 deletions

View File

@@ -1,3 +1,3 @@
@{
Layout = "_LettersLayout";
Layout = "_HKBLayout";
}

View File

@@ -1,3 +1,3 @@
@{
Layout = "_LettersLayout";
Layout = "_HKBLayout";
}

View File

@@ -0,0 +1 @@
Hello from FliegenderBrief!

View File

@@ -0,0 +1 @@
Hello from HKW Index!

View File

@@ -0,0 +1 @@
Hello from Kreuzzuege!

View File

@@ -0,0 +1 @@
Hello from SDW!

View File

@@ -0,0 +1 @@
Hello from Übersicht

53
HaWeb/Views/Index.cshtml Normal file
View File

@@ -0,0 +1,53 @@
<!DOCTYPE html>
<html lang="de" id="top">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
@* TODO: Description für die Startseite *@
<meta name="description" content="">
<title>HKB: @ViewData["Title"]</title>
<!-- crossorigin is a workaround to prevent double downloading bugs in chrome -->
<!-- also, the graphite versions of the font are available for use:
<link rel="preload" href="/fonts/LinLibertine_R_G.ttf" as="font" crossorigin/>
<link rel="preload" href="/fonts/LinBiolinum_R_G.ttf" as="font" crossorigin/>
-->
<link rel="preload" href="/css/output.css" as="style" asp-append-version="true"/>
<link rel="preload" href="/img/subtlenet2.png" as="image" />
<link rel="preload" href="/fonts/LinBiolinum_R.woff" as="font" crossorigin/>
<link rel="preload" href="/fonts/LinLibertine_R.woff" as="font" crossorigin/>
<link rel="preload" href="/fonts/LinLibertine_RI.woff" as="font" crossorigin/>
<link rel="preload" href="/fonts/LinLibertine_RB.woff" as="font" crossorigin/>
<link rel="stylesheet" href="/css/output.css" asp-append-version="true" />
<environment include="Development">
<script src="~/js/site.js" asp-append-version="true"></script>
</environment>
</head>
<body class="w-full ">
<div class="relative min-h-screen">
<div class="pb-24">
Menu
@* Placeholder Menu *@
<main role="main" class="pb-3 w-full desktop:max-w-screen-desktop mx-auto h-full">
@* Placeholder Main *@
Hallo!
</main>
</div>
<div class="absolute bottom-0 w-full">
@await Html.PartialAsync("/Views/Shared/_Footer.cshtml")
</div>
</div>
</div>
<environment exclude="Development">
@await Html.PartialAsync("/Views/Shared/_Javascript.cshtml")
</environment>
</body>
</html>

View File

@@ -30,30 +30,27 @@
<body class="w-full ">
<div class="relative min-h-screen">
<div class="pb-24">
@await Html.PartialAsync("/Views/Shared/_Menu.cshtml")
<main role="main" class="pb-3 w-full desktop:max-w-screen-desktop mx-auto h-full">
@RenderBody()
</main>
</div>
<div class="absolute bottom-0 w-full">
@await Html.PartialAsync("/Views/Shared/_Footer.cshtml")
<div class="pb-24">
@await Html.PartialAsync("/Views/Shared/_HKBMenu.cshtml")
<main role="main" class="pb-3 w-full desktop:max-w-screen-desktop mx-auto h-full">
@RenderBody()
</main>
</div>
</div>
<environment exclude="Development">
@await Html.PartialAsync("/Views/Shared/_Javascript.cshtml")
</environment>
<a class="ha-scrollbutton" id="ha-scrollbutton">
<svg class="ha-scrollbuttonarrow" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path strokeLinecap="round" strokeLinejoin="round" stroke-width="2" d="M5 11l7-7 7 7M5 19l7-7 7 7" />
</svg>
<div class="absolute bottom-0 w-full">
@await Html.PartialAsync("/Views/Shared/_Footer.cshtml")
</div>
</div>
<a class="ha-scrollbutton" id="ha-scrollbutton">
<svg class="ha-scrollbuttonarrow" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path strokeLinecap="round" strokeLinejoin="round" stroke-width="2" d="M5 11l7-7 7 7M5 19l7-7 7 7" />
</svg>
</a>
</div>
@RenderSection("Scripts", required: false)
<environment exclude="Development">
@await Html.PartialAsync("/Views/Shared/_Javascript.cshtml")
</environment>
</body>
</html>

View File

@@ -0,0 +1,56 @@
<!DOCTYPE html>
<html lang="de" id="top">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="@ViewData["SEODescription"]">
<title>HKB: @ViewData["Title"]</title>
<!-- crossorigin is a workaround to prevent double downloading bugs in chrome -->
<!-- also, the graphite versions of the font are available for use:
<link rel="preload" href="/fonts/LinLibertine_R_G.ttf" as="font" crossorigin/>
<link rel="preload" href="/fonts/LinBiolinum_R_G.ttf" as="font" crossorigin/>
-->
<link rel="preload" href="/css/output.css" as="style" asp-append-version="true"/>
<link rel="preload" href="/img/subtlenet2.png" as="image" />
<link rel="preload" href="/fonts/LinBiolinum_R.woff" as="font" crossorigin/>
<link rel="preload" href="/fonts/LinLibertine_R.woff" as="font" crossorigin/>
<link rel="preload" href="/fonts/LinLibertine_RI.woff" as="font" crossorigin/>
<link rel="preload" href="/fonts/LinLibertine_RB.woff" as="font" crossorigin/>
<link rel="stylesheet" href="/css/output.css" asp-append-version="true" />
<environment include="Development">
<script src="~/js/site.js" asp-append-version="true"></script>
</environment>
</head>
<body class="w-full ">
<div class="relative min-h-screen">
<div class="pb-24">
@await Html.PartialAsync("/Views/Shared/_HKWMenu.cshtml")
<main role="main" class="pb-3 w-full desktop:max-w-screen-desktop mx-auto h-full">
@RenderBody()
</main>
</div>
<div class="absolute bottom-0 w-full">
@await Html.PartialAsync("/Views/Shared/_Footer.cshtml")
</div>
</div>
<a class="ha-scrollbutton" id="ha-scrollbutton">
<svg class="ha-scrollbuttonarrow" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path strokeLinecap="round" strokeLinejoin="round" stroke-width="2" d="M5 11l7-7 7 7M5 19l7-7 7 7" />
</svg>
</a>
</div>
@RenderSection("Scripts", required: false)
<environment exclude="Development">
@await Html.PartialAsync("/Views/Shared/_Javascript.cshtml")
</environment>
</body>
</html>

View File

@@ -0,0 +1,62 @@
<header class="sticky w-100 font-serif mb-6">
<nav class="flex flex-row w-100 bg-slate-50 border-t-[5px] border-gray-300 dark:shadow-xl dark:border-gray-900 py-3 px-3 desktop:px-8 flex-wrap">
<a href="/" class="text-xl xl:text-3xl grow-0 shrink-0 text-black hover:text-black ">
<img src="/favicon.ico" class="inline-block w-8 h-8 xl:w-12 xl:h-12 mr-2 p-1 border border-gray-900 border-t-gray-200 border-l-gray-200 " alt="HKW-Logo" loading="lazy" />
<span class="sm:hidden">Hamann: Komm. Werkedition</span>
<span class="hidden sm:inline md:hidden">Johan Georg Hamann: Kommentierte Werkedition</span>
<span class="hidden md:inline align-baseline">Johann Georg Hamann: Historisch-kritische und kommentierte Edition ausgewählter Werke (&#x200A;H&#x200A;K&#x200A;W&#x200A;)</span>
</a>
<div class="flex grow shrink">
</div>
<div class="ha-menusymbol inline-block desktop:hidden pr-3 align-bottom">
<button id="openmenubutton">
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
aria-labelledby="hamburgerIconTitle">
<title id="hamburgerIconTitle">Menu</title>
<path d="M6 7L18 7M6 12L18 12M6 17L18 17"></path>
</svg>
</button>
<button class="hidden" id="closemenubutton">
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
aria-labelledby="closeIconTitle">
<title id="closeIconTitle">Close</title>
<path d="M6.34314575 6.34314575L17.6568542 17.6568542M6.34314575 17.6568542L17.6568542 6.34314575">
</path>
</svg>
</button>
</div>
<div class="ha-topnav " id="ha-topnav">
<a href="/HKW/Start">
Startseite
</a>
<div class="ha-topnav-dropdown">
<a href="/HKW/Erschienen/" class="cursor-default ha-menu-arrowsymbol pointer-events-none">
bisher erschienene Bände
</a>
<div class="ha-topnav-dropdown-content" >
<a href="/HKW/Erschienen/FliegenderBrief" class="">Fliegender Brief</a>
<a href="/HKW/Erschienen/SokratischeDenkwuerdigkeiten" class="">Sokratische Denkwürdigkeiten / Wolken</a>
</div>
</div>
<div class="ha-topnav-dropdown">
<a href="/HKW/Geplant/" class="cursor-default ha-menu-arrowsymbol pointer-events-none !mr-0" >
geplante Bände
</a>
<div class="ha-topnav-dropdown-content !mr-0">
<a href="/HKW/Geplant/Kreuzzuege" class="">Kreuzzüge des Philologen</a>
</div>
</div>
<a href="/HKW/Uebersicht">
Werkübersicht
</a>
<a href="/Register/Forschung/Editionen">
Bibliographie Hamann-Editionen
</a>
</div>
</nav>
</header>