Merge branch 'main' of git.bizmatch.net:tknuth/entscheidomat

This commit is contained in:
2026-08-09 04:31:23 -05:00
89 changed files with 5644 additions and 124 deletions

View File

@@ -90,18 +90,17 @@ export default function RootLayout({
return (
<html
lang="de"
data-preloader="active"
className={`${inter.variable} ${cormorant.variable} h-full antialiased`}
>
<body className="flex min-h-full flex-col">
<Script id="preloader-session" strategy="beforeInteractive">
{`try {
const hasSeenPreloader = sessionStorage.getItem("entscheidomat:preloader-seen") === "1";
const isMobile = window.matchMedia("(max-width: 767px)").matches;
document.documentElement.dataset.preloader = hasSeenPreloader || isMobile ? "cached" : "active";
} catch {
document.documentElement.dataset.preloader = window.matchMedia("(max-width: 767px)").matches ? "cached" : "active";
}`}
</Script>
<Script
id="adsense"
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-278277014424875"
crossOrigin="anonymous"
strategy="beforeInteractive"
/>
<script
type="application/ld+json"
dangerouslySetInnerHTML={{