"use client" import React from "react" import { useTheme } from "next-themes" import { useWalletStore } from "@/lib/wallet-store" import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card" import { Label } from "@/components/ui/label" import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs" import { MoonIcon, SunIcon, UserIcon, Cog, ShieldCheck, ShieldAlert } from "lucide-react" import { Button } from "@/components/ui/button" import { Switch } from "@/components/ui/switch" export default function SettingsPage() { const { theme, setTheme } = useTheme() const { walletConnected, username, isVerified, toggleVerification } = useWalletStore() if (!walletConnected) { return (

Connect Your Wallet

Please connect your wallet to view your settings.

) } return (

Settings

Appearance Account Notifications Appearance Customize how VoxPop looks and feels for you
{theme === "light" ? ( ) : ( )}

{theme === "light" ? "Light" : "Dark"} Mode

{theme === "light" ? "Light" : "Dark"} theme for the interface

Account Settings Manage your account settings and preferences

{username || "Anonymous User"}

Account holder

{/* For testing: allows toggling verification status */}
{isVerified ? ( ) : ( )}

Verification Status

{isVerified ? "Verified user with full privileges" : "Unverified user with limited access"}

This verification toggle is for testing purposes only. In a production environment, verification status would be determined by actual identity verification.

Notification Settings Manage how and when you receive notifications

Notification settings are not yet implemented.

) }