-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
45264d6
commit 49c9c4a
Showing
20 changed files
with
1,749 additions
and
341 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import bg1 from "../assets/bg-hero.jpg" | ||
import logo from "../assets/logo.png" | ||
import menu from "../assets/menu.svg" | ||
import close from "../assets/close.svg" | ||
import farmer from "../assets/farmer.png" | ||
export { bg1 , logo, menu, close, farmer} |
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
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 |
---|---|---|
@@ -1,11 +1,67 @@ | ||
import React from 'react' | ||
// import React from 'react' | ||
// import { bg1 } from '../../assets' | ||
|
||
function HeroSection() { | ||
// function HeroSection() { | ||
// return ( | ||
// <div className='min-h-screen'> | ||
// <img src={bg1} alt=""/> | ||
// <h2>Welcome to E-mandi!!</h2> | ||
// <h5>A One Place Solution for Fresh Vegetables anf Fruits.</h5> | ||
// </div> | ||
// ) | ||
// } | ||
|
||
// export default HeroSection | ||
import { motion } from "framer-motion"; | ||
|
||
import { styles } from "../styles"; | ||
import { farmer } from "../../assets"; | ||
|
||
const Hero = () => { | ||
return ( | ||
<div> | ||
<img src="https://static.vecteezy.com/system/resources/previews/004/299/835/original/online-shopping-on-phone-buy-sell-business-digital-web-banner-application-money-advertising-payment-ecommerce-illustration-search-free-vector.jpg" alt="" /> | ||
</div> | ||
<section | ||
className='relative w-full h-screen mx-auto' | ||
> | ||
<div | ||
className={`${ styles.paddingX } absolute insert-0 top-[120px] max-w-7xl mx-auto flex dlex-row items-start gap-5`}> | ||
<div className="flex flex-col | ||
justify-center items-center mt-5 | ||
// "> | ||
{/* <div className="w-5 h-5 rounded-full bg-[#445D48]"/> | ||
<div className="w-1 sm:h-80 h-40"/> */} | ||
</div> | ||
|
||
<div> | ||
<h1 className={`${styles.heroHeadText} text-white`}> | ||
Welcome to <span className='text-[#445D48]'>E-Mandi</span> | ||
</h1> | ||
<p className={`${styles.heroSubText} mt-2 text-white-100`}>One Stop Solution for your fresh vegetables,fruits and grains directy from Framers.<br className="sm:block hidden"/>Get Everything Fresh</p> | ||
</div> | ||
<div> | ||
<img src={farmer} alt="" className=" w-[30rem] sm:h-96 h-28"/> | ||
</div> | ||
</div> | ||
<div | ||
className="absolute xs:bottom-10 bottom-32 w-full flex justify-center items-center" | ||
> | ||
<a href="/filter"> | ||
<div className="w-[35px] h-[64px] rounded-3xl border-4 border-secondary flex justify center items-start p-2"> | ||
<motion.dev | ||
animate={{ | ||
y:[0,24,0] | ||
}} | ||
transition={{ | ||
duration: 1.5, | ||
repeat : Infinity, | ||
repeatType: 'loop' | ||
}} | ||
className="w-3 h-3 rounded-full bg-secondary mb-1" | ||
/> | ||
</div> | ||
</a> | ||
</div> | ||
</section> | ||
) | ||
} | ||
|
||
export default HeroSection | ||
export default Hero |
Oops, something went wrong.