import React, { useRef } from "react"; import { Box, Grid, Typography } from "@mui/material"; import logo from "../components/imageandgif/newlogo.png"; import backone from "../components/imageandgif/newbgone.png"; import backtwo from "../components/imageandgif/newnewtwo.png"; import backthree from "../components/imageandgif/newthree.png"; import gifone from "../components/imageandgif/gifone.gif"; import giftwo from "../components/imageandgif/giftwo.gif"; import gifthree from "../components/imageandgif/gifthree.gif"; import giffour from "../components/imageandgif/giffour.gif"; import giffive from "../components/imageandgif/giffive.gif"; import gifsix from "../components/imageandgif/gifsix.gif"; import gifseven from "../components/imageandgif/gifseven.gif"; import gifeight from "../components/imageandgif/gifeight.gif"; import loopgreen from "../components/imageandgif/newloop.png"; import PartnerWork from "./ourwork"; import Footer from "./footer"; 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 newbackground from "../components/imageandgif/full.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 (2).gif"; import gifeightm from "../components/imageandgif/reminemobile.gif"; import giffivem from "../components/imageandgif/repairm.gif"; import gifsixm from "../components/imageandgif/newusenewuse.gif"; import gifonem from "../components/imageandgif/mine mobile.gif"; const HomePage: React.FC = () => { // Create refs for each content box const mineRef = useRef(null); const manufactureRef = useRef(null); const assembleRef = useRef(null); const useRefBox = useRef(null); const repairRef = useRef(null); const disintegrateRef = useRef(null); const remineRef = useRef(null); const impactRef = useRef(null); const reuseRef = useRef(null); const items = [ "Our mission is to maximize the reuse of nature’s precious resources, fostering a circular economy and driving true sustainability.", "Loop Sustainability extends the life cycle of electronics through advanced technology and smart algorithms, enabling efficient reuse and responsible recycling.", "We collaborate with consumer brands, retailers, recyclers, repair centers, policymakers, and more—all working together to reduce e-waste and drive sustainability.", ]; // 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: { xs: 0, // Default sm: 600, // Default md: 1000, // Default lg: 1400, // Default xl: 1600, // Default }, }, typography: { fontFamily: "SF Pro Regular, Arial, sans-serif", h4: { color: "#333333", }, body2: { color: "#4D4D4D" } }, }); return ( {/* Grid 1 */} Gif {items.map((text, index) => ( {text} ))} {/* Grid 2 */} {/* */} {/* ROW 1 */} Gif Mine from nature Raw materials are extracted through destructive mining practices, causing habitat loss, soil erosion, and water contamination.  {/* ROW 2 */} Manufacturing Materials are processed in energy-intensive factories that rely on fossil fuels, generating high carbon emissions Gif {/* ROW 3 */} Gif Assemble Materials are processed in energy-intensive factories that rely on fossil fuels, generating high carbon emissions {/* ROW 4 */} Use Devices are used by consumers and businesses, but their production and usage contribute significantly to carbon footprints, energy consumption, and waste generation. Gif {/* new2 */} {/* newnew */} {/* desktop view */} {/* Reuse Section */} Reuse We help businesses reuse their old electronic devices, repurposing functional parts and components for future use or resale, reducing overall environmental impact. Gif {/* Repair Section */} Repair Loop Sustainability steps in to repair damaged or outdated electronics. Our repair services extend the life of devices, minimizing waste and reducing the need for new products. Gif {/* newnewnwe */} 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. 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. {/* mobile only */} {/* Reuse */} Reuse We help businesses reuse their old electronic devices, repurposing functional parts and components for future use or resale, reducing overall environmental impact. Reuse Gif {/* Repair */} Repair Loop Sustainability steps in to repair damaged or outdated electronics. Our repair services extend the life of devices, minimizing waste and reducing the need for new products. Reuse Gif {/* Disintegrate (Added Extra Margin to Separate from Top Row) */} Reuse 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. {/* Remine */} Reuse 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.