added change navbar responsive
This commit is contained in:
1 parent
c7332b892d
commit
515f3ae509
3 files changed
+1048
-67
No files matched your search
+62
-67
@@ -268,40 +268,40 @@
|
||||
<button type="submit" class="absolute right-0 top-0 mt-2 sm:mt-3 md:mt-3 mr-2">
|
||||
<img class="text-indigo-700 h-5 w-5" src="svg/icon_search.svg" alt="">
|
||||
</button>
|
||||
<!-- <div class="z-10 origin-top-right absolute w-full pt-2">-->
|
||||
<!-- <div class="bg-white rounded-lg py-1">-->
|
||||
<!-- <a href="#"-->
|
||||
<!-- class="flex items-center px-2 text-md leading-5 hover:bg-green-300 text-gray-900 hover:text-white focus:outline-none">-->
|
||||
<!-- <svg class="h-7 w-5 mr-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">-->
|
||||
<!-- <path fill-rule="evenodd" d="M5.05 4.05a7 7 0 119.9 9.9L10 18.9l-4.95-4.95a7 7 0 010-9.9zM10 11a2 2 0 100-4 2 2 0 000 4z" clip-rule="evenodd" />-->
|
||||
<!-- </svg>-->
|
||||
<!-- Incub8 Space, Bacoor, Kawit, Cavite</a>-->
|
||||
<!-- <a href="#"-->
|
||||
<!-- class="flex items-center px-2 text-md leading-5 hover:bg-green-300 text-gray-900 hover:text-white focus:outline-none">-->
|
||||
<!-- <svg class="h-7 w-5 mr-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">-->
|
||||
<!-- <path fill-rule="evenodd" d="M5.05 4.05a7 7 0 119.9 9.9L10 18.9l-4.95-4.95a7 7 0 010-9.9zM10 11a2 2 0 100-4 2 2 0 000 4z" clip-rule="evenodd" />-->
|
||||
<!-- </svg>-->
|
||||
<!-- Incub8 Space, Bacoor, Kawit, Cavite</a>-->
|
||||
<!-- <a href="#"-->
|
||||
<!-- class="flex items-center px-2 text-md leading-5 hover:bg-green-300 text-gray-900 hover:text-white focus:outline-none">-->
|
||||
<!-- <svg class="h-7 w-5 mr-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">-->
|
||||
<!-- <path fill-rule="evenodd" d="M5.05 4.05a7 7 0 119.9 9.9L10 18.9l-4.95-4.95a7 7 0 010-9.9zM10 11a2 2 0 100-4 2 2 0 000 4z" clip-rule="evenodd" />-->
|
||||
<!-- </svg>-->
|
||||
<!-- Incub8 Space, Bacoor, Kawit, Cavite</a>-->
|
||||
<!-- <a href="#"-->
|
||||
<!-- class="flex items-center px-2 text-md leading-5 hover:bg-green-300 text-gray-900 hover:text-white focus:outline-none">-->
|
||||
<!-- <svg class="h-7 w-5 mr-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">-->
|
||||
<!-- <path fill-rule="evenodd" d="M5.05 4.05a7 7 0 119.9 9.9L10 18.9l-4.95-4.95a7 7 0 010-9.9zM10 11a2 2 0 100-4 2 2 0 000 4z" clip-rule="evenodd" />-->
|
||||
<!-- </svg>-->
|
||||
<!-- Incub8 Space, Bacoor, Kawit, Cavite</a>-->
|
||||
<!-- <a href="#"-->
|
||||
<!-- class="flex items-center px-2 text-md leading-5 hover:bg-green-300 text-gray-900 hover:text-white focus:outline-none">-->
|
||||
<!-- <svg class="h-7 w-5 mr-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">-->
|
||||
<!-- <path fill-rule="evenodd" d="M5.05 4.05a7 7 0 119.9 9.9L10 18.9l-4.95-4.95a7 7 0 010-9.9zM10 11a2 2 0 100-4 2 2 0 000 4z" clip-rule="evenodd" />-->
|
||||
<!-- </svg>-->
|
||||
<!-- Incub8 Space, Bacoor, Kawit, Cavite</a>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- <div class="z-10 origin-top-right absolute w-full pt-2">-->
|
||||
<!-- <div class="bg-white rounded-lg py-1">-->
|
||||
<!-- <a href="#"-->
|
||||
<!-- class="flex items-center px-2 text-md leading-5 hover:bg-green-300 text-gray-900 hover:text-white focus:outline-none">-->
|
||||
<!-- <svg class="h-7 w-5 mr-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">-->
|
||||
<!-- <path fill-rule="evenodd" d="M5.05 4.05a7 7 0 119.9 9.9L10 18.9l-4.95-4.95a7 7 0 010-9.9zM10 11a2 2 0 100-4 2 2 0 000 4z" clip-rule="evenodd" />-->
|
||||
<!-- </svg>-->
|
||||
<!-- Incub8 Space, Bacoor, Kawit, Cavite</a>-->
|
||||
<!-- <a href="#"-->
|
||||
<!-- class="flex items-center px-2 text-md leading-5 hover:bg-green-300 text-gray-900 hover:text-white focus:outline-none">-->
|
||||
<!-- <svg class="h-7 w-5 mr-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">-->
|
||||
<!-- <path fill-rule="evenodd" d="M5.05 4.05a7 7 0 119.9 9.9L10 18.9l-4.95-4.95a7 7 0 010-9.9zM10 11a2 2 0 100-4 2 2 0 000 4z" clip-rule="evenodd" />-->
|
||||
<!-- </svg>-->
|
||||
<!-- Incub8 Space, Bacoor, Kawit, Cavite</a>-->
|
||||
<!-- <a href="#"-->
|
||||
<!-- class="flex items-center px-2 text-md leading-5 hover:bg-green-300 text-gray-900 hover:text-white focus:outline-none">-->
|
||||
<!-- <svg class="h-7 w-5 mr-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">-->
|
||||
<!-- <path fill-rule="evenodd" d="M5.05 4.05a7 7 0 119.9 9.9L10 18.9l-4.95-4.95a7 7 0 010-9.9zM10 11a2 2 0 100-4 2 2 0 000 4z" clip-rule="evenodd" />-->
|
||||
<!-- </svg>-->
|
||||
<!-- Incub8 Space, Bacoor, Kawit, Cavite</a>-->
|
||||
<!-- <a href="#"-->
|
||||
<!-- class="flex items-center px-2 text-md leading-5 hover:bg-green-300 text-gray-900 hover:text-white focus:outline-none">-->
|
||||
<!-- <svg class="h-7 w-5 mr-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">-->
|
||||
<!-- <path fill-rule="evenodd" d="M5.05 4.05a7 7 0 119.9 9.9L10 18.9l-4.95-4.95a7 7 0 010-9.9zM10 11a2 2 0 100-4 2 2 0 000 4z" clip-rule="evenodd" />-->
|
||||
<!-- </svg>-->
|
||||
<!-- Incub8 Space, Bacoor, Kawit, Cavite</a>-->
|
||||
<!-- <a href="#"-->
|
||||
<!-- class="flex items-center px-2 text-md leading-5 hover:bg-green-300 text-gray-900 hover:text-white focus:outline-none">-->
|
||||
<!-- <svg class="h-7 w-5 mr-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">-->
|
||||
<!-- <path fill-rule="evenodd" d="M5.05 4.05a7 7 0 119.9 9.9L10 18.9l-4.95-4.95a7 7 0 010-9.9zM10 11a2 2 0 100-4 2 2 0 000 4z" clip-rule="evenodd" />-->
|
||||
<!-- </svg>-->
|
||||
<!-- Incub8 Space, Bacoor, Kawit, Cavite</a>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="flex flex-row ml-auto hidden sm:block">
|
||||
@@ -313,10 +313,21 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="w-full absolute navbar-expand-lg bg-indigo-900 -mb-70 xl:-mb-71">
|
||||
<div class="w-full h-auto absolute navbar-expand-lg bg-indigo-900 -mb-90 lg:-mb-80 xl:-mb-71">
|
||||
<div class="container px-4 sm:px-16 md:px-10 lg:px-12 xl:pl-24 xl:pr-20 mx-auto">
|
||||
<div class="z-40 w-full h-69 hidden" id="example-collapse-navbar">
|
||||
<div class="grid grid-cols grid-rows-4 xl:grid-cols-4 gap-x-8 gap-y-0 pt-10">
|
||||
<div class="z-40 w-full h-auto md:h-69 hidden" id="example-collapse-navbar">
|
||||
<div class="grid xs:grid-cols-1 gap-3 md:gap-6 md:grid-rows-3 md:grid-cols-3 xl:grid-rows-4 xl:grid-cols-4 xl:gap-x-8 xl:gap-y-0 pt-10">
|
||||
<svg class="absolute right-0 top-0 h-6 w-7 mr-5 text-indigo-700" onclick="toggleNavbar('example-collapse-navbar')" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">
|
||||
<path fill-rule="evenodd" d="M3 7a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 13a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z" clip-rule="evenodd" />
|
||||
</svg>
|
||||
<div class="relative">
|
||||
<input class="bg-indigo-800 opacity-75 h-12 w-full sm:h-10 sm:hidden md:h-10 sm:w-68 md:w-68 lg:w-80 xl:w-72 px-2 pr-6 sm:pr-10 pb-1 md:pb-0 rounded-md sm:text-sm md:text-md lg:text-lg lg:tracking-tight focus:outline-none"
|
||||
type="search" name="search" placeholder="Where do you want to work today?">
|
||||
<button type="submit" class="absolute right-0 top-0 mt-3 mr-2">
|
||||
<img class="text-indigo-700 h-5 w-5" src="svg/icon_search.svg" alt="">
|
||||
</button>
|
||||
|
||||
</div>
|
||||
<div class="relative">
|
||||
<button class="relative w-full h-12 bg-white rounded-lg focus:outline-none appearance-none">
|
||||
Nearby
|
||||
@@ -382,7 +393,7 @@
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
</div>
|
||||
<div class="relative">
|
||||
<div class="relative md:row-start-2 lg:row-start-2 xl:row-start-1 xl:col-start-3">
|
||||
<button class="relative w-full h-12 bg-white rounded-lg focus:outline-none appearance-none">
|
||||
Daily
|
||||
<img class=" absolute top-0 right-0 m-4" src="svg/icon_dropdown.svg" alt="">
|
||||
@@ -405,14 +416,16 @@
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
</div>
|
||||
<div class="col-span-2">
|
||||
<div class="col-span-1 md:col-span-2 md:gap-y-0 md:col-span-3 md:row-start-3 xl:row-start-2">
|
||||
<p class="font-extrabold text-gray-700">TYPE</p>
|
||||
<div class="flex">
|
||||
<span class="mr-4">
|
||||
<a class="flex text-gray-700 pb-4"><img class="mr-2" src="svg/icon_checkbox_checked.svg"
|
||||
alt="">Coworking</a>
|
||||
<a class="flex text-gray-700"><img class="mr-2" src="svg/icon_checkbox_unchecked.svg"
|
||||
<a class="flex text-gray-700 pb-4 md:pb-0"><img class="mr-2" src="svg/icon_checkbox_unchecked.svg"
|
||||
alt="">Event Space</a>
|
||||
<a class="md:hidden flex text-gray-700 mr-4"><img class="mr-2" src="svg/icon_checkbox_unchecked.svg"
|
||||
alt="">Meeting Room</a>
|
||||
</span>
|
||||
<span class="mr-4">
|
||||
<a class="flex text-gray-700 pb-4"><img class="mr-2" src="svg/icon_checkbox_unchecked.svg"
|
||||
@@ -421,14 +434,13 @@
|
||||
alt="">Virtual Space</a>
|
||||
</span>
|
||||
<span>
|
||||
<a class="flex text-gray-700 mr-4"><img class="mr-2" src="svg/icon_checkbox_unchecked.svg"
|
||||
<a class="hidden md:block md:flex text-gray-700 mr-4"><img class="mr-2" src="svg/icon_checkbox_unchecked.svg"
|
||||
alt="">Meeting Room</a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-span-1">
|
||||
<div class="col-span-1 row-start-5 md:row-start-2 lg:row-start-2">
|
||||
<p class="font-extrabold text-gray-700">PRICE</p>
|
||||
|
||||
<div slider id="slider-distance">
|
||||
<div>
|
||||
<div class="border border-gray-500" inverse-left style="width:70%;"></div>
|
||||
@@ -451,7 +463,6 @@
|
||||
children[5].style.left=value+'%';
|
||||
children[7].style.left=value+'%';children[11].style.left=value+'%';
|
||||
children[11].childNodes[1].innerHTML=this.value;"/>
|
||||
|
||||
<input type="range" tabindex="0" value="600" max="1000" min="0" step="1" oninput="
|
||||
this.value=Math.max(this.value,this.parentNode.childNodes[3].value-(-1));
|
||||
var value=(100/(parseInt(this.max)-parseInt(this.min)))*parseInt(this.value)-(100/(parseInt(this.max)-parseInt(this.min)))*parseInt(this.min);
|
||||
@@ -461,33 +472,17 @@
|
||||
children[9].style.left=value+'%';children[13].style.left=value+'%';
|
||||
children[13].childNodes[1].innerHTML=this.value;"/>
|
||||
</div>
|
||||
|
||||
<!-- <div class="slider" id="slider-distance">-->
|
||||
|
||||
<!-- <input class="bg-green-300" type="range" tabindex="0" value="30" max="100" min="0" step="1" oninput="-->
|
||||
<!-- this.value=Math.min(this.value,this.parentNode.childNodes[5].value-1);-->
|
||||
<!-- var value=(100/(parseInt(this.max)-parseInt(this.min)))*parseInt(this.value)-(100/(parseInt(this.max)-parseInt(this.min)))*parseInt(this.min);-->
|
||||
<!-- var children = this.parentNode.childNodes[1].childNodes;-->
|
||||
<!-- children[1].style.width=value+'%';-->
|
||||
<!-- children[5].style.left=value+'%';-->
|
||||
<!-- children[7].style.left=value+'%';children[11].style.left=value+'%';-->
|
||||
<!-- children[11].childNodes[1].innerHTML=this.value;" />-->
|
||||
|
||||
<!-- <input class="bg-green-300" type="range" tabindex="0" value="60" max="100" min="0" step="1" oninput="-->
|
||||
<!-- this.value=Math.max(this.value,this.parentNode.childNodes[3].value-(-1));-->
|
||||
<!-- var value=(100/(parseInt(this.max)-parseInt(this.min)))*parseInt(this.value)-(100/(parseInt(this.max)-parseInt(this.min)))*parseInt(this.min);-->
|
||||
<!-- var children = this.parentNode.childNodes[1].childNodes;-->
|
||||
<!-- children[3].style.width=(100-value)+'%';-->
|
||||
<!-- children[5].style.right=(100-value)+'%';-->
|
||||
<!-- children[9].style.left=value+'%';children[13].style.left=value+'%';-->
|
||||
<!-- children[13].childNodes[1].innerHTML=this.value;" />-->
|
||||
<!-- </div>-->
|
||||
|
||||
</div>
|
||||
<div class="row-span-1 col-span-1 row-start-3 col-start-4">
|
||||
<div class="row-span-1 col-span-1 md:row-start-4 md:col-start-3 lg:row-start-4 xl:row-start-3">
|
||||
<button class="w-full h-12 font-light text-md bg-indigo-700 text-gray-200 active:bg-gray-100 tracking-wide capitalize rounded-none hover:shadow-md outline-none focus:outline-none"
|
||||
type="button"> Search
|
||||
</button>
|
||||
|
||||
</div>
|
||||
<div class="pb-10 md:hidden row-span-1 row-start-8">
|
||||
<button class="w-full h-12 font-light text-md bg-indigo-900 text-indigo-700 active:bg-gray-100 tracking-wide border border-2 border-indigo-700 capitalize rounded-none hover:shadow-md outline-none focus:outline-none"
|
||||
type="button"> List Space
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user