mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-29 17:25:32 +00:00
Introduced HKW
This commit is contained in:
@@ -6,10 +6,6 @@ namespace HaWeb.Controllers;
|
||||
|
||||
[Route("Edition/[action]")]
|
||||
public class EditionController : Controller {
|
||||
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
|
||||
public IActionResult Error() {
|
||||
return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
|
||||
}
|
||||
public IActionResult Kontakt() {
|
||||
return View("~/Views/HKB/Static/Kontakt.cshtml");
|
||||
}
|
||||
|
||||
32
HaWeb/Controllers/HKWController.cs
Normal file
32
HaWeb/Controllers/HKWController.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
namespace HaWeb.Controllers;
|
||||
using System.Diagnostics;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using HaWeb.Models;
|
||||
|
||||
[Route("HKW/")]
|
||||
public class HKWController : Controller {
|
||||
[Route("Start")]
|
||||
public IActionResult Index() {
|
||||
return View("~/Views/HKW/Static/Index.cshtml");
|
||||
}
|
||||
|
||||
[Route("Erschienen/FliegenderBrief")]
|
||||
public IActionResult FliegenderBrief() {
|
||||
return View("~/Views/HKW/Static/FliegenderBrief.cshtml");
|
||||
}
|
||||
|
||||
[Route("Geplant/Kreuzzuege")]
|
||||
public IActionResult Kreuzzuege() {
|
||||
return View("~/Views/HKW/Static/Kreuzzuege.cshtml");
|
||||
}
|
||||
|
||||
[Route("Erschienen/SokratischeDenkwuerdigkeiten")]
|
||||
public IActionResult SokratischeDenkwuerdigkeiten() {
|
||||
return View("~/Views/HKW/Static/SokratischeDenkwuerdigkeiten.cshtml");
|
||||
}
|
||||
|
||||
[Route("Uebersicht")]
|
||||
public IActionResult Uebersicht() {
|
||||
return View("~/Views/HKW/Static/Uebersicht.cshtml");
|
||||
}
|
||||
}
|
||||
@@ -8,7 +8,7 @@ public class HomeController : Controller {
|
||||
|
||||
[Route("")]
|
||||
public IActionResult Index() {
|
||||
return Redirect("/Suche");
|
||||
return View("~/Views/Index.cshtml");
|
||||
}
|
||||
|
||||
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<!-- <ItemGroup>
|
||||
<Content Remove="wwwroot\css\*.css" />
|
||||
<Content Include="wwwroot\css\*.css" Watch="false" />
|
||||
<Content Remove="wwwroot\css\output.css" />
|
||||
<Content Include="wwwroot\css\output.css" Watch="true" />
|
||||
</ItemGroup>
|
||||
</ItemGroup> -->
|
||||
|
||||
<Target Name="Tailwind" >
|
||||
<Exec Command="npm run css_build" />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
@{
|
||||
Layout = "_LettersLayout";
|
||||
Layout = "_HKBLayout";
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
@{
|
||||
Layout = "_LettersLayout";
|
||||
Layout = "_HKBLayout";
|
||||
}
|
||||
|
||||
1
HaWeb/Views/HKW/Static/FliegenderBrief.cshtml
Normal file
1
HaWeb/Views/HKW/Static/FliegenderBrief.cshtml
Normal file
@@ -0,0 +1 @@
|
||||
Hello from FliegenderBrief!
|
||||
1
HaWeb/Views/HKW/Static/Index.cshtml
Normal file
1
HaWeb/Views/HKW/Static/Index.cshtml
Normal file
@@ -0,0 +1 @@
|
||||
Hello from HKW Index!
|
||||
1
HaWeb/Views/HKW/Static/Kreuzzuege.cshtml
Normal file
1
HaWeb/Views/HKW/Static/Kreuzzuege.cshtml
Normal file
@@ -0,0 +1 @@
|
||||
Hello from Kreuzzuege!
|
||||
@@ -0,0 +1 @@
|
||||
Hello from SDW!
|
||||
1
HaWeb/Views/HKW/Static/Uebersicht.cshtml
Normal file
1
HaWeb/Views/HKW/Static/Uebersicht.cshtml
Normal file
@@ -0,0 +1 @@
|
||||
Hello from Übersicht
|
||||
53
HaWeb/Views/Index.cshtml
Normal file
53
HaWeb/Views/Index.cshtml
Normal 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>
|
||||
@@ -31,29 +31,26 @@
|
||||
<body class="w-full ">
|
||||
<div class="relative min-h-screen">
|
||||
<div class="pb-24">
|
||||
@await Html.PartialAsync("/Views/Shared/_Menu.cshtml")
|
||||
|
||||
@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 class="absolute bottom-0 w-full">
|
||||
@await Html.PartialAsync("/Views/Shared/_Footer.cshtml")
|
||||
</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>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@RenderSection("Scripts", required: false)
|
||||
<environment exclude="Development">
|
||||
@await Html.PartialAsync("/Views/Shared/_Javascript.cshtml")
|
||||
</environment>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
56
HaWeb/Views/Shared/_HKWLayout.cshtml
Normal file
56
HaWeb/Views/Shared/_HKWLayout.cshtml
Normal 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>
|
||||
62
HaWeb/Views/Shared/_HKWMenu.cshtml
Normal file
62
HaWeb/Views/Shared/_HKWMenu.cshtml
Normal 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 ( H K W )</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>
|
||||
BIN
XML/Entwuerfe/Homepage Werke.pdf
Normal file
BIN
XML/Entwuerfe/Homepage Werke.pdf
Normal file
Binary file not shown.
BIN
XML/Entwuerfe/MicrosoftTeams-image.png
Normal file
BIN
XML/Entwuerfe/MicrosoftTeams-image.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.3 KiB |
BIN
XML/Entwuerfe/MicrosoftTeams-image2.jpg
Normal file
BIN
XML/Entwuerfe/MicrosoftTeams-image2.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 77 KiB |
BIN
XML/Entwuerfe/MicrosoftTeams-image3.jpg
Normal file
BIN
XML/Entwuerfe/MicrosoftTeams-image3.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 61 KiB |
BIN
XML/Entwuerfe/MicrosoftTeams-image4.png
Normal file
BIN
XML/Entwuerfe/MicrosoftTeams-image4.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.3 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user