Merge version_1 into main #2
@@ -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}
|
||||
/>
|
||||
</div>
|
||||
@@ -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"
|
||||
|
||||
@@ -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<SVGSVGElement> {
|
||||
text: string;
|
||||
size?: number;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
const SvgTextLogo = memo<SvgTextLogoProps>(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 (
|
||||
<svg
|
||||
ref={svgRef}
|
||||
viewBox={viewBox}
|
||||
className={cls("w-full", className)}
|
||||
style={{ aspectRatio: aspectRatio }}
|
||||
preserveAspectRatio="none"
|
||||
role="img"
|
||||
aria-label={`${logoText} logo`}
|
||||
width={size}
|
||||
height={size}
|
||||
viewBox={`0 0 ${size} ${size}`}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
className={className}
|
||||
{...props}
|
||||
>
|
||||
<defs>
|
||||
<linearGradient id="textGradient" x1="0%" y1="0%" x2="100%" y2="100%">
|
||||
<stop offset="0%" stopColor="#3b82f6" />
|
||||
<stop offset="100%" stopColor="#8b5cf6" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<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={size / 2}
|
||||
y={size / 2}
|
||||
textAnchor="middle"
|
||||
dominantBaseline="middle"
|
||||
fontSize={size * 0.6}
|
||||
fontWeight="bold"
|
||||
fill="url(#textGradient)"
|
||||
fontFamily="Arial, sans-serif"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user