doxa-maps/plugin-designs/dashboard-plus-grid/index.html

37 lines
1.8 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>doxa-maps · dashboard-plus-grid staging</title>
<link rel="icon" href="data:,">
<style>
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: #0b0f14; color: #e5e7eb; min-height: 100%;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 28px 20px 48px; }
h1 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.sub { color: #9ca3af; font-size: 13px; margin: 6px 0 24px; max-width: 820px; }
.sub code { color: #c4b5fd; }
.host { border: 1px solid #1f2937; border-radius: 12px; overflow: hidden; }
dashboard-plus-grid { display: block; width: 100%; }
</style>
</head>
<body>
<div class="wrap">
<h1>dashboard-plus-grid · staging</h1>
<p class="sub">Capability&nbsp;4 — the research-dashboard + people-groups-grid <strong>baked into ONE
element</strong> (both components compiled into this single bundle, no runtime injection) and stacked
via the shared <code>StackLayout</code>. Scroll down through both. Embed
<code>&lt;dashboard-plus-grid&gt;</code> anywhere.</p>
<div class="host">
<dashboard-plus-grid></dashboard-plus-grid>
</div>
</div>
<!-- The GENERATED leaf pages set window.MAP_TOKEN from the baked build-config token (see
generate-tree.mjs) so a baked composite's nested map finds a token. On this hand-written staging
page (which the generator doesn't touch), a real host embedding <dashboard-plus-grid> would set
window.MAP_TOKEN itself; the people-groups grid renders regardless (it needs no map token). -->
<script type="module" src="./index.js"></script>
</body>
</html>