Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-12 17:36:33 +00:00
2 changed files with 37 additions and 51 deletions

View File

@@ -19,7 +19,7 @@ export default function LandingPage() {
borderRadius="soft"
contentWidth="medium"
sizing="largeSizeMediumTitles"
background="grid"
background="circleGradient"
cardStyle="glass-elevated"
primaryButtonStyle="double-inset"
secondaryButtonStyle="layered"
@@ -46,26 +46,26 @@ export default function LandingPage() {
tag="Trusted by 50,000+ Websites"
tagIcon={Shield}
tagAnimation="slide-up"
background={{ variant: "grid" }}
background={{ variant: "plain" }}
imageSrc="http://img.b2bpic.net/free-photo/empty-business-workspace-with-device-showing-data-analytics-infographics_482257-116612.jpg"
imageAlt="Modern hosting control panel dashboard"
mediaAnimation="slide-up"
testimonials={[
{
name: "Sarah Johnson", handle: "CEO, TechStart Inc", testimonial: "Best hosting provider we've used. Blazing fast speeds and incredible support.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/thinking-business-ideas_1098-14443.jpg?_wi=1", imageAlt: "Sarah Johnson CEO"
imageSrc: "http://img.b2bpic.net/free-photo/thinking-business-ideas_1098-14443.jpg", imageAlt: "Sarah Johnson CEO"
},
{
name: "Michael Chen", handle: "Founder, Digital Agency", testimonial: "Migrated all our client sites here. Haven't looked back since.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/smiley-business-woman-posing-outdoors-suit_23-2148603024.jpg?_wi=1", imageAlt: "Michael Chen Founder"
imageSrc: "http://img.b2bpic.net/free-photo/smiley-business-woman-posing-outdoors-suit_23-2148603024.jpg", imageAlt: "Michael Chen Founder"
},
{
name: "Emily Rodriguez", handle: "Director, E-Commerce", testimonial: "99.9% uptime is real. Our sales never stop.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/man-shouting-after-failing-win-videogame-while-playing-gaming-pc-close-up-shot_482257-105005.jpg?_wi=1", imageAlt: "Emily Rodriguez Director"
imageSrc: "http://img.b2bpic.net/free-photo/man-shouting-after-failing-win-videogame-while-playing-gaming-pc-close-up-shot_482257-105005.jpg", imageAlt: "Emily Rodriguez Director"
},
{
name: "David Kim", handle: "Developer, Startup Hub", testimonial: "Developer-friendly tools and unbeatable performance.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/blue-eyed-business-woman-white-blouse-standing-confident-pose-with-her-international-co-workers-indoor-portrait-asian-african-employees-with-blonde-lady_197531-3756.jpg?_wi=1", imageAlt: "David Kim Developer"
imageSrc: "http://img.b2bpic.net/free-photo/blue-eyed-business-woman-white-blouse-standing-confident-pose-with-her-international-co-workers-indoor-portrait-asian-african-employees-with-blonde-lady_197531-3756.jpg", imageAlt: "David Kim Developer"
}
]}
testimonialRotationInterval={5000}
@@ -108,8 +108,7 @@ export default function LandingPage() {
]
},
{
title: "Easy Management", description: "Simple control panel with one-click installations for WordPress, Magento, and more", bentoComponent: "marquee", centerIcon: Zap,
variant: "icon", icons: [Globe, Code, Cpu, Database, Shield]
title: "Easy Management", description: "Simple control panel with one-click installations for WordPress, Magento, and more", bentoComponent: "marquee", centerIcon: Zap, variant: "icon", icons: [Globe, Code, Cpu, Database, Shield]
}
]}
/>
@@ -195,22 +194,22 @@ export default function LandingPage() {
topMarqueeDirection="left"
testimonials={[
{
id: "1", name: "Sarah Johnson", handle: "@sarahj_tech", testimonial: "Migrated my entire blog here last year. The performance improvement was incredible. Site speed improved by 60%.", imageSrc: "http://img.b2bpic.net/free-photo/thinking-business-ideas_1098-14443.jpg?_wi=2", imageAlt: "Sarah Johnson"
id: "1", name: "Sarah Johnson", handle: "@sarahj_tech", testimonial: "Migrated my entire blog here last year. The performance improvement was incredible. Site speed improved by 60%.", imageSrc: "http://img.b2bpic.net/free-photo/thinking-business-ideas_1098-14443.jpg", imageAlt: "Sarah Johnson"
},
{
id: "2", name: "Michael Chen", handle: "@mchen_dev", testimonial: "Best customer service I've experienced. They resolved my issue in 15 minutes. Highly recommend!", imageSrc: "http://img.b2bpic.net/free-photo/smiley-business-woman-posing-outdoors-suit_23-2148603024.jpg?_wi=2", imageAlt: "Michael Chen"
id: "2", name: "Michael Chen", handle: "@mchen_dev", testimonial: "Best customer service I've experienced. They resolved my issue in 15 minutes. Highly recommend!", imageSrc: "http://img.b2bpic.net/free-photo/smiley-business-woman-posing-outdoors-suit_23-2148603024.jpg", imageAlt: "Michael Chen"
},
{
id: "3", name: "Emily Rodriguez", handle: "@emily_commerce", testimonial: "Running an e-commerce store with HostPro has been seamless. Uptime is consistently perfect.", imageSrc: "http://img.b2bpic.net/free-photo/man-shouting-after-failing-win-videogame-while-playing-gaming-pc-close-up-shot_482257-105005.jpg?_wi=2", imageAlt: "Emily Rodriguez"
id: "3", name: "Emily Rodriguez", handle: "@emily_commerce", testimonial: "Running an e-commerce store with HostPro has been seamless. Uptime is consistently perfect.", imageSrc: "http://img.b2bpic.net/free-photo/man-shouting-after-failing-win-videogame-while-playing-gaming-pc-close-up-shot_482257-105005.jpg", imageAlt: "Emily Rodriguez"
},
{
id: "4", name: "David Kim", handle: "@davidkim_dev", testimonial: "The developer tools are fantastic. API documentation is clear, and integration was painless.", imageSrc: "http://img.b2bpic.net/free-photo/blue-eyed-business-woman-white-blouse-standing-confident-pose-with-her-international-co-workers-indoor-portrait-asian-african-employees-with-blonde-lady_197531-3756.jpg?_wi=2", imageAlt: "David Kim"
id: "4", name: "David Kim", handle: "@davidkim_dev", testimonial: "The developer tools are fantastic. API documentation is clear, and integration was painless.", imageSrc: "http://img.b2bpic.net/free-photo/blue-eyed-business-woman-white-blouse-standing-confident-pose-with-her-international-co-workers-indoor-portrait-asian-african-employees-with-blonde-lady_197531-3756.jpg", imageAlt: "David Kim"
},
{
id: "5", name: "Jessica Martinez", handle: "@jmartinez_agency", testimonial: "Managing multiple client sites has never been easier. The dashboard is intuitive and powerful.", imageSrc: "http://img.b2bpic.net/free-photo/thinking-business-ideas_1098-14443.jpg?_wi=3", imageAlt: "Jessica Martinez"
id: "5", name: "Jessica Martinez", handle: "@jmartinez_agency", testimonial: "Managing multiple client sites has never been easier. The dashboard is intuitive and powerful.", imageSrc: "http://img.b2bpic.net/free-photo/thinking-business-ideas_1098-14443.jpg", imageAlt: "Jessica Martinez"
},
{
id: "6", name: "Alex Thompson", handle: "@athompson_startup", testimonial: "Affordable pricing without compromising on quality. Perfect for bootstrapped startups like ours.", imageSrc: "http://img.b2bpic.net/free-photo/smiley-business-woman-posing-outdoors-suit_23-2148603024.jpg?_wi=3", imageAlt: "Alex Thompson"
id: "6", name: "Alex Thompson", handle: "@athompson_startup", testimonial: "Affordable pricing without compromising on quality. Perfect for bootstrapped startups like ours.", imageSrc: "http://img.b2bpic.net/free-photo/smiley-business-woman-posing-outdoors-suit_23-2148603024.jpg", imageAlt: "Alex Thompson"
}
]}
/>
@@ -223,7 +222,7 @@ export default function LandingPage() {
description="Join thousands of satisfied customers. Sign up for your free trial and experience the difference."
tagIcon={Rocket}
tagAnimation="slide-up"
background={{ variant: "grid" }}
background={{ variant: "plain" }}
useInvertedBackground={false}
inputPlaceholder="Enter your email"
buttonText="Get Started Free"

View File

@@ -1,51 +1,38 @@
"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;
fontSize?: number;
fontFamily?: string;
fill?: string;
className?: 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,
fontSize = 32,
fontFamily = 'Arial, sans-serif',
fill = 'currentColor',
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 ${text.length * fontSize * 0.6} ${fontSize * 1.5}`}
xmlns="http://www.w3.org/2000/svg"
className={className}
>
<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"
}}
y={fontSize}
fontSize={fontSize}
fontFamily={fontFamily}
fill={fill}
dominantBaseline="auto"
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;