Merge version_1 into main #2
@@ -10,7 +10,7 @@ import ContactFaq from '@/components/sections/contact/ContactFaq';
|
||||
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
|
||||
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
|
||||
import FooterSimple from '@/components/sections/footer/FooterSimple';
|
||||
import { Sparkles, Award, Zap, CheckCircle, Gem, Users, Shield, Truck, Star, ShoppingCart, MapPin, MessageSquare, Phone, Quote } from 'lucide-react';
|
||||
import { Sparkles, Award, Zap, CheckCircle, Gem, Users, Shield, Truck, Star, ShoppingCart, MapPin, MessageSquare, Phone, Quote, Heart } from 'lucide-react';
|
||||
|
||||
export default function LandingPage() {
|
||||
return (
|
||||
@@ -49,15 +49,15 @@ export default function LandingPage() {
|
||||
tagIcon={Sparkles}
|
||||
tagAnimation="slide-up"
|
||||
leftCarouselItems={[
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=ghljew&_wi=1", imageAlt: "PlayStation 5 Gaming Console" },
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=qair31&_wi=1", imageAlt: "Gaming Controllers" },
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=c4mjoi&_wi=1", imageAlt: "Premium Gaming Setup" },
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=cwjjav&_wi=1", imageAlt: "Gaming Headset" }
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=ghljew", imageAlt: "PlayStation 5 Gaming Console" },
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=qair31", imageAlt: "Gaming Controllers" },
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=c4mjoi", imageAlt: "Premium Gaming Setup" },
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=cwjjav", imageAlt: "Gaming Headset" }
|
||||
]}
|
||||
rightCarouselItems={[
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=uqw86b&_wi=1", imageAlt: "Nintendo Switch" },
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=w7izzw&_wi=1", imageAlt: "Steam Deck Handheld" },
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=pcr2ri&_wi=1", imageAlt: "PS5 Games Collection" },
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=uqw86b", imageAlt: "Nintendo Switch" },
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=w7izzw", imageAlt: "Steam Deck Handheld" },
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=pcr2ri", imageAlt: "PS5 Games Collection" },
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=oft68n", imageAlt: "Gaming Store Interior" }
|
||||
]}
|
||||
buttons={[
|
||||
@@ -77,8 +77,8 @@ export default function LandingPage() {
|
||||
title="4.6 ⭐ Rating • 369+ Google Reviews"
|
||||
description="Excellent product quality and helpful staff"
|
||||
subdescription="Young Seasons Video Games - Hyderabad's #1 Gaming Destination"
|
||||
icon={Quote}
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=c4mjoi&_wi=2"
|
||||
icon={Heart}
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=c4mjoi"
|
||||
imageAlt="Trusted Gaming Store"
|
||||
mediaAnimation="slide-up"
|
||||
useInvertedBackground={false}
|
||||
@@ -109,12 +109,12 @@ export default function LandingPage() {
|
||||
<div id="products" data-section="products">
|
||||
<ProductCardOne
|
||||
products={[
|
||||
{ id: "1", name: "PlayStation 5", price: "₹49,990 - ₹59,990", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=ghljew&_wi=2", imageAlt: "PlayStation 5" },
|
||||
{ id: "2", name: "PS5 Games Bundle", price: "₹3,999 - ₹4,999", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=pcr2ri&_wi=2", imageAlt: "PS5 Games" },
|
||||
{ id: "3", name: "Nintendo Switch OLED", price: "₹34,999 - ₹37,999", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=uqw86b&_wi=2", imageAlt: "Nintendo Switch" },
|
||||
{ id: "4", name: "Steam Deck", price: "₹54,990 - ₹74,990", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=w7izzw&_wi=2", imageAlt: "Steam Deck" },
|
||||
{ id: "5", name: "Gaming Controllers", price: "₹4,499 - ₹6,999", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=qair31&_wi=2", imageAlt: "Gaming Controllers" },
|
||||
{ id: "6", name: "Gaming Headsets", price: "₹2,999 - ₹9,999", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=cwjjav&_wi=2", imageAlt: "Gaming Headsets" }
|
||||
{ id: "1", name: "PlayStation 5", price: "₹49,990 - ₹59,990", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=ghljew", imageAlt: "PlayStation 5" },
|
||||
{ id: "2", name: "PS5 Games Bundle", price: "₹3,999 - ₹4,999", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=pcr2ri", imageAlt: "PS5 Games" },
|
||||
{ id: "3", name: "Nintendo Switch OLED", price: "₹34,999 - ₹37,999", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=uqw86b", imageAlt: "Nintendo Switch" },
|
||||
{ id: "4", name: "Steam Deck", price: "₹54,990 - ₹74,990", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=w7izzw", imageAlt: "Steam Deck" },
|
||||
{ id: "5", name: "Gaming Controllers", price: "₹4,499 - ₹6,999", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=qair31", imageAlt: "Gaming Controllers" },
|
||||
{ id: "6", name: "Gaming Headsets", price: "₹2,999 - ₹9,999", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=cwjjav", imageAlt: "Gaming Headsets" }
|
||||
]}
|
||||
title="Featured Gaming Products"
|
||||
description="Explore our premium collection of consoles, games, and accessories available in-store today"
|
||||
@@ -160,12 +160,12 @@ export default function LandingPage() {
|
||||
tagIcon={MessageSquare}
|
||||
tagAnimation="slide-up"
|
||||
testimonials={[
|
||||
{ id: "1", name: "Rajesh Kumar", handle: "PS5 Enthusiast", testimonial: "Excellent product quality and helpful staff! They guided me through every step of choosing my PS5. Best gaming experience in Hyderabad!", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=6kqrj5&_wi=1", imageAlt: "Rajesh Kumar", icon: Quote },
|
||||
{ id: "2", name: "Priya Sharma", handle: "Nintendo Fan", testimonial: "Best prices and great discounts on Nintendo Switch! The team knew everything about the products. Highly recommended!", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=urn590&_wi=1", imageAlt: "Priya Sharma", icon: Quote },
|
||||
{ id: "1", name: "Rajesh Kumar", handle: "PS5 Enthusiast", testimonial: "Excellent product quality and helpful staff! They guided me through every step of choosing my PS5. Best gaming experience in Hyderabad!", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=6kqrj5", imageAlt: "Rajesh Kumar", icon: Quote },
|
||||
{ id: "2", name: "Priya Sharma", handle: "Nintendo Fan", testimonial: "Best prices and great discounts on Nintendo Switch! The team knew everything about the products. Highly recommended!", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=urn590", imageAlt: "Priya Sharma", icon: Quote },
|
||||
{ id: "3", name: "Arjun Desai", handle: "Casual Gamer", testimonial: "Amazing PlayStation buying experience. They offered warranty options and made sure I got exactly what I needed.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=ce6ebp", imageAlt: "Arjun Desai", icon: Quote },
|
||||
{ id: "4", name: "Sneha Patel", handle: "Gaming Parent", testimonial: "Trusted them for my son's gaming gifts. Expert advice and authentic products. Worth every visit!", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=ilp4pz", imageAlt: "Sneha Patel", icon: Quote },
|
||||
{ id: "5", name: "Vikram Singh", handle: "Tech Enthusiast", testimonial: "Got my Steam Deck here with perfect guidance. Their knowledge about gaming hardware is unmatched in the city.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=6kqrj5&_wi=2", imageAlt: "Vikram Singh", icon: Quote },
|
||||
{ id: "6", name: "Anjali Gupta", handle: "Gaming Streamer", testimonial: "Support and service are incredible. They help with post-purchase issues too. Young Seasons is my go-to gaming store!", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=urn590&_wi=2", imageAlt: "Anjali Gupta", icon: Quote }
|
||||
{ id: "5", name: "Vikram Singh", handle: "Tech Enthusiast", testimonial: "Got my Steam Deck here with perfect guidance. Their knowledge about gaming hardware is unmatched in the city.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=6kqrj5", imageAlt: "Vikram Singh", icon: Quote },
|
||||
{ id: "6", name: "Anjali Gupta", handle: "Gaming Streamer", testimonial: "Support and service are incredible. They help with post-purchase issues too. Young Seasons is my go-to gaming store!", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=urn590", imageAlt: "Anjali Gupta", icon: Quote }
|
||||
]}
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
|
||||
@@ -1,51 +1,48 @@
|
||||
"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;
|
||||
width?: number;
|
||||
height?: number;
|
||||
fontSize?: number;
|
||||
fontWeight?: string | number;
|
||||
fontFamily?: string;
|
||||
fill?: string;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
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,
|
||||
width = 200,
|
||||
height = 60,
|
||||
fontSize = 32,
|
||||
fontWeight = 'bold',
|
||||
fontFamily = 'Arial, sans-serif',
|
||||
fill = '#000000',
|
||||
className = '',
|
||||
}) => {
|
||||
return (
|
||||
<svg
|
||||
ref={svgRef}
|
||||
viewBox={viewBox}
|
||||
className={cls("w-full", className)}
|
||||
style={{ aspectRatio: aspectRatio }}
|
||||
preserveAspectRatio="none"
|
||||
role="img"
|
||||
aria-label={`${logoText} logo`}
|
||||
width={width}
|
||||
height={height}
|
||||
viewBox={`0 0 ${width} ${height}`}
|
||||
className={className}
|
||||
aria-label={`Logo: ${text}`}
|
||||
>
|
||||
<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="before-edge"
|
||||
fontSize={fontSize}
|
||||
fontWeight={fontWeight}
|
||||
fontFamily={fontFamily}
|
||||
fill={fill}
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
export default SvgTextLogo;
|
||||
Reference in New Issue
Block a user