<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Compass Registry</title>
<link rel="icon" type="image/png" href="vscode-extension/media/compass.png">
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&family=JetBrains+Mono:wght@400;700&display=swap" rel="stylesheet">
</head>
<body>
<nav class="navbar">
<div class="logo-container">
<img src="vscode-extension/media/compass.png" alt="Compass Logo" class="logo">
<h1>Compass <span class="accent">Registry</span></h1>
</div>
<div class="links">
<a href="https://github.com/eraflo/Compass/issues/new?template=publish_runbook.yml&title=Publish+Runbook%3A+" target="_blank" class="btn-publish">
<svg viewBox="0 0 24 24" width="20" height="20" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></svg>
Publish Runbook
</a>
<a href="https://github.com/eraflo/Compass" target="_blank" class="btn-github">
<svg viewBox="0 0 24 24" width="24" height="24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path></svg>
GitHub
</a>
</div>
</nav>
<header class="hero">
<h2>Navigate your infrastructure.</h2>
<p class="subtitle">Discover community runbooks for fast onboarding and reliable ops.</p>
<div class="install-box">
<span class="cmd-prompt">$</span>
<span class="cmd">cargo install compass-cli</span>
<button class="copy-btn" onclick="copyToClipboard('cargo install compass-cli', this)">
<svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg>
</button>
</div>
</header>
<main>
<div class="search-container">
<input type="text" id="search-input" placeholder="Search runbooks (e.g. 'react', 'k8s')...">
</div>
<div id="grid-container" class="grid">
<div class="loading">Loading registry...</div>
</div>
</main>
<footer>
<p>© 2026 Compass Project. Licensed under Apache 2.0.</p>
</footer>
<script src="script.js"></script>
</body>
</html>