Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-11 01:39:49 +00:00
2 changed files with 43 additions and 78 deletions

View File

@@ -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"

View File

@@ -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<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
text,
className = '',
fontSize = 48,
fontWeight = 'bold',
letterSpacing = 2,
fill = 'currentColor',
textAnchor = 'start',
dominantBaseline = 'middle',
}) => {
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
viewBox={`0 0 ${text.length * (fontSize * 0.6)} ${fontSize * 1.2}`}
className={className}
xmlns="http://www.w3.org/2000/svg"
>
<text
ref={textRef}
x="0"
y={verticalAlign === "center" ? "50%" : "0"}
className="font-bold fill-current"
style={{
fontSize: "20px",
letterSpacing: "-0.02em",
dominantBaseline: verticalAlign === "center" ? "middle" : "text-before-edge"
}}
y="50%"
fontSize={fontSize}
fontWeight={fontWeight}
letterSpacing={letterSpacing}
fill={fill}
textAnchor={textAnchor}
dominantBaseline={dominantBaseline}
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;