Merge version_1 into main #2
@@ -11,7 +11,7 @@ import PricingCardEight from "@/components/sections/pricing/PricingCardEight";
|
||||
import FaqDouble from "@/components/sections/faq/FaqDouble";
|
||||
import ContactText from "@/components/sections/contact/ContactText";
|
||||
import FooterBase from "@/components/sections/footer/FooterBase";
|
||||
import { CheckCircle, Sparkles, Zap, Award, Star, HelpCircle } from "lucide-react";
|
||||
import { CheckCircle, Sparkles, Zap, Award, Star, HelpCircle, Crown, Rocket } from "lucide-react";
|
||||
|
||||
export default function LandingPage() {
|
||||
return (
|
||||
@@ -48,21 +48,21 @@ export default function LandingPage() {
|
||||
tag="Web Design Agency"
|
||||
tagIcon={Sparkles}
|
||||
background={{ variant: "glowing-orb" }}
|
||||
imageSrc="http://img.b2bpic.net/free-vector/dashboard-user-panel-template_23-2148373760.jpg?_wi=1"
|
||||
imageSrc="http://img.b2bpic.net/free-vector/dashboard-user-panel-template_23-2148373760.jpg"
|
||||
imageAlt="Website design showcase"
|
||||
imagePosition="right"
|
||||
testimonials={[
|
||||
{
|
||||
name: "Sarah Johnson", handle: "CEO, TechFlow", testimonial: "Grew Digital transformed our online presence. The process was smooth and the results exceeded expectations!", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-blonde-confident-young-businesswoman-against-gray-background_23-2148029500.jpg?_wi=1"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-blonde-confident-young-businesswoman-against-gray-background_23-2148029500.jpg"
|
||||
},
|
||||
{
|
||||
name: "Michael Chen", handle: "Founder, InnovateCo", testimonial: "Professional team, clear communication, and a website that actually converts. Highly recommended!", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/experienced-grey-haired-businessman-standing_74855-9871.jpg?_wi=1"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/experienced-grey-haired-businessman-standing_74855-9871.jpg"
|
||||
},
|
||||
{
|
||||
name: "Emily Rodriguez", handle: "Director, GrowthLabs", testimonial: "From quote to launch in weeks. Their expertise and attention to detail made all the difference.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/real-professional-smiling-businesswoman-looking-confident-determined-face-expression-standing-suit-white-background_1258-123234.jpg?_wi=1"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/real-professional-smiling-businesswoman-looking-confident-determined-face-expression-standing-suit-white-background_1258-123234.jpg"
|
||||
}
|
||||
]}
|
||||
testimonialRotationInterval={5000}
|
||||
@@ -70,6 +70,7 @@ export default function LandingPage() {
|
||||
{ text: "Get Your Quote", href: "contact" },
|
||||
{ text: "See Our Work", href: "services" }
|
||||
]}
|
||||
mediaAnimation="none"
|
||||
useInvertedBackground={false}
|
||||
/>
|
||||
</div>
|
||||
@@ -123,13 +124,13 @@ export default function LandingPage() {
|
||||
tagIcon={Award}
|
||||
products={[
|
||||
{
|
||||
id: "1", name: "Starter Website", price: "$2,999", imageSrc: "http://img.b2bpic.net/free-vector/dashboard-user-panel-template_23-2148373760.jpg?_wi=2", imageAlt: "Starter website package"
|
||||
id: "1", name: "Starter Website", price: "$2,999", imageSrc: "http://img.b2bpic.net/free-vector/dashboard-user-panel-template_23-2148373760.jpg", imageAlt: "Starter website package"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Professional Website", price: "$5,999", imageSrc: "http://img.b2bpic.net/free-vector/dashboard-user-panel-template_23-2148373760.jpg?_wi=3", imageAlt: "Professional website package"
|
||||
id: "2", name: "Professional Website", price: "$5,999", imageSrc: "http://img.b2bpic.net/free-vector/dashboard-user-panel-template_23-2148373760.jpg", imageAlt: "Professional website package"
|
||||
},
|
||||
{
|
||||
id: "3", name: "Enterprise Website", price: "$12,999", imageSrc: "http://img.b2bpic.net/free-vector/dashboard-user-panel-template_23-2148373760.jpg?_wi=4", imageAlt: "Enterprise website package"
|
||||
id: "3", name: "Enterprise Website", price: "$12,999", imageSrc: "http://img.b2bpic.net/free-vector/dashboard-user-panel-template_23-2148373760.jpg", imageAlt: "Enterprise website package"
|
||||
}
|
||||
]}
|
||||
textboxLayout="default"
|
||||
@@ -148,15 +149,15 @@ export default function LandingPage() {
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", name: "Sarah Johnson", role: "CEO", company: "TechFlow", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-blonde-confident-young-businesswoman-against-gray-background_23-2148029500.jpg?_wi=2"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-blonde-confident-young-businesswoman-against-gray-background_23-2148029500.jpg"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Michael Chen", role: "Founder", company: "InnovateCo", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/experienced-grey-haired-businessman-standing_74855-9871.jpg?_wi=2"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/experienced-grey-haired-businessman-standing_74855-9871.jpg"
|
||||
},
|
||||
{
|
||||
id: "3", name: "Emily Rodriguez", role: "Director", company: "GrowthLabs", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/real-professional-smiling-businesswoman-looking-confident-determined-face-expression-standing-suit-white-background_1258-123234.jpg?_wi=2"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/real-professional-smiling-businesswoman-looking-confident-determined-face-expression-standing-suit-white-background_1258-123234.jpg"
|
||||
},
|
||||
{
|
||||
id: "4", name: "David Kim", role: "Owner", company: "StartupXYZ", rating: 5,
|
||||
@@ -187,7 +188,7 @@ export default function LandingPage() {
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "professional", badge: "Most Popular", badgeIcon: Sparkles,
|
||||
id: "professional", badge: "Most Popular", badgeIcon: Crown,
|
||||
price: "$5,999", subtitle: "Best for growing businesses", buttons: [
|
||||
{ text: "Get Quote", href: "contact" }
|
||||
],
|
||||
@@ -196,7 +197,7 @@ export default function LandingPage() {
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "enterprise", badge: "For Scale & Growth", badgeIcon: Sparkles,
|
||||
id: "enterprise", badge: "For Scale & Growth", badgeIcon: Rocket,
|
||||
price: "$12,999+", subtitle: "Enterprise solutions", buttons: [
|
||||
{ text: "Get Quote", href: "contact" }
|
||||
],
|
||||
|
||||
@@ -1,51 +1,36 @@
|
||||
"use client";
|
||||
import React, { SVGProps } from 'react';
|
||||
|
||||
import { memo } from "react";
|
||||
import useSvgTextLogo from "./useSvgTextLogo";
|
||||
import { cls } from "@/lib/utils";
|
||||
|
||||
interface SvgTextLogoProps {
|
||||
logoText: string;
|
||||
adjustHeightFactor?: number;
|
||||
verticalAlign?: "top" | "center";
|
||||
className?: string;
|
||||
interface SvgTextLogoProps extends SVGProps<SVGSVGElement> {
|
||||
text: string;
|
||||
fill?: string;
|
||||
dominantBaseline?: 'auto' | 'middle' | 'hanging' | 'mathematical';
|
||||
}
|
||||
|
||||
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,
|
||||
fill = 'currentColor',
|
||||
dominantBaseline = 'middle',
|
||||
...props
|
||||
}) => {
|
||||
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"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
{...props}
|
||||
>
|
||||
<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="150"
|
||||
y="50"
|
||||
textAnchor="middle"
|
||||
dominantBaseline={dominantBaseline}
|
||||
fill={fill}
|
||||
fontSize="48"
|
||||
fontWeight="bold"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
};
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user