From 48e65424965c2e29c034bada492ee3936ae50582 Mon Sep 17 00:00:00 2001 From: akash Date: Fri, 6 Mar 2026 23:38:27 +0530 Subject: [PATCH] updates added --- src/app/globals.css | 4 +- .../home/home-1/TestimonialsSection.tsx | 2 +- src/components/layout/Footer1.tsx | 255 +++++++++++------- .../Testimonial.tsx | 2 +- .../ServiceDetails.tsx | 62 ++--- .../web-development-service/Testimonial.tsx | 2 +- src/utils/data.ts | 2 +- 7 files changed, 191 insertions(+), 138 deletions(-) diff --git a/src/app/globals.css b/src/app/globals.css index a88b4d6..b6c1f50 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -3451,7 +3451,7 @@ body { transform: translateX(-50%); width: 14px; height: 14px; - background: #db2777; + background: #3779b9; /* Pin head color */ border-radius: 50%; box-shadow: @@ -12748,7 +12748,7 @@ body { .contact-one__form .tolak-btn:hover, .contact-one__form button:hover, .about-2-btn-area a:hover { - background-position: right center !important; + background-position: left center !important; color: #fff !important; opacity: 1 !important; } diff --git a/src/components/home/home-1/TestimonialsSection.tsx b/src/components/home/home-1/TestimonialsSection.tsx index 8868815..d0dbe34 100644 --- a/src/components/home/home-1/TestimonialsSection.tsx +++ b/src/components/home/home-1/TestimonialsSection.tsx @@ -150,7 +150,7 @@ const TestimonialsSection = () => {
( -
-
-
+const Footer1 = () => { + const [email, setEmail] = useState(""); + const [status, setStatus] = useState({ show: false, type: "", message: "" }); + + const handleSubmit = async (e: React.FormEvent) => { + e.preventDefault(); + if (!email) return; + + setStatus({ show: false, type: "", message: "" }); + + const emailData = { + email: email, + message: `Newsletter Subscription Request from: ${email}`, + to: "info@metatroncubesolutions.com", + senderName: "Metatroncube Footer Newsletter", + }; + + try { + const res = await axios.post("https://mailserver.metatronnest.com/send", emailData); + setStatus({ + show: true, + type: "success", + message: res?.data?.message || "Subscribed successfully!", + }); + setEmail(""); + } catch (error) { + console.error("❌ Newsletter error:", error); + setStatus({ + show: true, + type: "danger", + message: "Failed to subscribe. Please try again.", + }); + } + }; + + return ( +
+
+
+
+
+
+
+
+ footer logo +
+

Metatroncube Software Solutions: Where innovation meets execution to elevate your digital presence. Partner with us for bespoke web and app development that powers your business growth.

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+

Quick Links

+
    +
  • Home
  • +
  • About
  • +
  • Careers
  • +
  • Portfolio
  • +
  • Faq
  • +
  • Blog
  • +
  • Contact
  • +
+
+
+
+
+

Our Services

+
    +
  • Website Development
  • +
  • Mobile Application Development
  • +
  • Graphic Designing
  • +
  • UI / UX Designing
  • +
  • SEO & Content Writing
  • +
  • Digital Marketing
  • +
+
+
+
+
+

Newsletter

+

Subscribe our newsletter to get our latest update & news

+
+ {status.show && ( +
+ {status.message} +
+ )} +
+ setEmail(e.target.value)} + /> + +
+
+
+
+
+
+
-
-
-
-
- footer logo -
-

Metatroncube Software Solutions: Where innovation meets execution to elevate your digital presence. Partner with us for bespoke web and app development that powers your business growth.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
+
+
+ Copyright {new Date().getFullYear()} © by{" "} + Metatroncube Software Solutions. + All Rights Reserved. +
-
-
-

Quick Links

-
    -
  • Home
  • -
  • About
  • -
  • Careers
  • -
  • Portfolio
  • -
  • Faq
  • -
  • Blog
  • -
  • Contact
  • -
-
-
-
-
-

Our Services

-
    -
  • Website Development
  • -
  • Mobile Application Development
  • -
  • Graphic Designing
  • -
  • UI / UX Designing
  • -
  • SEO & Content Writing
  • -
  • Digital Marketing
  • -
-
-
-
-
-

Newsletter

-

Subscribe our newsletter to get our latest update & news

-
-
- - -
-
-
+
+ Accessibility Statement + / + Privacy Policy
-
-
-
- Copyright {new Date().getFullYear()} © by{" "} - Metatroncube Software Solutions. - All Rights Reserved. - -
-
- Accessibility Statement - Privacy Policy -
-
-
-
-
-); +
+ ); +}; export default Footer1; diff --git a/src/components/mobile-app-development-service/Testimonial.tsx b/src/components/mobile-app-development-service/Testimonial.tsx index 1f0db39..84bccb4 100644 --- a/src/components/mobile-app-development-service/Testimonial.tsx +++ b/src/components/mobile-app-development-service/Testimonial.tsx @@ -207,7 +207,7 @@ const Testimonial = () => {
= ({ service }) => { /> )} - {service.faq && service.faq.length > 0 && ( -
-
-
-
Service FAQ
-

Frequently Asked Questions

-
-
- {service.faq.map((item, index) => ( -
-
toggleAccordion(index)}> -
-
- -
-

- {item.question} - -

-
-
-
-

-

-
-
- ))} -
-
- )}
+ + {/* Full-width FAQ section */} + {service.faq && service.faq.length > 0 && ( +
+
+
+
Service FAQ
+

Frequently Asked Questions

+
+
+ {service.faq.map((item, index) => ( +
+
toggleAccordion(index)}> +
+
+ +
+

+ {item.question} + +

+
+
+
+

+

+
+
+ ))} +
+
+ )} diff --git a/src/components/web-development-service/Testimonial.tsx b/src/components/web-development-service/Testimonial.tsx index 6886cac..8b360dd 100644 --- a/src/components/web-development-service/Testimonial.tsx +++ b/src/components/web-development-service/Testimonial.tsx @@ -206,7 +206,7 @@ const Testimonial = () => {
- +

Web Consultant