feat: add Solana USDT/USDC support and refine admin payouts UI
This commit is contained in:
@@ -13,6 +13,7 @@ import { tr } from 'date-fns/locale';
|
||||
import Link from 'next/link';
|
||||
import TransactionChart from '@/components/admin/TransactionChart';
|
||||
import QueryRangeSelector from '@/components/admin/QueryRangeSelector';
|
||||
import PlatformTreasuryWidget from '@/components/admin/PlatformTreasuryWidget';
|
||||
|
||||
async function getStats(rangeDays: number = 30) {
|
||||
const result = await db.query('SELECT * FROM transactions ORDER BY created_at DESC');
|
||||
@@ -143,6 +144,9 @@ export default async function AdminDashboard(props: {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Platform Treasury Status - High Visibility */}
|
||||
<PlatformTreasuryWidget />
|
||||
|
||||
{/* Middle Section: Charts */}
|
||||
<div className="bg-white p-8 rounded-3xl border border-gray-100 shadow-sm">
|
||||
<div className="flex justify-between items-center mb-10">
|
||||
|
||||
Reference in New Issue
Block a user