A lot sof small qualtiy of life upgrades

This commit is contained in:
Simon Martens
2025-09-16 17:02:58 +02:00
parent 3ebfcd410f
commit ca51a6317b
17 changed files with 2109 additions and 1407 deletions

View File

@@ -1,3 +1,12 @@
<div class="mt-8">
<h1 class="text-2xl">Königsberger gelehrte und politische Zeitungen</h1>
<div class="pb-16 mx-auto bg-slate-50 w-full border-t-8 border-slate-600 ">
<header class="mx-auto w-fit mt-12">
<a href="/" class="no-underline">
<h1 class="text-2xl">Königsberger gelehrte und politische Zeitungen</h1>
</a>
</header>
<nav>
{{ block "_menu" . }}
{{ end }}
</nav>
</div>

View File

@@ -1,4 +1,4 @@
<div class="flex flex-row justify-center mt-8">
<div class="flex flex-row justify-center mt-12 mb-8">
<div class="w-6/12">
<input
type="search"

View File

@@ -30,30 +30,16 @@
</head>
<body class="w-full" hx-ext="response-targets" hx-boost="true">
{{ template "_header" . }}
<div class="container flex flex-col min-h-screen max-w-(--breakpoint-2xl) mx-auto">
<header>
{{ block "_header" . }}
<!-- Default app header... -->
{{ end }}
</header>
<div>
{{ block "_menu" . }}
<!-- Default app menu... -->
{{ end }}
</div>
<main class="">
{{ block "body" . }}
<!-- Default app body... -->
{{ end }}
</main>
<footer>
{{ block "_footer" . }}
{{ end }}
</footer>
</div>
{{ block "_footer" . }}
{{ end }}
{{ EmbedXSLT "xslt/transform-citation.xsl" }}
</body>

View File

@@ -32,19 +32,8 @@
<body class="w-full" hx-ext="response-targets" hx-boost="true">
<div class="flex flex-col min-h-screen">
<!-- Header and menu with constrained width -->
<div class="container max-w-(--breakpoint-2xl) mx-auto">
<header>
{{ block "_header" . }}
<!-- Default app header... -->
{{ end }}
</header>
{{ template "_header" . }}
<div>
{{ block "_menu" . }}
<!-- Default app menu... -->
{{ end }}
</div>
</div>
<!-- Main content with full width -->
<main class="flex-1 w-full">
@@ -64,4 +53,4 @@
{{ EmbedXSLT "xslt/transform-citation.xsl" }}
</body>
</html>
</html>