diff --git a/src/component/HeroSection.js b/src/component/HeroSection.js index b177bf3..27b17bf 100644 --- a/src/component/HeroSection.js +++ b/src/component/HeroSection.js @@ -7,6 +7,7 @@ import HeroImg from "../image/hero-img.PNG"; import { Button as MuiButton } from "@mui/material"; import { Box } from "@mui/material"; import { Link } from "react-router-dom"; +import Wave from "../image/waves/heroSection.svg"; const Title = styled(Typography)({ color: "#226a49", @@ -15,24 +16,33 @@ const Title = styled(Typography)({ fontSize: "clamp(2rem, 6vw, 6.2rem)", }); +const WaveImg = styled("img")({ + width: "100%", + height: "auto", + position: "absolute", + bottom: "-3rem", + left: "0", +}); + export default function HeroSection() { return ( Bag The Future Responsibly @@ -91,8 +102,8 @@ export default function HeroSection() { + ); } diff --git a/src/component/ProblemStatement.js b/src/component/ProblemStatement.js index b439a4b..990d53c 100644 --- a/src/component/ProblemStatement.js +++ b/src/component/ProblemStatement.js @@ -88,10 +88,10 @@ const ProblemBodyText = styled(Typography)({ const ProblemImage = styled("img")({ width: "100%", - aspectRatio: "5/4", + // aspectRatio: "5/4", objectFit: "content", "@media (min-width:600px)": { - width: "40%", + width: "30%", }, "@media (max-width:600px)": { "&:nth-child(odd)": { diff --git a/src/image/our_Story.PNG b/src/image/our_Story.PNG new file mode 100644 index 0000000..3532e4c Binary files /dev/null and b/src/image/our_Story.PNG differ diff --git a/src/image/waves/heroSection.svg b/src/image/waves/heroSection.svg new file mode 100644 index 0000000..aaff41d --- /dev/null +++ b/src/image/waves/heroSection.svg @@ -0,0 +1,2 @@ + + \ No newline at end of file