diff --git a/src/app/page.tsx b/src/app/page.tsx index 2369f7f..22587d0 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -51,27 +51,27 @@ export default function LandingPage() { { text: "Browse Accounts", href: "#products" }, { text: "Learn More", href: "#features" } ]} - imageSrc="http://img.b2bpic.net/free-psd/gradient-technology-template_23-2149951822.jpg?_wi=1" + imageSrc="http://img.b2bpic.net/free-psd/gradient-technology-template_23-2149951822.jpg" imageAlt="Premium Fortnite Gaming Account Showcase" mediaAnimation="slide-up" imagePosition="right" testimonials={[ { name: "Alex Gamer", handle: "Streaming Pro", testimonial: "Found the perfect account with all the exclusive skins I wanted. Smooth transaction and instant delivery!", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/focused-asian-hacker-hacking-server_482257-77707.jpg?_wi=1", imageAlt: "Alex Gamer" + imageSrc: "http://img.b2bpic.net/free-photo/focused-asian-hacker-hacking-server_482257-77707.jpg", imageAlt: "Alex Gamer" }, { name: "Jordan Stream", handle: "Content Creator", testimonial: "Best marketplace for verified accounts. The security measures and customer support are top-notch.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/portrait-asmr-artist-uses-quality-mic-studio-anti-stress-video_482257-124195.jpg?_wi=1", imageAlt: "Jordan Stream" + imageSrc: "http://img.b2bpic.net/free-photo/portrait-asmr-artist-uses-quality-mic-studio-anti-stress-video_482257-124195.jpg", imageAlt: "Jordan Stream" }, { name: "Casey Pro", handle: "Competitive Player", testimonial: "Upgraded to an elite account with championship skins. Process was transparent and trustworthy.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/cheerful-gamer-discussing-with-teammates-while-playing-esports-tournament_482257-116085.jpg?_wi=1", imageAlt: "Casey Pro" + imageSrc: "http://img.b2bpic.net/free-photo/cheerful-gamer-discussing-with-teammates-while-playing-esports-tournament_482257-116085.jpg", imageAlt: "Casey Pro" } ]} testimonialRotationInterval={5000} useInvertedBackground={false} - background={{ variant: "glowing-orb" }} + background={{ variant: "noise" }} /> @@ -81,8 +81,7 @@ export default function LandingPage() { description="Industry-leading account marketplace with security, selection, and support unmatched by competitors." tag="Premium Service" tagIcon={Sparkles} - imagePosition="left" - imageSrc="http://img.b2bpic.net/free-psd/gradient-technology-template_23-2149951822.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-psd/gradient-technology-template_23-2149951822.jpg" imageAlt="FortniteHub Feature Showcase" mediaAnimation="slide-up" accordionItems={[ @@ -118,13 +117,13 @@ export default function LandingPage() { useInvertedBackground={true} products={[ { - id: "starter-pack", name: "Starter Edition", price: "$49", variant: "Level 100 | 25+ Cosmetics", imageSrc: "http://img.b2bpic.net/free-photo/joyous-gen-z-entertainer-presenting-wired-gaming-mouse-from-brand-close-up_482257-87330.jpg?_wi=1", imageAlt: "Fortnite Starter Account", isFavorited: false + id: "starter-pack", name: "Starter Edition", price: "$49", variant: "Level 100 | 25+ Cosmetics", imageSrc: "http://img.b2bpic.net/free-photo/joyous-gen-z-entertainer-presenting-wired-gaming-mouse-from-brand-close-up_482257-87330.jpg", imageAlt: "Fortnite Starter Account", isFavorited: false }, { - id: "rare-skins", name: "Rare Collector", price: "$149", variant: "Level 250+ | Exclusive Skins", imageSrc: "http://img.b2bpic.net/free-photo/friends-looking-together-their-pictures-phone_23-2148529057.jpg?_wi=1", imageAlt: "Fortnite Rare Account", isFavorited: false + id: "rare-skins", name: "Rare Collector", price: "$149", variant: "Level 250+ | Exclusive Skins", imageSrc: "http://img.b2bpic.net/free-photo/friends-looking-together-their-pictures-phone_23-2148529057.jpg", imageAlt: "Fortnite Rare Account", isFavorited: false }, { - id: "elite-pro", name: "Elite Championship", price: "$299", variant: "Level 500+ | Legendary Bundle", imageSrc: "http://img.b2bpic.net/free-photo/top-view-gamer-playing-with-controller_23-2149829173.jpg?_wi=1", imageAlt: "Fortnite Elite Account", isFavorited: false + id: "elite-pro", name: "Elite Championship", price: "$299", variant: "Level 500+ | Legendary Bundle", imageSrc: "http://img.b2bpic.net/free-photo/top-view-gamer-playing-with-controller_23-2149829173.jpg", imageAlt: "Fortnite Elite Account", isFavorited: false } ]} /> @@ -141,19 +140,19 @@ export default function LandingPage() { useInvertedBackground={true} plans={[ { - id: "basic", title: "Starter", price: "$49", period: "one-time", imageSrc: "http://img.b2bpic.net/free-photo/joyous-gen-z-entertainer-presenting-wired-gaming-mouse-from-brand-close-up_482257-87330.jpg?_wi=2", imageAlt: "Starter Tier Account", button: { text: "Get Started", href: "#contact" }, + id: "basic", title: "Starter", price: "$49", period: "one-time", imageSrc: "http://img.b2bpic.net/free-photo/joyous-gen-z-entertainer-presenting-wired-gaming-mouse-from-brand-close-up_482257-87330.jpg", imageAlt: "Starter Tier Account", button: { text: "Get Started", href: "#contact" }, features: [ "Level 100+ Account", "25+ Cosmetics Included", "All Battle Pass Items", "Instant Delivery", "30-Day Money Back" ] }, { - id: "pro", title: "Rare Collector", price: "$149", period: "one-time", imageSrc: "http://img.b2bpic.net/free-photo/friends-looking-together-their-pictures-phone_23-2148529057.jpg?_wi=2", imageAlt: "Rare Collector Account", button: { text: "Upgrade Now", href: "#contact" }, + id: "pro", title: "Rare Collector", price: "$149", period: "one-time", imageSrc: "http://img.b2bpic.net/free-photo/friends-looking-together-their-pictures-phone_23-2148529057.jpg", imageAlt: "Rare Collector Account", button: { text: "Upgrade Now", href: "#contact" }, features: [ "Level 250+ Account", "100+ Rare Cosmetics", "Exclusive Battle Pass Skins", "Seasonal Exclusives", "Priority Support" ] }, { - id: "elite", title: "Elite Championship", price: "$299", period: "one-time", imageSrc: "http://img.b2bpic.net/free-photo/top-view-gamer-playing-with-controller_23-2149829173.jpg?_wi=2", imageAlt: "Elite Championship Account", button: { text: "Claim Elite", href: "#contact" }, + id: "elite", title: "Elite Championship", price: "$299", period: "one-time", imageSrc: "http://img.b2bpic.net/free-photo/top-view-gamer-playing-with-controller_23-2149829173.jpg", imageAlt: "Elite Championship Account", button: { text: "Claim Elite", href: "#contact" }, features: [ "Level 500+ Account", "200+ Legendary Skins", "All Seasonal Rewards", "Championship Tier", "Lifetime Support" ] @@ -192,22 +191,22 @@ export default function LandingPage() { useInvertedBackground={true} testimonials={[ { - id: "1", name: "Alex Gamer", handle: "@alexgamer_pro", testimonial: "Found the perfect account with all the exclusive skins I wanted. Smooth transaction and instant delivery!", imageSrc: "http://img.b2bpic.net/free-photo/focused-asian-hacker-hacking-server_482257-77707.jpg?_wi=2", imageAlt: "Alex Gamer" + id: "1", name: "Alex Gamer", handle: "@alexgamer_pro", testimonial: "Found the perfect account with all the exclusive skins I wanted. Smooth transaction and instant delivery!", imageSrc: "http://img.b2bpic.net/free-photo/focused-asian-hacker-hacking-server_482257-77707.jpg", imageAlt: "Alex Gamer" }, { - id: "2", name: "Jordan Stream", handle: "@jordanstream", testimonial: "Best marketplace for verified accounts. The security measures and customer support are top-notch.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-asmr-artist-uses-quality-mic-studio-anti-stress-video_482257-124195.jpg?_wi=2", imageAlt: "Jordan Stream" + id: "2", name: "Jordan Stream", handle: "@jordanstream", testimonial: "Best marketplace for verified accounts. The security measures and customer support are top-notch.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-asmr-artist-uses-quality-mic-studio-anti-stress-video_482257-124195.jpg", imageAlt: "Jordan Stream" }, { - id: "3", name: "Casey Pro", handle: "@caseypro_gaming", testimonial: "Upgraded to an elite account with championship skins. Process was transparent and trustworthy.", imageSrc: "http://img.b2bpic.net/free-photo/cheerful-gamer-discussing-with-teammates-while-playing-esports-tournament_482257-116085.jpg?_wi=2", imageAlt: "Casey Pro" + id: "3", name: "Casey Pro", handle: "@caseypro_gaming", testimonial: "Upgraded to an elite account with championship skins. Process was transparent and trustworthy.", imageSrc: "http://img.b2bpic.net/free-photo/cheerful-gamer-discussing-with-teammates-while-playing-esports-tournament_482257-116085.jpg", imageAlt: "Casey Pro" }, { id: "4", name: "Morgan Elite", handle: "@morganelite_plays", testimonial: "Incredible selection and amazing prices. This is the only place I'll ever buy my gaming accounts!", imageSrc: "http://img.b2bpic.net/free-photo/hispanic-man-with-curly-hair-playing-video-game-holding-controller-winking-looking-camera-with-sexy-expression-cheerful-happy-face_839833-4127.jpg", imageAlt: "Morgan Elite" }, { - id: "5", name: "Taylor Competitive", handle: "@taylorcomp_esports", testimonial: "Account arrived within minutes with all promised cosmetics. Customer service answered all my questions.", imageSrc: "http://img.b2bpic.net/free-photo/focused-asian-hacker-hacking-server_482257-77707.jpg?_wi=3", imageAlt: "Taylor Competitive" + id: "5", name: "Taylor Competitive", handle: "@taylorcomp_esports", testimonial: "Account arrived within minutes with all promised cosmetics. Customer service answered all my questions.", imageSrc: "http://img.b2bpic.net/free-photo/focused-asian-hacker-hacking-server_482257-77707.jpg", imageAlt: "Taylor Competitive" }, { - id: "6", name: "Riley Casual", handle: "@rileycasual_gaming", testimonial: "Perfect for casual players wanting to jump into the action with cool gear. Highly recommend!", imageSrc: "http://img.b2bpic.net/free-photo/portrait-asmr-artist-uses-quality-mic-studio-anti-stress-video_482257-124195.jpg?_wi=3", imageAlt: "Riley Casual" + id: "6", name: "Riley Casual", handle: "@rileycasual_gaming", testimonial: "Perfect for casual players wanting to jump into the action with cool gear. Highly recommend!", imageSrc: "http://img.b2bpic.net/free-photo/portrait-asmr-artist-uses-quality-mic-studio-anti-stress-video_482257-124195.jpg", imageAlt: "Riley Casual" } ]} speed={40} @@ -241,7 +240,7 @@ export default function LandingPage() { { text: "Shop Now", href: "#products" }, { text: "Contact Support", href: "mailto:support@fortnitehub.com" } ]} - background={{ variant: "glowing-orb" }} + background={{ variant: "noise" }} useInvertedBackground={true} /> diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..7094c83 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -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; + textClassName?: string; + dominantBaseline?: 'auto' | 'text-bottom' | 'alphabetic' | 'ideographic' | 'middle' | 'central' | 'hanging' | 'mathematical' | 'inherit'; + textAnchor?: 'start' | 'middle' | 'end' | 'inherit'; + fontSize?: number; + fontWeight?: string | number; + fill?: string; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text, + className = '', + textClassName = '', + dominantBaseline = 'middle', + textAnchor = 'middle', + fontSize = 24, + fontWeight = 'bold', + fill = 'currentColor', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file