added changes responsive
This commit is contained in:
1 parent
b9c6945862
commit
a3ba07a4ba
1 file changed
+26
-58
+26
-58
@@ -9,14 +9,14 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="bg-gray-100 font-body">
|
<body class="bg-gray-100 font-body">
|
||||||
<header class="flex items-center justify-between bg-indigo-700 h-24 sm: lg:px-1/4">
|
<header class="flex items-center justify-between bg-indigo-700 h-24 lg:px-1/4">
|
||||||
<div class="sm:h-8 sm:w-auto lg:mr-10">
|
<div class="mx-4 lg:mr-10">
|
||||||
<img class="block lg:hidden h-8 w-auto" src="" alt="" />
|
<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="" />
|
<img class="hidden sm:h-8 lg:block h-8 w-auto" src="" alt="" />
|
||||||
</div>
|
</div>
|
||||||
<div class="max-w-lg w-full lg:max-w-xs">
|
<div class="max-w-lg w-full lg:max-w-xs">
|
||||||
<div class="flex relative">
|
<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
|
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">
|
ease-in-out duration-150" id="options-menu" aria-haspopup="true" aria-expanded="true">
|
||||||
all spaces
|
all spaces
|
||||||
@@ -25,76 +25,44 @@
|
|||||||
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"
|
||||||
clip-rule="evenodd" />
|
clip-rule="evenodd" />
|
||||||
</svg>
|
</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="" />
|
<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>
|
||||||
<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>
|
||||||
<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 class="justify-center">
|
||||||
</div>
|
<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">
|
||||||
|
|
||||||
</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">
|
|
||||||
List Space
|
List Space
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<nav class="bg-white">
|
<main>
|
||||||
<div class="max-w-7xl py-6 px-10 sm:px-6 lg:px-10">
|
<div class="max-w-7xl py-6 sm:px-2 lg:px-8 mx-56">
|
||||||
<div class="flex items-center space-x-1">
|
<nav class="flex px-6">
|
||||||
<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">
|
<div class="block">
|
||||||
RELEVANCE
|
<button>RELEVANCE</button>
|
||||||
</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>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="block">
|
||||||
|
<button>LATEST</button>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="block">
|
||||||
|
<button>PRICE-LOW TO HIGH</button>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="block">
|
||||||
|
<button>PRICE-HIGH TO LOW</button>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<main>
|
|
||||||
<div class="max-w-7xl mx-auto py-6 sm:px-2 lg:px-8">
|
|
||||||
<!-- content -->
|
<!-- content -->
|
||||||
<div class="flex justify-center flex-wrap mb-8 ">
|
<div class="flex justify-center flex-wrap mb-8 ">
|
||||||
<div class="max-w-xxs rounded overflow-hidden shadow-lg mx-2">
|
<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>
|
<a href="# "><img class="w-full " src="img/img.jpg " alt="Sunset in the mountains "></a>
|
||||||
<div class="px-3 py-3 ">
|
<div class="px-3 py-3 ">
|
||||||
<a href="# " class="font-bold text-sm mb-2 ">lorem ipsum dolor lorem ipsum</a>
|
<a href="# " class="font-bold text-sm mb-2 ">lorem ipsum dolor lorem ipsum</a>
|
||||||
@@ -116,7 +84,7 @@
|
|||||||
<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>
|
</div>
|
||||||
<div class="max-w-xxs rounded overflow-hidden shadow-lg mx-2">
|
<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>
|
<a href="# "><img class="w-full " src="img/img.jpg " alt="Sunset in the mountains "></a>
|
||||||
<div class="px-3 py-3 ">
|
<div class="px-3 py-3 ">
|
||||||
<a href="# " class="font-bold text-sm mb-2 ">lorem ipsum dolor lorem ipsum</a>
|
<a href="# " class="font-bold text-sm mb-2 ">lorem ipsum dolor lorem ipsum</a>
|
||||||
@@ -138,7 +106,7 @@
|
|||||||
<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>
|
</div>
|
||||||
<div class="max-w-xxs rounded overflow-hidden shadow-lg mx-2">
|
<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>
|
<a href="# "><img class="w-full " src="img/img.jpg " alt="Sunset in the mountains "></a>
|
||||||
<div class="px-3 py-3 ">
|
<div class="px-3 py-3 ">
|
||||||
<a href="# " class="font-bold text-sm mb-2 ">lorem ipsum dolor lorem ipsum</a>
|
<a href="# " class="font-bold text-sm mb-2 ">lorem ipsum dolor lorem ipsum</a>
|
||||||
@@ -160,7 +128,7 @@
|
|||||||
<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>
|
</div>
|
||||||
<div class="max-w-xxs rounded overflow-hidden shadow-lg mx-2">
|
<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>
|
<a href="# "><img class="w-full " src="img/img.jpg " alt="Sunset in the mountains "></a>
|
||||||
<div class="px-3 py-3 ">
|
<div class="px-3 py-3 ">
|
||||||
<a href="# " class="font-bold text-sm mb-2 ">lorem ipsum dolor lorem ipsum</a>
|
<a href="# " class="font-bold text-sm mb-2 ">lorem ipsum dolor lorem ipsum</a>
|
||||||
@@ -182,7 +150,7 @@
|
|||||||
<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>
|
</div>
|
||||||
<div class="max-w-xxs rounded overflow-hidden shadow-lg mx-2">
|
<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>
|
<a href="# "><img class="w-full " src="img/img.jpg " alt="Sunset in the mountains "></a>
|
||||||
<div class="px-3 py-3 ">
|
<div class="px-3 py-3 ">
|
||||||
<a href="# " class="font-bold text-sm mb-2 ">lorem ipsum dolor lorem ipsum</a>
|
<a href="# " class="font-bold text-sm mb-2 ">lorem ipsum dolor lorem ipsum</a>
|
||||||
|
|||||||
Reference in new issue
Block a user