Merge version_1 into main #2
@@ -19,7 +19,7 @@ export default function LandingPage() {
|
||||
borderRadius="pill"
|
||||
contentWidth="mediumLarge"
|
||||
sizing="largeSmallSizeMediumTitles"
|
||||
background="aurora"
|
||||
background="circleGradient"
|
||||
cardStyle="subtle-shadow"
|
||||
primaryButtonStyle="gradient"
|
||||
secondaryButtonStyle="radial-glow"
|
||||
@@ -44,18 +44,18 @@ export default function LandingPage() {
|
||||
<HeroBillboardRotatedCarousel
|
||||
title="Roofing Done Right the First Time"
|
||||
description="Guys Roofing at Lake County delivers dependable craftsmanship, honest service, and roofing solutions homeowners can trust."
|
||||
background={{ variant: "aurora" }}
|
||||
background={{ variant: "plain" }}
|
||||
buttons={[
|
||||
{ text: "Get a Free Roofing Estimate", href: "#cta" },
|
||||
{ text: "Call Now", href: "tel:+1-000-000-0000" }
|
||||
]}
|
||||
carouselItems={[
|
||||
{ id: "1", imageSrc: "http://img.b2bpic.net/free-photo/construction-worker-using-hammer-job-site_23-2150530694.jpg", imageAlt: "Professional roof installation" },
|
||||
{ id: "2", imageSrc: "http://img.b2bpic.net/free-photo/contrasted-light-dark-wall-corners_23-2148744305.jpg?_wi=1", imageAlt: "Quality roofing materials" },
|
||||
{ id: "3", imageSrc: "http://img.b2bpic.net/free-photo/construction-worker_329181-2850.jpg?_wi=1", imageAlt: "Roof replacement project" },
|
||||
{ id: "2", imageSrc: "http://img.b2bpic.net/free-photo/contrasted-light-dark-wall-corners_23-2148744305.jpg", imageAlt: "Quality roofing materials" },
|
||||
{ id: "3", imageSrc: "http://img.b2bpic.net/free-photo/construction-worker_329181-2850.jpg", imageAlt: "Roof replacement project" },
|
||||
{ id: "4", imageSrc: "http://img.b2bpic.net/free-photo/worker-cuts-steel-profiles-drywall-close-up-selective-focus-preparing-installation-ceiling-profile-system-frame-renovation-repair_166373-1903.jpg", imageAlt: "Professional roof repair" },
|
||||
{ id: "5", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-men-looking-tablet_23-2148921387.jpg?_wi=1", imageAlt: "Expert roofing team" },
|
||||
{ id: "6", imageSrc: "http://img.b2bpic.net/free-photo/metallic-iron-textured-abstract-backdrop_23-2148139853.jpg?_wi=1", imageAlt: "Finished quality roof" }
|
||||
{ id: "5", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-men-looking-tablet_23-2148921387.jpg", imageAlt: "Expert roofing team" },
|
||||
{ id: "6", imageSrc: "http://img.b2bpic.net/free-photo/metallic-iron-textured-abstract-backdrop_23-2148139853.jpg", imageAlt: "Finished quality roof" }
|
||||
]}
|
||||
autoPlay={true}
|
||||
autoPlayInterval={4000}
|
||||
@@ -70,10 +70,11 @@ export default function LandingPage() {
|
||||
{ value: "15+", title: "Years Experience" },
|
||||
{ value: "500+", title: "Satisfied Homeowners" }
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/contrasted-light-dark-wall-corners_23-2148744305.jpg?_wi=2"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/contrasted-light-dark-wall-corners_23-2148744305.jpg"
|
||||
imageAlt="Quality roofing craftsmanship"
|
||||
useInvertedBackground={false}
|
||||
mediaAnimation="slide-up"
|
||||
metricsAnimation="slide-up"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -89,7 +90,7 @@ export default function LandingPage() {
|
||||
{ id: "5", title: "Shingle Roofing", content: "Premium asphalt and architectural shingle installations. We use top-quality materials that offer superior protection, durability, and aesthetic appeal." },
|
||||
{ id: "6", title: "Residential Roofing", content: "Complete residential roofing services tailored to your home. From maintenance to full installations, we protect what matters most to your family." }
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/construction-worker_329181-2850.jpg?_wi=2"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/construction-worker_329181-2850.jpg"
|
||||
imageAlt="Professional roofing services"
|
||||
useInvertedBackground={true}
|
||||
mediaAnimation="opacity"
|
||||
@@ -109,7 +110,7 @@ export default function LandingPage() {
|
||||
{ id: "5", title: "Work Done Right the First Time", content: "Our commitment is to excellence. We take pride in craftsmanship and stand behind every project with comprehensive warranties and guarantees." },
|
||||
{ id: "6", title: "Local Lake County Experts", content: "We understand the local weather, building codes, and specific roofing challenges of Lake County. Your roof is built for this climate." }
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/medium-shot-men-looking-tablet_23-2148921387.jpg?_wi=2"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/medium-shot-men-looking-tablet_23-2148921387.jpg"
|
||||
imageAlt="Expert roofing team"
|
||||
useInvertedBackground={false}
|
||||
mediaAnimation="blur-reveal"
|
||||
@@ -159,9 +160,9 @@ export default function LandingPage() {
|
||||
tagIcon={Shield}
|
||||
title="Protect Your Home with a Roof You Can Trust"
|
||||
description="Get your free roofing estimate from Guys Roofing at Lake County today. Our experts will assess your roof and provide honest recommendations tailored to your needs."
|
||||
background={{ variant: "aurora" }}
|
||||
background={{ variant: "plain" }}
|
||||
useInvertedBackground={true}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/metallic-iron-textured-abstract-backdrop_23-2148139853.jpg?_wi=2"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/metallic-iron-textured-abstract-backdrop_23-2148139853.jpg"
|
||||
imageAlt="Quality finished roof"
|
||||
mediaPosition="right"
|
||||
mediaAnimation="slide-up"
|
||||
|
||||
@@ -1,51 +1,42 @@
|
||||
"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;
|
||||
fontSize?: number;
|
||||
fontFamily?: string;
|
||||
fontWeight?: number;
|
||||
fill?: 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,
|
||||
fontSize = 48,
|
||||
fontFamily = 'Arial, sans-serif',
|
||||
fontWeight = 700,
|
||||
fill = 'currentColor',
|
||||
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 400 100"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
className={className}
|
||||
>
|
||||
<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="middle"
|
||||
fontSize={fontSize}
|
||||
fontFamily={fontFamily}
|
||||
fontWeight={fontWeight}
|
||||
fill={fill}
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
};
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user