added change selectlocation

This commit is contained in:
markaguilar committed 2020-09-25 00:01:53 +08:00
1 parent 8657c8c1d2
commit 5b383227f1
9 files changed
+788 -208

No files matched your search

+182 -66
View File
@@ -4,7 +4,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Coworking</title>
<title>Workazza</title>
<link rel="stylesheet" href="styles.css">
</head>
@@ -15,14 +15,6 @@
<img class="hidden md:block lg:block w-auto h-12 mr-4" src="img/logo.svg" alt="" />
<div class="w-full md:mt-6 ">
<div class="flex relative">
<!-- <select class="w-24 focus:border-blue-300 focus:shadow-outline-green hidden md:block" id=" ">
<option class="selected hidden">All Spaces</option>
<option>Coworking</option>
<option>Private Office</option>
<option>Meeting Room</option>
<option>Virtual Office</option>
<option>Event Spaces</option>
</select> -->
<div class="relative hidden md:block">
<div>
<span class="shadow-sm">
@@ -101,28 +93,24 @@
<button>PRICE-HIGH TO LOW</button>
</div>
</nav>
<div class="md:flex mt-4 -mx-3 hidden mb-4">
<div class="w-1/3 px-3">
<div class="z-20 md:flex mt-4 -mx-3 hidden mb-4">
<div class="w-1/2 px-3">
<div class="overflow-hidden bg-white">
<div class="px-4 py-5 lg:p-6">
<dl>
<dt class="text-sm font-medium leading-5 text-gray-500 truncate">
BUDGET
</dt>
<dd class="mt-1 font-semibold leading-9 text-gray-500">
<!-- <div role="group">
<input id="a" type="range" min="0" max="100" value="60" aria-valuetext="100" list="l" />
</div> -->
<!-- <div class="price-slider">
<input type="range" min="0" max="100" value="0" aria-valuetext="100" step="1" oninput="updatePriceLabels()" />
<input type="range" min="0" max="100" value="100" aria-valuetext="100" step="1" oninput="updatePriceLabels()" />
</div> -->
<input type="range" min="0" max="100" value="100" aria-valuetext="100" step="1" oninput="updatePriceLabels()" />
<dd class="mt-3 ml-4 font-semibold leading-9 text-gray-500">
<label>Min</label>
<input type="text" class="w-12 border border-gray-300 focus:outline-none focus:border-green-300" placeholder="0"></input>
<input type="range" class="" min="0" max="100" value="50" step="1" />
<label>Max</label>
<input type="text" class="w-12 border border-gray-300 focus:outline-none focus:border-green-300" placeholder="100"></input>
</dd>
</dl>
</div>
</div>
</div>
<div class="w-1/3 px-3">
<div class="overflow-hidden bg-white">
@@ -140,19 +128,12 @@
</input>
</span>
</div>
<!-- Dropdown panel, show/hide based on dropdown state.
Entering: "transition ease-out duration-100"
From: "transform opacity-0 scale-95"
To: "transform opacity-100 scale-100"
Leaving: "transition ease-in duration-75"
From: "transform opacity-100 scale-100"
To: "transform opacity-0 scale-95" -->
<div class="z-20 origin-top-right absolute left-0 mt-1 py-2 w-full shadow-lg">
<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" role="menu" aria-orientation="vertical" aria-labelledby="options-menu">
<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" role="">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" role="">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" role="">Imus ,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">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>
@@ -185,56 +166,115 @@
</div>
</div>
</div>
<!-- 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>
<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">
<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 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>
<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">
<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>
</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>
</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>
</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>
</li>
</ul>
</div>
<!-- <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="z-0 flex justify-center flex-wrap mb-8 ">
<div class="max-w-xxs mx-2 rounded mb-6 ">
@@ -351,6 +391,82 @@
<span class="flex text-base text-green-300 py-3 pb-1 ">P 1,299/ month</span>
</div>
</div>
<div class="max-w-xxs mx-2 rounded mb-6 ">
<div class="relative pb-40 ">
<a href="# "><img class="absolute h-full w-full object-cover z-0" src="img/img.jpg " alt=" "></a>
</div>
<div class="px-4 py-2 mt-2 ">
<a href="# ">
<p class="font-bold text-sm leading-5 ">Coworking Space with Shower</p>
</a>
</div>
<div class="px-3 ">
<div class=" flex items-center text-xs text-gray-500 ">
<img class="flex-shrink-0 mr-1 h-3 w-3 text-gray-400 " src="svg/Subtraction 4.svg ">Quezon City
</div>
<div class="flex items-center text-xs text-gray-500 ">
<img class="flex-shrink-0 h-3 w-4 text-gray-400 " src="svg/Subtraction 5.svg ">1 week ago
</div>
<span class="flex text-base text-green-300 py-3 pb-1 ">P 1,299/ month</span>
</div>
</div>
<div class="max-w-xxs mx-2 rounded mb-6 ">
<div class="relative pb-40 ">
<a href="# "><img class="absolute h-full w-full object-cover " src="img/img.jpg " alt=" "></a>
</div>
<div class="px-4 py-2 mt-2 ">
<a href="# ">
<p class="font-bold text-sm leading-5 ">Coworking Space with Shower</p>
</a>
</div>
<div class="px-3 ">
<div class=" flex items-center text-xs text-gray-500 ">
<img class="flex-shrink-0 mr-1 h-3 w-3 text-gray-400 " src="svg/Subtraction 4.svg ">Quezon City
</div>
<div class="flex items-center text-xs text-gray-500 ">
<img class="flex-shrink-0 h-3 w-4 text-gray-400 " src="svg/Subtraction 5.svg ">1 week ago
</div>
<span class="flex text-base text-green-300 py-3 pb-1 ">P 1,299/ month</span>
</div>
</div>
<div class="max-w-xxs mx-2 rounded mb-6 ">
<div class="relative pb-40 ">
<a href="# "><img class="absolute h-full w-full object-cover " src="img/img.jpg " alt=" "></a>
</div>
<div class="px-4 py-2 mt-2 ">
<a href="# ">
<p class="font-bold text-sm leading-5 ">Coworking Space with Shower</p>
</a>
</div>
<div class="px-3 ">
<div class=" flex items-center text-xs text-gray-500 ">
<img class="flex-shrink-0 mr-1 h-3 w-3 text-gray-400 " src="svg/Subtraction 4.svg ">Quezon City
</div>
<div class="flex items-center text-xs text-gray-500 ">
<img class="flex-shrink-0 h-3 w-4 text-gray-400 " src="svg/Subtraction 5.svg ">1 week ago
</div>
<span class="flex text-base text-green-300 py-3 pb-1 ">P 1,299/ month</span>
</div>
</div>
<div class="max-w-xxs mx-2 rounded mb-6 ">
<div class="relative pb-40 ">
<a href="# "><img class="absolute h-full w-full object-cover " src="img/img.jpg " alt=" "></a>
</div>
<div class="px-4 py-2 mt-2 ">
<a href="# ">
<p class="font-bold text-sm leading-5 ">Coworking Space with Shower</p>
</a>
</div>
<div class="px-3 ">
<div class=" flex items-center text-xs text-gray-500 ">
<img class="flex-shrink-0 mr-1 h-3 w-3 text-gray-400 " src="svg/Subtraction 4.svg ">Quezon City
</div>
<div class="flex items-center text-xs text-gray-500 ">
<img class="flex-shrink-0 h-3 w-4 text-gray-400 " src="svg/Subtraction 5.svg ">1 week ago
</div>
<span class="flex text-base text-green-300 py-3 pb-1 ">P 1,299/ month</span>
</div>
</div>
</div>
<div class="flex text-center px-5 sm:hidden ">
<button class="flex-1 w-full items-center bg-green-300 hover:bg-green-300 text-gray-800 font-bold py-2 ">Load