diff --git a/src/component/Footer.js b/src/component/Footer.js index 672b730..eed9202 100644 --- a/src/component/Footer.js +++ b/src/component/Footer.js @@ -51,7 +51,7 @@ const LogoSide = styled(Box)({ gap: 4, minWidth: "100%", "@media (min-width:600px)": { - minWidth: "60%" + minWidth: "60%", }, }); @@ -68,43 +68,44 @@ const FooterTitle = styled(Typography)({ fontSize: "clamp(1rem, 2vw, 1.5rem)", fontWeight: "600", marginBottom: ".5rem", - color:"#2B2B60", -}) + color: "#2B2B60", +}); const FooterBody = styled(Typography)({ fontSize: "clamp(.7rem, 2vw, 1rem)", fontWeight: "400", marginBottom: ".5rem", - color:"#2B2B60", + color: "#2B2B60", opacity: ".7", -}) +}); const FooterLink = styled(Link)({ fontSize: "clamp(.7rem, 2vw, 1rem)", fontWeight: "400", marginBottom: ".5rem", - color:"#2B2B60", + color: "#2B2B60", opacity: ".8", cursor: "pointer", textDecoration: "none", - '&:hover': { - opacity: "1" - } -}) + "&:hover": { + opacity: "1", + }, +}); function Copyright() { return ( - {"© " + new Date().getFullYear() + " EcoThaili. All Rights Reserved. Website by "} - Team Inventrix + {"© " + + new Date().getFullYear() + + " EcoThaili. All Rights Reserved. Website by "} + Team Inventrix ); } export default function Footer() { - const [open, setOpen] = React.useState(false); const toggleDrawer = (newOpen) => () => { @@ -114,7 +115,7 @@ export default function Footer() { const scrollToSection = (sectionId) => { const sectionElement = document.getElementById(sectionId); const offset = 128; - if (globalThis.location.pathname === '/') { + if (globalThis.location.pathname === "/") { const targetScroll = sectionElement.offsetTop - offset; sectionElement.scrollIntoView({ behavior: "smooth" }); globalThis.scrollTo({ @@ -123,7 +124,7 @@ export default function Footer() { }); setOpen(false); } else { - globalThis.location.href = '/#' + sectionId; + globalThis.location.href = "/#" + sectionId; } }; @@ -135,9 +136,7 @@ export default function Footer() { - - Newsletter - + Newsletter Subscribe to our newsletter for weekly updates and promotions. @@ -158,7 +157,7 @@ export default function Footer() { Subscribe @@ -172,9 +171,7 @@ export default function Footer() { gap: 1, }} > - - EcoThaili - + EcoThaili scrollToSection("os")}> Our Story @@ -188,9 +185,7 @@ export default function Footer() { Our Impact - scrollToSection("faq")}> - FAQs - + scrollToSection("faq")}>FAQs Company - scrollToSection("a")}> + scrollToSection("a")} + > About us Careers (no page yet) - Contact + + Contact + - - Legal - + Legal Terms @@ -227,25 +225,6 @@ export default function Footer() { - - - Privacy Policy - - - • - - - Terms of Service - - - - - {/* - - Back to Top - - */} - + + + + + + Privacy Policy + + + • + + + Terms of Service + + + + {/* + + Back to Top + + */} );