Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-12 16:34:03 +00:00
2 changed files with 26 additions and 47 deletions

View File

@@ -20,7 +20,7 @@ export default function LandingPage() {
borderRadius="rounded"
contentWidth="compact"
sizing="largeSmall"
background="grid"
background="circleGradient"
cardStyle="gradient-bordered"
primaryButtonStyle="flat"
secondaryButtonStyle="layered"
@@ -51,11 +51,11 @@ export default function LandingPage() {
testimonials={[
{
name: "Sarah Mitchell", handle: "Interior Designer", testimonial: "Golden Oak furniture transformed my client's home. The quality and craftsmanship are unmatched in this price range.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/portrait-office-worker-sitting-desk-create-business-report-with-sales-statistics-financial-charts-executive-assistant-using-data-research-startup-company-presentation-close-up_482257-41134.jpg?_wi=1"
imageSrc: "http://img.b2bpic.net/free-photo/portrait-office-worker-sitting-desk-create-business-report-with-sales-statistics-financial-charts-executive-assistant-using-data-research-startup-company-presentation-close-up_482257-41134.jpg"
},
{
name: "James Richardson", handle: "Homeowner", testimonial: "After six months of owning their sofa, it still looks brand new. The attention to detail is remarkable.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/confident-businessman-smiling_107420-84733.jpg?_wi=1"
imageSrc: "http://img.b2bpic.net/free-photo/confident-businessman-smiling_107420-84733.jpg"
},
{
name: "Emma Thompson", handle: "Architect", testimonial: "I recommend Golden Oak to all my residential projects. Their pieces are timeless investments.", rating: 5,
@@ -66,7 +66,7 @@ export default function LandingPage() {
{ text: "Shop Collection", href: "#products" },
{ text: "Learn More", href: "#about" }
]}
background={{ variant: "grid" }}
background={{ variant: "glowing-orb" }}
useInvertedBackground={false}
/>
</div>
@@ -103,7 +103,7 @@ export default function LandingPage() {
description="Established Tradition"
subdescription="Golden Oak Furniture Company"
icon={Hammer}
imageSrc="http://img.b2bpic.net/free-photo/sculpture-making-sketches-pieces-clay_114579-12310.jpg?_wi=1"
imageSrc="http://img.b2bpic.net/free-photo/sculpture-making-sketches-pieces-clay_114579-12310.jpg"
imageAlt="Master craftsman creating wooden furniture"
mediaAnimation="slide-up"
useInvertedBackground={false}
@@ -121,7 +121,7 @@ export default function LandingPage() {
features={[
{
id: "1", title: "Master Craftsmanship", tags: ["Quality", "Handmade"],
imageSrc: "http://img.b2bpic.net/free-photo/sculpture-making-sketches-pieces-clay_114579-12310.jpg?_wi=2", imageAlt: "Expert woodworker crafting furniture"
imageSrc: "http://img.b2bpic.net/free-photo/sculpture-making-sketches-pieces-clay_114579-12310.jpg", imageAlt: "Expert woodworker crafting furniture"
},
{
id: "2", title: "Premium Materials", tags: ["Sourced", "Durable"],
@@ -147,7 +147,7 @@ export default function LandingPage() {
testimonials={[
{
id: "1", name: "Michael Chen", handle: "San Francisco, CA", testimonial: "Exceptional quality and attention to detail. This sofa is an investment that will last a lifetime.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/confident-businessman-smiling_107420-84733.jpg?_wi=2"
imageSrc: "http://img.b2bpic.net/free-photo/confident-businessman-smiling_107420-84733.jpg"
},
{
id: "2", name: "Victoria Parker", handle: "New York, NY", testimonial: "Golden Oak pieces have transformed my entire living space. Highly recommended!", rating: 5,
@@ -163,11 +163,11 @@ export default function LandingPage() {
},
{
id: "5", name: "Robert Martinez", handle: "Los Angeles, CA", testimonial: "Worth every penny. The durability and style are unmatched in the market.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/confident-businessman-smiling_107420-84733.jpg?_wi=3"
imageSrc: "http://img.b2bpic.net/free-photo/confident-businessman-smiling_107420-84733.jpg"
},
{
id: "6", name: "Jennifer Thompson", handle: "Chicago, IL", testimonial: "Customer service and product quality exceeded all expectations. Highly satisfied!", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/portrait-office-worker-sitting-desk-create-business-report-with-sales-statistics-financial-charts-executive-assistant-using-data-research-startup-company-presentation-close-up_482257-41134.jpg?_wi=2"
imageSrc: "http://img.b2bpic.net/free-photo/portrait-office-worker-sitting-desk-create-business-report-with-sales-statistics-financial-charts-executive-assistant-using-data-research-startup-company-presentation-close-up_482257-41134.jpg"
}
]}
/>
@@ -190,7 +190,7 @@ export default function LandingPage() {
<ContactText
text="Ready to transform your space? Connect with our design specialists and explore custom solutions tailored to your home."
animationType="entrance-slide"
background={{ variant: "grid" }}
background={{ variant: "plain" }}
useInvertedBackground={false}
buttons={[
{ text: "Contact Us", href: "mailto:hello@goldenoakfurniture.com" },

View File

@@ -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 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="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;