added changes layout

This commit is contained in:
markaguilar committed 2020-09-27 21:52:12 +08:00
1 parent 1e4dfb24a1
commit b41dd64f00
5 files changed
+38 -51

No files matched your search

+5 -16
View File
@@ -10,11 +10,11 @@
<body class=" font-body">
<header class="sticky top-0 z-50 bg-indigo-700">
<div class=" flex items-center pt-6 h-24 xs:mx-0 sm:mx-12 md:mx-24 lg:py-6 lg:mx-32 xl:mx-60">
<img class="ml-1 px-3 block md:hidden lg:hidden h-10 lg:h-8 w-auto" src="img/logo.svg" alt="" />
<div class="flex justify-between items-center pt-6 h-24 xs:mx-0 sm:mx-12 md:mx-24 lg:py-6 lg:mx-32 xl:mx-60">
<img class="px-3 block md:hidden lg:hidden h-6 lg:h-8 w-auto" src="img/logo.svg" alt="" />
<img class="hidden md:block lg:block w-auto h-12 ml-6 mr-4" src="img/logo.svg" alt="" />
<div class="z-30 w-full md:mt-6 ">
<div class="invisible flex relative">
<div class="invisible md:flex relative hidden">
<div class="relative hidden md:block">
<div>
<span class="shadow-sm">
@@ -22,7 +22,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"
id="options-menu" aria-haspopup="true" aria-expanded="true">
all spaces
<!-- Heroicon name: chevron-down -->
<svg class="-mr-1 ml-2 h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
<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"
@@ -32,17 +31,7 @@
</span>
</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="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>
@@ -53,7 +42,7 @@
<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>
<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">
+8 -10
View File
@@ -78,13 +78,11 @@
</div>
</header>
<main>
<div class="flex justify-center">
<div class="w-full">
<!-- list form -->
<div class="flex xl:mx-96 xxl:mx-1/4">
<div class="flex">
<!-- content -->
<div class="flex-1 mt-6">
<div class="flex justify-evenly flex-wrap mb-8 mx-5">
<div class="flex flex-wrap mb-8">
<div class="max-w-xxs md:max-w-xs mx-3 rounded mb-6 hover:shadow-xl tracking-wide bg-white">
<div class="relative pb-40 md:pb-56">
<a href="# "><img class="absolute h-full w-full object-cover " src="img/img.jpg " alt=" "></a>
@@ -163,12 +161,13 @@
</div>
</div>
</div>
<div class="flex-1 max-w-6xl bg-gray-200 py-2 my-6 px-6 hidden sm:block md:mr-6">
<div class="flex -1 sticky top-0">
<div class="bg-gray-200 py-2 my-6 hidden sm:block">
<img class="my-5 h-6" src="svg/Group 2070.svg">
<!-- email notification -->
<div class="flex relative h-15 bg-gray-800">
<img class="absolute left-0 h-7 mx-3 my-3" src="svg/Union 13.svg" alt="">
<p class="text-white text-xs px-14 py-2">We've received your listing for review. <br> Please check your email.</p>
<p class="text-white text-xs ml-16 py-2">We've received your listing for review. <br> Please check your email.</p>
<!-- <p class="text-white text-sm">Please check your email.</p> -->
<img class="absolute right-0 h-3 px-2 my-2" src="svg/Union 16.svg" alt="">
</div>
@@ -294,7 +293,7 @@
</div>
</div>
<!-- selectlistpage -->
<div class="flex-1 bg-gray-200 py-2 my-6 px-6 hidden sm:block md:mr-6">
<!-- <div class="flex-1 bg-gray-200 py-2 my-6 px-6 hidden sm:block md:mr-6">
<div class="flex relative">
<a href="#"><img class="my-3 h-6" src="svg/Group 2070.svg"></a>
<a href="#"><svg class="absolute right-0 mr-8 my-2 h-8 text-gray-800" xmlns="http://www.w3.org/2000/svg"
@@ -356,7 +355,7 @@
</div>
</form>
</div>
</div> -->
<!-- end selectlistpage -->
<div class="px-5">
<div class="flex justify-center py-2">
@@ -368,9 +367,8 @@
</form>
</div>
</div>
</div>
<!-- /End content -->
</div>
</div>
</main>
</div>
</body>
+17 -17
View File
@@ -55,12 +55,12 @@
</div>
<div class="justify-center space-x-1 pt-1 hidden md:inline-flex lg:inline-flex">
<button class="border w-auto text-center text-white text-xs px-2 h-6">suggestion</button>
<button class="border w-auto text-center text-white text-xs px-2 h-6">suggestion</button>
<button class="border w-auto text-center text-white text-xs px-2 h-6">suggestion</button>
<button class="border w-auto text-center text-white text-xs px-2 h-6">suggestion</button>
<button class="border w-auto text-center text-white text-xs px-2 h-6">suggestion</button>
<button class="border w-auto text-center text-white text-xs px-2 h-6">suggestion</button>
<button class="border w-auto text-center text-white text-xs px-2 h-6 focus:outline-none focus:border-gray-400">suggestion</button>
<button class="border w-auto text-center text-white text-xs px-2 h-6 focus:outline-none focus:border-gray-400">suggestion</button>
<button class="border w-auto text-center text-white text-xs px-2 h-6 focus:outline-none focus:border-gray-400">suggestion</button>
<button class="border w-auto text-center text-white text-xs px-2 h-6 focus:outline-none focus:border-gray-400">suggestion</button>
<button class="border w-auto text-center text-white text-xs px-2 h-6 focus:outline-none focus:border-gray-400">suggestion</button>
<button class="border w-auto text-center text-white text-xs px-2 h-6 focus:outline-none focus:border-gray-400">suggestion</button>
</div>
</div>
<div class="lg:mr-6">
@@ -108,19 +108,19 @@
<button>PRICE-HIGH TO LOW</button>
</div>
</nav>
<div class="md:flex w-full justify-between md:flex-wrap mt-4 hidden mb-4">
<div class="flex h-24 w-auto bg-white">
<div class="px-4 py-5 lg:p-6">
<div class="md:flex justify-center mt-4 hidden mb-4">
<div class="flex-none w-1/2 h-32 w-auto bg-white m-4">
<div class=" lg:p-6">
<dl>
<dt class="text-sm md:text-xl leading-5 text-gray-500 truncate">
BUDGET
</dt>
<dd class="mt-3 ml-4 font-semibold leading-9 text-gray-500">
<div class="flex w-full m-auto items-center justify-center">
<div class="flex items-center justify-center">
<label class="mx-2">Min</label>
<input type="text" class="w-12 border border-gray-300 focus:outline-none focus:border-green-300" placeholder="0"></input>
<div class="mx-2 py-1 relative min-w-full">
<div class="h-2 bg-gray-200 border border-gray300 rounded-full">
<input type="text" class="w-12 border border-gray-300 focus:outline-none focus:border-gray-400" placeholder="0"></input>
<div class="mx-2 py-1 relative">
<div class="h-2 w-32 bg-gray-200 border border-gray300 rounded-full">
<div class="absolute h-2 rounded-full bg-green-300 w-0" style="width: 44.1935%; left: 31.2903%;"></div>
<div class="absolute h-5 flex items-center justify-center w-5 rounded-full bg-white shadow-lg border border-gray-300 -ml-2 top-0 cursor-pointer" unselectable="on" onselectstart="return false;" style="left: 31.2903%;">
</div>
@@ -129,13 +129,13 @@
</div>
</div>
<label class="mr-2">Max</label>
<input type="text" class="w-12 border border-gray-300 focus:outline-none focus:border-green-300" placeholder="100"></input>
<input type="text" class="w-12 border border-gray-300 focus:outline-none focus:border-gray-400" placeholder="100"></input>
</div>
</dd>
</dl>
</div>
</div>
<div class="flex h-24 w-auto bg-white">
<div class="flex-none h-32 w-auto bg-white m-4">
<div class="px-4 py-5 lg:p-6">
<dl>
<dt class="text-sm md:text-xl leading-5 text-gray-500 truncate"> LOCATION
@@ -145,7 +145,7 @@
<div>
<span class="shadow-sm">
<input type="type"
class="inline-flex w-56 h-8 border border-gray-300 px-4 py-1 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 w-56 h-8 border border-gray-300 px-4 py-1 bg-white leading-5 text-gray-400 hover:text-gray-500 focus:outline-none focus:border-gray-400 focus:shadow-outline-green-300 active:bg-gray-50 active:text-gray-800 transition ease-in-out duration-150"
placeholder="Enter Location">
</input>
</span>
@@ -167,7 +167,7 @@
</dl>
</div>
</div>
<div class="flex h-24 w-auto bg-white">
<div class="flex-none h-32 w-auto bg-white m-4">
<div class="px-2 py-5 lg:p-6">
<dl>
<dt class="text-sm md:text-xl leading-5 text-gray-500 truncate">
+4 -4
View File
@@ -2068,18 +2068,18 @@ video {
.container{
margin-inline: auto;
padding-inline: auto;
max-width: 1024px;
max-width: 768px;
}
@media (min-width: 640px){
.container{
max-width: 1024px;
max-width: 640px;
}
}
@media (min-width: 768px){
.container{
max-width: 1024px;
max-width: 768px;
}
}
@@ -2091,7 +2091,7 @@ video {
@media (min-width: 1920px){
.container{
max-width: 1024px;
max-width: 1920px;
}
}
+4 -4
View File
@@ -78,20 +78,20 @@ module.exports = {
".container": {
marginInline: "auto",
paddingInline: "auto",
maxWidth: theme("screens.lg"),
maxWidth: theme("screens.md"),
// Breakpoints
"@screen sm": {
maxWidth: theme("screens.lg"),
maxWidth: theme("screens.sm"),
},
"@screen md": {
maxWidth: theme("screens.lg"),
maxWidth: theme("screens.md"),
},
"@screen lg": {
maxWidth: theme("screens.lg"),
},
"@screen xl": {
maxWidth: theme("screens.lg"),
maxWidth: theme("screens.xl"),
},
},
});