🐞 fix: Move add button to top

This commit is contained in:
Keith Solomon
2025-07-16 22:37:44 -05:00
parent 5094705b67
commit 6f8fd8e5b7

View File

@@ -3,6 +3,10 @@
--- ---
<div class="w-64 border-r h-full p-4 text-gray-100"> <div class="w-64 border-r h-full p-4 text-gray-100">
<a href="/add" id="add-prompt" class="block w-fit bg-green-600 text-white px-4 py-2 mb-4 rounded hover:bg-green-700 transition-colors duration-300">
Add Prompt
</a>
<form id="filter-form" method="GET"> <form id="filter-form" method="GET">
<div> <div>
<label for="q" class="block text-lg font-semibold mb-1">Search</label> <label for="q" class="block text-lg font-semibold mb-1">Search</label>
@@ -51,8 +55,4 @@
Reset Filters Reset Filters
</button> </button>
</form> </form>
<a href="/add" id="add-prompt" class="block w-fit bg-green-600 text-white px-4 py-2 mt-4 rounded hover:bg-green-700 transition-colors duration-300">
Add Prompt
</a>
</div> </div>