diff --git a/src/app/page.tsx b/src/app/page.tsx index af8c692..59bf1a0 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -51,25 +51,26 @@ export default function LandingPage() { testimonials={[ { name: "Sarah Mitchell", handle: "Marketing Manager", testimonial: "These techniques genuinely helped me manage my stress at work. The office-friendly approach changed everything.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/beautiful-woman-cafe_273609-12670.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/beautiful-woman-cafe_273609-12670.jpg" }, { name: "James Chen", handle: "Software Developer", testimonial: "I was skeptical at first, but the breathing exercises transformed my daily routine. Best investment for my mental health.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/man-smiling-side_1187-3064.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/man-smiling-side_1187-3064.jpg" }, { name: "Emma Rodriguez", handle: "Executive Coach", testimonial: "The non-judgmental approach resonates with my clients. I recommend MindEase to everyone dealing with burnout.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/business-woman-using-tablet-window_23-2148095690.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/business-woman-using-tablet-window_23-2148095690.jpg" }, { name: "David Thompson", handle: "Product Manager", testimonial: "Simple, practical, and effective. The techniques work in real-world situations without disrupting my workday.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/beautiful-corporate-woman-looks-dreamy-smiles-stands-outside-street-leans-her-head-hands_1258-193991.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/beautiful-corporate-woman-looks-dreamy-smiles-stands-outside-street-leans-her-head-hands_1258-193991.jpg" } ]} buttons={[ { text: "Explore Techniques", href: "features" }, { text: "View Courses", href: "pricing" } ]} + background={{ variant: "glowing-orb" }} useInvertedBackground={false} /> @@ -96,8 +97,8 @@ export default function LandingPage() { features={[ { id: 1, - title: "Guided Breathing", description: "Simple breathing exercises that calm your nervous system in minutes. Perfect for moments of overwhelm at work or home.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/yoga-home-prayer-position_1163-1875.jpg?_wi=1" }, - phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-meditating-tourist-man-sits-with-suitcase-bedroom-practice-yoga-relaxing-finding-nirvana_1258-314339.jpg?_wi=1" } + title: "Guided Breathing", description: "Simple breathing exercises that calm your nervous system in minutes. Perfect for moments of overwhelm at work or home.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/yoga-home-prayer-position_1163-1875.jpg" }, + phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-meditating-tourist-man-sits-with-suitcase-bedroom-practice-yoga-relaxing-finding-nirvana_1258-314339.jpg" } }, { id: 2, @@ -106,8 +107,8 @@ export default function LandingPage() { }, { id: 3, - title: "Mindfulness Moments", description: "5-minute mindfulness practices that fit into your busy schedule. Build mental resilience and emotional awareness.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-meditating-tourist-man-sits-with-suitcase-bedroom-practice-yoga-relaxing-finding-nirvana_1258-314339.jpg?_wi=2" }, - phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/yoga-home-prayer-position_1163-1875.jpg?_wi=2" } + title: "Mindfulness Moments", description: "5-minute mindfulness practices that fit into your busy schedule. Build mental resilience and emotional awareness.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-meditating-tourist-man-sits-with-suitcase-bedroom-practice-yoga-relaxing-finding-nirvana_1258-314339.jpg" }, + phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/yoga-home-prayer-position_1163-1875.jpg" } } ]} showStepNumbers={true} @@ -166,27 +167,27 @@ export default function LandingPage() { testimonials={[ { id: "1", name: "Lisa Anderson", role: "HR Director", company: "Tech Innovations Inc", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/beautiful-woman-cafe_273609-12670.jpg?_wi=2" + imageSrc: "http://img.b2bpic.net/free-photo/beautiful-woman-cafe_273609-12670.jpg" }, { id: "2", name: "Marcus Johnson", role: "Systems Engineer", company: "Cloud Solutions Ltd", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/man-smiling-side_1187-3064.jpg?_wi=2" + imageSrc: "http://img.b2bpic.net/free-photo/man-smiling-side_1187-3064.jpg" }, { id: "3", name: "Priya Patel", role: "Project Manager", company: "Digital Agency Pro", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/business-woman-using-tablet-window_23-2148095690.jpg?_wi=2" + imageSrc: "http://img.b2bpic.net/free-photo/business-woman-using-tablet-window_23-2148095690.jpg" }, { id: "4", name: "Robert Klein", role: "Executive Director", company: "Wellness Ventures", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/beautiful-corporate-woman-looks-dreamy-smiles-stands-outside-street-leans-her-head-hands_1258-193991.jpg?_wi=2" + imageSrc: "http://img.b2bpic.net/free-photo/beautiful-corporate-woman-looks-dreamy-smiles-stands-outside-street-leans-her-head-hands_1258-193991.jpg" }, { id: "5", name: "Jessica Wong", role: "Senior Consultant", company: "Strategic Partners", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/beautiful-woman-cafe_273609-12670.jpg?_wi=3" + imageSrc: "http://img.b2bpic.net/free-photo/beautiful-woman-cafe_273609-12670.jpg" }, { id: "6", name: "Antonio Silva", role: "Operations Head", company: "Growth Corporation", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/man-smiling-side_1187-3064.jpg?_wi=3" + imageSrc: "http://img.b2bpic.net/free-photo/man-smiling-side_1187-3064.jpg" } ]} gridVariant="uniform-all-items-equal" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..c5ba45d 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,43 @@ -"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"; +interface SvgTextLogoProps extends SVGProps { + text: string; + size?: number; className?: string; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +export default function SvgTextLogo({ + text, + size = 100, + className = "", ...props +}: SvgTextLogoProps) { return ( + + + + + + - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +}