Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-13 00:59:17 +00:00
2 changed files with 26 additions and 44 deletions

View File

@@ -20,7 +20,7 @@ export default function LandingPage() {
borderRadius="pill"
contentWidth="compact"
sizing="mediumLargeSizeMediumTitles"
background="noise"
background="circleGradient"
cardStyle="gradient-bordered"
primaryButtonStyle="gradient"
secondaryButtonStyle="solid"
@@ -44,7 +44,7 @@ export default function LandingPage() {
<HeroLogoBillboardSplit
logoText="WEBBUILD"
description="Create stunning, professional websites without writing a single line of code. Launch your online presence in minutes, not months."
background={{ variant: "noise" }}
background={{ variant: "plain" }}
buttons={[
{ text: "Start Building Free", href: "#contact" },
{ text: "Watch Demo", href: "#features" }
@@ -82,18 +82,18 @@ export default function LandingPage() {
features={[
{
id: 1,
title: "Drag & Drop Designer", description: "Build beautiful layouts with our intuitive drag-and-drop interface. No coding skills required—just drag, drop, and customize.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-psd/moody-food-restaurant-web-templates_23-2148407001.jpg?_wi=1" },
phoneTwo: { imageSrc: "http://img.b2bpic.net/free-psd/moody-food-restaurant-web-templates_23-2148407001.jpg?_wi=2" }
title: "Drag & Drop Designer", description: "Build beautiful layouts with our intuitive drag-and-drop interface. No coding skills required—just drag, drop, and customize.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-psd/moody-food-restaurant-web-templates_23-2148407001.jpg" },
phoneTwo: { imageSrc: "http://img.b2bpic.net/free-psd/moody-food-restaurant-web-templates_23-2148407001.jpg" }
},
{
id: 2,
title: "One-Click Publishing", description: "Deploy your website instantly with one click. Automatic hosting, SSL certificates, and global CDN included for blazing-fast performance.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/business-person-looking-finance-graphs_23-2150461323.jpg?_wi=1" },
phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/business-person-looking-finance-graphs_23-2150461323.jpg?_wi=2" }
title: "One-Click Publishing", description: "Deploy your website instantly with one click. Automatic hosting, SSL certificates, and global CDN included for blazing-fast performance.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/business-person-looking-finance-graphs_23-2150461323.jpg" },
phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/business-person-looking-finance-graphs_23-2150461323.jpg" }
},
{
id: 3,
title: "Built-In Analytics", description: "Track visitor behavior, conversion rates, and traffic sources in real-time. Make data-driven decisions to grow your business.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-vector/colorful-dashboard-user-panel_23-2148399422.jpg?_wi=1" },
phoneTwo: { imageSrc: "http://img.b2bpic.net/free-vector/colorful-dashboard-user-panel_23-2148399422.jpg?_wi=2" }
title: "Built-In Analytics", description: "Track visitor behavior, conversion rates, and traffic sources in real-time. Make data-driven decisions to grow your business.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-vector/colorful-dashboard-user-panel_23-2148399422.jpg" },
phoneTwo: { imageSrc: "http://img.b2bpic.net/free-vector/colorful-dashboard-user-panel_23-2148399422.jpg" }
}
]}
showStepNumbers={true}

View File

@@ -1,51 +1,33 @@
"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;
textClassName?: 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 = '',
textClassName = '',
}) => {
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 300 100"
className={`w-full h-auto ${className}`}
aria-label={text}
>
<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"
className={`text-3xl font-bold fill-current ${textClassName}`}
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;