tailwindcss + wip auth

This commit is contained in:
Per Stark
2024-12-12 20:59:27 +01:00
parent 1c4b3284bf
commit 1d8e19c88f
26 changed files with 2496 additions and 300 deletions

View File

@@ -18,26 +18,13 @@
<!-- Search Bar -->
<div class="w-full max-w-2xl">
<input type="text" placeholder="Search..." name="query"
class="w-full px-6 py-4 bg-black/30 backdrop-blur-md text-white placeholder-gray-400 outline-none rounded-xl"
hx-get="/search" hx-target="#search-results">
<input type="text" placeholder="Enter your search query" class="input input-bordered w-full" name="query"
hx-get="/search" hx-target="#search-results" />
</div>
<!-- Search Results -->
<div id="search-results" class="w-full max-w-2xl mt-4">
<!-- Results will be populated here by HTMX -->
</div>
<!-- Quick Actions -->
<div class="flex gap-4 mt-8">
<a href="/upload"
class="px-6 py-3 bg-blue-600/20 hover:bg-blue-600/30 border border-blue-500/30 rounded-lg text-blue-400 transition-all hover:scale-105">
Upload File
</a>
<a href="/files"
class="px-6 py-3 bg-purple-600/20 hover:bg-purple-600/30 border border-purple-500/30 rounded-lg text-purple-400 transition-all hover:scale-105">
Browse Files
</a>
</div>
</div>
{% endblock %}