Merge version_1 into main #2

Merged
bender merged 3 commits from version_1 into main 2026-03-11 04:24:57 +00:00
3 changed files with 64 additions and 130 deletions

View File

@@ -20,8 +20,7 @@ export default function ContactPage() {
const footerColumns = [
{
title: "Company",
items: [
title: "Company", items: [
{ label: "About Us", href: "/about" },
{ label: "Our Services", href: "/services" },
{ label: "Portfolio", href: "/portfolio" },
@@ -29,8 +28,7 @@ export default function ContactPage() {
],
},
{
title: "Services",
items: [
title: "Services", items: [
{ label: "Roof Waterproofing", href: "/services" },
{ label: "Basement Waterproofing", href: "/services" },
{ label: "Concrete Repair", href: "/services" },
@@ -38,8 +36,7 @@ export default function ContactPage() {
],
},
{
title: "Contact",
items: [
title: "Contact", items: [
{ label: "Request a Quote", href: "/contact" },
{ label: "Emergency Support", href: "/contact" },
{ label: "Privacy Policy", href: "#" },
@@ -55,7 +52,7 @@ export default function ContactPage() {
borderRadius="pill"
contentWidth="small"
sizing="large"
background="aurora"
background="circleGradient"
cardStyle="outline"
primaryButtonStyle="radial-glow"
secondaryButtonStyle="solid"
@@ -66,9 +63,7 @@ export default function ContactPage() {
brandName="PFC Group"
navItems={navigationItems}
button={{
text: "Request a Quote",
href: "/contact",
}}
text: "Request a Quote", href: "/contact"}}
animateOnLoad={true}
/>
</div>
@@ -77,7 +72,7 @@ export default function ContactPage() {
<HeroSplitKpi
title="Get in Touch with PFC Group"
description="Have a weatherproofing or concrete repair project in mind? Our expert team is ready to help. Contact us today for a free consultation and detailed quote on your structural protection needs."
background={{ variant: "aurora" }}
background={{ variant: "glowing-orb" }}
kpis={[
{ value: "24/7", label: "Emergency Support" },
{ value: "500+", label: "Completed Projects" },
@@ -92,7 +87,7 @@ export default function ContactPage() {
{ text: "View Our Services", href: "/services" },
]}
buttonAnimation="slide-up"
imageSrc="http://img.b2bpic.net/free-photo/railroad-tracks_1359-127.jpg?_wi=2"
imageSrc="http://img.b2bpic.net/free-photo/railroad-tracks_1359-127.jpg"
imageAlt="Contact PFC Group for professional weatherproofing services"
mediaAnimation="slide-up"
imagePosition="right"
@@ -104,10 +99,7 @@ export default function ContactPage() {
heading={[
{ type: "text", content: "Ready to Protect Your" },
{
type: "image",
src: "http://img.b2bpic.net/free-vector/ski-badge-collection_23-2147726082.jpg",
alt: "PFC Group Logo",
},
type: "image", src: "http://img.b2bpic.net/free-vector/ski-badge-collection_23-2147726082.jpg", alt: "PFC Group Logo"},
{ type: "text", content: "Structures?" },
]}
useInvertedBackground={false}
@@ -138,7 +130,7 @@ export default function ContactPage() {
<div id="footer" data-section="footer">
<FooterMedia
imageSrc="http://img.b2bpic.net/free-photo/businessman-discussing-blueprint-with-architects_107420-74344.jpg?_wi=5"
imageSrc="http://img.b2bpic.net/free-photo/businessman-discussing-blueprint-with-architects_107420-74344.jpg"
imageAlt="Professional construction team working on site"
logoText="PFC Group"
copyrightText="© 2025 PFC Group. All rights reserved. Protecting Structures with Excellence."

View File

@@ -20,7 +20,7 @@ export default function HomePage() {
borderRadius="pill"
contentWidth="small"
sizing="large"
background="aurora"
background="circleGradient"
cardStyle="outline"
primaryButtonStyle="radial-glow"
secondaryButtonStyle="solid"
@@ -37,9 +37,7 @@ export default function HomePage() {
{ name: "Contact", id: "/contact" },
]}
button={{
text: "Request a Quote",
href: "/contact",
}}
text: "Request a Quote", href: "/contact"}}
animateOnLoad={true}
/>
</div>
@@ -48,7 +46,7 @@ export default function HomePage() {
<HeroSplitKpi
title="Protecting Structures with Advanced Weatherproofing & Concrete Repair Solutions"
description="PFC Group delivers comprehensive weatherproofing and concrete repair services with engineering excellence. Trusted by commercial and residential clients nationwide for reliable, cost-effective structural protection."
background={{ variant: "aurora" }}
background={{ variant: "glowing-orb" }}
kpis={[
{ value: "500+", label: "Projects Completed" },
{ value: "25+", label: "Years Experience" },
@@ -63,7 +61,7 @@ export default function HomePage() {
{ text: "View Our Work", href: "/portfolio" },
]}
buttonAnimation="slide-up"
imageSrc="http://img.b2bpic.net/free-photo/railroad-tracks_1359-127.jpg?_wi=1"
imageSrc="http://img.b2bpic.net/free-photo/railroad-tracks_1359-127.jpg"
imageAlt="Professional weatherproofing and concrete repair work"
mediaAnimation="slide-up"
imagePosition="right"
@@ -107,75 +105,33 @@ export default function HomePage() {
<FeatureCardTwelve
features={[
{
id: "roof-waterproofing",
label: "Roof Waterproofing",
title: "Advanced Roof Protection & Leak Prevention",
items: [
"Membrane installation and sealing",
"Flashing repairs and upgrades",
"Preventive coating systems",
"Annual inspections and maintenance",
],
id: "roof-waterproofing", label: "Roof Waterproofing", title: "Advanced Roof Protection & Leak Prevention", items: [
"Membrane installation and sealing", "Flashing repairs and upgrades", "Preventive coating systems", "Annual inspections and maintenance"],
buttons: [{ text: "Learn More", href: "/services" }],
},
{
id: "basement-waterproofing",
label: "Basement Waterproofing",
title: "Complete Basement Moisture Control Solutions",
items: [
"Interior and exterior waterproofing",
"Sump pump installation",
"Crack injection and sealing",
"Drainage system optimization",
],
id: "basement-waterproofing", label: "Basement Waterproofing", title: "Complete Basement Moisture Control Solutions", items: [
"Interior and exterior waterproofing", "Sump pump installation", "Crack injection and sealing", "Drainage system optimization"],
buttons: [{ text: "Learn More", href: "/services" }],
},
{
id: "concrete-repair",
label: "Concrete Repair",
title: "Professional Concrete Crack & Damage Repair",
items: [
"Structural crack analysis",
"Epoxy injection and sealing",
"Concrete resurfacing",
"Foundation stabilization",
],
id: "concrete-repair", label: "Concrete Repair", title: "Professional Concrete Crack & Damage Repair", items: [
"Structural crack analysis", "Epoxy injection and sealing", "Concrete resurfacing", "Foundation stabilization"],
buttons: [{ text: "Learn More", href: "/services" }],
},
{
id: "structural-strengthening",
label: "Structural Strengthening",
title: "Advanced Structural Reinforcement & Upgrades",
items: [
"Load-bearing wall reinforcement",
"Carbon fiber strengthening",
"Beam and column repairs",
"Seismic upgrade solutions",
],
id: "structural-strengthening", label: "Structural Strengthening", title: "Advanced Structural Reinforcement & Upgrades", items: [
"Load-bearing wall reinforcement", "Carbon fiber strengthening", "Beam and column repairs", "Seismic upgrade solutions"],
buttons: [{ text: "Learn More", href: "/services" }],
},
{
id: "protective-coatings",
label: "Protective Coatings",
title: "Durable Protective Coatings for Long-Term Protection",
items: [
"Elastomeric coatings",
"Waterproof membranes",
"Anti-corrosion treatments",
"UV-resistant finishes",
],
id: "protective-coatings", label: "Protective Coatings", title: "Durable Protective Coatings for Long-Term Protection", items: [
"Elastomeric coatings", "Waterproof membranes", "Anti-corrosion treatments", "UV-resistant finishes"],
buttons: [{ text: "Learn More", href: "/services" }],
},
{
id: "leak-sealing",
label: "Leak Sealing",
title: "Comprehensive Leak Detection & Sealing Services",
items: [
"Thermal imaging leak detection",
"Emergency leak response",
"Sealant application and curing",
"Warranty on all repairs",
],
id: "leak-sealing", label: "Leak Sealing", title: "Comprehensive Leak Detection & Sealing Services", items: [
"Thermal imaging leak detection", "Emergency leak response", "Sealant application and curing", "Warranty on all repairs"],
buttons: [{ text: "Learn More", href: "/services" }],
},
]}
@@ -217,15 +173,7 @@ export default function HomePage() {
tagIcon={Building2}
tagAnimation="slide-up"
names={[
"Brookfield Properties",
"Cushman & Wakefield",
"CBRE Group",
"Jones Lang LaSalle",
"Colliers International",
"JLL Workplace Solutions",
"Hines Real Estate",
"Paramount Realty",
]}
"Brookfield Properties", "Cushman & Wakefield", "CBRE Group", "Jones Lang LaSalle", "Colliers International", "JLL Workplace Solutions", "Hines Real Estate", "Paramount Realty"]}
textboxLayout="default"
useInvertedBackground={false}
speed={40}
@@ -235,14 +183,13 @@ export default function HomePage() {
<div id="footer" data-section="footer">
<FooterMedia
imageSrc="http://img.b2bpic.net/free-photo/businessman-discussing-blueprint-with-architects_107420-74344.jpg?_wi=1"
imageSrc="http://img.b2bpic.net/free-photo/businessman-discussing-blueprint-with-architects_107420-74344.jpg"
imageAlt="Professional construction team at work"
logoText="PFC Group"
copyrightText="© 2025 PFC Group. All rights reserved. Protecting Structures with Excellence."
columns={[
{
title: "Company",
items: [
title: "Company", items: [
{ label: "About Us", href: "/about" },
{ label: "Our Services", href: "/services" },
{ label: "Portfolio", href: "/portfolio" },
@@ -250,8 +197,7 @@ export default function HomePage() {
],
},
{
title: "Services",
items: [
title: "Services", items: [
{ label: "Roof Waterproofing", href: "/services" },
{ label: "Basement Waterproofing", href: "/services" },
{ label: "Concrete Repair", href: "/services" },
@@ -259,8 +205,7 @@ export default function HomePage() {
],
},
{
title: "Contact",
items: [
title: "Contact", items: [
{ label: "Request a Quote", href: "/contact" },
{ label: "Emergency Support", href: "/contact" },
{ label: "Privacy Policy", href: "#" },

View File

@@ -1,51 +1,48 @@
"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;
textClassName?: string;
pathClassName?: string;
}
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
export const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
text,
className = '',
textClassName = '',
pathClassName = '',
}) => {
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 200 60"
className={`w-32 h-auto ${className}`}
aria-label={text}
>
<defs>
<linearGradient
id="textGradient"
x1="0%"
y1="0%"
x2="100%"
y2="0%"
>
<stop offset="0%" stopColor="#3b82f6" />
<stop offset="100%" stopColor="#8b5cf6" />
</linearGradient>
</defs>
<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"
}}
x="50%"
y="50%"
textAnchor="middle"
dominantBaseline="central"
className={`text-2xl font-bold fill-current ${textClassName}`}
fill="url(#textGradient)"
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;