From 931c581c12a73bfa4f602396f44f57d9559f04bc Mon Sep 17 00:00:00 2001 From: sanjidarimi Date: Wed, 13 May 2026 22:23:18 +0600 Subject: [PATCH] feat:change all section color --- src/components/AboutSection.tsx | 15 +++-- src/components/BlogSection.tsx | 11 ++-- src/components/ContactModal.tsx | 2 +- src/components/ContactSection.tsx | 12 ++-- src/components/FAQSection.tsx | 17 ++---- src/components/HeroSection.tsx | 2 +- src/components/ProjectsSection.tsx | 8 +-- src/components/ServicesSection.tsx | 2 +- src/components/TeamSection.tsx | 9 ++- src/components/TestimonialsSection.tsx | 5 +- src/pages/Blog.tsx | 2 +- .../components/projects/EditProjectModal.tsx | 57 ++++++++++++------- .../components/projects/ManageProject.tsx | 48 ++++++++++------ 13 files changed, 104 insertions(+), 86 deletions(-) diff --git a/src/components/AboutSection.tsx b/src/components/AboutSection.tsx index e1dfad6..c421b01 100644 --- a/src/components/AboutSection.tsx +++ b/src/components/AboutSection.tsx @@ -1,6 +1,7 @@ import { motion, useInView } from "framer-motion"; import { Award, Rocket, Users, Zap } from "lucide-react"; import { useEffect, useRef, useState } from "react"; +import PremiumBadge from "./shared/PremiumBadge"; const stats = [ { icon: Zap, value: 10, suffix: "+", label: "Years Experience" }, @@ -41,7 +42,7 @@ function AnimatedCounter({ }, [isInView, value]); return ( - + {count} {suffix} @@ -66,11 +67,9 @@ export default function AboutSection() { animate={isInView ? { opacity: 1, x: 0 } : {}} transition={{ duration: 0.6 }} > - - About Us - +

- About TechZaa + About TechZaa

@@ -97,7 +96,7 @@ export default function AboutSection() { (value) => ( {value} @@ -119,10 +118,10 @@ export default function AboutSection() { initial={{ opacity: 0, y: 20 }} animate={isInView ? { opacity: 1, y: 0 } : {}} transition={{ duration: 0.5, delay: 0.3 + index * 0.1 }} - className="p-6 rounded-2xl bg-primary/5 hover:neon-glow transition-all text-center group" + className="p-6 rounded-2xl hover:border transition-all text-center group shadow-sm shadow-primary" > {/* Icon */} -

+
diff --git a/src/components/BlogSection.tsx b/src/components/BlogSection.tsx index 0b4a768..b2be957 100644 --- a/src/components/BlogSection.tsx +++ b/src/components/BlogSection.tsx @@ -3,6 +3,7 @@ import { useBlogs } from "@/hooks/queires/useBlogs"; import { motion } from "framer-motion"; import { ArrowRight, Calendar, Clock, User } from "lucide-react"; import { Link } from "react-router-dom"; +import PremiumBadge from "./shared/PremiumBadge"; const containerVariants = { hidden: { opacity: 0 }, @@ -41,11 +42,13 @@ export default function BlogSection() { transition={{ duration: 0.6 }} className="text-center mb-16" > - - Latest Insights - + +

- News & Blog + News &{" "} + + Blog +

Stay updated with the latest trends, insights, and thought diff --git a/src/components/ContactModal.tsx b/src/components/ContactModal.tsx index 93349bd..b2f4a6e 100644 --- a/src/components/ContactModal.tsx +++ b/src/components/ContactModal.tsx @@ -103,7 +103,7 @@ export default function ContactModal({ isOpen, onClose }: ContactModalProps) { delay: 0.2, }} > - +

Message Sent!

diff --git a/src/components/ContactSection.tsx b/src/components/ContactSection.tsx index abd338a..8a46d9b 100644 --- a/src/components/ContactSection.tsx +++ b/src/components/ContactSection.tsx @@ -4,6 +4,7 @@ import { Textarea } from "@/components/ui/textarea"; import { motion, useInView } from "framer-motion"; import { CheckCircle, Mail, MapPin, Phone, Send } from "lucide-react"; import { useRef, useState } from "react"; +import PremiumBadge from "./shared/PremiumBadge"; const contactInfo = [ { icon: Mail, label: "Email", value: "techzaa.alpha@gmail.com" }, @@ -91,11 +92,10 @@ export default function ContactSection() { transition={{ duration: 0.7 }} className="text-center mb-20" > - - LET'S CONNECT - -

- Get In Touch + + +

+ Get In Touch

Ready to bring your vision to life? Drop us a message. @@ -178,7 +178,7 @@ export default function ContactSection() { animate={{ opacity: 1, scale: 1 }} className="text-center py-16" > - +

Message Sent Successfully!

diff --git a/src/components/FAQSection.tsx b/src/components/FAQSection.tsx index 9b821a1..db257d3 100644 --- a/src/components/FAQSection.tsx +++ b/src/components/FAQSection.tsx @@ -5,8 +5,9 @@ import { AccordionTrigger, } from "@/components/ui/accordion"; import { motion, useInView, useScroll, useSpring } from "framer-motion"; -import { ArrowUpRight, ShieldQuestion, Sparkles } from "lucide-react"; +import { Sparkles } from "lucide-react"; import { useRef, useState } from "react"; +import PremiumBadge from "./shared/PremiumBadge"; const faqs = [ { @@ -61,18 +62,11 @@ export default function FAQSection() {
-
-
- -
- - Got Questions? - -
+

- Clear Answers {" "} - + Clear Answers{" "}{" "} + For Big Ideas.

@@ -139,7 +133,6 @@ export default function FAQSection() {
{faq.answer} -
diff --git a/src/components/HeroSection.tsx b/src/components/HeroSection.tsx index 1d2eaaf..7336d7a 100644 --- a/src/components/HeroSection.tsx +++ b/src/components/HeroSection.tsx @@ -143,7 +143,7 @@ export default function HeroSection() { initial={{ opacity: 0, y: 20 }} animate={{ opacity: 1, y: 0 }} transition={{ delay: 0.5 }} - className="block text-primary" + className="block text-transparent bg-clip-text bg-gradient-to-r from-primary to-accent-foreground" > with Technology diff --git a/src/components/ProjectsSection.tsx b/src/components/ProjectsSection.tsx index 381eed3..df8969f 100644 --- a/src/components/ProjectsSection.tsx +++ b/src/components/ProjectsSection.tsx @@ -5,6 +5,7 @@ import { ArrowRight } from "lucide-react"; import { useRef } from "react"; import { Link } from "react-router-dom"; import { ProjectCard } from "./ProjectCard"; +import PremiumBadge from "./shared/PremiumBadge"; const gradientColors = [ "from-neon-blue/90", @@ -49,12 +50,9 @@ export default function ProjectsSection() { transition={{ duration: 0.7 }} className="text-center mb-20" > - - OUR PORTFOLIO - +

- Featured{" "} - Projects + Featured Projects

Crafted with passion. Delivered with excellence. diff --git a/src/components/ServicesSection.tsx b/src/components/ServicesSection.tsx index df95872..d6450fb 100644 --- a/src/components/ServicesSection.tsx +++ b/src/components/ServicesSection.tsx @@ -50,7 +50,7 @@ export default function ServicesSection() { >

- What We Do + What We Do

We deliver comprehensive technology solutions that empower diff --git a/src/components/TeamSection.tsx b/src/components/TeamSection.tsx index bcfb91b..7889c19 100644 --- a/src/components/TeamSection.tsx +++ b/src/components/TeamSection.tsx @@ -6,6 +6,7 @@ import { Swiper, SwiperSlide } from "swiper/react"; import { useTeam } from "@/hooks/queires/useTeam"; import { Link } from "react-router-dom"; +import PremiumBadge from "./shared/PremiumBadge"; export default function TeamSection() { const { data: teamdata } = useTeam(); @@ -21,7 +22,7 @@ export default function TeamSection() { {/* Background decoration */}

-
+
@@ -32,11 +33,9 @@ export default function TeamSection() { transition={{ duration: 0.6 }} className="text-center mb-16" > - - The Experts - +

- Meet Our Team + Meet Our Team

A passionate team of innovators, designers, and developers. diff --git a/src/components/TestimonialsSection.tsx b/src/components/TestimonialsSection.tsx index 8d1203a..15752a4 100644 --- a/src/components/TestimonialsSection.tsx +++ b/src/components/TestimonialsSection.tsx @@ -41,8 +41,6 @@ export default function TestimonialsSection() { return (

- -
{/* Section Header */}

- What Our{" "} - Clients Say + What Our Clients Say

Don't just take our word for it - hear from the amazing companies diff --git a/src/pages/Blog.tsx b/src/pages/Blog.tsx index 6938bb1..8acacfc 100644 --- a/src/pages/Blog.tsx +++ b/src/pages/Blog.tsx @@ -79,7 +79,7 @@ export default function Blog() { className="text-center mb-12" >

- Our Blog + Our Blog

Insights, tutorials, and thought leadership from our team of diff --git a/src/pages/admins/components/projects/EditProjectModal.tsx b/src/pages/admins/components/projects/EditProjectModal.tsx index 09f5854..58ff9df 100644 --- a/src/pages/admins/components/projects/EditProjectModal.tsx +++ b/src/pages/admins/components/projects/EditProjectModal.tsx @@ -1,15 +1,15 @@ -import { useState } from "react"; import { T_projects } from "@/types/projects.type"; import { X } from "lucide-react"; +import { useState } from "react"; -export const EditProjectModal = ({ - project, - onClose, - onSave -}: { - project: T_projects; - onClose: () => void; - onSave: (data: Partial) => void +export const EditProjectModal = ({ + project, + onClose, + onSave, +}: { + project: T_projects; + onClose: () => void; + onSave: (data: Partial) => void; }) => { const [formData, setFormData] = useState({ name: project.name, @@ -25,38 +25,53 @@ export const EditProjectModal = ({ return (

- - -

Edit Project

- + +

Edit Project

+
- + setFormData({ ...formData, name: e.target.value })} + onChange={(e) => + setFormData({ ...formData, name: e.target.value }) + } />
- +