diff --git a/index.html b/index.html index e7d200f..da9b620 100644 --- a/index.html +++ b/index.html @@ -1,10 +1,10 @@ - + - - Vite + React + E-Mandi +
diff --git a/src/components/heroSection/HeroSection.jsx b/src/components/heroSection/HeroSection.jsx index 4a38ed2..249c533 100644 --- a/src/components/heroSection/HeroSection.jsx +++ b/src/components/heroSection/HeroSection.jsx @@ -16,8 +16,15 @@ import { motion } from "framer-motion"; import { styles } from "../styles"; import { farmer } from "../../assets"; +import { useState } from "react"; const Hero = () => { + const [bot, setBot] = useState(true); + + const handleBot = () => { + if(bot == true) setBot(false); + else setBot(true); + }; return (
{

Welcome to E-Mandi

-

One Stop Solution for your fresh vegetables,fruits and grains directy from Framers.
Get Everything Fresh

+
+

One Stop Solution for your fresh vegetables,fruits and grains directy from Framers.
Get Everything Fresh.

- +
{
+
+ +
+
+
+ TRY ME! +
+
) } diff --git a/src/index.css b/src/index.css index 1fbb9a8..5c431b7 100644 --- a/src/index.css +++ b/src/index.css @@ -15,4 +15,11 @@ } .hoverOutline :hover { outline: 2px solid white; -} \ No newline at end of file +} + iframe { + border: 1px solid #ccc; + border-radius: 5px; + width: 100%; + max-width: 700px; + height: 500px; + } \ No newline at end of file