Merge version_1 into main #2
@@ -32,7 +32,7 @@ export default function LandingPage() {
|
||||
borderRadius="pill"
|
||||
contentWidth="compact"
|
||||
sizing="mediumLargeSizeLargeTitles"
|
||||
background="floatingGradient"
|
||||
background="circleGradient"
|
||||
cardStyle="glass-elevated"
|
||||
primaryButtonStyle="shadow"
|
||||
secondaryButtonStyle="solid"
|
||||
@@ -54,7 +54,7 @@ export default function LandingPage() {
|
||||
tag="Expert Craftsmanship"
|
||||
tagIcon={Hammer}
|
||||
tagAnimation="slide-up"
|
||||
background={{ variant: "floatingGradient" }}
|
||||
background={{ variant: "plain" }}
|
||||
buttons={[
|
||||
{ text: "Get a Free Estimate", href: "#contact" },
|
||||
{ text: "Call Now", href: "tel:+1-815-555-0147" }
|
||||
@@ -63,9 +63,9 @@ export default function LandingPage() {
|
||||
carouselItems={[
|
||||
{ id: "1", imageSrc: "http://img.b2bpic.net/free-photo/bathroom-sign-door-outside_23-2149936888.jpg", imageAlt: "Luxury custom wooden staircase" },
|
||||
{ id: "2", imageSrc: "http://img.b2bpic.net/free-photo/minimalist-modern-book-shelf-stairs_23-2148238645.jpg", imageAlt: "Contemporary staircase installation" },
|
||||
{ id: "3", imageSrc: "http://img.b2bpic.net/free-photo/wood-steel-staircase-scandinavian-minimalism-loft-interior_169016-69135.jpg?_wi=1", imageAlt: "Modern floating stairs" },
|
||||
{ id: "4", imageSrc: "http://img.b2bpic.net/free-photo/low-angle-shot-wooden-ceiling-cool-house-with-modern-minimalistic-interior_181624-6753.jpg?_wi=1", imageAlt: "Residential staircase project" },
|
||||
{ id: "5", imageSrc: "http://img.b2bpic.net/free-photo/father-taking-his-daughters-school_23-2149015995.jpg?_wi=1", imageAlt: "Elegant custom stairs" },
|
||||
{ id: "3", imageSrc: "http://img.b2bpic.net/free-photo/wood-steel-staircase-scandinavian-minimalism-loft-interior_169016-69135.jpg", imageAlt: "Modern floating stairs" },
|
||||
{ id: "4", imageSrc: "http://img.b2bpic.net/free-photo/low-angle-shot-wooden-ceiling-cool-house-with-modern-minimalistic-interior_181624-6753.jpg", imageAlt: "Residential staircase project" },
|
||||
{ id: "5", imageSrc: "http://img.b2bpic.net/free-photo/father-taking-his-daughters-school_23-2149015995.jpg", imageAlt: "Elegant custom stairs" },
|
||||
{ id: "6", imageSrc: "http://img.b2bpic.net/free-photo/stained-glass-classic-stairwell-view-from_169016-69796.jpg", imageAlt: "Custom metal stair railings" }
|
||||
]}
|
||||
autoPlay={true}
|
||||
@@ -130,11 +130,11 @@ export default function LandingPage() {
|
||||
products={[
|
||||
{
|
||||
id: "1", brand: "Residential", name: "Modern Wood Staircase with Metal Railing", price: "Custom Quote", rating: 5,
|
||||
reviewCount: "Homeowner Approved", imageSrc: "http://img.b2bpic.net/free-photo/low-angle-shot-wooden-ceiling-cool-house-with-modern-minimalistic-interior_181624-6753.jpg?_wi=2", imageAlt: "Modern residential staircase"
|
||||
reviewCount: "Homeowner Approved", imageSrc: "http://img.b2bpic.net/free-photo/low-angle-shot-wooden-ceiling-cool-house-with-modern-minimalistic-interior_181624-6753.jpg", imageAlt: "Modern residential staircase"
|
||||
},
|
||||
{
|
||||
id: "2", brand: "Contemporary", name: "Floating Stairs with Glass Panels", price: "Custom Quote", rating: 5,
|
||||
reviewCount: "Designer Choice", imageSrc: "http://img.b2bpic.net/free-photo/father-taking-his-daughters-school_23-2149015995.jpg?_wi=2", imageAlt: "Floating staircase design"
|
||||
reviewCount: "Designer Choice", imageSrc: "http://img.b2bpic.net/free-photo/father-taking-his-daughters-school_23-2149015995.jpg", imageAlt: "Floating staircase design"
|
||||
},
|
||||
{
|
||||
id: "3", brand: "Traditional", name: "Classic Curved Staircase", price: "Custom Quote", rating: 5,
|
||||
@@ -157,20 +157,16 @@ export default function LandingPage() {
|
||||
showRating={true}
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", name: "Sarah Mitchell", handle: "@sarahmhome", testimonial: "Step One transformed our home with a stunning custom staircase. The attention to detail and craftsmanship exceeded our expectations. Highly recommend!", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-african-american-woman-cafe_273609-5358.jpg", imageAlt: "Sarah Mitchell"
|
||||
id: "1", name: "Sarah Mitchell", handle: "@sarahmhome", testimonial: "Step One transformed our home with a stunning custom staircase. The attention to detail and craftsmanship exceeded our expectations. Highly recommend!", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/beautiful-african-american-woman-cafe_273609-5358.jpg", imageAlt: "Sarah Mitchell"
|
||||
},
|
||||
{
|
||||
id: "2", name: "James Contractor LLC", handle: "@jamesconstr", testimonial: "We've partnered with Step One for multiple projects. Their reliability, quality, and customer service make them an invaluable part of our team.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-african-american-man-factory_1303-30630.jpg", imageAlt: "James from Contractor LLC"
|
||||
id: "2", name: "James Contractor LLC", handle: "@jamesconstr", testimonial: "We've partnered with Step One for multiple projects. Their reliability, quality, and customer service make them an invaluable part of our team.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/portrait-african-american-man-factory_1303-30630.jpg", imageAlt: "James from Contractor LLC"
|
||||
},
|
||||
{
|
||||
id: "3", name: "Michael Rodriguez", handle: "@mrodriguez_home", testimonial: "The replacement staircase in our 1920s home is beautiful and perfectly matches the original craftsmanship. Step One really knows their trade.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/attractive-young-woman-with-charming-smile-feeling-happy-free-after-graduating-university-relaxing-cafe-waiting-food-making-plans-future-ginger-woman-having-rest-indoors_273609-481.jpg", imageAlt: "Michael Rodriguez"
|
||||
id: "3", name: "Michael Rodriguez", handle: "@mrodriguez_home", testimonial: "The replacement staircase in our 1920s home is beautiful and perfectly matches the original craftsmanship. Step One really knows their trade.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/attractive-young-woman-with-charming-smile-feeling-happy-free-after-graduating-university-relaxing-cafe-waiting-food-making-plans-future-ginger-woman-having-rest-indoors_273609-481.jpg", imageAlt: "Michael Rodriguez"
|
||||
},
|
||||
{
|
||||
id: "4", name: "Emily Thompson", handle: "@emthompson_design", testimonial: "As an interior designer, I trust Step One to execute my staircase visions flawlessly. They're professional, punctual, and take pride in every detail.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/middle-aged-business-man-hard-hat_1303-23575.jpg", imageAlt: "Emily Thompson"
|
||||
id: "4", name: "Emily Thompson", handle: "@emthompson_design", testimonial: "As an interior designer, I trust Step One to execute my staircase visions flawlessly. They're professional, punctual, and take pride in every detail.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/middle-aged-business-man-hard-hat_1303-23575.jpg", imageAlt: "Emily Thompson"
|
||||
}
|
||||
]}
|
||||
/>
|
||||
@@ -187,10 +183,11 @@ export default function LandingPage() {
|
||||
{ value: "20+", title: "Years of Experience" },
|
||||
{ value: "1000+", title: "Projects Completed" }
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/wood-steel-staircase-scandinavian-minimalism-loft-interior_169016-69135.jpg?_wi=2"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/wood-steel-staircase-scandinavian-minimalism-loft-interior_169016-69135.jpg"
|
||||
imageAlt="Step One Stair Works craftsmanship"
|
||||
useInvertedBackground={false}
|
||||
mediaAnimation="slide-up"
|
||||
metricsAnimation="slide-up"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -201,7 +198,7 @@ export default function LandingPage() {
|
||||
tagAnimation="slide-up"
|
||||
title="Get Your Free Staircase Estimate Today"
|
||||
description="Contact us to schedule a consultation and receive a free, no-obligation estimate for your staircase project. Our team is ready to bring your vision to life."
|
||||
background={{ variant: "floatingGradient" }}
|
||||
background={{ variant: "plain" }}
|
||||
useInvertedBackground={false}
|
||||
inputPlaceholder="Enter your email address"
|
||||
buttonText="Get Free Estimate"
|
||||
|
||||
@@ -1,51 +1,29 @@
|
||||
"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 50"
|
||||
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"
|
||||
}}
|
||||
x="10"
|
||||
y="35"
|
||||
fontSize="32"
|
||||
fontWeight="bold"
|
||||
fill="currentColor"
|
||||
dominantBaseline="alphabetic"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
};
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user