From b8528e1ac2b2a2777ce984a9cf04b610527aa38b Mon Sep 17 00:00:00 2001 From: hardik Date: Fri, 14 Feb 2025 00:03:32 +0530 Subject: [PATCH 1/2] fixed mobile view layout --- src/components/header.tsx | 5 +- src/components/homepage.tsx | 198 +++++++++++++++++++++++++----------- src/components/whyus.tsx | 53 ++++++++++ 3 files changed, 192 insertions(+), 64 deletions(-) create mode 100644 src/components/whyus.tsx diff --git a/src/components/header.tsx b/src/components/header.tsx index b137a74..bad4420 100644 --- a/src/components/header.tsx +++ b/src/components/header.tsx @@ -26,7 +26,8 @@ const Header: React.FC = () => { lg: "96.8vw", xl: "96.4vw" }, - color: "black" + color: "black", + zIndex:11111 }} > @@ -35,7 +36,7 @@ const Header: React.FC = () => { Logo diff --git a/src/components/homepage.tsx b/src/components/homepage.tsx index e3fc0f9..1cb26c8 100644 --- a/src/components/homepage.tsx +++ b/src/components/homepage.tsx @@ -24,6 +24,7 @@ import { createTheme, ThemeProvider } from "@mui/material/styles"; import newbackground from "../components/imageandgif/full.png" import newbackgroundtwo from "../components/imageandgif/newbacktwo.png" import wasteimage from "../components/imageandgif/loopwastemanage.png" +import WhyChooseUs from "./whyus"; @@ -100,7 +101,7 @@ const HomePage: React.FC = () => { p: 3, borderRadius: "12px", backgroundColor: "#7c77770d", - textAlign: "left", + textAlign: "center", }} > @@ -112,17 +113,18 @@ const HomePage: React.FC = () => { {/* Grid 2 */} { {/* ROW 1 */} { {/* ROW 2 */} - + { {/* ROW 3 */} - + { { 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 */} @@ -238,45 +243,48 @@ const HomePage: React.FC = () => { {/* 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. + + 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. @@ -284,28 +292,29 @@ const HomePage: React.FC = () => { reducing the need for new products. - - + Gif - + + {/* newnewnwe */} - - + + Gif @@ -317,7 +326,7 @@ const HomePage: React.FC = () => { - + { + {/* 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. + + + + Repair Gif + + + + + {/* 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. + + + + + + {/* 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. + + + + + @@ -350,7 +421,7 @@ const HomePage: React.FC = () => { xs={12} sx={{ - height: "66 0px", + height: "660px", marginTop: { lg: 20, xs: 0 }, display: "flex", justifyContent: "center", @@ -368,8 +439,11 @@ const HomePage: React.FC = () => { }} /> + +