80 lines
4.1 KiB
HTML
80 lines
4.1 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
|
<meta name="description" content="Ask Brain of Reese anything about the homelab and deployments.">
|
|
<title>Brain of Reese</title>
|
|
<link rel="icon" href="data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2064%2064%22%3E%3Cpath%20d=%22M32%204%2055%2018v28L32%2060%209%2046V18Z%22%20fill=%22%23121a2e%22%20stroke=%22%236d78f2%22%20stroke-width=%224%22%20stroke-linejoin=%22round%22/%3E%3Ccircle%20cx=%2232%22%20cy=%2232%22%20r=%226.5%22%20fill=%22%236d78f2%22/%3E%3Cpath%20d=%22M32%2025.5V16M32%2048v-9.5M25.5%2032H16M48%2032h-9.5%22%20stroke=%22%2322d3ee%22%20stroke-width=%223%22%20stroke-linecap=%22round%22/%3E%3C/svg%3E">
|
|
<link rel="stylesheet" href="/assets/styles.css">
|
|
</head>
|
|
<body>
|
|
<a class="skip-link" href="#main">Skip to content</a>
|
|
|
|
<header class="app-header">
|
|
<div class="container header-inner">
|
|
<span class="brand">
|
|
<svg class="brand-mark" aria-hidden="true" viewBox="0 0 64 64"><path d="M32 4 55 18v28L32 60 9 46V18Z" fill="#121a2e" stroke="#6d78f2" stroke-width="4" stroke-linejoin="round"/><circle cx="32" cy="32" r="6.5" fill="#6d78f2"/><path d="M32 25.5V16M32 48v-9.5M25.5 32H16M48 32h-9.5" stroke="#22d3ee" stroke-width="3" stroke-linecap="round"/></svg>
|
|
<span class="brand-text">Brain of <strong>Reese</strong></span>
|
|
</span>
|
|
<nav class="app-nav" aria-label="Primary">
|
|
<a href="/" class="nav-link is-active" aria-current="page">Chat</a>
|
|
<a href="/sources.html" class="nav-link">Sources</a>
|
|
</nav>
|
|
</div>
|
|
</header>
|
|
|
|
<main id="main" class="app-main" tabindex="-1">
|
|
<div class="container chat-shell" data-state="empty">
|
|
<div class="kb-banner" id="kb-banner" role="status" hidden>
|
|
<svg aria-hidden="true" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 3.6 22.2 20.4H1.8Z"/><path d="M12 9.5v4.6"/><path d="M12 17.4h.01"/></svg>
|
|
<span id="kb-banner-text"></span>
|
|
</div>
|
|
|
|
<section class="messages" id="messages" aria-live="polite" aria-label="Conversation with Brain of Reese">
|
|
<div class="empty-state" id="empty-state">
|
|
<div class="empty-state-glyph" aria-hidden="true">
|
|
<svg viewBox="0 0 48 48" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M10 8h28a4 4 0 0 1 4 4v18a4 4 0 0 1-4 4H24l-9 8v-8h-5a4 4 0 0 1-4-4V12a4 4 0 0 1 4-4Z"/><path d="m15 17 5 4-5 4"/><path d="M24 25h8"/></svg>
|
|
</div>
|
|
<h1 class="empty-state-title">Hey! I'm Brain of Reese.</h1>
|
|
<p class="empty-state-sub">
|
|
I've read through the homelab and deployment notes — ask me anything,
|
|
and I'll point you at the exact doc. You've got this.
|
|
</p>
|
|
<div class="suggestions" id="suggestions" role="list" aria-label="Suggested questions">
|
|
<!-- suggestion chips rendered by app.js from /api/suggestions -->
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<form class="composer" id="composer">
|
|
<label class="visually-hidden" for="message-input">Ask Brain of Reese a question</label>
|
|
<textarea
|
|
id="message-input"
|
|
name="message"
|
|
rows="1"
|
|
placeholder="Ask me about the homelab…"
|
|
autocomplete="off"
|
|
required
|
|
></textarea>
|
|
<button type="submit" class="send-btn" id="send-btn">
|
|
<span class="spinner" aria-hidden="true" hidden></span>
|
|
<span class="btn-label" id="send-label">Send</span>
|
|
<span class="visually-hidden" aria-live="polite" id="send-status"></span>
|
|
</button>
|
|
</form>
|
|
</div>
|
|
</main>
|
|
|
|
<footer class="app-footer">
|
|
<div class="container footer-inner">
|
|
<span>Powered by Reese's self-hosted models</span>
|
|
<span class="footer-version" id="app-version"></span>
|
|
</div>
|
|
</footer>
|
|
|
|
<script src="assets/markdown.js"></script>
|
|
<script type="module" src="/assets/app.js"></script>
|
|
</body>
|
|
</html>
|