File size: 1,513 Bytes
78d0e31
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import { ContractStatus } from "@/components/contract-status"
import { WalletConnector } from "@/components/wallet-connector"
import { Button } from "@/components/ui/button"
import Link from "next/link"
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"

export default function DebugPage() {
  return (
    <div className="min-h-screen bg-black text-white p-4">
      <header className="flex justify-between items-center mb-8">
        <Link href="/">
          <h1 className="text-4xl font-bold flame-text">FLAMEBORN</h1>
        </Link>
        <WalletConnector />
      </header>

      <div className="max-w-4xl mx-auto">
        <h2 className="text-3xl font-bold mb-8 text-center">Debug Dashboard</h2>

        <div className="grid gap-6 md:grid-cols-2">
          <ContractStatus />
          <Card className="bg-ash-gray/30 border border-gray-700">
            <CardHeader>
              <CardTitle className="flame-text">Debug Tools</CardTitle>
            </CardHeader>
            <CardContent>
              <div className="space-y-4">
                <Link href="/debug/data-entry">
                  <Button className="w-full">Data Entry Testing</Button>
                </Link>
              </div>
            </CardContent>
          </Card>
        </div>

        <div className="mt-8 flex justify-center">
          <Link href="/">
            <Button className="flame-button">Return to Home</Button>
          </Link>
        </div>
      </div>
    </div>
  )
}