35 lines
1.6 KiB
HTML
35 lines
1.6 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 · stack-demo 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; }
|
|
/* The whole point: stack-demo grows to its natural height and the PAGE scrolls through it. */
|
|
.host { border: 1px solid #1f2937; border-radius: 12px; overflow: hidden; }
|
|
stack-demo { display: block; width: 100%; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="wrap">
|
|
<h1>stack-demo · staging</h1>
|
|
<p class="sub">Capability 4, STACK variant — the shared <code>StackLayout</code> renders two
|
|
elements (<code><research-dashboard-map></code> then <code><people-groups-grid></code>)
|
|
<strong>on top of each other</strong>, each at its natural height, so you
|
|
<strong>scroll down</strong> through both on one page (the doxa-life / nuxtinator page-flow model).
|
|
Embed <code><stack-demo></code> anywhere and the host page provides the scroll.</p>
|
|
<div class="host">
|
|
<stack-demo></stack-demo>
|
|
</div>
|
|
</div>
|
|
<script type="module" src="./index.js"></script>
|
|
</body>
|
|
</html>
|