Merge version_1 into main #2
@@ -57,7 +57,7 @@ export default function LandingPage() {
|
||||
{ text: "Book a Turf", href: "https://apps.apple.com" },
|
||||
{ text: "Learn More", href: "#about" }
|
||||
]}
|
||||
background={{ variant: "circleGradient" }}
|
||||
background={{ variant: "plain" }}
|
||||
buttonAnimation="slide-up"
|
||||
ariaLabel="TurfMate booking hero section"
|
||||
/>
|
||||
@@ -143,10 +143,10 @@ export default function LandingPage() {
|
||||
<TestimonialCardTen
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", title: "Booking made incredibly easy", quote: "I used to spend 30 minutes calling venues for slot availability. TurfMate cut that down to 30 seconds. Real-time availability is a game-changer for weekend cricket players like me.", name: "Rajesh Patel", role: "Cricket Player, 15+ years", imageSrc: "http://img.b2bpic.net/free-photo/confident-young-sporty-man-wearing-headband-wristband-putting-baseball-bat-shoulder_141793-56424.jpg?_wi=1", imageAlt: "Rajesh Patel"
|
||||
id: "1", title: "Booking made incredibly easy", quote: "I used to spend 30 minutes calling venues for slot availability. TurfMate cut that down to 30 seconds. Real-time availability is a game-changer for weekend cricket players like me.", name: "Rajesh Patel", role: "Cricket Player, 15+ years", imageSrc: "http://img.b2bpic.net/free-photo/confident-young-sporty-man-wearing-headband-wristband-putting-baseball-bat-shoulder_141793-56424.jpg", imageAlt: "Rajesh Patel"
|
||||
},
|
||||
{
|
||||
id: "2", title: "Perfect for team coordination", quote: "Organizing inter-office football tournaments used to be chaotic. Now I invite teams through TurfMate, track confirmations, and manage payments all in one place. Seamless!", name: "Priya Sharma", role: "Corporate Sports Coordinator", imageSrc: "http://img.b2bpic.net/free-photo/gymnast-getting-ready-competition_23-2150867942.jpg?_wi=1", imageAlt: "Priya Sharma"
|
||||
id: "2", title: "Perfect for team coordination", quote: "Organizing inter-office football tournaments used to be chaotic. Now I invite teams through TurfMate, track confirmations, and manage payments all in one place. Seamless!", name: "Priya Sharma", role: "Corporate Sports Coordinator", imageSrc: "http://img.b2bpic.net/free-photo/gymnast-getting-ready-competition_23-2150867942.jpg", imageAlt: "Priya Sharma"
|
||||
},
|
||||
{
|
||||
id: "3", title: "Finally found my pickleball community", quote: "The app helped me discover pickleball courts I didn't know existed in Vadodara. Plus, the social features let me connect with other players. Best investment for my hobby.", name: "Arun Kumar", role: "Pickleball Enthusiast", imageSrc: "http://img.b2bpic.net/free-photo/man-posing-camera-standing-by-fence_23-2148264712.jpg", imageAlt: "Arun Kumar"
|
||||
@@ -155,10 +155,10 @@ export default function LandingPage() {
|
||||
id: "4", title: "Doubled our venue occupancy", quote: "As a venue owner, TurfMate helped us reach players we'd never connect with traditionally. Our bookings jumped 50% in the first month. The platform is hassle-free and our players love it.", name: "Vikram Singh", role: "Sports Venue Owner", imageSrc: "http://img.b2bpic.net/free-photo/authentic-scenes-plus-size-males-playing-basketball_52683-145029.jpg", imageAlt: "Vikram Singh"
|
||||
},
|
||||
{
|
||||
id: "5", title: "Transparent pricing, zero surprises", quote: "No hidden charges, no surprise fees. The pricing is upfront, and the instant confirmation gives me peace of mind. This is how modern booking platforms should work.", name: "Anjali Desai", role: "Casual Player", imageSrc: "http://img.b2bpic.net/free-photo/confident-young-sporty-man-wearing-headband-wristband-putting-baseball-bat-shoulder_141793-56424.jpg?_wi=2", imageAlt: "Anjali Desai"
|
||||
id: "5", title: "Transparent pricing, zero surprises", quote: "No hidden charges, no surprise fees. The pricing is upfront, and the instant confirmation gives me peace of mind. This is how modern booking platforms should work.", name: "Anjali Desai", role: "Casual Player", imageSrc: "http://img.b2bpic.net/free-photo/confident-young-sporty-man-wearing-headband-wristband-putting-baseball-bat-shoulder_141793-56424.jpg", imageAlt: "Anjali Desai"
|
||||
},
|
||||
{
|
||||
id: "6", title: "Perfect for multi-city expansion", quote: "We started in Vadodara and are now expanding to Ahmedabad and Pune. TurfMate's scalability makes it easy to manage venues across multiple cities without operational headaches.", name: "Deepak Nair", role: "Sports Business Owner", imageSrc: "http://img.b2bpic.net/free-photo/gymnast-getting-ready-competition_23-2150867942.jpg?_wi=2", imageAlt: "Deepak Nair"
|
||||
id: "6", title: "Perfect for multi-city expansion", quote: "We started in Vadodara and are now expanding to Ahmedabad and Pune. TurfMate's scalability makes it easy to manage venues across multiple cities without operational headaches.", name: "Deepak Nair", role: "Sports Business Owner", imageSrc: "http://img.b2bpic.net/free-photo/gymnast-getting-ready-competition_23-2150867942.jpg", imageAlt: "Deepak Nair"
|
||||
}
|
||||
]}
|
||||
title="Real Stories from Our Community"
|
||||
@@ -213,7 +213,7 @@ export default function LandingPage() {
|
||||
{ text: "Download Android App", href: "https://play.google.com" }
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
background={{ variant: "circleGradient" }}
|
||||
background={{ variant: "plain" }}
|
||||
useInvertedBackground={false}
|
||||
ariaLabel="Final call-to-action contact section"
|
||||
/>
|
||||
|
||||
@@ -1,51 +1,47 @@
|
||||
"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?: string;
|
||||
fontWeight?: string;
|
||||
fontFamily?: string;
|
||||
letterSpacing?: string;
|
||||
textAnchor?: 'start' | 'middle' | 'end';
|
||||
dominantBaseline?: 'auto' | 'text-bottom' | 'alphabetic' | 'ideographic' | 'middle' | 'central' | 'mathematical' | 'hanging';
|
||||
}
|
||||
|
||||
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,
|
||||
className = '',
|
||||
fontSize = '24',
|
||||
fontWeight = 'bold',
|
||||
fontFamily = 'Arial, sans-serif',
|
||||
letterSpacing = '0',
|
||||
textAnchor = 'middle',
|
||||
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 300 100"
|
||||
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%"
|
||||
fontSize={fontSize}
|
||||
fontWeight={fontWeight}
|
||||
fontFamily={fontFamily}
|
||||
letterSpacing={letterSpacing}
|
||||
textAnchor={textAnchor}
|
||||
dominantBaseline={dominantBaseline}
|
||||
fill="currentColor"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
export default SvgTextLogo;
|
||||
Reference in New Issue
Block a user