diff --git a/src/app/services/page.tsx b/src/app/services/page.tsx index 4ce5845..51bb847 100644 --- a/src/app/services/page.tsx +++ b/src/app/services/page.tsx @@ -6,7 +6,7 @@ import FeatureCardMedia from "@/components/sections/feature/FeatureCardMedia"; import ContactCenter from "@/components/sections/contact/ContactCenter"; import FooterBase from "@/components/sections/footer/FooterBase"; import Link from "next/link"; -import { Zap, Leaf, Droplets } from "lucide-react"; +import { Zap, Leaf, Droplets, MessageSquare } from "lucide-react"; export default function ServicesPage() { const navItems = [ @@ -19,8 +19,7 @@ export default function ServicesPage() { const footerColumns = [ { - title: "Company", - items: [ + title: "Company", items: [ { label: "About Us", href: "/about" }, { label: "Our Team", href: "#team" }, { label: "Careers", href: "#" }, @@ -28,8 +27,7 @@ export default function ServicesPage() { ], }, { - title: "Services", - items: [ + title: "Services", items: [ { label: "Solar Energy", href: "#services" }, { label: "Green Materials", href: "#services" }, { label: "Water Systems", href: "#services" }, @@ -37,8 +35,7 @@ export default function ServicesPage() { ], }, { - title: "Resources", - items: [ + title: "Resources", items: [ { label: "LEED Certification", href: "#" }, { label: "Sustainability Guide", href: "#" }, { label: "Case Studies", href: "/projects" }, @@ -83,52 +80,26 @@ export default function ServicesPage() { tagAnimation="slide-up" buttons={[ { - text: "Request Consultation", - href: "/contact", - }, + text: "Request Consultation", href: "/contact"}, ]} buttonAnimation="slide-up" features={[ { - id: "solar-integration", - title: "Solar Energy Systems", - description: "Custom solar panel installation and integration designed for maximum efficiency and aesthetic appeal. We handle everything from assessment to installation and maintenance.", - tag: "Renewable Energy", - imageSrc: "http://img.b2bpic.net/free-photo/foreman-businessman-solar-energy-station_1157-35691.jpg?_wi=2", - imageAlt: "Solar panel installation on modern home", - buttons: [ + id: "solar-integration", title: "Solar Energy Systems", description: "Custom solar panel installation and integration designed for maximum efficiency and aesthetic appeal. We handle everything from assessment to installation and maintenance.", tag: "Renewable Energy", imageSrc: "http://img.b2bpic.net/free-photo/foreman-businessman-solar-energy-station_1157-35691.jpg", imageAlt: "Solar panel installation on modern home", buttons: [ { - text: "Learn More", - href: "#services", - }, + text: "Learn More", href: "#services"}, ], }, { - id: "green-materials", - title: "Sustainable Materials Selection", - description: "Sourcing and installation of eco-certified building materials including recycled content, low-VOC products, and sustainably harvested timber.", - tag: "Materials", - imageSrc: "http://img.b2bpic.net/free-photo/wooden-textured-background_53876-33854.jpg?_wi=2", - imageAlt: "Eco-friendly building materials", - buttons: [ + id: "green-materials", title: "Sustainable Materials Selection", description: "Sourcing and installation of eco-certified building materials including recycled content, low-VOC products, and sustainably harvested timber.", tag: "Materials", imageSrc: "http://img.b2bpic.net/free-photo/wooden-textured-background_53876-33854.jpg", imageAlt: "Eco-friendly building materials", buttons: [ { - text: "Learn More", - href: "#services", - }, + text: "Learn More", href: "#services"}, ], }, { - id: "water-conservation", - title: "Water Conservation Systems", - description: "Advanced water management including rainwater harvesting, greywater recycling, and efficient plumbing fixtures to reduce consumption by up to 40%.", - tag: "Conservation", - imageSrc: "http://img.b2bpic.net/free-photo/young-woman-taking-care-her-plants-greenhouse_23-2149037282.jpg?_wi=2", - imageAlt: "Water conservation and efficiency systems", - buttons: [ + id: "water-conservation", title: "Water Conservation Systems", description: "Advanced water management including rainwater harvesting, greywater recycling, and efficient plumbing fixtures to reduce consumption by up to 40%.", tag: "Conservation", imageSrc: "http://img.b2bpic.net/free-photo/young-woman-taking-care-her-plants-greenhouse_23-2149037282.jpg", imageAlt: "Water conservation and efficiency systems", buttons: [ { - text: "Learn More", - href: "#services", - }, + text: "Learn More", href: "#services"}, ], }, ]} @@ -147,8 +118,7 @@ export default function ServicesPage() { title="Ready to Build Green?" description="Join the sustainable construction revolution. Contact us today for a free consultation and project assessment. Let's create something amazing together." background={{ - variant: "rotated-rays-animated-grid", - }} + variant: "rotated-rays-animated-grid"}} useInvertedBackground={false} inputPlaceholder="your@email.com" buttonText="Request Consultation" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..81d19a7 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,46 @@ -"use client"; - -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; +import React from 'react'; interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; + text: string; className?: string; + fontSize?: number; + fontWeight?: number | string; + letterSpacing?: number; + fill?: string; + textAnchor?: 'start' | 'middle' | 'end'; + dominantBaseline?: 'auto' | 'baseline' | 'middle' | 'hanging' | 'text-top' | 'text-bottom' | 'central' | 'mathematical' | 'ideographic'; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text, + className = '', + fontSize = 48, + fontWeight = 'bold', + letterSpacing = 2, + fill = 'currentColor', + textAnchor = 'start', + dominantBaseline = 'middle', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file