Update src/app/admin-panel/page.tsx
This commit is contained in:
@@ -34,8 +34,7 @@ export default function AdminPanel() {
|
||||
|
||||
const footerColumns = [
|
||||
{
|
||||
title: "Betting",
|
||||
items: [
|
||||
title: "Betting", items: [
|
||||
{ label: "Live Betting", href: "/live-betting" },
|
||||
{ label: "Upcoming Matches", href: "/upcoming-matches" },
|
||||
{ label: "Betting Tips", href: "#" },
|
||||
@@ -43,8 +42,7 @@ export default function AdminPanel() {
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Account",
|
||||
items: [
|
||||
title: "Account", items: [
|
||||
{ label: "Dashboard", href: "/dashboard" },
|
||||
{ label: "Wallet Balance", href: "#" },
|
||||
{ label: "Betting History", href: "#" },
|
||||
@@ -52,8 +50,7 @@ export default function AdminPanel() {
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Support",
|
||||
items: [
|
||||
title: "Support", items: [
|
||||
{ label: "FAQ", href: "#faq" },
|
||||
{ label: "Contact Us", href: "#" },
|
||||
{ label: "Live Chat", href: "#" },
|
||||
@@ -61,8 +58,7 @@ export default function AdminPanel() {
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Legal",
|
||||
items: [
|
||||
title: "Legal", items: [
|
||||
{ label: "Privacy Policy", href: "#" },
|
||||
{ label: "Terms & Conditions", href: "#" },
|
||||
{ label: "Responsible Gaming", href: "#" },
|
||||
@@ -70,8 +66,7 @@ export default function AdminPanel() {
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Company",
|
||||
items: [
|
||||
title: "Company", items: [
|
||||
{ label: "About Us", href: "#" },
|
||||
{ label: "Blog", href: "#" },
|
||||
{ label: "Careers", href: "#" },
|
||||
@@ -87,7 +82,7 @@ export default function AdminPanel() {
|
||||
borderRadius="rounded"
|
||||
contentWidth="compact"
|
||||
sizing="medium"
|
||||
background="aurora"
|
||||
background="circleGradient"
|
||||
cardStyle="gradient-bordered"
|
||||
primaryButtonStyle="diagonal-gradient"
|
||||
secondaryButtonStyle="glass"
|
||||
@@ -101,7 +96,7 @@ export default function AdminPanel() {
|
||||
<HeroBillboardDashboard
|
||||
title="Admin Dashboard"
|
||||
description="Manage live cricket matches, monitor betting activity, and oversee platform operations with real-time analytics and comprehensive controls."
|
||||
background={{ variant: "aurora" }}
|
||||
background={{ variant: "radial-gradient" }}
|
||||
tag="Admin Controls"
|
||||
tagIcon={Zap}
|
||||
tagAnimation="slide-up"
|
||||
@@ -111,11 +106,8 @@ export default function AdminPanel() {
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
dashboard={{
|
||||
title: "Admin Control Hub",
|
||||
logoIcon: Activity,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/professional-baseball-players_654080-2177.jpg?_wi=2",
|
||||
searchPlaceholder: "Search users or matches...",
|
||||
sidebarItems: [
|
||||
title: "Admin Control Hub", logoIcon: Activity,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/professional-baseball-players_654080-2177.jpg", searchPlaceholder: "Search users or matches...", sidebarItems: [
|
||||
{ icon: Home, active: true },
|
||||
{ icon: TrendingUp },
|
||||
{ icon: Wallet },
|
||||
@@ -126,50 +118,32 @@ export default function AdminPanel() {
|
||||
],
|
||||
stats: [
|
||||
{
|
||||
title: "Active Users",
|
||||
values: [2450, 3280, 4120],
|
||||
description: "Platform users online",
|
||||
},
|
||||
title: "Active Users", values: [2450, 3280, 4120],
|
||||
description: "Platform users online"},
|
||||
{
|
||||
title: "Total Bets",
|
||||
values: [18450, 24890, 31250],
|
||||
valuePrefix: "₹",
|
||||
valueSuffix: "Cr",
|
||||
description: "Bet volume today",
|
||||
},
|
||||
title: "Total Bets", values: [18450, 24890, 31250],
|
||||
valuePrefix: "₹", valueSuffix: "Cr", description: "Bet volume today"},
|
||||
{
|
||||
title: "Platform Revenue",
|
||||
values: [850, 1240, 1890],
|
||||
valuePrefix: "₹",
|
||||
valueSuffix: "K",
|
||||
description: "Commission earned",
|
||||
},
|
||||
title: "Platform Revenue", values: [850, 1240, 1890],
|
||||
valuePrefix: "₹", valueSuffix: "K", description: "Commission earned"},
|
||||
],
|
||||
chartTitle: "User Activity Trend",
|
||||
chartData: [
|
||||
chartTitle: "User Activity Trend", chartData: [
|
||||
{ value: 75 },
|
||||
{ value: 55 },
|
||||
{ value: 85 },
|
||||
{ value: 65 },
|
||||
{ value: 95 },
|
||||
],
|
||||
listTitle: "Recent System Events",
|
||||
listItems: [
|
||||
listTitle: "Recent System Events", listItems: [
|
||||
{
|
||||
icon: Crown,
|
||||
title: "Match Started: India vs England",
|
||||
status: "Live",
|
||||
},
|
||||
title: "Match Started: India vs England", status: "Live"},
|
||||
{
|
||||
icon: Target,
|
||||
title: "User Verification Completed",
|
||||
status: "Success",
|
||||
},
|
||||
title: "User Verification Completed", status: "Success"},
|
||||
{
|
||||
icon: Flame,
|
||||
title: "Withdrawal Request: ₹50,000",
|
||||
status: "Pending",
|
||||
},
|
||||
title: "Withdrawal Request: ₹50,000", status: "Pending"},
|
||||
],
|
||||
}}
|
||||
/>
|
||||
@@ -206,34 +180,19 @@ export default function AdminPanel() {
|
||||
animationType="slide-up"
|
||||
features={[
|
||||
{
|
||||
id: "1",
|
||||
title: "User Management",
|
||||
description: "Monitor user accounts, verify KYC documents, manage suspensions, and handle dispute resolutions with detailed audit logs",
|
||||
tag: "Users",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/lady-is-using-mobile-telephone-with-her-business-report-document_1150-6297.jpg?_wi=4",
|
||||
buttons: [
|
||||
id: "1", title: "User Management", description: "Monitor user accounts, verify KYC documents, manage suspensions, and handle dispute resolutions with detailed audit logs", tag: "Users", imageSrc: "http://img.b2bpic.net/free-photo/lady-is-using-mobile-telephone-with-her-business-report-document_1150-6297.jpg", buttons: [
|
||||
{ text: "Manage Users", href: "#" },
|
||||
{ text: "View Analytics", href: "#" },
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
title: "Match Management",
|
||||
description: "Create and manage cricket matches, set betting odds, control market availability, and monitor live betting activity in real-time",
|
||||
tag: "Matches",
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/gradient-world-tournament-schedule-template_52683-94437.jpg?_wi=2",
|
||||
buttons: [
|
||||
id: "2", title: "Match Management", description: "Create and manage cricket matches, set betting odds, control market availability, and monitor live betting activity in real-time", tag: "Matches", imageSrc: "http://img.b2bpic.net/free-vector/gradient-world-tournament-schedule-template_52683-94437.jpg", buttons: [
|
||||
{ text: "Add Match", href: "#" },
|
||||
{ text: "Set Odds", href: "#" },
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
title: "Financial Operations",
|
||||
description: "Process withdrawals, manage wallet balances, handle chargebacks, reconcile transactions, and maintain financial reports and compliance",
|
||||
tag: "Finance",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/people-bet-soccer-game-match-internet_53876-163244.jpg?_wi=2",
|
||||
buttons: [
|
||||
id: "3", title: "Financial Operations", description: "Process withdrawals, manage wallet balances, handle chargebacks, reconcile transactions, and maintain financial reports and compliance", tag: "Finance", imageSrc: "http://img.b2bpic.net/free-photo/people-bet-soccer-game-match-internet_53876-163244.jpg", buttons: [
|
||||
{ text: "Process Withdrawals", href: "#" },
|
||||
{ text: "View Transactions", href: "#" },
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user