From 0772f8d82732f186fe14dd1f75cebbb77ae5ea25 Mon Sep 17 00:00:00 2001 From: sanjidarimi Date: Wed, 13 May 2026 20:35:59 +0600 Subject: [PATCH] feat:change service design --- src/components/ServicesSection.tsx | 107 ++++++++++++------------- src/components/shared/PremiumBadge.tsx | 39 +++++++++ 2 files changed, 90 insertions(+), 56 deletions(-) create mode 100644 src/components/shared/PremiumBadge.tsx diff --git a/src/components/ServicesSection.tsx b/src/components/ServicesSection.tsx index a1b2a98..df95872 100644 --- a/src/components/ServicesSection.tsx +++ b/src/components/ServicesSection.tsx @@ -1,6 +1,7 @@ import { motion, useInView } from "framer-motion"; import { Brain, Cloud, Globe, Smartphone } from "lucide-react"; import { useRef } from "react"; +import PremiumBadge from "./shared/PremiumBadge"; const services = [ { @@ -39,67 +40,61 @@ export default function ServicesSection() { return (
- -
- {/* Section Header */} - - - Our Expertise - -

- What We Do -

-

- We deliver comprehensive technology solutions that empower - businesses to thrive in the digital age. -

-
+
+ + +

+ What We Do +

+

+ We deliver comprehensive technology solutions that empower + businesses to thrive in the digital age. +

+
- {/* Services Grid */} -
- {services.map((service, index) => ( - - {/* Card */} -
- {/* Glow effect on hover */} - {/*
-
-
*/} - - {/* Icon */} +
+ {services.map((service, index) => { + return ( - +
+
+ +
+
+ +
+ + + + +

+ {service.title} +

+

+ {service.description} +

+ +
+
- - {/* Content */} -

- {service.title} -

-

- {service.description} -

- - {/* Decorative corner */} -
-
- - ))} + ); + })} +
diff --git a/src/components/shared/PremiumBadge.tsx b/src/components/shared/PremiumBadge.tsx new file mode 100644 index 0000000..21923c0 --- /dev/null +++ b/src/components/shared/PremiumBadge.tsx @@ -0,0 +1,39 @@ +import { motion } from "framer-motion"; + +const PremiumBadge = ({ text }) => { + return ( + + + + {/* 2. Inner Glass Container */} +
+ {/* The Leading "Status" Indicator */} +
+
+
+
+ + {/* Text with Dynamic Themed Gradient */} + + {text} + +
+ + ); +}; + +export default PremiumBadge;