Merge version_1 into main #2
@@ -21,7 +21,7 @@ export default function LandingPage() {
|
||||
borderRadius="rounded"
|
||||
contentWidth="compact"
|
||||
sizing="mediumLarge"
|
||||
background="noiseDiagonalGradient"
|
||||
background="circleGradient"
|
||||
cardStyle="solid"
|
||||
primaryButtonStyle="diagonal-gradient"
|
||||
secondaryButtonStyle="radial-glow"
|
||||
@@ -47,7 +47,7 @@ export default function LandingPage() {
|
||||
<HeroCentered
|
||||
title="Get Your Website Estimate in Minutes"
|
||||
description="Grow Digital helps businesses determine the perfect website investment. Transparent pricing from $799 to $1,299 based on your needs."
|
||||
background={{ variant: "noiseDiagonalGradient" }}
|
||||
background={{ variant: "plain" }}
|
||||
avatars={[
|
||||
{ src: "http://img.b2bpic.net/free-photo/portrait-young-successful-businesswoman-suit-cross-arms-chest-smile-look-confident_1258-194088.jpg", alt: "Client 1" },
|
||||
{ src: "http://img.b2bpic.net/free-photo/close-up-businessman-with-hands-crossed-smiling_158595-3406.jpg", alt: "Client 2" },
|
||||
@@ -82,7 +82,7 @@ export default function LandingPage() {
|
||||
tag="Services"
|
||||
features={[
|
||||
{
|
||||
id: "01", title: "Responsive Design", description: "Beautiful websites that work perfectly on every device, from mobile phones to desktop computers.", imageSrc: "http://img.b2bpic.net/free-vector/flat-web-design-elements-green-color_23-2147542335.jpg?_wi=1", imageAlt: "Responsive web design"
|
||||
id: "01", title: "Responsive Design", description: "Beautiful websites that work perfectly on every device, from mobile phones to desktop computers.", imageSrc: "http://img.b2bpic.net/free-vector/flat-web-design-elements-green-color_23-2147542335.jpg", imageAlt: "Responsive web design"
|
||||
},
|
||||
{
|
||||
id: "02", title: "SEO Optimized", description: "Built with search engines in mind to ensure your business gets found by customers searching for your services.", imageSrc: "http://img.b2bpic.net/free-vector/admin-app-dashboard-flat-style_23-2147864273.jpg", imageAlt: "SEO optimization"
|
||||
@@ -91,7 +91,7 @@ export default function LandingPage() {
|
||||
id: "03", title: "24/7 Support", description: "Ongoing maintenance, updates, and support to keep your website running smoothly year-round.", imageSrc: "http://img.b2bpic.net/free-photo/woman-living-with-disability-answering-client-call-customer-service-wheelchair-user-with-physical-health-condition-working-helpline-support-helpdesk-operator-with-chronic-pain_482257-47208.jpg", imageAlt: "Customer support"
|
||||
},
|
||||
{
|
||||
id: "04", title: "Fast Loading", description: "Lightning-quick performance that keeps visitors engaged and improves your search engine rankings.", imageSrc: "http://img.b2bpic.net/free-vector/flat-web-design-elements-green-color_23-2147542335.jpg?_wi=2", imageAlt: "Fast website performance"
|
||||
id: "04", title: "Fast Loading", description: "Lightning-quick performance that keeps visitors engaged and improves your search engine rankings.", imageSrc: "http://img.b2bpic.net/free-vector/flat-web-design-elements-green-color_23-2147542335.jpg", imageAlt: "Fast website performance"
|
||||
}
|
||||
]}
|
||||
textboxLayout="default"
|
||||
@@ -108,19 +108,19 @@ export default function LandingPage() {
|
||||
tag="Pricing"
|
||||
plans={[
|
||||
{
|
||||
id: "starter", title: "Starter Package", price: "$799", period: "one-time", imageSrc: "http://img.b2bpic.net/free-vector/flat-design-responsive-website-design_23-2149488183.jpg?_wi=1", imageAlt: "Starter website package", button: { text: "Choose Plan", href: "contact" },
|
||||
id: "starter", title: "Starter Package", price: "$799", period: "one-time", imageSrc: "http://img.b2bpic.net/free-vector/flat-design-responsive-website-design_23-2149488183.jpg", imageAlt: "Starter website package", button: { text: "Choose Plan", href: "contact" },
|
||||
features: [
|
||||
"Up to 5 pages", "Mobile responsive design", "Basic SEO optimization", "Contact form included", "30-day revision period"
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "professional", title: "Professional Package", price: "$1,099", period: "one-time", imageSrc: "http://img.b2bpic.net/free-vector/flat-design-responsive-website-design_23-2149488183.jpg?_wi=2", imageAlt: "Professional website package", button: { text: "Choose Plan", href: "contact" },
|
||||
id: "professional", title: "Professional Package", price: "$1,099", period: "one-time", imageSrc: "http://img.b2bpic.net/free-vector/flat-design-responsive-website-design_23-2149488183.jpg", imageAlt: "Professional website package", button: { text: "Choose Plan", href: "contact" },
|
||||
features: [
|
||||
"Up to 15 pages", "Advanced SEO optimization", "E-commerce ready", "Blog integration", "Analytics setup", "60-day revision period"
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "enterprise", title: "Enterprise Package", price: "$1,299", period: "one-time", imageSrc: "http://img.b2bpic.net/free-vector/flat-design-responsive-website-design_23-2149488183.jpg?_wi=3", imageAlt: "Enterprise website package", button: { text: "Choose Plan", href: "contact" },
|
||||
id: "enterprise", title: "Enterprise Package", price: "$1,299", period: "one-time", imageSrc: "http://img.b2bpic.net/free-vector/flat-design-responsive-website-design_23-2149488183.jpg", imageAlt: "Enterprise website package", button: { text: "Choose Plan", href: "contact" },
|
||||
features: [
|
||||
"Unlimited pages", "Full custom functionality", "Advanced e-commerce", "Marketing automation", "Custom integrations", "90-day revision period"
|
||||
]
|
||||
@@ -140,11 +140,11 @@ export default function LandingPage() {
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", name: "Sarah Johnson", handle: "@sjohnson", testimonial: "Grow Digital transformed our online presence. Our new website has increased leads by 300% in just three months!", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-successful-businesswoman-suit-cross-arms-chest-smile-look-confident_1258-194088.jpg?_wi=1", imageAlt: "Sarah Johnson"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-successful-businesswoman-suit-cross-arms-chest-smile-look-confident_1258-194088.jpg", imageAlt: "Sarah Johnson"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Michael Chen", handle: "@mchen", testimonial: "Professional, responsive, and affordable. The team understood our business instantly and delivered exactly what we needed.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-businessman-with-hands-crossed-smiling_158595-3406.jpg?_wi=1", imageAlt: "Michael Chen"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-businessman-with-hands-crossed-smiling_158595-3406.jpg", imageAlt: "Michael Chen"
|
||||
},
|
||||
{
|
||||
id: "3", name: "Emily Rodriguez", handle: "@erodriguez", testimonial: "Best investment we made this year. Our website not only looks stunning but actually drives conversions.", rating: 5,
|
||||
@@ -156,11 +156,11 @@ export default function LandingPage() {
|
||||
},
|
||||
{
|
||||
id: "5", name: "Lisa Martinez", handle: "@lmartinez", testimonial: "From design to launch, everything was seamless. Our customers compliment the website daily.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-successful-businesswoman-suit-cross-arms-chest-smile-look-confident_1258-194088.jpg?_wi=2", imageAlt: "Lisa Martinez"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-successful-businesswoman-suit-cross-arms-chest-smile-look-confident_1258-194088.jpg", imageAlt: "Lisa Martinez"
|
||||
},
|
||||
{
|
||||
id: "6", name: "James Wilson", handle: "@jwilson", testimonial: "Clear communication, fair pricing, and exceptional results. This is how web design should be done.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-businessman-with-hands-crossed-smiling_158595-3406.jpg?_wi=2", imageAlt: "James Wilson"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-businessman-with-hands-crossed-smiling_158595-3406.jpg", imageAlt: "James Wilson"
|
||||
}
|
||||
]}
|
||||
showRating={true}
|
||||
|
||||
@@ -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;
|
||||
fontSize?: number;
|
||||
fontWeight?: number | string;
|
||||
letterSpacing?: number;
|
||||
dominantBaseline?: 'auto' | 'middle' | 'hanging' | 'mathematical' | 'central' | 'ideographic';
|
||||
}
|
||||
|
||||
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 = '',
|
||||
fontSize = 32,
|
||||
fontWeight = 700,
|
||||
letterSpacing = 0,
|
||||
dominantBaseline = 'middle',
|
||||
}) => {
|
||||
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}`}
|
||||
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={dominantBaseline}
|
||||
fontSize={fontSize}
|
||||
fontWeight={fontWeight}
|
||||
letterSpacing={letterSpacing}
|
||||
fill="currentColor"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
};
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user