added changes layout
This commit is contained in:
1 parent
405993a258
commit
4c13d209b5
3 files changed
+91
-225
No files matched your search
+32
-21
@@ -9,9 +9,9 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class=" bg-gray-200 font-body">
|
<body class=" bg-gray-200 font-body">
|
||||||
<div class="max-w-screen-lg">
|
<div class="md:container px-24 mx-auto">
|
||||||
<header class="sticky top-0 z-50 bg-indigo-700 h-32">
|
<header class="sticky top-0 z-50 bg-indigo-700 h-32">
|
||||||
<div class="flex justify-center items-center z-30 pt-6 xs:mx-0 sm:mx-12">
|
<div class="md:container flex justify-center max-w-screen-lg items-center z-30 pt-6 xs:mx-0 sm:mx-12">
|
||||||
<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 md:h-8" src="img/logo.svg" alt="" />
|
<img class="hidden md:block lg:block w-auto h-12 ml-6 mr-4 md:h-8" src="img/logo.svg" alt="" />
|
||||||
<div class="flex relative">
|
<div class="flex relative">
|
||||||
@@ -81,8 +81,6 @@
|
|||||||
<a href="#"><img class="absolute right-0 px-2 py-2 h-7" src="svg/Union 16.svg" alt=""></a>
|
<a href="#"><img class="absolute right-0 px-2 py-2 h-7" src="svg/Union 16.svg" alt=""></a>
|
||||||
</div> -->
|
</div> -->
|
||||||
<!-- end error notification -->
|
<!-- end error notification -->
|
||||||
<div class="flex justify-center">
|
|
||||||
<div class="z-10 py-6 mx-0 sm:mx-12 mb-8">
|
|
||||||
<nav class="ml-5 md:flex items-center space-x-1 hidden mb-10">
|
<nav class="ml-5 md:flex items-center space-x-1 hidden mb-10">
|
||||||
<div class="block px-4 py-2 text-lg leading-5 text-gray-900 hover:bg-green-300 hover:text-gray-900 focus:outline-none focus:bg-green-300 focus:text-gray-900">
|
<div class="block px-4 py-2 text-lg leading-5 text-gray-900 hover:bg-green-300 hover:text-gray-900 focus:outline-none focus:bg-green-300 focus:text-gray-900">
|
||||||
<button>RELEVANCE</button>
|
<button>RELEVANCE</button>
|
||||||
@@ -97,16 +95,15 @@
|
|||||||
<button>PRICE-HIGH TO LOW</button>
|
<button>PRICE-HIGH TO LOW</button>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
<div class="flex- justify-center md:flex mt-4 hidden mb-4">
|
<div class="md:flex w-full justify-between md:flex-wrap mt-4 hidden mb-4">
|
||||||
<div class="w-1/2 px-3">
|
<div class="flex h-24 w-auto bg-white">
|
||||||
<div class="overflow-hidden bg-white">
|
|
||||||
<div class="px-4 py-5 lg:p-6">
|
<div class="px-4 py-5 lg:p-6">
|
||||||
<dl>
|
<dl>
|
||||||
<dt class="text-sm md:text-xl leading-5 text-gray-500 truncate">
|
<dt class="text-sm md:text-xl leading-5 text-gray-500 truncate">
|
||||||
BUDGET
|
BUDGET
|
||||||
</dt>
|
</dt>
|
||||||
<dd class="mt-3 ml-4 font-semibold leading-9 text-gray-500">
|
<dd class="mt-3 ml-4 font-semibold leading-9 text-gray-500">
|
||||||
<div class="flex w-28 m-auto items-center justify-center">
|
<div class="flex w-full m-auto items-center justify-center">
|
||||||
<label class="mx-2">Min</label>
|
<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>
|
<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="mx-2 py-1 relative min-w-full">
|
||||||
@@ -125,9 +122,7 @@
|
|||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="flex h-24 w-auto bg-white">
|
||||||
<div class="z-10 w-1/3 px-3">
|
|
||||||
<div class="bg-white">
|
|
||||||
<div class="px-4 py-5 lg:p-6">
|
<div class="px-4 py-5 lg:p-6">
|
||||||
<dl>
|
<dl>
|
||||||
<dt class="text-sm md:text-xl leading-5 text-gray-500 truncate"> LOCATION
|
<dt class="text-sm md:text-xl leading-5 text-gray-500 truncate"> LOCATION
|
||||||
@@ -159,9 +154,7 @@
|
|||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="flex h-24 w-auto bg-white">
|
||||||
<div class="w-1/3">
|
|
||||||
<div class="mr-8 bg-white">
|
|
||||||
<div class="px-2 py-5 lg:p-6">
|
<div class="px-2 py-5 lg:p-6">
|
||||||
<dl>
|
<dl>
|
||||||
<dt class="text-sm md:text-xl leading-5 text-gray-500 truncate">
|
<dt class="text-sm md:text-xl leading-5 text-gray-500 truncate">
|
||||||
@@ -169,11 +162,13 @@
|
|||||||
</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 border-4 border-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 border-4 border-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>
|
||||||
@@ -181,9 +176,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<!-- mobile sort & filter -->
|
<!-- mobile sort & filter -->
|
||||||
<div class="z-10 flex relative justify-center mx-3 md:hidden">
|
<div class="z-10 flex relative justify-center w-full mx-3 md:hidden">
|
||||||
<div class="w-full relative rounded-md shadow-sm mb-6 mr-2">
|
<div class="w-full relative rounded-md shadow-sm mb-6 mr-2">
|
||||||
<button type="button" class="relative w-full py-2 transition ease-in-out duration-150 sm:leading-5 focus:outline-none focus:border-green-300 focus:bg-gray-100 focus:text-gray-900">
|
<button type="button" class="relative w-full py-2 transition ease-in-out duration-150 sm:leading-5 focus:outline-none focus:border-green-300 focus:bg-gray-100 focus:text-gray-900">
|
||||||
<span class="absolute left-0 flex items-center">
|
<span class="absolute left-0 flex items-center">
|
||||||
@@ -292,7 +286,26 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- mobile sort & filter
|
<!-- mobile sort & filter
|
||||||
<!-- content -->
|
<!-- content -->
|
||||||
<div class="z-0 flex justify-center flex-wrap mb-8">
|
<div class="z-0 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>
|
||||||
|
</div>
|
||||||
|
<div class="px-4 py-2 mt-2 md:mt-3">
|
||||||
|
<a href="#">
|
||||||
|
<p class="font-bold text-xs md:text-lg leading-5 ">Coworking Space with Shower</p>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="px-3 md:mt-3">
|
||||||
|
<div class=" flex items-center text-xs md:text-sm text-gray-500 ">
|
||||||
|
<img class="flex-shrink-0 mr-1 md:mr-2 h-3 md:h-4 w-3 text-gray-400 " src="svg/Subtraction 4.svg ">Quezon City
|
||||||
|
</div>
|
||||||
|
<div class="flex items-center text-xs md:text-sm text-gray-500 ">
|
||||||
|
<img class="flex-shrink-0 h-3 md:h-4 w-4 md:mr-2 text-gray-400 " src="svg/Subtraction 5.svg ">1 week ago
|
||||||
|
</div>
|
||||||
|
<span class="flex text-base text-green-300 py-3 pb-1 md:mt-4">P 1,299 / month</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="max-w-xxs md:max-w-xs mx-3 rounded mb-6 hover:shadow-xl tracking-wide bg-white">
|
<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">
|
<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>
|
<a href="# "><img class="absolute h-full w-full object-cover " src="img/img.jpg " alt=" "></a>
|
||||||
@@ -395,8 +408,6 @@
|
|||||||
<!-- <p class="flex-1 ">load more</p> -->
|
<!-- <p class="flex-1 ">load more</p> -->
|
||||||
</div>
|
</div>
|
||||||
<!-- /End content -->
|
<!-- /End content -->
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
+30
-204
@@ -588,40 +588,6 @@ video {
|
|||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container{
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 640px){
|
|
||||||
.container{
|
|
||||||
max-width: 640px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 768px){
|
|
||||||
.container{
|
|
||||||
max-width: 768px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 1024px){
|
|
||||||
.container{
|
|
||||||
max-width: 1024px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 1920px){
|
|
||||||
.container{
|
|
||||||
max-width: 1920px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 2560px){
|
|
||||||
.container{
|
|
||||||
max-width: 2560px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.form-input{
|
.form-input{
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
-moz-appearance: none;
|
-moz-appearance: none;
|
||||||
@@ -2099,6 +2065,36 @@ video {
|
|||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.container{
|
||||||
|
margin-inline: auto;
|
||||||
|
padding-inline: 1rem;
|
||||||
|
max-width: 640px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 640px){
|
||||||
|
.container{
|
||||||
|
max-width: 640px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 768px){
|
||||||
|
.container{
|
||||||
|
max-width: 768px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 1024px){
|
||||||
|
.container{
|
||||||
|
max-width: 1024px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 1920px){
|
||||||
|
.container{
|
||||||
|
max-width: 1920px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.space-y-0 > :not(template) ~ :not(template){
|
.space-y-0 > :not(template) ~ :not(template){
|
||||||
--space-y-reverse: 0;
|
--space-y-reverse: 0;
|
||||||
margin-top: calc(0px * calc(1 - var(--space-y-reverse)));
|
margin-top: calc(0px * calc(1 - var(--space-y-reverse)));
|
||||||
@@ -27772,40 +27768,6 @@ video {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 640px){
|
@media (min-width: 640px){
|
||||||
.sm\:container{
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 640px){
|
|
||||||
.sm\:container{
|
|
||||||
max-width: 640px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 768px){
|
|
||||||
.sm\:container{
|
|
||||||
max-width: 768px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 1024px){
|
|
||||||
.sm\:container{
|
|
||||||
max-width: 1024px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 1920px){
|
|
||||||
.sm\:container{
|
|
||||||
max-width: 1920px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 2560px){
|
|
||||||
.sm\:container{
|
|
||||||
max-width: 2560px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.sm\:prose{
|
.sm\:prose{
|
||||||
color: #374151;
|
color: #374151;
|
||||||
max-width: 65ch;
|
max-width: 65ch;
|
||||||
@@ -54646,40 +54608,6 @@ video {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 768px){
|
@media (min-width: 768px){
|
||||||
.md\:container{
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 640px){
|
|
||||||
.md\:container{
|
|
||||||
max-width: 640px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 768px){
|
|
||||||
.md\:container{
|
|
||||||
max-width: 768px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 1024px){
|
|
||||||
.md\:container{
|
|
||||||
max-width: 1024px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 1920px){
|
|
||||||
.md\:container{
|
|
||||||
max-width: 1920px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 2560px){
|
|
||||||
.md\:container{
|
|
||||||
max-width: 2560px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.md\:prose{
|
.md\:prose{
|
||||||
color: #374151;
|
color: #374151;
|
||||||
max-width: 65ch;
|
max-width: 65ch;
|
||||||
@@ -81520,40 +81448,6 @@ video {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 1024px){
|
@media (min-width: 1024px){
|
||||||
.lg\:container{
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 640px){
|
|
||||||
.lg\:container{
|
|
||||||
max-width: 640px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 768px){
|
|
||||||
.lg\:container{
|
|
||||||
max-width: 768px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 1024px){
|
|
||||||
.lg\:container{
|
|
||||||
max-width: 1024px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 1920px){
|
|
||||||
.lg\:container{
|
|
||||||
max-width: 1920px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 2560px){
|
|
||||||
.lg\:container{
|
|
||||||
max-width: 2560px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.lg\:prose{
|
.lg\:prose{
|
||||||
color: #374151;
|
color: #374151;
|
||||||
max-width: 65ch;
|
max-width: 65ch;
|
||||||
@@ -108394,40 +108288,6 @@ video {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 1920px){
|
@media (min-width: 1920px){
|
||||||
.xl\:container{
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 640px){
|
|
||||||
.xl\:container{
|
|
||||||
max-width: 640px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 768px){
|
|
||||||
.xl\:container{
|
|
||||||
max-width: 768px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 1024px){
|
|
||||||
.xl\:container{
|
|
||||||
max-width: 1024px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 1920px){
|
|
||||||
.xl\:container{
|
|
||||||
max-width: 1920px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 2560px){
|
|
||||||
.xl\:container{
|
|
||||||
max-width: 2560px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.xl\:prose{
|
.xl\:prose{
|
||||||
color: #374151;
|
color: #374151;
|
||||||
max-width: 65ch;
|
max-width: 65ch;
|
||||||
@@ -135268,40 +135128,6 @@ video {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 2560px){
|
@media (min-width: 2560px){
|
||||||
.xxl\:container{
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 640px){
|
|
||||||
.xxl\:container{
|
|
||||||
max-width: 640px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 768px){
|
|
||||||
.xxl\:container{
|
|
||||||
max-width: 768px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 1024px){
|
|
||||||
.xxl\:container{
|
|
||||||
max-width: 1024px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 1920px){
|
|
||||||
.xxl\:container{
|
|
||||||
max-width: 1920px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 2560px){
|
|
||||||
.xxl\:container{
|
|
||||||
max-width: 2560px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.xxl\:prose{
|
.xxl\:prose{
|
||||||
color: #374151;
|
color: #374151;
|
||||||
max-width: 65ch;
|
max-width: 65ch;
|
||||||
|
|||||||
@@ -1,10 +1,16 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
|
corePlugins: {
|
||||||
|
container: false,
|
||||||
|
},
|
||||||
future: {
|
future: {
|
||||||
// removeDeprecatedGapUtilities: true,
|
// removeDeprecatedGapUtilities: true,
|
||||||
// purgeLayersByDefault: true,
|
// purgeLayersByDefault: true,
|
||||||
},
|
},
|
||||||
purge: [],
|
purge: [],
|
||||||
theme: {
|
theme: {
|
||||||
|
container: {
|
||||||
|
center: true,
|
||||||
|
},
|
||||||
extend: {
|
extend: {
|
||||||
fontsFamily: {
|
fontsFamily: {
|
||||||
body: ['PT Sans']
|
body: ['PT Sans']
|
||||||
@@ -67,5 +73,28 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
require('@tailwindcss/ui'),
|
require('@tailwindcss/ui'),
|
||||||
|
({ addComponents, theme }) => {
|
||||||
|
addComponents({
|
||||||
|
".container": {
|
||||||
|
marginInline: "auto",
|
||||||
|
paddingInline: theme("spacing.4"),
|
||||||
|
maxWidth: theme("screens.sm"),
|
||||||
|
|
||||||
|
// Breakpoints
|
||||||
|
"@screen sm": {
|
||||||
|
maxWidth: theme("screens.sm"),
|
||||||
|
},
|
||||||
|
"@screen md": {
|
||||||
|
maxWidth: theme("screens.md"),
|
||||||
|
},
|
||||||
|
"@screen lg": {
|
||||||
|
maxWidth: theme("screens.lg"),
|
||||||
|
},
|
||||||
|
"@screen xl": {
|
||||||
|
maxWidth: theme("screens.xl"),
|
||||||
|
},
|
||||||
|
},
|
||||||
|
});
|
||||||
|
},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user