merged create and chat create in one tab

This commit is contained in:
2026-02-23 16:13:14 +01:00
parent d3ebffa811
commit 005059be84
9 changed files with 175 additions and 14 deletions

View File

@@ -0,0 +1,43 @@
{% extends "base.html" %}
{% block title %}Post erstellen - LinkedIn Posts{% endblock %}
{% block content %}
<div class="max-w-3xl mx-auto">
<div class="mb-8 text-center">
<h1 class="text-3xl font-bold text-white mb-2">Post erstellen</h1>
<p class="text-gray-400">Wähle, wie du deinen Post erstellen möchtest</p>
</div>
{% if limit_reached %}
<div class="mb-6 card-bg border rounded-xl p-4 text-center text-sm text-gray-300">
Token-Limit erreicht keine KI-Aktionen mehr heute möglich. Morgen wird das Limit zurückgesetzt.
</div>
{% endif %}
<div class="grid md:grid-cols-2 gap-6">
<a href="/create/wizard"
class="card-bg border rounded-xl p-6 hover:bg-brand-bg-light transition-colors group {% if limit_reached %}opacity-50 pointer-events-none{% endif %}">
<div class="w-12 h-12 bg-brand-highlight/20 rounded-lg flex items-center justify-center mb-4">
<svg class="w-6 h-6 text-brand-highlight" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M12 4v16m8-8H4"/>
</svg>
</div>
<h2 class="text-lg font-semibold text-white mb-2">Per Wizard erstellen</h2>
<p class="text-gray-400 text-sm">Geführter Prozess mit Post-Typ, Thema und Hook-Auswahl.</p>
</a>
<a href="/chat-create"
class="card-bg border rounded-xl p-6 hover:bg-brand-bg-light transition-colors group {% if limit_reached %}opacity-50 pointer-events-none{% endif %}">
<div class="w-12 h-12 bg-brand-highlight/20 rounded-lg flex items-center justify-center mb-4">
<svg class="w-6 h-6 text-brand-highlight" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"/>
</svg>
</div>
<h2 class="text-lg font-semibold text-white mb-2">Per Chat erstellen</h2>
<p class="text-gray-400 text-sm">Schnell und flexibel mit dem Chat-Assistenten.</p>
</a>
</div>
</div>
{% endblock %}