Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-11 04:46:33 +00:00
2 changed files with 41 additions and 50 deletions

View File

@@ -19,7 +19,7 @@ export default function LandingPage() {
borderRadius="rounded"
contentWidth="mediumSmall"
sizing="mediumSizeLargeTitles"
background="fluid"
background="circleGradient"
cardStyle="outline"
primaryButtonStyle="diagonal-gradient"
secondaryButtonStyle="solid"
@@ -44,17 +44,17 @@ export default function LandingPage() {
title="Quality Residential Construction Since 2009"
description="Licensed residential contractor serving Johnson County, MO and surrounding Kansas areas. We build homes with craftsmanship, integrity, and attention to detail."
tag="Licensed Contractor"
background={{ variant: "fluid" }}
background={{ variant: "sparkles-gradient" }}
buttons={[
{ text: "Get a Quote", href: "contact" },
{ text: "View Our Work", href: "portfolio" }
]}
mediaItems={[
{ imageSrc: "http://img.b2bpic.net/free-photo/side-view-people-working-together_23-2149366697.jpg?_wi=1", imageAlt: "residential construction home building exterior" },
{ imageSrc: "http://img.b2bpic.net/free-photo/view-old-abandoned-house-nature_23-2150166537.jpg?_wi=1", imageAlt: "completed residential home construction exterior" },
{ imageSrc: "http://img.b2bpic.net/free-photo/interior-shot-luxurious-house-dining-room_181624-10412.jpg?_wi=1", imageAlt: "residential kitchen remodeling interior design" },
{ imageSrc: "http://img.b2bpic.net/free-photo/ai-generated-modern-styled-entryway_23-2150692405.jpg?_wi=1", imageAlt: "new residential home exterior construction" },
{ imageSrc: "http://img.b2bpic.net/free-photo/side-view-man-working-as-plumber_23-2150746322.jpg?_wi=1", imageAlt: "home remodeling bathroom renovation professional" }
{ imageSrc: "http://img.b2bpic.net/free-photo/side-view-people-working-together_23-2149366697.jpg", imageAlt: "residential construction home building exterior" },
{ imageSrc: "http://img.b2bpic.net/free-photo/view-old-abandoned-house-nature_23-2150166537.jpg", imageAlt: "completed residential home construction exterior" },
{ imageSrc: "http://img.b2bpic.net/free-photo/interior-shot-luxurious-house-dining-room_181624-10412.jpg", imageAlt: "residential kitchen remodeling interior design" },
{ imageSrc: "http://img.b2bpic.net/free-photo/ai-generated-modern-styled-entryway_23-2150692405.jpg", imageAlt: "new residential home exterior construction" },
{ imageSrc: "http://img.b2bpic.net/free-photo/side-view-man-working-as-plumber_23-2150746322.jpg", imageAlt: "home remodeling bathroom renovation professional" }
]}
/>
</div>
@@ -97,22 +97,22 @@ export default function LandingPage() {
<ProductCardThree
products={[
{
id: "1", name: "Modern Home Exterior", price: "Completed", imageSrc: "http://img.b2bpic.net/free-photo/view-old-abandoned-house-nature_23-2150166537.jpg?_wi=2", imageAlt: "completed residential home construction exterior"
id: "1", name: "Modern Home Exterior", price: "Completed", imageSrc: "http://img.b2bpic.net/free-photo/view-old-abandoned-house-nature_23-2150166537.jpg", imageAlt: "completed residential home construction exterior"
},
{
id: "2", name: "Kitchen Renovation", price: "2024", imageSrc: "http://img.b2bpic.net/free-photo/interior-shot-luxurious-house-dining-room_181624-10412.jpg?_wi=2", imageAlt: "residential kitchen remodeling interior design"
id: "2", name: "Kitchen Renovation", price: "2024", imageSrc: "http://img.b2bpic.net/free-photo/interior-shot-luxurious-house-dining-room_181624-10412.jpg", imageAlt: "residential kitchen remodeling interior design"
},
{
id: "3", name: "New Construction", price: "Recent", imageSrc: "http://img.b2bpic.net/free-photo/ai-generated-modern-styled-entryway_23-2150692405.jpg?_wi=2", imageAlt: "new residential home exterior construction"
id: "3", name: "New Construction", price: "Recent", imageSrc: "http://img.b2bpic.net/free-photo/ai-generated-modern-styled-entryway_23-2150692405.jpg", imageAlt: "new residential home exterior construction"
},
{
id: "4", name: "Bathroom Remodel", price: "2024", imageSrc: "http://img.b2bpic.net/free-photo/side-view-man-working-as-plumber_23-2150746322.jpg?_wi=2", imageAlt: "home remodeling bathroom renovation professional"
id: "4", name: "Bathroom Remodel", price: "2024", imageSrc: "http://img.b2bpic.net/free-photo/side-view-man-working-as-plumber_23-2150746322.jpg", imageAlt: "home remodeling bathroom renovation professional"
},
{
id: "5", name: "Deck Addition", price: "Completed", imageSrc: "http://img.b2bpic.net/free-photo/rear-view-male-architecture-holding-blueprint-hard-hat-looking-construction-site_23-2148204023.jpg", imageAlt: "residential construction deck outdoor project"
},
{
id: "6", name: "Home Addition", price: "Recent", imageSrc: "http://img.b2bpic.net/free-photo/side-view-people-working-together_23-2149366697.jpg?_wi=2", imageAlt: "residential construction home building exterior"
id: "6", name: "Home Addition", price: "Recent", imageSrc: "http://img.b2bpic.net/free-photo/side-view-people-working-together_23-2149366697.jpg", imageAlt: "residential construction home building exterior"
}
]}
title="Recent Projects"
@@ -165,7 +165,7 @@ export default function LandingPage() {
tag="Get Started"
title="Ready for Your Next Project?"
description="Contact Siebenmorgen Construction LLC today to discuss your residential construction, renovation, or repair project. We're here to bring your vision to life."
background={{ variant: "fluid" }}
background={{ variant: "sparkles-gradient" }}
useInvertedBackground={false}
imageSrc="http://img.b2bpic.net/free-photo/distraught-couple-examining-housing-plans-their-new-home_637285-12318.jpg"
imageAlt="professional construction meeting consultation"

View File

@@ -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;
className?: string;
width?: number;
height?: number;
fill?: string;
}
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
export const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
text,
className = '',
width = 200,
height = 50,
fill = 'currentColor',
}) => {
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
width={width}
height={height}
viewBox={`0 0 ${width} ${height}`}
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%"
textAnchor="middle"
dominantBaseline="central"
fill={fill}
fontSize="24"
fontWeight="bold"
fontFamily="system-ui, -apple-system, sans-serif"
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;