erowid-bot/app/static/index.html

60 lines
2.1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Erowid Bot</title>
<link rel="stylesheet" href="/static/style.css">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
</head>
<body>
<div class="header">
<div class="header-left">
<div class="logo">Erowid Bot</div>
<div class="tagline">Harm Reduction Knowledge Assistant</div>
</div>
<div class="stats-badge" id="stats">loading...</div>
</div>
<div class="chat-container" id="chat-container">
<div class="welcome" id="welcome">
<h2>Explore the Erowid Database</h2>
<p>
Ask questions about substances, experience reports, dosage information,
effects, safety, and more. All information is sourced from the Erowid vault
and experience reports. This bot prioritizes harm reduction and safety.
</p>
<div class="suggestions">
<button class="suggestion">What are the effects of psilocybin?</button>
<button class="suggestion">Tell me about safe MDMA dosing</button>
<button class="suggestion">What do people report about DMT experiences?</button>
<button class="suggestion">What are dangerous drug combinations?</button>
<button class="suggestion">Compare LSD and psilocybin experiences</button>
</div>
</div>
</div>
<div class="input-container">
<div class="input-wrapper">
<textarea
id="message-input"
placeholder="Ask about substances, experiences, safety..."
rows="1"
></textarea>
<button id="send-btn">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<line x1="22" y1="2" x2="11" y2="13"></line>
<polygon points="22 2 15 22 11 13 2 9 22 2"></polygon>
</svg>
</button>
</div>
<div class="disclaimer">
Information sourced from Erowid.org. Not medical advice. Always practice harm reduction.
</div>
</div>
<script src="/static/app.js"></script>
</body>
</html>