Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-11 15:59:26 +00:00
2 changed files with 33 additions and 48 deletions

View File

@@ -19,7 +19,7 @@ export default function LandingPage() {
borderRadius="pill"
contentWidth="small"
sizing="large"
background="noise"
background="circleGradient"
cardStyle="soft-shadow"
primaryButtonStyle="shadow"
secondaryButtonStyle="glass"
@@ -46,7 +46,7 @@ export default function LandingPage() {
description="15+ years of honest pricing, expert repairs, and loyal customers. From tire repairs to full mechanical work, we're the only garage you'll ever need."
tag="⭐⭐⭐⭐⭐ 5-Star Rated"
tagAnimation="slide-up"
background={{ variant: "noise" }}
background={{ variant: "glowing-orb" }}
buttons={[
{ text: "📞 Call Now", href: "tel:+15143429311" },
{ text: "📍 Get Directions", href: "https://maps.google.com/?q=7333+Ave+Harley+Montreal+Quebec+H4B+1L5" }
@@ -176,24 +176,21 @@ export default function LandingPage() {
{
id: "location", badge: "📍 Location", price: "7333 Ave Harley", subtitle: "Montreal, Quebec H4B 1L5", buttons: [
{ text: "Get Directions", href: "https://maps.google.com/?q=7333+Ave+Harley+Montreal+Quebec+H4B+1L5" }
],
features: [
], features: [
"Easy parking available", "Convenient street access", "Wheelchair accessible", "Family-friendly waiting area"
]
},
{
id: "hours", badge: "🕐 Hours", price: "MonFri", subtitle: "8:00 AM 5:00 PM", buttons: [
{ text: "📞 Call Now", href: "tel:+15143429311" }
],
features: [
], features: [
"Same-day service available", "Quick estimates provided", "Emergency repairs welcome", "Saturday closed, Sunday closed"
]
},
{
id: "contact", badge: "📞 Contact", price: "(514) 342-9311", subtitle: "Direct phone line", buttons: [
{ text: "Call Now", href: "tel:+15143429311" }
],
features: [
], features: [
"Friendly staff answers all calls", "Quick consultation available", "Estimate quotes by phone", "Book appointments anytime"
]
}
@@ -208,9 +205,9 @@ export default function LandingPage() {
title="Stay Updated with Service Tips"
description="Subscribe to our newsletter for maintenance tips, special offers, and service reminders. We'll help keep your vehicle in top condition."
tagAnimation="slide-up"
background={{ variant: "noise" }}
background={{ variant: "glowing-orb" }}
useInvertedBackground={false}
imageSrc="http://img.b2bpic.net/free-photo/happy-customers-car-dealership_23-2149106150.jpg?_wi=1"
imageSrc="http://img.b2bpic.net/free-photo/happy-customers-car-dealership_23-2149106150.jpg"
imageAlt="Professional automotive service facility"
mediaAnimation="opacity"
mediaPosition="right"
@@ -222,7 +219,7 @@ export default function LandingPage() {
<div id="footer" data-section="footer">
<FooterMedia
imageSrc="http://img.b2bpic.net/free-photo/happy-customers-car-dealership_23-2149106150.jpg?_wi=2"
imageSrc="http://img.b2bpic.net/free-photo/happy-customers-car-dealership_23-2149106150.jpg"
imageAlt="Centre Auto Raffi professional garage"
logoText="Centre Auto Raffi Service"
copyrightText="© 2025 Centre Auto Raffi Service. All rights reserved. | Montreal's Most Trusted Garage"

View File

@@ -1,51 +1,39 @@
"use client";
import React, { SVGProps } from "react";
import { memo } from "react";
import useSvgTextLogo from "./useSvgTextLogo";
import { cls } from "@/lib/utils";
interface SvgTextLogoProps {
logoText: string;
adjustHeightFactor?: number;
verticalAlign?: "top" | "center";
interface SvgTextLogoProps extends SVGProps<SVGSVGElement> {
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 = "WEBILD", className = "", ...props
}) => {
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}
{...props}
>
<defs>
<linearGradient id="textGradient" x1="0%" y1="0%" x2="100%" y2="0%">
<stop offset="0%" style={{ stopColor: "#3b82f6", stopOpacity: 1 }} />
<stop offset="100%" style={{ stopColor: "#8b5cf6", stopOpacity: 1 }} />
</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="middle"
fontSize="48"
fontWeight="bold"
fill="url(#textGradient)"
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;