added listspacelocation

This commit is contained in:
markaguilar committed 2020-09-25 01:05:56 +08:00
1 parent 5b383227f1
commit 5c995f0508
9 files changed
+809 -104

No files matched your search

+129 -63
View File
@@ -119,20 +119,28 @@
<dt class="text-sm font-medium leading-5 text-gray-500 truncate">
LOCATION
</dt>
<dd class="relative mt-2 font-semibold leading-9">
<select name="" id="" class="block appearance-none w-full border border-gray-200 text-gray-700 py-1 px-4 pr-8 leading-tight focus:outline-none focus:bg-white focus:border-green-300">
<option class="hidden">Select Location</option>
<option>Kawit ,Cavite</option>
<option>Bacoor ,Cavite</option>
<option>Imus ,Cavite</option>
</select>
<div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700">
<svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
<path
d="M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z" />
</svg>
<div class="relative inline-block mt-2">
<div>
<span class="shadow-sm">
<input type="type"
class="inline-flex w-56 h-8 border border-gray-300 px-4 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"
id="options-menu" aria-haspopup="true" aria-expanded="true" placeholder="Enter Location">
</input>
</span>
</div>
</dd>
<div class="origin-top-right absolute left-0 mt-1 py-2 w-full shadow-lg">
<div class="bg-white shadow-xs">
<div class="py-1 z-20">
<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>
</dl>
</div>
</div>
@@ -159,57 +167,115 @@
</div>
</div>
</div>
<div class="flex relative mx-3 md:hidden">
<span class="w-full rounded-md shadow-sm mb-6">
<button type="button" class="relative w-full py-2 transition ease-in-out duration-150 sm:leading-5">
<span class="absolute left-0 flex items-center">
<img class="flex-shrink-0 h-4 ml-12 my-1 text-gray-400 " src="svg/Group 2039.svg ">
</span>
<p class="text-base">SORT</p>
</button>
</span>
<!-- <div class="mt-5 absolute top-0 w-1/2 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-56 rounded-md py-1 text-base leading-6 shadow-xs overflow-auto focus:outline-none sm:text-sm sm:leading-5">
<li id="listbox-item-0" role="option" class="text-gray-900 cursor-default select-none relative py-2 pl-3 pr-9">
<div class "flex items-center space-x-3">RELEVANCE</div>
</li>
<li id="listbox-item-0" role="option" class="text-gray-900 cursor-default select-none relative py-2 pl-3 pr-9">
<div class "flex items-center space-x-3">RELEVANCE</div>
</li>
<li id="listbox-item-0" role="option" class="text-gray-900 cursor-default select-none relative py-2 pl-3 pr-9">
<div class "flex items-center space-x-3">RELEVANCE</div>
</li>
<li class="text-gray-900 cursor-default select-none relative py-2 pl-3 pr-9">
<div class "flex items-center space-x-3">RELEVANCE</div>
</li>
</ul>
</div> -->
<span class="w-full rounded-md shadow-sm mb-6">
<button type "button" class="relative w-full py-2 transition ease-in-out duration-150 sm:text-lg sm:leading-5">
<span class="absolute left-0 flex items-center">
<img class="flex-shrink-0 h-4 ml-10 my-1 text-gray-400 " src="svg/Path 753.svg ">
</span>
<p class="text-base">FILTER</p>
</button>
<!-- <div class="mt-5 absolute top-0 w-1/2 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-56 rounded-md py-1 text-base leading-6 shadow-xs overflow-auto focus:outline-none sm:text-sm sm:leading-5">
<li id="listbox-item-0" role="option" class="text-gray-900 cursor-default select-none relative py-2 pl-3 pr-9">
<div class "flex items-center space-x-3">RELEVANCE</div>
</li>
<li id="listbox-item-0" role="option" class="text-gray-900 cursor-default select-none relative py-2 pl-3 pr-9">
<div class "flex items-center space-x-3">RELEVANCE</div>
</li>
<li id="listbox-item-0" role="option" class="text-gray-900 cursor-default select-none relative py-2 pl-3 pr-9">
<div class "flex items-center space-x-3">RELEVANCE</div>
</li>
<li class="text-gray-900 cursor-default select-none relative py-2 pl-3 pr-9">
<div class "flex items-center space-x-3">RELEVANCE</div>
</li>
</ul>
</div> -->
</span>
<!-- mobile sort & filter -->
<div class="z-10 flex relative mx-3 md:hidden">
<div class="w-full relative rounded-md shadow-sm mb-6 mr-2">
<button type="button" class="relative w-full py-2 transition ease-in-out duration-150 sm:leading-5">
<span class="absolute left-0 flex items-center">
<img class="flex-shrink-0 h-4 ml-12 my-1 text-gray-400 " src="svg/Group 2039.svg ">
</span>
<p class="text-base">SORT</p>
</button>
<!-- <div class="origin-top-right mt-2 absolute w-full rounded-md bg-white shadow-lg">
<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>
<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">Latest</div>
</li>
<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">Price-High to Low</div>
</li>
<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">Price-Low to High</div>
</li>
</ul>
</div> -->
</div>
<div class="w-full relative rounded-md shadow-sm mb-6 ml-2">
<button type "button" class="relative w-full py-2 transition ease-in-out duration-150 sm:text-lg sm:leading-5">
<span class="absolute left-0 flex items-center">
<img class="flex-shrink-0 h-4 ml-10 my-1 text-gray-400 " src="svg/Path 753.svg ">
</span>
<p class="text-base">FILTER</p>
</button>
<!-- <div class="origin-top-right mt-2 absolute w-full rounded-md bg-white shadow-lg">
<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">
<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">
<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">
<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">
<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>
</div>
<!-- mobile sort & filter
<!-- content -->
<div class="flex justify-center flex-wrap mb-8 ">
<div class="max-w-xxs mx-2 rounded mb-6 ">