Merge version_1 into main #2
@@ -19,7 +19,7 @@ export default function LandingPage() {
|
||||
borderRadius="pill"
|
||||
contentWidth="compact"
|
||||
sizing="mediumLargeSizeLargeTitles"
|
||||
background="floatingGradient"
|
||||
background="circleGradient"
|
||||
cardStyle="glass-depth"
|
||||
primaryButtonStyle="shadow"
|
||||
secondaryButtonStyle="layered"
|
||||
@@ -46,7 +46,7 @@ export default function LandingPage() {
|
||||
tag="Dallas & Fort Worth"
|
||||
tagIcon={MapPin}
|
||||
tagAnimation="slide-up"
|
||||
background={{ variant: 'floatingGradient' }}
|
||||
background={{ variant: 'glowing-orb' }}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/barefooted-young-woman-little-girl-standing-back-back-front-flowerbed-outdoor-full-length-portrait-stylish-mother-daughter-wearing-similar-outfit-summer-park_197531-3983.jpg"
|
||||
imageAlt="Professional fence installation by Pillar & Post"
|
||||
imagePosition="right"
|
||||
@@ -58,28 +58,28 @@ export default function LandingPage() {
|
||||
handle: 'Est. 2010 - Dallas, TX',
|
||||
testimonial: 'Exceptional quality fencing and outdoor structures that stand the test of time.',
|
||||
rating: 5,
|
||||
imageSrc: 'http://img.b2bpic.net/free-vector/flat-design-free-trial-labels-stamps-design_23-2149354106.jpg?_wi=1'
|
||||
imageSrc: 'http://img.b2bpic.net/free-vector/flat-design-free-trial-labels-stamps-design_23-2149354106.jpg'
|
||||
},
|
||||
{
|
||||
name: 'Professional Service',
|
||||
handle: 'Fast Estimates Available',
|
||||
testimonial: 'From consultation to completion, experience premium service every step of the way.',
|
||||
rating: 5,
|
||||
imageSrc: 'http://img.b2bpic.net/free-vector/flat-design-free-trial-labels-stamps-design_23-2149354106.jpg?_wi=2'
|
||||
imageSrc: 'http://img.b2bpic.net/free-vector/flat-design-free-trial-labels-stamps-design_23-2149354106.jpg'
|
||||
},
|
||||
{
|
||||
name: 'Expert Installation',
|
||||
handle: 'Metroplex Coverage',
|
||||
testimonial: 'Family-owned expertise bringing premium outdoor living to your home.',
|
||||
rating: 5,
|
||||
imageSrc: 'http://img.b2bpic.net/free-vector/flat-design-free-trial-labels-stamps-design_23-2149354106.jpg?_wi=3'
|
||||
imageSrc: 'http://img.b2bpic.net/free-vector/flat-design-free-trial-labels-stamps-design_23-2149354106.jpg'
|
||||
},
|
||||
{
|
||||
name: 'Trusted Local Team',
|
||||
handle: 'Integrity & Quality',
|
||||
testimonial: 'Building relationships that last as long as our exceptional craftsmanship.',
|
||||
rating: 5,
|
||||
imageSrc: 'http://img.b2bpic.net/free-vector/flat-design-free-trial-labels-stamps-design_23-2149354106.jpg?_wi=4'
|
||||
imageSrc: 'http://img.b2bpic.net/free-vector/flat-design-free-trial-labels-stamps-design_23-2149354106.jpg'
|
||||
}
|
||||
]}
|
||||
testimonialRotationInterval={5000}
|
||||
@@ -194,7 +194,7 @@ export default function LandingPage() {
|
||||
{
|
||||
id: '1',
|
||||
value: '1000+',
|
||||
description: 'Satisfied homeowners who\'ve transformed their outdoor spaces with our premium craftsmanship and integrity.'
|
||||
description: "Satisfied homeowners who've transformed their outdoor spaces with our premium craftsmanship and integrity."
|
||||
},
|
||||
{
|
||||
id: '2',
|
||||
@@ -214,7 +214,7 @@ export default function LandingPage() {
|
||||
title="Schedule Your Free On-Site Consultation"
|
||||
description="Stop waiting. Call us today at (214) 724-0826 or submit your information to secure your rapid quote from the experts at Pillar and Post Texas."
|
||||
useInvertedBackground={true}
|
||||
background={{ variant: 'floatingGradient' }}
|
||||
background={{ variant: 'sparkles-gradient' }}
|
||||
buttons={[
|
||||
{ text: 'Schedule Free Estimate', href: 'contact-form' },
|
||||
{ text: 'Call Now', href: 'tel:(214)724-0826' }
|
||||
|
||||
@@ -1,51 +1,30 @@
|
||||
"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;
|
||||
}
|
||||
|
||||
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 = '' }) => {
|
||||
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-full h-auto ${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"
|
||||
}}
|
||||
x="50%"
|
||||
y="50%"
|
||||
dominantBaseline="middle"
|
||||
textAnchor="middle"
|
||||
fontSize="24"
|
||||
fontWeight="bold"
|
||||
fill="currentColor"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
export default SvgTextLogo;
|
||||
Reference in New Issue
Block a user