forked from Y-ashbhatt/Indux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor - Header, Footer, IntroBanner, NewlyLaunched, TopLocalities,…
… TrendingPage and Property Card
- Loading branch information
rohitwebdeveloper
committed
Jan 6, 2025
1 parent
947306c
commit 31109f5
Showing
19 changed files
with
403 additions
and
372 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import React from 'react'; | ||
|
||
const BuyOverlayCard = () => { | ||
return ( | ||
<div className="fixed top-[100px] left-52 right-0 bottom-0 bg-black/40 backdrop-blur-sm w-fit h-fit z-30 flex justify-center items-center rounded-[10px] transition-all duration-1000 "> | ||
<div className="flex w-[620px] justify-evenly bg-white mx-auto bg-opacity-20 backdrop-blur-lg rounded-lg p-4"> | ||
<div className="flex-1 w-fit "> | ||
<div className="bg-white px-6 py-2 text-left mb-4 rounded-[6px] w-fit "> | ||
<h5 className="text-[#7c11f7]">Top Cities To Buy A Property</h5> | ||
</div> | ||
<ul className="text-white"> | ||
<li className="py-2 text-sm px-6">Buy Properties in Delhi</li> | ||
<li className="py-2 text-sm px-6">Buy Properties in Kolkata</li> | ||
<li className="py-2 text-sm px-6">Buy Properties in Mumbai</li> | ||
<li className="py-2 text-sm px-6">Buy Properties in Chennai</li> | ||
<li className="py-2 text-sm px-6">Buy Properties in Ahmedabad</li> | ||
</ul> | ||
</div> | ||
<div className="flex-1 w-fit "> | ||
<div className="bg-white px-6 py-2 text-left mb-4 rounded-[6px] w-fit "> | ||
<h5 className="text-[#7c11f7]">Top Categories To Buy A Property</h5> | ||
</div> | ||
<ul className="text-white"> | ||
<li className="py-2 text-sm px-6">Flat/Apartment</li> | ||
<li className="py-2 text-sm px-6">Independent Villa</li> | ||
<li className="py-2 text-sm px-6">Commercial Building</li> | ||
<li className="py-2 text-sm px-6">Residential Land</li> | ||
<li className="py-2 text-sm px-6">Farm Land</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default BuyOverlayCard; |
Empty file.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import React from 'react'; | ||
|
||
const RentOverlayCard = () => { | ||
return ( | ||
<div className="fixed top-[100px] left-52 right-0 bottom-0 bg-black/40 backdrop-blur-sm w-fit h-fit z-30 flex justify-center items-center rounded-[10px] transition-all duration-1000 "> | ||
<div className="flex w-[620px] justify-evenly bg-white mx-auto bg-opacity-20 backdrop-blur-lg rounded-lg p-4"> | ||
<div className="flex-1 w-fit "> | ||
<div className="bg-white px-6 py-2 text-left mb-4 rounded-[6px] w-fit "> | ||
<h5 className="text-[#7c11f7]">Top Cities To Rent A Property</h5> | ||
</div> | ||
<ul className="text-white"> | ||
<li className="py-2 text-sm px-6">Buy Properties in Noida</li> | ||
<li className="py-2 text-sm px-6">Buy Properties in Kolkata</li> | ||
<li className="py-2 text-sm px-6">Buy Properties in Mumbai</li> | ||
<li className="py-2 text-sm px-6">Buy Properties in Chennai</li> | ||
<li className="py-2 text-sm px-6">Buy Properties in Ahmedabad</li> | ||
</ul> | ||
</div> | ||
<div className="flex-1 w-fit "> | ||
<div className="bg-white px-6 py-2 text-left mb-4 rounded-[6px] w-fit "> | ||
<h5 className="text-[#7c11f7]">Top Categories To Rent A Property</h5> | ||
</div> | ||
<ul className="text-white"> | ||
<li className="py-2 text-sm px-6">Flat/Apartment</li> | ||
<li className="py-2 text-sm px-6">Independent Villa</li> | ||
<li className="py-2 text-sm px-6">Commercial Building</li> | ||
<li className="py-2 text-sm px-6">Residential Land</li> | ||
<li className="py-2 text-sm px-6">Farm Land</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default RentOverlayCard; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import React from 'react' | ||
|
||
const Footer = () => { | ||
return ( | ||
<section className=' bg-[#7C11F7] w-full flex justify-around p-6 '> | ||
<div className='w-1/3 flex flex-col items-center text-white '> | ||
<figure > | ||
<img src="Induxlogobig.png" alt="" className='h-[110px] block mx-auto mb-2' /> | ||
</figure> | ||
<p>Connect with us</p> | ||
<div className='flex gap-5' > | ||
<img src="facebook.svg" alt="Facebook" className='h-6' /> | ||
<img src="linkedin.svg" alt="LinkedIn" className='h-6' /> | ||
<img src="instagram.svg" alt="Instagram" className='h-6' /> | ||
</div> | ||
</div> | ||
<div className='w-2/3 flex justify-evenly items-start '> | ||
<div > | ||
<h2 className='text-white text-lg mb-4'>QUICK LINK</h2> | ||
<ul className='flex items-start flex-col gap-4'> | ||
<li className='text-white text-[16px] '>Home</li> | ||
<li className='text-white text-[16px] '>Buy</li> | ||
<li className='text-white text-[16px] '>Sell</li> | ||
<li className='text-white text-[16px] '>Articles</li> | ||
<li className='text-white text-[16px] '>About Us</li> | ||
<li className='text-white text-[16px] '>Contact Us</li> | ||
</ul> | ||
</div> | ||
<div> | ||
<h2 className='text-white text-lg mb-4'>TERMS & CONDITIONS</h2> | ||
<div className='max-w-[296px] text-white'> | ||
By using Indux Groups, you agree to comply with our terms, including lawful use and accuracy of information. We are not liable for third-party content or changes to property listings. | ||
</div> | ||
</div> | ||
<div> | ||
<h2 className='text-white text-lg mb-4'>CONTACT </h2> | ||
<p className='mb-2 text-white'>[email protected]</p> | ||
<p className='text-white'>+91 8421538753</p> | ||
</div> | ||
</div> | ||
</section> | ||
) | ||
} | ||
|
||
export default Footer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import React, {useState} from "react"; | ||
import ExpandMoreIcon from '@mui/icons-material/ExpandMore'; | ||
import ExpandLessIcon from '@mui/icons-material/ExpandLess'; | ||
import BuyOverlayCard from "../components/BuyOverlayCard"; | ||
import RentOverlayCard from "../components/RentOverlayCard"; | ||
|
||
const Header = () => { | ||
|
||
const [isbuyHovered, setisbuyHovered] = useState(false) | ||
const [isrentHovered, setisrentHovered] = useState(false) | ||
|
||
return ( | ||
<> | ||
<header className="relative"> | ||
<div className=" bg-[#B0B0B0]/40 backdrop-blur-sm max-w-[97%] w-full rounded-full border-[0.5px] border-[#B0B0B0]/20 left-[25px] mx-auto h-[70px] flex justify-between items-center pl-12 absolute z-20 top-5"> | ||
<figure><img src="/Induxlogowhite.png" alt="" className="h-28" /> </figure> | ||
<div className="flex items-center w-[65%] gap-[5%] "> | ||
<div className="text-white flex hover:cursor-pointer px-3 py-2 hover:text-[#7c11f7] hover:bg-white rounded-[4px] " | ||
onMouseEnter={() => setisbuyHovered(true)} | ||
onMouseLeave={() => setisbuyHovered(false)} | ||
>Buy {isbuyHovered ? <ExpandLessIcon/> : <ExpandMoreIcon />} </div> | ||
<div className="text-white flex hover:cursor-pointer px-3 py-2 hover:text-[#7c11f7] hover:bg-white rounded-[4px] " | ||
onMouseEnter={() => setisrentHovered(true)} | ||
onMouseLeave={() => setisrentHovered(false)} | ||
>Rent {isrentHovered ? <ExpandLessIcon/> : <ExpandMoreIcon />} </div> | ||
<div className="text-white flex hover:cursor-pointer ">Articles </div> | ||
<div className="text-white flex hover:cursor-pointer ">Saved </div> | ||
<button className="text-[#7c11f7] px-5 py-2 rounded-[4px] border bg-white hover:cursor-pointer ">List Properties</button> | ||
<button className="text-white hover:cursor-pointer ">Login</button> | ||
<button className="bg-black text-white px-3 py-2 rounded-[4px] hover:cursor-pointer ">Signup</button> | ||
</div> | ||
</div> | ||
</header> | ||
{ isbuyHovered && (<BuyOverlayCard/>)} | ||
{ isrentHovered && (<RentOverlayCard/>)} | ||
</> | ||
) | ||
} | ||
|
||
|
||
export default Header; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.