'use client'; import React, { useState } from 'react'; import Link from 'next/link'; import { useRouter } from 'next/navigation'; import PageTitle from '@/components/ui/PageTitle'; import { Typography, Input, Button, Radio, Row, Col, Card, Form, Space, } from 'antd'; const { Text, Title } = Typography; const Wallet: React.FC = () => { const [amount, setAmount] = useState(''); const [autoRenew, setAutoRenew] = useState(false); const router = useRouter(); return (
{/* Page Header */} Wallet
{/* 1. Balance + History Link */} Current Balance Transaction History {/* 2. Top-Up Section */} setAmount(e.target.value)} size="large" className="border-blue-500 bg-blue-50" /> {/* 3. Auto-Renew */} setAutoRenew(e.target.checked)} /> Auto-Renew Subscription

Enable monthly or yearly auto payment using wallet.

{/* 4. Current Plan Display */} Current Plan: Premium (RM25/Month)
); }; export default Wallet;