diff --git a/src/components/homepage.tsx b/src/components/homepage.tsx index 2718c3a..d07a156 100644 --- a/src/components/homepage.tsx +++ b/src/components/homepage.tsx @@ -19,13 +19,16 @@ import loopgreenback from "../components/imageandgif/lsbg.png" import OurTeam from "./ourteam"; import mobileLogo from "../components/imageandgif/loopsMoblogo.png" import mobileback from "../components/imageandgif/mobileback.png" -import { useMediaQuery, useTheme } from "@mui/material"; -import { createTheme, ThemeProvider } from "@mui/material/styles"; +import { useMediaQuery, useTheme } from "@mui/material"; +import { createTheme, ThemeProvider } from "@mui/material/styles"; import newbackground from "../components/imageandgif/full.png" -import sustainability from "../components/imageandgif/Untitled-2.png" +import sustainability from "../components/imageandgif/Untitled-2.png" import wasteimage from "../components/imageandgif/loopwastemanage.png" import WhyChooseUs from "./whyus"; import WasteImageSection from "./wastemanagement"; +import loopgif from "../components/imageandgif/loop hero new (1).gif" +import gifsevenm from "../components/imageandgif/disintegrate mobile.gif"; +import gifeightm from "../components/imageandgif/gifeight.gif"; @@ -48,14 +51,14 @@ const HomePage: React.FC = () => { ]; // const theme = useTheme(); // const isMobile = useMediaQuery(theme.breakpoints.down("sm")); - + // Function to scroll to the ref const scrollToRef = (ref: React.RefObject) => { if (ref.current) { ref.current.scrollIntoView({ behavior: "smooth", block: "center" }); } }; - + const theme = createTheme({ breakpoints: { values: { @@ -76,7 +79,7 @@ const HomePage: React.FC = () => { // color:"#77808B" // } // }, - + }); return ( @@ -93,25 +96,19 @@ const HomePage: React.FC = () => { width: { lg: "100vw" }, backgroundColor: "white", position: "relative", - backgroundImage: - - `url(${loopgreenback})` - , - backgroundSize: "contain", - backgroundPosition: " center", - backgroundRepeat: "no-repeat", + paddingTop:{xs:'50px', lg:'5px'}, marginBottom: { xs: "10px", md: "39px", lg: '60px' }, }} > - + Gif - - + + {items.map((text, index) => ( - + { width: '100%', backgroundImage: { lg: `url(${newbackground})`, xs: null }, backgroundSize: "contain", - backgroundPosition: { lg: "center"}, + backgroundPosition: { lg: "center" }, backgroundRepeat: "no-repeat", paddingBottom: { lg: 20, xs: 0 } }} > + { width: '100%', }} > + {/* + + */} + {/* ROW 1 */} { Manufacturing Materials are processed in energy-intensive factories that rely on fossil fuels, generating high carbon emissions - + Gif @@ -204,7 +206,7 @@ const HomePage: React.FC = () => { display: "flex", justifyContent: { lg: 'flex-end', xs: 'center' }, alignItems: "center" }}> { marginBottom: { xs: "20px", md: "0" }, }}> - + Gif @@ -248,7 +250,7 @@ const HomePage: React.FC = () => { Devices are used by consumers and businesses, but their production and usage contribute significantly to carbon footprints, energy consumption, and waste generation. - + Gif @@ -374,13 +376,13 @@ const HomePage: React.FC = () => { display: { xs: "flex", md: "flex", lg: 'none' }, backgroundImage: { lg: null, xs: `url(${mobileback})` }, backgroundSize: "contain", - backgroundPosition: { xs: "50% 60%", md:'50% 63%' }, + backgroundPosition: { xs: "50% 60%", md: '50% 63%' }, backgroundRepeat: "no-repeat", }}> {/* Reuse */} - + Reuse We help businesses reuse their old electronic devices, repurposing functional parts and components for future use or resale, reducing overall environmental impact. @@ -395,7 +397,7 @@ const HomePage: React.FC = () => { {/* Repair */} - + Repair Loop Sustainability steps in to repair damaged or outdated electronics. @@ -411,11 +413,11 @@ const HomePage: React.FC = () => { {/* Disintegrate (Added Extra Margin to Separate from Top Row) */} - + Disintegrate Gif - + Disintegrate When electronics can no longer be repaired or reused, we safely disintegrate them into valuable materials, ensuring they are properly processed and recycled. @@ -425,11 +427,11 @@ const HomePage: React.FC = () => { {/* Remine */} - + Remine Gif - + Remine We take the disintegrated materials and remines them for precious metals, turning waste back into usable resources. closing the loop on electronic waste. @@ -440,7 +442,7 @@ const HomePage: React.FC = () => { - + diff --git a/src/components/imageandgif/disintegrate mobile.gif b/src/components/imageandgif/disintegrate mobile.gif new file mode 100644 index 0000000..1dd21c8 Binary files /dev/null and b/src/components/imageandgif/disintegrate mobile.gif differ diff --git a/src/components/imageandgif/loop hero new (1).gif b/src/components/imageandgif/loop hero new (1).gif new file mode 100644 index 0000000..c832c2e Binary files /dev/null and b/src/components/imageandgif/loop hero new (1).gif differ diff --git a/src/components/imageandgif/remine mobile.mp4 b/src/components/imageandgif/remine mobile.mp4 new file mode 100644 index 0000000..fd6f788 Binary files /dev/null and b/src/components/imageandgif/remine mobile.mp4 differ diff --git a/src/components/imageandgif/roadnew.svg b/src/components/imageandgif/roadnew.svg new file mode 100644 index 0000000..9f12ad3 --- /dev/null +++ b/src/components/imageandgif/roadnew.svg @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +