added change sort & filter

This commit is contained in:
markaguilar committed 2020-09-24 23:12:10 +08:00
1 parent aef287eea7
commit 8657c8c1d2
1 file changed
+64 -6
+64 -6
View File
@@ -195,7 +195,7 @@
<p class="text-base">SORT</p>
</button>
<div class="origin-top-right mt-2 absolute w-full rounded-md bg-white shadow-lg">
<ul tabindex="-1" role="listbox" aria-labelledby="listbox-label" aria-activedescendant="listbox-item-3" class="origin-top-right max-h-64 rounded-md py-1 text-base leading-6 shadow-xs overflow-auto focus:outline-none sm:text-sm sm:leading-5">
<ul class="origin-top-right max-h-64 rounded-md py-1 text-base leading-6 shadow-xs overflow-auto focus:outline-none sm:text-sm sm:leading-5">
<li class="text-gray-700 cursor-default select-none relative py-3 px-3 mx-2 my-2 hover:bg-green-300 hover:text-white">
<div class "flex items-center space-x-3">Relevance</div>
</li>
@@ -219,19 +219,77 @@
<p class="text-base">FILTER</p>
</button>
<div class="origin-top-right mt-2 absolute w-full rounded-md bg-white shadow-lg">
<ul tabindex="-1" role="listbox" aria-labelledby="listbox-label" aria-activedescendant="listbox-item-3" class="origin-top-right max-h-auto rounded-md py-1 text-base leading-6 shadow-xs overflow-auto focus:outline-none sm:text-sm sm:leading-5">
<ul class="origin-top-right max-h-auto rounded-md py-1 text-base leading-6 shadow-xs overflow-auto focus:outline-none sm:text-sm sm:leading-5">
<li class="text-gray-700 cursor-default select-none relative py-2 px-3 mx-2 my-2">
<div class "flex items-center space-x-3">Budget</div>
<p class="text-lg">Budget</p>
<div class="flex justify-between mt-5">
<button type="button" class="inline-block h-8 px-3 rounded border text-gray-300 border-gray-300 focus:outline-none focus:border-green-300">Min</button>
<button type="button" class="inline-block h-8 px-3 rounded border text-gray-300 border-gray-300 focus:outline-none focus:border-green-300">Max</button>
</div>
</li>
<li class="text-gray-700 cursor-default select-none relative py-2 px-3 mx-2 my-2">
<div class "flex items-center space-x-3">Location</div>
<p class="text-lg">Location</p>
<div class=" relative inline-block mt-2">
<div>
<span class="shadow-sm">
<input type="type"
class="w-full h-8 border border-gray-300 px-2 py-1 bg-white leading-5 text-gray-400 hover:text-gray-500 focus:outline-none focus:border-green-300 focus:shadow-outline-green-300 active:bg-gray-50 active:text-gray-800 transition ease-in-out duration-150"
placeholder="Enter Location">
</input>
</span>
</div>
<!-- <div class="z-30 origin-top-right absolute left-0 mt-1 py-2 w-full shadow-lg">
<div class=" bg-white shadow-xs">
<div class="py-1">
<a href="#" class="block px-2 py-2 mx-2 text-sm leading-5 text-gray-700 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900">Kawit ,Cavite</a>
<a href="#" class="block px-2 py-2 mx-2 text-sm leading-5 text-gray-700 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900">Bacoor ,Cavite</a>
<a href="#" class="block px-2 py-2 mx-2 text-sm leading-5 text-gray-700 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900">Imus ,Cavite</a>
</div>
</div>
</div> -->
</div>
</li>
<li class="text-gray-700 cursor-default select-none relative py-2 px-3 mx-2 my-2">
<div class "flex items-center space-x-3">category</div>
<p class="text-lg">category</p>
<div class="relative inline-block mt-2">
<div class="flex relative">
<button type="button" class="inline-flex justify-center w-full rounded-md border border-gray-300 px-4 py-2 bg-white leading-5 font-medium text-gray-400 hover:text-gray-500 focus:outline-none focus:border-green-300 focus:shadow-outline-none active:bg-gray-50 active:text-gray-800 transition ease-in-out duration-150">
all spaces
<svg class="-mr-1 ml-2 h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
<path fill-rule="evenodd"
d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"
clip-rule="evenodd" />
</svg>
</button>
</div>
<!-- <div class="z-30 origin-top-right absolute left-0 mt-1 py-2 w-full shadow-lg">
<div class=" bg-white shadow-xs">
<div class="py-1">
<a href="#" class="block px-2 py-2 mx-2 text-sm leading-5 text-gray-700 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900">Kawit ,Cavite</a>
<a href="#" class="block px-2 py-2 mx-2 text-sm leading-5 text-gray-700 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900">Bacoor ,Cavite</a>
<a href="#" class="block px-2 py-2 mx-2 text-sm leading-5 text-gray-700 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900">Imus ,Cavite</a>
</div>
</div>
</div> -->
</div>
</li>
<li class="text-gray-700 cursor-default select-none relative py-2 px-3 mx-2 my-2">
<div class "flex items-center space-x-3">Options</div>
<p class="text-lg mb-3">Options</p>
<label class="inline-flex items-center">
<input type="radio" name="option" value="" class="checked:bg-green-300 form-radio">
<span class="ml-1">Anywhere</span>
</label>
<label class="inline-flex items-center">
<input type="radio" name="option" value="" class="checked:bg-green-300 form-radio">
<span class="ml-1">Nearby</span>
</label>
</li>
<div class="flex justify-center my-3">
<button class="bg-green-300 text-white text-lg font-semibold py-2 px-4">
Apply
</button>
</div>
</ul>
</div>
</div>