Files
the-beacon/nexus-panel-preview.html
Alexander Whitestone f8d52c923e
Some checks failed
Accessibility Checks / a11y-audit (pull_request) Successful in 6s
Smoke Test / smoke (pull_request) Failing after 8s
feat: add beacon nexus portal slice (#167)
2026-04-18 15:12:29 -04:00

82 lines
2.2 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>The Beacon — Nexus Portal Preview</title>
<style>
:root {
color-scheme: dark;
--bg: #060810;
--panel: #0d1220;
--border: #1f2b45;
--text: #cbd5f5;
--accent: #4a9eff;
--dim: #6f7da6;
}
* { box-sizing: border-box; }
body {
margin: 0;
min-height: 100vh;
background: radial-gradient(circle at top, #0c1630, var(--bg));
color: var(--text);
font-family: 'SF Mono', 'Cascadia Code', 'Fira Code', monospace;
display: flex;
flex-direction: column;
gap: 12px;
padding: 16px;
}
.chrome {
border: 1px solid var(--border);
border-radius: 12px;
background: rgba(13, 18, 32, 0.92);
box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
overflow: hidden;
}
.toolbar {
display: flex;
justify-content: space-between;
gap: 12px;
padding: 12px 16px;
border-bottom: 1px solid var(--border);
background: rgba(8, 12, 24, 0.96);
align-items: center;
}
.toolbar strong { color: var(--accent); letter-spacing: 0.08em; }
.toolbar code { color: var(--dim); font-size: 12px; }
iframe {
display: block;
width: 100%;
min-height: 80vh;
border: 0;
background: #080810;
}
.notes {
font-size: 12px;
line-height: 1.6;
color: var(--dim);
padding: 0 4px;
}
</style>
</head>
<body>
<div class="chrome">
<div class="toolbar">
<strong>NEXUS PANEL PREVIEW — THE BEACON</strong>
<code>./index.html?portal=the-beacon&amp;embedded=1</code>
</div>
<iframe
id="nexus-panel-frame"
title="The Beacon in Nexus portal preview"
src="./index.html?portal=the-beacon&embedded=1"
loading="lazy"
referrerpolicy="no-referrer"
allow="fullscreen"
></iframe>
</div>
<div class="notes">
This local harness mirrors the app-owned Nexus portal entry. It verifies that The Beacon loads inside an iframe panel and that the embedded portal route uses its own scoped localStorage save key.
</div>
</body>
</html>