Update src/app/dashboard/page.tsx
This commit is contained in:
@@ -92,36 +92,16 @@ export default function DashboardPage() {
|
||||
<MetricCardTen
|
||||
metrics={[
|
||||
{
|
||||
id: "1",
|
||||
title: "Tournaments Registered",
|
||||
subtitle: "Active and completed tournaments",
|
||||
category: "Participation",
|
||||
value: "12",
|
||||
buttons: [{ text: "View History", href: "#" }],
|
||||
id: "1", title: "Tournaments Registered", subtitle: "Active and completed tournaments", category: "Participation", value: "12", buttons: [{ text: "View History", href: "#" }],
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
title: "Current Wallet Balance",
|
||||
subtitle: "Available for withdrawals",
|
||||
category: "Finance",
|
||||
value: "₹45,320",
|
||||
buttons: [{ text: "Withdraw", href: "#" }],
|
||||
id: "2", title: "Current Wallet Balance", subtitle: "Available for withdrawals", category: "Finance", value: "₹45,320", buttons: [{ text: "Withdraw", href: "#" }],
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
title: "Tournament Winnings",
|
||||
subtitle: "Total prize money earned",
|
||||
category: "Earnings",
|
||||
value: "₹2,85,000",
|
||||
buttons: [{ text: "View Earnings", href: "#" }],
|
||||
id: "3", title: "Tournament Winnings", subtitle: "Total prize money earned", category: "Earnings", value: "₹2,85,000", buttons: [{ text: "View Earnings", href: "#" }],
|
||||
},
|
||||
{
|
||||
id: "4",
|
||||
title: "Current Rank",
|
||||
subtitle: "Your global competitive standing",
|
||||
category: "Ranking",
|
||||
value: "#847",
|
||||
buttons: [{ text: "View Leaderboard", href: "/leaderboard" }],
|
||||
id: "4", title: "Current Rank", subtitle: "Your global competitive standing", category: "Ranking", value: "#847", buttons: [{ text: "View Leaderboard", href: "/leaderboard" }],
|
||||
},
|
||||
]}
|
||||
title="Your Player Dashboard"
|
||||
@@ -139,28 +119,13 @@ export default function DashboardPage() {
|
||||
<MetricCardTen
|
||||
metrics={[
|
||||
{
|
||||
id: "1",
|
||||
title: "BGMI Elite Championship",
|
||||
subtitle: "Squad-based Tournament",
|
||||
category: "BGMI",
|
||||
value: "In Progress",
|
||||
buttons: [{ text: "Join Squad", href: "#" }],
|
||||
id: "1", title: "BGMI Elite Championship", subtitle: "Squad-based Tournament", category: "BGMI", value: "In Progress", buttons: [{ text: "Join Squad", href: "#" }],
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
title: "PUBG Mobile Royale Cup",
|
||||
subtitle: "Solo Battle Royale",
|
||||
category: "PUBG Mobile",
|
||||
value: "Registration Open",
|
||||
buttons: [{ text: "Register", href: "#" }],
|
||||
id: "2", title: "PUBG Mobile Royale Cup", subtitle: "Solo Battle Royale", category: "PUBG Mobile", value: "Registration Open", buttons: [{ text: "Register", href: "#" }],
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
title: "Free Fire Commando League",
|
||||
subtitle: "Team-based Competitive",
|
||||
category: "Free Fire",
|
||||
value: "Starting Soon",
|
||||
buttons: [{ text: "View Details", href: "#" }],
|
||||
id: "3", title: "Free Fire Commando League", subtitle: "Team-based Competitive", category: "Free Fire", value: "Starting Soon", buttons: [{ text: "View Details", href: "#" }],
|
||||
},
|
||||
]}
|
||||
title="Available Tournaments"
|
||||
@@ -169,7 +134,7 @@ export default function DashboardPage() {
|
||||
tagIcon={Zap}
|
||||
tagAnimation="slide-up"
|
||||
animationType="slide-up"
|
||||
textboxLayout="centered"
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
/>
|
||||
</div>
|
||||
@@ -178,29 +143,14 @@ export default function DashboardPage() {
|
||||
<TestimonialCardTwo
|
||||
testimonials={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Vikram Patel",
|
||||
role: "Dashboard Power User",
|
||||
testimonial: "The dashboard gives me complete control over my gaming career. Easy tournament discovery, instant stats, and seamless wallet management.",
|
||||
icon: TrendingUp,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AniZYSGI7fOLw18dFtXUc2PJnK/professional-esports-player-testimonial--1773235084632-9e8ef1f1.png?_wi=3",
|
||||
},
|
||||
id: "1", name: "Vikram Patel", role: "Dashboard Power User", testimonial: "The dashboard gives me complete control over my gaming career. Easy tournament discovery, instant stats, and seamless wallet management.", icon: TrendingUp,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AniZYSGI7fOLw18dFtXUc2PJnK/professional-esports-player-testimonial--1773235084632-9e8ef1f1.png"},
|
||||
{
|
||||
id: "2",
|
||||
name: "Sarah Khan",
|
||||
role: "Aspiring Pro Gamer",
|
||||
testimonial: "Dashboard interface is intuitive and powerful. I can track my progress, manage my earnings, and plan my tournament strategy all in one place.",
|
||||
icon: Target,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AniZYSGI7fOLw18dFtXUc2PJnK/professional-esports-gaming-player-testi-1773235083670-9663741d.png?_wi=2",
|
||||
},
|
||||
id: "2", name: "Sarah Khan", role: "Aspiring Pro Gamer", testimonial: "Dashboard interface is intuitive and powerful. I can track my progress, manage my earnings, and plan my tournament strategy all in one place.", icon: Target,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AniZYSGI7fOLw18dFtXUc2PJnK/professional-esports-gaming-player-testi-1773235083670-9663741d.png"},
|
||||
{
|
||||
id: "3",
|
||||
name: "Amit Verma",
|
||||
role: "Competitive Streamer",
|
||||
testimonial: "Dashboard features are exactly what competitive gamers need. Real-time updates, match history, and automatic payment tracking make this platform stand out.",
|
||||
icon: Zap,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AniZYSGI7fOLw18dFtXUc2PJnK/professional-esports-player-avatar-for-t-1773235084505-3380681e.png?_wi=2",
|
||||
},
|
||||
id: "3", name: "Amit Verma", role: "Competitive Streamer", testimonial: "Dashboard features are exactly what competitive gamers need. Real-time updates, match history, and automatic payment tracking make this platform stand out.", icon: Zap,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AniZYSGI7fOLw18dFtXUc2PJnK/professional-esports-player-avatar-for-t-1773235084505-3380681e.png"},
|
||||
]}
|
||||
title="Dashboard User Experiences"
|
||||
description="Discover how competitive gamers use the Faber dashboard to manage their gaming careers."
|
||||
|
||||
Reference in New Issue
Block a user