Files
resharespace-static/_includes/nav.liquid
T

195 lines
19 KiB
Plaintext

<nav class="sticky top-0 z-50 w-full flex flex-wrap items-center justify-between h-12.2 sm:h-auto navbar-expand-lg bg-indigo-900">
<div class="container mx-auto md:mb-3 md:mt-3 flex flex-wrap items-center justify-between px-4 sm:px-16 md:px-10 lg:px-12 xl:px-24 xxl:px-32">
<div class="relative flex justify-between w-auto static block justify-start">
<a class="inline-block py-1 whitespace-no-wrap uppercase text-white hidden md:block" href="#">
<img alt="" src="assets/svg/logo_full.svg">
</a>
<a class="inline-block mr-2 md:mr-8 py-1 whitespace-no-wrap uppercase text-white md:hidden" href="#">
<img alt="" class="ml-6 sm:ml-0" onclick="toggleSidebar('example-collapse-sidebar2');toggleOverlay('example-collapse-overlay')" src="assets/svg/logo_small.svg">
</a>
</div>
<div class="flex flex-grow items-center lg:shadow-none">
<ul class="flex flex-row list-none mr-auto">
<li class="relative mx-auto text-gray-200">
<input class="relative bg-indigo-800 opacity-75 h-8 w-68 ml-2 pb-1 sm:h-10 md:h-10 sm:w-68 md:w-68 lg:w-80 xl:w-72 px-2 pr-6 sm:pr-10 rounded-lg sm:text-sm md:text-md lg:text-lg lg:tracking-tight focus:outline-none font-sans" name="search" onclick="toggleNavbar('example-collapse-navbar');toggleOverlay('example-collapse-overlay');toggleOverlay('example-collapse-dropdown')" placeholder="Where do you want to work today?" style="transition: all .15s ease" type="search">
<button class="absolute right-0 top-0 mt-2 sm:mt-3 md:mt-3 mr-2" onclick="toggleDropdown('example-collapse-dropdown')" type="submit">
<img alt="" class="text-indigo-700 h-5 w-5" src="assets/svg/icon_search.svg">
</button>
<!--search bar dropdown-->
<div class="z-10 origin-top-right absolute w-full pt-2 hidden" id="example-collapse-dropdown">
<div class="bg-white rounded-lg py-1">
<a class="flex items-center px-2 text-md leading-5 hover:bg-green-300 text-gray-900 hover:text-white focus:outline-none" href="#">
<svg class="h-7 w-5 mr-1" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path clip-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" fill-rule="evenodd"/>
</svg>
Incub8 Space, Bacoor, Kawit, Cavite
</a>
<a class="flex items-center px-2 text-md leading-5 hover:bg-green-300 text-gray-900 hover:text-white focus:outline-none" href="#">
<svg class="h-7 w-5 mr-1" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path clip-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" fill-rule="evenodd"/>
</svg>
Incub8 Space, Bacoor, Kawit, Cavite
</a>
<a class="flex items-center px-2 text-md leading-5 hover:bg-green-300 text-gray-900 hover:text-white focus:outline-none" href="#">
<svg class="h-7 w-5 mr-1" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path clip-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" fill-rule="evenodd"/>
</svg>
Incub8 Space, Bacoor, Kawit, Cavite
</a>
<a class="flex items-center px-2 text-md leading-5 hover:bg-green-300 text-gray-900 hover:text-white focus:outline-none" href="#">
<svg class="h-7 w-5 mr-1" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path clip-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" fill-rule="evenodd"/>
</svg>
Incub8 Space, Bacoor, Kawit, Cavite
</a>
<a class="flex items-center px-2 text-md leading-5 hover:bg-green-300 text-gray-900 hover:text-white focus:outline-none" href="#">
<svg class="h-7 w-5 mr-1" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path clip-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" fill-rule="evenodd"/>
</svg>
Incub8 Space, Bacoor, Kawit, Cavite
</a>
</div>
</div>
<!--end search bar dropdown-->
</li>
</ul>
<ul class="flex flex-row ml-auto hidden sm:block">
<li class="flex items-center">
<button class="bg-green-300 text-gray-200 bg-gray-100 text-md font-semibold xl:font-normal tracking-wide capitalize sm:px-8 md:px-14 lg:px-5 xl:px-8 py-2 rounded-sm hover:bg-green-500 border-2 border-green-300 hover:border-green-500 hover:text-green-500 outline-none focus:outline-none" onclick="toggleNavbar('post-modal');toggleOverlay('collapse-overlay')" style="transition: all .15s ease" type="button">
Post Space
</button>
</li>
</ul>
</div>
</div>
<div class="w-full h-auto absolute navbar-expand-lg bg-indigo-800 -mb-97 sm:-mb-74 md:-mb-71">
<div class="container px-4 sm:px-16 md:px-10 lg:px-12 xl:px-24 mx-auto">
<div class="z-40 w-full h-auto md:h-69 hidden transition duration-1000 ease-in-out" id="example-collapse-navbar">
<div class="grid xs:grid-cols-1 sm:grid-cols-2 gap-3 md:h-71.1 md:gap-y-0 md:gap-x-6 md:grid-rows-3 md:grid-cols-3 xl:grid-rows-3 xl:grid-cols-4 xl:gap-x-8 xl:gap-y-0 sm:pt-5 pt-10">
<svg class="sm:hidden absolute right-0 top-0 h-6 w-7 mr-5 text-indigo-700" fill="currentColor" onclick="toggleNavbar('example-collapse-navbar')" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path clip-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" fill-rule="evenodd"/>
</svg>
<div class="relative sm:hidden">
<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 md:pb-0 rounded-lg sm:text-sm md:text-md lg:text-lg lg:tracking-tight focus:outline-none font-sans" name="search" placeholder="Where do you want to work today?" type="search">
<button class="absolute right-0 top-0 mt-3 mr-2 sm:hidden" type="submit">
<img alt="" class="text-indigo-700 h-5 w-5" src="assets/svg/icon_search.svg">
</button>
</div>
<div class="relative">
<button class="relative w-full h-12 bg-white rounded-base focus:outline-none appearance-none" onclick="toggleDropdown('example-collapse-dropdown1')">
Nearby
<img alt="" class="absolute top-0 right-0 m-4" src="assets/svg/icon_dropdown.svg">
</button>
<div class="z-10 -mt-4 origin-top-right absolute w-full hidden" id="example-collapse-dropdown1">
<div class="bg-white rounded-lg py-3 -mt-10">
<div class="px-2 w-full">
<input class="w-full h-12 px-2 focus:outline-none border border-gray-400 rounded-lg" placeholder="type something here" type="text">
</div>
<div class="sm:h-64 md:h-56 lg:h-auto overflow-y-scroll lg:overflow-auto">
<p class="pl-3 pt-2 font-extrabold">Geolocation</p>
<div class="pt-1 px-3">
<a class="block px-5 py-2 my-2 text-md leading-5 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900" href="#">Nearby</a>
<a class="block px-5 py-2 my-2 text-md leading-5 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900" href="#">Anywhere</a>
</div>
<p class="pl-3 font-extrabold">City</p>
<div class="px-3">
<a class="block px-5 py-2 my-2 text-md leading-5 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900" href="#">Option 1</a>
<a class="block px-5 py-2 my-2 text-md leading-5 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900" href="#">Option 1</a>
<a class="block px-5 py-2 my-2 text-md leading-5 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900" href="#">Option 1</a>
</div>
</div>
</div>
</div>
</div>
<div class="relative">
<button class="relative w-full h-12 bg-white rounded-base focus:outline-none appearance-none" onclick="toggleDropdown('example-collapse-dropdown2')">
Open Now
<img alt="" class="absolute top-0 right-0 m-4" src="assets/svg/icon_dropdown.svg">
</button>
<div class="z-10 -mt-4 sm:h-64 md:h-auto origin-top-right absolute w-full hidden" id="example-collapse-dropdown2">
<div class="bg-white rounded-b-lg py-3 sm:h-48 md:h-40 lg:h-auto overflow-y-scroll lg:overflow-auto">
<p class="pl-3 font-extrabold">Availability</p>
<div class="pt-1 px-3">
<a class="block px-5 py-2 my-2 text-md leading-5 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900" href="#">Open Now</a>
<a class="block px-5 py-2 my-2 text-md leading-5 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900" href="#">Open Always</a>
</div>
<p class="pl-3 font-extrabold">By Hour</p>
<div class="px-3">
<a class="block px-5 py-2 my-2 text-md leading-5 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900" href="#">1 Hour from now</a>
<a class="block px-5 py-2 my-2 text-md leading-5 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900" href="#">2 Hour from now</a>
<a class="block px-5 py-2 my-2 text-md leading-5 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900" href="#">3 Hour from now</a>
<a class="block px-5 py-2 my-2 text-md leading-5 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900" href="#">4 Hour from now</a>
<a class="block px-5 py-2 my-2 text-md leading-5 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900" href="#">5 Hour from now</a>
</div>
</div>
</div>
</div>
<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-base focus:outline-none appearance-none" onclick="toggleDropdown('example-collapse-dropdown3')">
Daily
<img alt="" class="absolute top-0 right-0 m-4" src="assets/svg/icon_dropdown.svg">
</button>
<div class="z-10 origin-top-right absolute w-full hidden -mt-4" id="example-collapse-dropdown3">
<div class="bg-white rounded-b-lg py-3 sm:h-48 md:h-40 lg:h-auto overflow-y-scroll lg:overflow-auto">
<p class="pl-3 font-extrabold">Rate</p>
<div class="pt-1 px-3">
<a class="block px-5 py-2 my-2 text-md leading-5 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900" href="#">Hourly</a>
<a class="block px-5 py-2 my-2 text-md leading-5 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900" href="#">Daily</a>
<a class="block px-5 py-2 my-2 text-md leading-5 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900" href="#">Weekly</a>
<a class="block px-5 py-2 my-2 text-md leading-5 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900" href="#">Monthly</a>
<a class="block px-5 py-2 my-2 text-md leading-5 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900" href="#">Yearly</a>
</div>
</div>
</div>
</div>
<div class="col-span-1 sm:col-span-2 md:gap-y-0 md:col-span-3 md:row-start-3 xl:col-span-2 xl:row-start-2 xl:col-start-1">
<p class="font-extrabold text-gray-700">TYPE</p>
<div class="flex font-sans">
<span class="mr-4">
<a class="flex text-gray-700 pb-4"><img alt="" class="mr-2" src="assets/svg/icon_checkbox_checked.svg">Coworking</a>
<a class="flex text-gray-700 pb-4 md:pb-0"><img alt="" class="mr-2" src="assets/svg/icon_checkbox_unchecked.svg">Event Space</a>
<a class="sm:hidden flex text-gray-700 mr-4"><img alt="" class="mr-2" src="assets/svg/icon_checkbox_unchecked.svg">Meeting Room</a>
</span>
<span class="mr-4">
<a class="flex text-gray-700 pb-4"><img alt="" class="mr-2" src="assets/svg/icon_checkbox_unchecked.svg">Office Space</a>
<a class="flex text-gray-700"><img alt="" class="mr-2" src="assets/svg/icon_checkbox_unchecked.svg">Virtual Space</a>
</span>
<span>
<a class="hidden sm:block sm:flex text-gray-700 mr-4"><img alt="" class="mr-2" src="assets/svg/icon_checkbox_unchecked.svg">Meeting Room</a>
</span>
</div>
</div>
<div class="h-16 sm:h-0 col-span-1 row-start-5 sm:row-start-2 sm:col-start-2 md:row-start-2 lg:row-start-2 xl:col-start-3">
<p class="font-extrabold text-gray-700">PRICE</p>
<div id="slider-distance" slider>
<div>
<div class="border border-gray-500" inverse-left style="width:70%;"></div>
<div class="border border-gray-500" inverse-right style="width:70%;"></div>
<div range style="left:30%;right:40%;"></div>
<span style="left:30%;" thumb></span>
<span style="left:60%;" thumb></span>
<div sign style="left:30%;">
<span id="lower-value">P300</span>
</div>
<div sign style="left:60%;">
<span id="upper-value">P600</span>
</div>
</div>
<input max="1000" min="0" 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;" step="1" tabindex="0" type="range" value="300"/>
<input max="1000" min="0" 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;" step="1" tabindex="0" type="range" value="600"/>
</div>
</div>
<div class="row-span-1 col-span-1 sm:mb-14 sm:col-start-2 md:row-start-4 md:col-start-3 lg:row-start-4 lg:col-start-1 xl:row-start-3 xl:col-start-1">
<button class="relative w-full md:w-full lg:w-auto bg-green-300 text-gray-200 bg-gray-100 text-md font-semibold xl:font-normal tracking-wide capitalize sm:px-8 md:px-14 lg:px-5 xl:px-8 py-2 rounded-sm hover:bg-green-500 border-2 border-green-300 hover:border-green-500 hover:text-green-500 outline-none focus:outline-none" type="button">
<img alt="" class="animate-spin absolute left-0 ml-4 h-4" src="assets/svg/icon_spinner.svg">Search
</button>
</div>
<div class="pb-32 sm:pb-10 sm:hidden row-span-1 row-start-8">
<button class="w-full h-12 font-light text-md bg-green-300 text-green-500 active:bg-gray-100 tracking-wide border border-2 border-green-300 capitalize rounded-none hover:shadow-md outline-none focus:outline-none" type="button">List Space</button>
</div>
</div>
</div>
</div>
</div>
</nav>