Files
ThinkStorm/thinkstorm/templates/index.html
T

50 lines
1.9 KiB
HTML

{% extends "base.html" %}
{% block title %}ThinkStorm - Throw Your Ideas At Us{% endblock %}
{% block content %}
<div class="hero-intake">
<h1 class="hero-title">Got an idea?<br>Throw it at us.</h1>
<p class="hero-subtitle">Anonymous intake with zero friction. We preserve your raw thought, research the landscape, and incubate it with self-hosted AI.</p>
<div class="intake-box">
<form id="intake-form">
<div class="form-group" style="margin-bottom:0.75rem;">
<label for="submission-text" class="form-label" style="display:flex; justify-content:space-between;">
<span>Describe your idea...</span>
<span id="detected-urls" style="color:var(--accent-primary); font-family:var(--font-mono); font-size:0.8rem;">No URLs detected</span>
</label>
<textarea
id="submission-text"
class="form-textarea"
placeholder="Describe your idea in free-form text. URLs can be included directly in the text (e.g. https://github.com/... or https://example.com). No title or categorization needed."
rows="7"
required
></textarea>
</div>
<div class="intake-footer">
<div class="intake-hints">
<span id="char-count" style="font-family:var(--font-mono);">0 / 10,000</span> • URLs automatically evaluated for safety
</div>
<button type="submit" class="btn btn-primary" style="padding:0.75rem 2rem; font-size:1.05rem;">
⚡ Submit Idea
</button>
</div>
</form>
</div>
<div style="margin-top: 2.5rem;">
{% if user and user.role.value != 'ANONYMOUS' %}
<a href="/ideas" class="btn btn-secondary">
🔍 Browse Unclaimed & Incubating Ideas →
</a>
{% else %}
<a href="/login" class="btn btn-secondary">
🔐 Sign In to Browse Ideas →
</a>
{% endif %}
</div>
</div>
{% endblock %}