feat: add sorting options to post list
This commit is contained in:
1 parent
0a2d0b4247
commit
987b76019f
1 file changed
+5
-2
@@ -32,8 +32,11 @@
|
||||
<!-- Sort Dropdown (optional, static default) -->
|
||||
<div class="sort-controls flex items-center space-x-2">
|
||||
<label for="sort-select" class="text-sm font-medium text-gray-700">Sort by:</label>
|
||||
<select id="sort-select" disabled class="cursor-not-allowed text-sm font-action bg-white border border-gray-300 rounded-md px-3 py-1.5">
|
||||
<option selected>Newest</option>
|
||||
<select id="sort-select" class="sort-select text-sm font-action bg-white border border-gray-300 rounded-md px-3 py-1.5 focus:outline-none focus:ring-1 focus:ring-primary focus:border-primary cursor-pointer">
|
||||
<option value="new" selected>Newest</option>
|
||||
<option value="nearby">Nearby</option>
|
||||
<option value="upvotes">Most Upvotes</option>
|
||||
<option value="comments">Most Comments</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user