added changes on navbar

This commit is contained in:
markaguilar committed 2020-09-27 01:16:05 +08:00
1 parent cbd3567529
commit f58fb5ed09
3 files changed
+29 -33

No files matched your search

+23 -33
View File
@@ -9,12 +9,12 @@
</head> </head>
<body class="bg-gray-100 font-body"> <body class="bg-gray-100 font-body">
<header class="sticky top-0 z-50 bg-indigo-700"> <nav class="sticky top-0 z-50 bg-indigo-700">
<div class="flex justify-center w-full"> <div class="flex justify-center">
<div class=" flex items-center h-24 md:h-32 xs:mx-0 sm:mx-12 md:"> <div class="flex items-center justify-between h-24 md:h-32 xs:mx-0 sm:mx-12 lg:mx-56 xl:w-4/5">
<img class="bg-white ml-5 px-3 block md:hidden lg:hidden h-10 lg:h-8 w-auto" src="svg/Union 7.svg" alt="" /> <img class="bg-white ml-5 px-3 block md:hidden lg:hidden h-10 lg:h-8 w-auto" src="svg/Union 7.svg" alt="" />
<img class="hidden md:block lg:block w-auto h-12 ml-6 mr-4" src="img/logo.svg" alt="" /> <img class="hidden md:block lg:block w-32 h-12 mr-24" src="img/logo.svg" alt="" />
<div class="z-30 w-full md:mt-3"> <div class="z-30 md:mt-3">
<div class="flex relative"> <div class="flex relative">
<div class="relative hidden md:block"> <div class="relative hidden md:block">
<div> <div>
@@ -23,7 +23,6 @@
class="inline-flex justify-center w-32 h-8 border border-gray-300 px-4 pt-2 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" class="inline-flex justify-center w-32 h-8 border border-gray-300 px-4 pt-2 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"> id="options-menu" aria-haspopup="true" aria-expanded="true">
all spaces all spaces
<!-- Heroicon name: chevron-down -->
<svg class="-mr-1 ml-2 h-5 w-5" viewBox="0 0 20 20" fill="currentColor"> <svg class="-mr-1 ml-2 h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
<path fill-rule="evenodd" <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" 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"
@@ -32,32 +31,23 @@
</button> </button>
</span> </span>
</div> </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="origin-top-right absolute left-0 mt-1 w-40 shadow-lg"> <!-- <div class="origin-top-right absolute left-0 mt-1 w-40 shadow-lg">
<div class=" bg-white shadow-xs"> <div class=" bg-white shadow-xs">
<div class="py-1" role="menu" aria-orientation="vertical" aria-labelledby="options-menu"> <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="menuitem">All Spaces</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="menuitem">All Spaces</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="menuitem">Coworking</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="menuitem">Coworking</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="menuitem">Private Office</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="menuitem">Private Office</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="menuitem">Meeting Room</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="menuitem">Meeting Room</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="menuitem">Virtual Office</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="menuitem">Virtual Office</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="menuitem">Event Spaces</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="menuitem">Event Spaces</a>
</div>
</div> </div>
</div> </div> -->
</div> -->
</div> </div>
<img class="absolute right-0 h-10 w-12 pl-2 p-2 lg:h-8 bg-green-300" src="svg/Union 7.svg" alt="" /> <img class="absolute right-0 h-10 w-12 pl-2 p-2 lg:h-8 bg-green-300" src="svg/Union 7.svg" alt="" />
<input type="text" class="w-full h-10 pl-3 inline-flex lg:h-8 focus:outline-none focus:border-blue-300 focus:shadow-outline-green" placeholder="Search Location and other keywords"> <span class="">
<input type="text" class="w-full h-10 pl-3 lg:h-8 focus:outline-none focus:border-blue-300 focus:shadow-outline-green" placeholder="Search Location and other keywords">
</span>
</div> </div>
<div class="justify-center space-x-1 pt-3 hidden md:inline-flex lg:inline-flex"> <div class="justify-center space-x-1 pt-3 hidden md:inline-flex lg:inline-flex">
<button class="border w-auto text-center text-white text-xs px-2 h-8">suggestion</button> <button class="border w-auto text-center text-white text-xs px-2 h-8">suggestion</button>
@@ -68,9 +58,9 @@
<button class="border w-auto text-center text-white text-xs px-2 h-8">suggestion</button> <button class="border w-auto text-center text-white text-xs px-2 h-8">suggestion</button>
</div> </div>
</div> </div>
<div class="lg: item-center"> <div class="items-center">
<div class="pl-5"> <div class="pl-5">
<button class="hidden lg:block w-48 h-10 bg-gray-800 hover:bg-gray-700 text-white font-medium text-md focus:outline-none focus:border-blue-300 focus:shadow-outline-blue">List Space</button> <button class="hidden items lg:block w-48 h-10 bg-gray-800 hover:bg-gray-700 text-white font-medium text-md focus:outline-none focus:border-blue-300 focus:shadow-outline-blue">List Space</button>
</div> </div>
<div class="pb-5 md:pb:0"> <div class="pb-5 md:pb:0">
<button class="block w-16 px-2 ml-4 mr-5 h-10 py-1 lg:hidden bg-gray-800 hover:bg-gray-700 text-white font-medium text-lg focus:outline-none focus:border-blue-300 focus:shadow-outline-blue">List/></button> <button class="block w-16 px-2 ml-4 mr-5 h-10 py-1 lg:hidden bg-gray-800 hover:bg-gray-700 text-white font-medium text-lg focus:outline-none focus:border-blue-300 focus:shadow-outline-blue">List/></button>
@@ -78,7 +68,7 @@
</div> </div>
</div> </div>
</div> </div>
</header> </nav>
<main> <main>
<div class="flex justify-center"> <div class="flex justify-center">
<div class="z-10 py-6 mx-0 sm:mx-12 lg:mx-56 xl:w-4/5"> <div class="z-10 py-6 mx-0 sm:mx-12 lg:mx-56 xl:w-4/5">
@@ -167,11 +157,11 @@
</dt> </dt>
<dd class="mt-1 font-semibold leading-9 text-gray-500"> <dd class="mt-1 font-semibold leading-9 text-gray-500">
<label class="inline-flex items-center"> <label class="inline-flex items-center">
<input type="radio" name="option" value="" class="checked:bg-green-300 form-radio"> <input type="radio" name="option" value="" class="checked:bg-green-300 border-4 border-green-300 form-radio">
<span class="ml-1 text-sm">Anywhere</span> <span class="ml-1 text-sm">Anywhere</span>
</label> </label>
<label class="inline-flex items-center ml-6"> <label class="inline-flex items-center ml-6">
<input type="radio" name="option" value="" class="checked:bg-green-300 form-radio"> <input type="radio" name="option" value="" class="checked:bg-green-300 border-4 border-green-300 form-radio">
<span class="ml-1 text-sm">Nearby</span> <span class="ml-1 text-sm">Nearby</span>
</label> </label>
</dd> </dd>
+3
View File
@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="29.998" height="29.998" viewBox="0 0 29.998 29.998">
<path id="LEFT_ARROW" d="M15,30A15,15,0,0,1,4.394,4.393,15,15,0,0,1,25.606,25.6,14.9,14.9,0,0,1,15,30ZM17.307,6,7.966,15.342l9.341,9.342Z" transform="translate(-0.001)" fill="#23262e"/>
</svg>

After

Width:  |  Height:  |  Size: 295 B

+3
View File
@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30">
<path id="RIGHT_ARROW" d="M15,30A15,15,0,0,1,4.393,4.393,15,15,0,1,1,25.606,25.606,14.9,14.9,0,0,1,15,30ZM17.308,5.315,7.966,14.657,17.308,24Z" transform="translate(30 30) rotate(180)" fill="#23262e"/>
</svg>

After

Width:  |  Height:  |  Size: 295 B