added changes responsive

This commit is contained in:
markaguilar committed 2020-09-22 19:16:47 +08:00
1 parent b9c6945862
commit a3ba07a4ba
1 file changed
+97 -129
+97 -129
View File
@@ -9,14 +9,14 @@
</head>
<body class="bg-gray-100 font-body">
<header class="flex items-center justify-between bg-indigo-700 h-24 sm: lg:px-1/4">
<div class="sm:h-8 sm:w-auto lg:mr-10">
<img class="block lg:hidden h-8 w-auto" src="" alt="" />
<header class="flex items-center justify-between bg-indigo-700 h-24 lg:px-1/4">
<div class="mx-4 lg:mr-10">
<img class="block lg:hidden h-8 w-auto" src="svg/Union 7.svg" alt="" />
<img class="hidden sm:h-8 lg:block h-8 w-auto" src="" alt="" />
</div>
<div class="max-w-lg w-full lg:max-w-xs">
<div class="flex relative">
<button type="button" class="w-full lg:inline-flex lg:w-32 justify-center border appearance-none border-gray-300 h-8 py-1 bg-white text-gray-400 hover:text-gray-500
<!-- <button type="button" class="inline-flex w-full lg:w-32 justify-center border appearance-none border-gray-300 h-8 py-1 bg-white text-gray-400 hover:text-gray-500
focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-50 active:text-gray-700 transition
ease-in-out duration-150" id="options-menu" aria-haspopup="true" aria-expanded="true">
all spaces
@@ -25,183 +25,151 @@
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>
</button> -->
<img class="absolute right-0 bg-green-300 h-8 w-12 pl-2 p-1" src="svg/Union 7.svg" alt="" />
<input type="text" class="w-full h-8 pl-3 inline-flex" placeholder="Search Location and other keywords">
<input type="text" class="w-full h-8 pl-3 inline-flex focus:outline-none focus:border-blue-300 focus:shadow-outline-blue" placeholder="Search Location and other keywords">
</div>
<div class="inline-flex justify-center space-x-1 pt-1 sm:hidden">
<!-- <div class="inline-flex justify-center space-x-1 pt-1 sm:hidden lg:inline-flex">
<p class="border w-auto text-center text-white text-xs px-2 py-1">suggestion</p>
<p class="border w-auto text-center text-white text-xs px-2 py-1">suggestion</p>
<p class="border w-auto text-center text-white text-xs px-2 py-1">suggestion</p>
<p class="border w-auto text-center text-white text-xs px-2 py-1">suggestion</p>
<p class="border w-auto text-center text-white text-xs px-2 py-1">suggestion</p>
<p class="border w-auto text-center text-white text-xs px-2 py-1">suggestion</p>
</div> -->
</div>
</div>
</div>
</div>
<div>
<button class=" block bg-gray-800 hover:bg-gray-700 text-white font-medium px-7 sm:ml-5 lg:ml-10 h-8">
<div class="justify-center">
<button class="block bg-gray-800 hover:bg-gray-700 text-white font-medium sm:text-lg lg:w-full px-10 sm:w-auto lg:ml-10 h-10 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue">
List Space
</button>
</div>
</header>
<nav class="bg-white">
<div class="max-w-7xl py-6 px-10 sm:px-6 lg:px-10">
<div class="flex items-center space-x-1">
<a href="#" class="block px-4 py-2 text-md leading-5 text-gray-900 hover:bg-green-300 hover:text-gray-900 focus:outline-none focus:bg-green-600 focus:text-gray-900">
RELEVANCE
</a>
<a href="#" class="block px-4 py-2 text-md leading-5 text-gray-900 hover:bg-green-300 hover:text-gray-900 focus:outline-none focus:bg-green-600 focus:text-gray-900">
LATEST
</a><a href="#" class="block px-4 py-2 text-md leading-5 text-gray-900 hover:bg-green-300 hover:text-gray-900 focus:outline-none focus:bg-green-600 focus:text-gray-900">
PRICE-LOW TO HIGH
</a><a href="#" class="block px-4 py-2 text-md leading-5 text-gray-900 hover:bg-green-300 hover:text-gray-900 focus:outline-none focus:bg-green-600 focus:text-gray-900">
PRICE-HIGH TO LOW
</a>
</div>
<div class="flex bg-white">
<div class="flex-1 text-gray-700 text-sm shadow-sm px-4 py-2 m-2">
BUDGET
</div>
<div class="flex-1 text-gray-700 text-sm shadow-sm px-4 py-2 m-2">
LOCATION
<input type="text" class="">
</div>
<div class="flex-1 text-gray-700 text-sm shadow-sm px-4 py-2 m-2">
OPTION
<div class="flex mt-2">
<label class="inline-flex items-center">
<input type="radio" class="checked:bg-green-300">
<span class="ml-1">Anywhere</span>
</label>
<label class="inline-flex items-center ml-6">
<input type="radio" class="checked:bg-green-300 checked:border-transparent">
<span class="ml-1">Nearby</span>
</label>
<main>
<div class="max-w-7xl py-6 sm:px-2 lg:px-8 mx-56">
<nav class="flex px-6">
<div class="block">
<button>RELEVANCE</button>
</div>
<div class="block">
<button>LATEST</button>
</div>
<div class="block">
<button>PRICE-LOW TO HIGH</button>
</div>
<div class="block">
<button>PRICE-HIGH TO LOW</button>
</div>
</nav>
<main>
<div class="max-w-7xl mx-auto py-6 sm:px-2 lg:px-8">
<!-- content -->
<div class="flex justify-center flex-wrap mb-8">
<div class="max-w-xxs rounded overflow-hidden shadow-lg mx-2">
<a href="#"><img class="w-full" src="img/img.jpg" alt="Sunset in the mountains"></a>
<div class="px-3 py-3">
<a href="#" class="font-bold text-sm mb-2">lorem ipsum dolor lorem ipsum</a>
<div class="flex justify-center flex-wrap mb-8 ">
<div class="max-w-xxs rounded overflow-hidden shadow-lg mx-2 py-2">
<a href="# "><img class="w-full " src="img/img.jpg " alt="Sunset in the mountains "></a>
<div class="px-3 py-3 ">
<a href="# " class="font-bold text-sm mb-2 ">lorem ipsum dolor lorem ipsum</a>
</div>
<div class="px-3 pb-2">
<div class=" flex items-center text-xs leading-5 text-gray-500 sm:mr-6">
<svg class="flex-shrink-0 mr-1.5 h-5 w-5 text-gray-400" 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" />
<div class="px-3 pb-2 ">
<div class=" flex items-center text-xs leading-5 text-gray-500 sm:mr-6 ">
<svg class="flex-shrink-0 mr-1.5 h-5 w-5 text-gray-400 " 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> Quezon City
</div>
<div class="flex items-center text-xs leading-5 text-gray-500 sm:mr-6">
<svg class="flex-shrink-0 mr-1.5 h-5 w-5 text-gray-400" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z" />
<div class="flex items-center text-xs leading-5 text-gray-500 sm:mr-6 ">
<svg class="flex-shrink-0 mr-1.5 h-5 w-5 text-gray-400 " fill="none " viewBox="0 0 24 24 " stroke="currentColor ">
<path stroke-linecap="round " stroke-linejoin="round " stroke-width="2 "
d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z " />
</svg> 1 week ago
</div>
<span class="flex text-sm font-bold text-green-300 pt-4 pb-1">P 1,299/ Month</span>
<span class="flex text-sm font-bold text-green-300 pt-4 pb-1 ">P 1,299/ Month</span>
</div>
</div>
<div class="max-w-xxs rounded overflow-hidden shadow-lg mx-2">
<a href="#"><img class="w-full" src="img/img.jpg" alt="Sunset in the mountains"></a>
<div class="px-3 py-3">
<a href="#" class="font-bold text-sm mb-2">lorem ipsum dolor lorem ipsum</a>
<div class="max-w-xxs rounded overflow-hidden shadow-lg mx-2 py-2">
<a href="# "><img class="w-full " src="img/img.jpg " alt="Sunset in the mountains "></a>
<div class="px-3 py-3 ">
<a href="# " class="font-bold text-sm mb-2 ">lorem ipsum dolor lorem ipsum</a>
</div>
<div class="px-3 pb-2">
<div class=" flex items-center text-xs leading-5 text-gray-500 sm:mr-6">
<svg class="flex-shrink-0 mr-1.5 h-5 w-5 text-gray-400" 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" />
<div class="px-3 pb-2 ">
<div class=" flex items-center text-xs leading-5 text-gray-500 sm:mr-6 ">
<svg class="flex-shrink-0 mr-1.5 h-5 w-5 text-gray-400 " 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> Quezon City
</div>
<div class="flex items-center text-xs leading-5 text-gray-500 sm:mr-6">
<svg class="flex-shrink-0 mr-1.5 h-5 w-5 text-gray-400" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z" />
<div class="flex items-center text-xs leading-5 text-gray-500 sm:mr-6 ">
<svg class="flex-shrink-0 mr-1.5 h-5 w-5 text-gray-400 " fill="none " viewBox="0 0 24 24 " stroke="currentColor ">
<path stroke-linecap="round " stroke-linejoin="round " stroke-width="2 "
d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z " />
</svg> 1 week ago
</div>
<span class="flex text-sm font-bold text-green-300 pt-4 pb-1">P 1,299/ Month</span>
<span class="flex text-sm font-bold text-green-300 pt-4 pb-1 ">P 1,299/ Month</span>
</div>
</div>
<div class="max-w-xxs rounded overflow-hidden shadow-lg mx-2">
<a href="#"><img class="w-full" src="img/img.jpg" alt="Sunset in the mountains"></a>
<div class="px-3 py-3">
<a href="#" class="font-bold text-sm mb-2">lorem ipsum dolor lorem ipsum</a>
<div class="max-w-xxs rounded overflow-hidden shadow-lg mx-2 py-2">
<a href="# "><img class="w-full " src="img/img.jpg " alt="Sunset in the mountains "></a>
<div class="px-3 py-3 ">
<a href="# " class="font-bold text-sm mb-2 ">lorem ipsum dolor lorem ipsum</a>
</div>
<div class="px-3 pb-2">
<div class=" flex items-center text-xs leading-5 text-gray-500 sm:mr-6">
<svg class="flex-shrink-0 mr-1.5 h-5 w-5 text-gray-400" 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" />
<div class="px-3 pb-2 ">
<div class=" flex items-center text-xs leading-5 text-gray-500 sm:mr-6 ">
<svg class="flex-shrink-0 mr-1.5 h-5 w-5 text-gray-400 " 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> Quezon City
</div>
<div class="flex items-center text-xs leading-5 text-gray-500 sm:mr-6">
<svg class="flex-shrink-0 mr-1.5 h-5 w-5 text-gray-400" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z" />
<div class="flex items-center text-xs leading-5 text-gray-500 sm:mr-6 ">
<svg class="flex-shrink-0 mr-1.5 h-5 w-5 text-gray-400 " fill="none " viewBox="0 0 24 24 " stroke="currentColor ">
<path stroke-linecap="round " stroke-linejoin="round " stroke-width="2 "
d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z " />
</svg> 1 week ago
</div>
<span class="flex text-sm font-bold text-green-300 pt-4 pb-1">P 1,299/ Month</span>
<span class="flex text-sm font-bold text-green-300 pt-4 pb-1 ">P 1,299/ Month</span>
</div>
</div>
<div class="max-w-xxs rounded overflow-hidden shadow-lg mx-2">
<a href="#"><img class="w-full" src="img/img.jpg" alt="Sunset in the mountains"></a>
<div class="px-3 py-3">
<a href="#" class="font-bold text-sm mb-2">lorem ipsum dolor lorem ipsum</a>
<div class="max-w-xxs rounded overflow-hidden shadow-lg mx-2 py-2">
<a href="# "><img class="w-full " src="img/img.jpg " alt="Sunset in the mountains "></a>
<div class="px-3 py-3 ">
<a href="# " class="font-bold text-sm mb-2 ">lorem ipsum dolor lorem ipsum</a>
</div>
<div class="px-3 pb-2">
<div class=" flex items-center text-xs leading-5 text-gray-500 sm:mr-6">
<svg class="flex-shrink-0 mr-1.5 h-5 w-5 text-gray-400" 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" />
<div class="px-3 pb-2 ">
<div class=" flex items-center text-xs leading-5 text-gray-500 sm:mr-6 ">
<svg class="flex-shrink-0 mr-1.5 h-5 w-5 text-gray-400 " 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> Quezon City
</div>
<div class="flex items-center text-xs leading-5 text-gray-500 sm:mr-6">
<svg class="flex-shrink-0 mr-1.5 h-5 w-5 text-gray-400" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z" />
<div class="flex items-center text-xs leading-5 text-gray-500 sm:mr-6 ">
<svg class="flex-shrink-0 mr-1.5 h-5 w-5 text-gray-400 " fill="none " viewBox="0 0 24 24 " stroke="currentColor ">
<path stroke-linecap="round " stroke-linejoin="round " stroke-width="2 "
d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z " />
</svg> 1 week ago
</div>
<span class="flex text-sm font-bold text-green-300 pt-4 pb-1">P 1,299/ Month</span>
<span class="flex text-sm font-bold text-green-300 pt-4 pb-1 ">P 1,299/ Month</span>
</div>
</div>
<div class="max-w-xxs rounded overflow-hidden shadow-lg mx-2">
<a href="#"><img class="w-full" src="img/img.jpg" alt="Sunset in the mountains"></a>
<div class="px-3 py-3">
<a href="#" class="font-bold text-sm mb-2">lorem ipsum dolor lorem ipsum</a>
<div class="max-w-xxs rounded overflow-hidden shadow-lg mx-2 py-2">
<a href="# "><img class="w-full " src="img/img.jpg " alt="Sunset in the mountains "></a>
<div class="px-3 py-3 ">
<a href="# " class="font-bold text-sm mb-2 ">lorem ipsum dolor lorem ipsum</a>
</div>
<div class="px-3 pb-2">
<div class=" flex items-center text-xs leading-5 text-gray-500 sm:mr-6">
<svg class="flex-shrink-0 mr-1.5 h-5 w-5 text-gray-400" 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" />
<div class="px-3 pb-2 ">
<div class=" flex items-center text-xs leading-5 text-gray-500 sm:mr-6 ">
<svg class="flex-shrink-0 mr-1.5 h-5 w-5 text-gray-400 " 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> Quezon City
</div>
<div class="flex items-center text-xs leading-5 text-gray-500 sm:mr-6">
<svg class="flex-shrink-0 mr-1.5 h-5 w-5 text-gray-400" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z" />
<div class="flex items-center text-xs leading-5 text-gray-500 sm:mr-6 ">
<svg class="flex-shrink-0 mr-1.5 h-5 w-5 text-gray-400 " fill="none " viewBox="0 0 24 24 " stroke="currentColor ">
<path stroke-linecap="round " stroke-linejoin="round " stroke-width="2 "
d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z " />
</svg> 1 week ago
</div>
<span class="flex text-sm font-bold text-green-300 pt-4 pb-1">P 1,299/ Month</span>
<span class="flex text-sm font-bold text-green-300 pt-4 pb-1 ">P 1,299/ Month</span>
</div>
</div>
</div>