This commit is contained in:
2025-12-10 01:17:46 +01:00
parent 997a07003d
commit 10cc7b5d30

View File

@@ -4,7 +4,20 @@ $pageId = 'home';
$navActive = null; $navActive = null;
require __DIR__ . '/../partials/structure/layout_start.php'; require __DIR__ . '/../partials/structure/layout_start.php';
?> ?>
<main class="max-w-6xl mx-auto p-4 flex-1 w-full"> <main class="max-w-6xl mx-auto p-4 flex-1 w-full space-y-6">
<section class="bg-white border border-slate-200 rounded-2xl shadow-sm px-4 py-3 flex flex-wrap items-center gap-3 sticky top-20 z-10">
<h1 class="font-semibold text-lg text-slate-900 me-2">Email Template System</h1>
<nav class="isolate inline-flex rounded-2xl shadow-sm border bg-white overflow-hidden">
<button type="button" data-tab="templates" class="px-4 py-2 text-sm border-e bg-sky-50 text-sky-700">Templates</button>
<button type="button" data-tab="sections" class="px-4 py-2 text-sm border-e">Sections</button>
<button type="button" data-tab="blocks" class="px-4 py-2 text-sm border-e">Blocks</button>
<button type="button" data-tab="snippets" class="px-4 py-2 text-sm">Snippets</button>
</nav>
<div class="flex items-center gap-3 ms-auto">
<button id="btn-new" type="button" class="btn">Neu …</button>
</div>
</section>
<section id="view-templates" class="view"></section> <section id="view-templates" class="view"></section>
<section id="view-sections" class="view hidden"></section> <section id="view-sections" class="view hidden"></section>
<section id="view-blocks" class="view hidden"></section> <section id="view-blocks" class="view hidden"></section>