Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-10 19:12:29 +00:00
2 changed files with 40 additions and 48 deletions

View File

@@ -9,7 +9,7 @@ import MetricCardSeven from '@/components/sections/metrics/MetricCardSeven';
import PricingCardTwo from '@/components/sections/pricing/PricingCardTwo';
import FaqBase from '@/components/sections/faq/FaqBase';
import FooterCard from '@/components/sections/footer/FooterCard';
import { CheckCircle, DollarSign, Github, Lock, Map, Server, Shield, Trophy, Twitch, Twitter, Users, Zap } from 'lucide-react';
import { CheckCircle, DollarSign, Github, Lock, Map, Server, Shield, Trophy, Twitch, Twitter, Users, Zap, TrendingUp } from 'lucide-react';
export default function LandingPage() {
return (
@@ -19,7 +19,7 @@ export default function LandingPage() {
borderRadius="rounded"
contentWidth="mediumLarge"
sizing="largeSizeMediumTitles"
background="noiseDiagonalGradient"
background="circleGradient"
cardStyle="inset"
primaryButtonStyle="gradient"
secondaryButtonStyle="glass"
@@ -40,7 +40,7 @@ export default function LandingPage() {
<HeroBillboardCarousel
title="Stake. Play. Win."
description="Skill-based CS2 wagering on real servers with instant crypto payouts. Compete, win, collect."
background={{ variant: "noiseDiagonalGradient" }}
background={{ variant: "plain" }}
tag="Competitive Gaming"
tagAnimation="slide-up"
buttons={[
@@ -49,11 +49,11 @@ export default function LandingPage() {
]}
buttonAnimation="slide-up"
mediaItems={[
{ imageSrc: "http://img.b2bpic.net/free-vector/gradient-twitch-panels_23-2149203393.jpg?_wi=1", imageAlt: "Live match 5v5 de_dust2" },
{ imageSrc: "http://img.b2bpic.net/free-photo/military-officers-looking-tracking-equipment-screens-gain-intel_482257-116370.jpg?_wi=1", imageAlt: "Live match 2v2 de_mirage" },
{ imageSrc: "http://img.b2bpic.net/free-psd/e-sport-games-landing-page-template_23-2149043179.jpg?_wi=1", imageAlt: "Live match 1v1 de_inferno" },
{ imageSrc: "http://img.b2bpic.net/free-vector/gradient-twitch-panels_23-2149203393.jpg?_wi=2", imageAlt: "Tournament match stats" },
{ imageSrc: "http://img.b2bpic.net/free-photo/military-officers-looking-tracking-equipment-screens-gain-intel_482257-116370.jpg?_wi=2", imageAlt: "Ranked competitive match" }
{ imageSrc: "http://img.b2bpic.net/free-vector/gradient-twitch-panels_23-2149203393.jpg", imageAlt: "Live match 5v5 de_dust2" },
{ imageSrc: "http://img.b2bpic.net/free-photo/military-officers-looking-tracking-equipment-screens-gain-intel_482257-116370.jpg", imageAlt: "Live match 2v2 de_mirage" },
{ imageSrc: "http://img.b2bpic.net/free-psd/e-sport-games-landing-page-template_23-2149043179.jpg", imageAlt: "Live match 1v1 de_inferno" },
{ imageSrc: "http://img.b2bpic.net/free-vector/gradient-twitch-panels_23-2149203393.jpg", imageAlt: "Tournament match stats" },
{ imageSrc: "http://img.b2bpic.net/free-photo/military-officers-looking-tracking-equipment-screens-gain-intel_482257-116370.jpg", imageAlt: "Ranked competitive match" }
]}
/>
</div>
@@ -70,7 +70,7 @@ export default function LandingPage() {
items: [
{ icon: Zap, text: "Instant deposits" },
{ icon: Lock, text: "Secure transactions" },
{ icon: Zap, text: "Multi-currency support" }
{ icon: TrendingUp, text: "Multi-currency support" }
],
reverse: false
},
@@ -107,13 +107,13 @@ export default function LandingPage() {
tagAnimation="slide-up"
products={[
{
id: "1v1", name: "1v1 Duel", price: "$5 $250", variant: "Ultimate Test of Skill", imageSrc: "http://img.b2bpic.net/free-vector/gradient-twitch-panels_23-2149203393.jpg?_wi=3", imageAlt: "1v1 Duel Mode"
id: "1v1", name: "1v1 Duel", price: "$5 $250", variant: "Ultimate Test of Skill", imageSrc: "http://img.b2bpic.net/free-vector/gradient-twitch-panels_23-2149203393.jpg", imageAlt: "1v1 Duel Mode"
},
{
id: "2v2", name: "2v2 Squad", price: "$10 $500", variant: "Team Synergy Focus", imageSrc: "http://img.b2bpic.net/free-photo/military-officers-looking-tracking-equipment-screens-gain-intel_482257-116370.jpg?_wi=3", imageAlt: "2v2 Squad Mode"
id: "2v2", name: "2v2 Squad", price: "$10 $500", variant: "Team Synergy Focus", imageSrc: "http://img.b2bpic.net/free-photo/military-officers-looking-tracking-equipment-screens-gain-intel_482257-116370.jpg", imageAlt: "2v2 Squad Mode"
},
{
id: "5v5", name: "5v5 Competitive", price: "$20 $1000", variant: "Full Competitive Match", imageSrc: "http://img.b2bpic.net/free-psd/e-sport-games-landing-page-template_23-2149043179.jpg?_wi=2", imageAlt: "5v5 Competitive Mode"
id: "5v5", name: "5v5 Competitive", price: "$20 $1000", variant: "Full Competitive Match", imageSrc: "http://img.b2bpic.net/free-psd/e-sport-games-landing-page-template_23-2149043179.jpg", imageAlt: "5v5 Competitive Mode"
}
]}
gridVariant="three-columns-all-equal-width"

View File

@@ -1,51 +1,43 @@
"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?: number;
fontWeight?: number | string;
fill?: string;
textAnchor?: 'start' | 'middle' | 'end';
dominantBaseline?: 'auto' | 'middle' | 'hanging';
}
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,
className,
fontSize = 24,
fontWeight = 700,
fill = 'currentColor',
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 ${text.length * fontSize * 0.6} ${fontSize * 1.5}`}
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}
fill={fill}
textAnchor={textAnchor}
dominantBaseline={dominantBaseline}
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;