feat: Replace text arrow with svg arrow in modal buttons

This commit is contained in:
Kerby Martino authored and Kerby Martino (aider) committed 2025-05-11 05:00:28 +08:00
1 parent 6afc7b2e3e
commit 8b7eab3a11
1 file changed
+12 -3
+12 -3
View File
@@ -103,7 +103,10 @@
</div>
<div class="mt-6 flex justify-between">
<button type="button" class="prev-step-btn-modal bg-gray-100 text-indigo-900 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700">
<span aria-hidden="true">&larr;</span> Previous
<svg class="w-5 h-5 mr-2 -ml-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
<path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd" />
</svg>
Previous
</button>
<button type="button" class="next-step-btn-modal bg-indigo-900 text-gray-100 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700">
Next <span aria-hidden="true">&rarr;</span>
@@ -186,7 +189,10 @@
</div>
<div class="mt-6 flex justify-between">
<button type="button" class="prev-step-btn-modal bg-gray-100 text-indigo-900 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700">
<span aria-hidden="true">&larr;</span> Previous
<svg class="w-5 h-5 mr-2 -ml-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
<path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd" />
</svg>
Previous
</button>
<button type="button" class="next-step-btn-modal bg-indigo-900 text-gray-100 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700">
Next <span aria-hidden="true">&rarr;</span>
@@ -223,7 +229,10 @@
</div>
<div class="mt-6 flex justify-between items-center">
<button type="button" class="prev-step-btn-modal bg-gray-100 text-indigo-900 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700">
<span aria-hidden="true">&larr;</span> Previous
<svg class="w-5 h-5 mr-2 -ml-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
<path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd" />
</svg>
Previous
</button>
<button type="submit" class="bg-indigo-900 text-gray-100 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700">
Submit Listing