Files
resharespace-static/_includes/nav.liquid
T

73 lines
5.9 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 xs:hidden">
<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 w-full max-w-[18rem] sm:max-w-[20rem] md:max-w-[22rem] lg:max-w-[24rem] bg-indigo-800 opacity-75 h-8 sm:h-10 ml-2 pb-1 px-2 pr-10 rounded-lg text-sm 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-indigo-900 text-sm font-semibold tracking-normal capitalize px-5 py-2 rounded-base hover:bg-transparent border-2 border-green-300 hover:border-green-300 hover:text-green-300 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>
</nav>