markemacht/resources/views/web/layouts/marketing.blade.php
Kevin Adametz 11a76f034b feat(marketing): Cookie-Hinweis & Datenschutz an Laravel-Integration angepasst
Durch die Laravel-Integration setzt die Seite jetzt technisch notwendige
Cookies (markemacht-session, XSRF-TOKEN). Der pauschale Hinweis „Keine
Cookies" stimmt damit nicht mehr.

- mm-wirkung wird nicht mehr als Cookie gespiegelt → nur noch localStorage
  (JS + Inline-Head-Script); kein Flash, da vor erstem Paint gesetzt
- Footer: „Keine Cookies" → „DSGVO-konform · keine Weitergabe"
- Datenschutz: neuer Absatz „Technisch notwendige Cookies" (markemacht-session,
  XSRF-TOKEN; § 25 Abs. 2 TTDSG i.V.m. Art. 6 Abs. 1 lit. f DSGVO, kein Banner nötig)
- Feature-Tests für Footer-Hinweis und Datenschutz-Inhalt

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 13:20:44 +00:00

85 lines
3.2 KiB
PHP

@props([
'active' => '',
'title' => 'MARKE MACHT · Denkraum für Unternehmer',
'description' => 'Wenn Sie Ihr Unternehmen nicht erklären können, haben Sie kein Marketingproblem. Sondern ein Markenproblem. Denkraum für Unternehmer im Mittelstand.',
'canonical' => null,
'ogTitle' => null,
'ogType' => 'website',
'ogDescription' => 'Marke ist die Fähigkeit eines Unternehmens, sich selbst eindeutig zu erklären.',
'bodyClass' => '',
])
@php
$canonicalUrl = $canonical ?? url()->current();
$ogTitle ??= $title;
@endphp
<!DOCTYPE html>
<html lang="de" data-theme="monolith">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<title>{{ $title }}</title>
<meta name="description" content="{{ $description }}" />
<meta property="og:type" content="{{ $ogType }}" />
<meta property="og:site_name" content="MARKE MACHT" />
<meta property="og:title" content="{{ $ogTitle }}" />
<meta property="og:description" content="{{ $ogDescription }}" />
<meta property="og:url" content="{{ $canonicalUrl }}" />
<link rel="canonical" href="{{ $canonicalUrl }}" />
<meta property="og:locale" content="de_DE" />
<meta property="og:image" content="{{ url('/web/markemacht/img/og-share.webp') }}" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:alt" content="MARKE MACHT — Denkraum für Unternehmer" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image" content="{{ url('/web/markemacht/img/og-share.webp') }}" />
<meta name="theme-color" content="#0A0A0A" media="(prefers-color-scheme: dark)" />
<meta name="theme-color" content="#FBFAF2" media="(prefers-color-scheme: light)" />
<link rel="icon" type="image/svg+xml" href="/web/markemacht/favicon.svg" />
<link rel="preconnect" href="https://sys.adametz.media" crossorigin />
{{-- Wirkung vor dem ersten Paint setzen (kein Flash). Fonts sind in theme-markemacht.css gebündelt. --}}
<script>
(function () {
'use strict';
if ('scrollRestoration' in history) history.scrollRestoration = 'manual';
if (!location.hash) window.scrollTo(0, 0);
var v = 'monolith';
try {
var stored = localStorage.getItem('mm-wirkung');
if (stored === 'monolith' || stored === 'editorial') v = stored;
} catch (_) {}
document.documentElement.setAttribute('data-theme', v);
})();
</script>
@vite(['resources/css/web/theme-markemacht.css', 'resources/js/web/markemacht.js'])
<script defer src="https://sys.adametz.media/config.js" data-website-id="40125fcf-49c4-43f3-a9a5-9eec5eb55696"></script>
@verbatim
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebSite",
"name": "MARKE MACHT",
"url": "https://markemacht.de/",
"description": "Denkraum für Unternehmer im Mittelstand. Marke ist die Fähigkeit eines Unternehmens, sich selbst eindeutig zu erklären.",
"inLanguage": "de-DE"
}
</script>
@endverbatim
</head>
<body @class([$bodyClass => $bodyClass])>
@include('web.partials.nav', ['active' => $active])
<main id="main">
{{ $slot }}
</main>
@include('web.partials.footer')
</body>
</html>