Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 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 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 | 1x 13x 13x 13x 2x 2x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x | 'use client';
import { useRouter } from 'next/navigation';
import { ArrowLeft, Shield, Clock, CheckCircle2, FileText, Lock, Bell } from 'lucide-react';
import { Button } from '@/components/ui/button';
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card';
import { Alert, AlertDescription, AlertTitle } from '@/components/ui/alert';
import { Badge } from '@/components/ui/badge';
export default function AadhaarVerificationPage() {
const router = useRouter();
const handleGoBack = () => {
router.push('/settings/verification');
};
return (
<div className="space-y-6">
<div className="flex items-center gap-4">
<Button variant="ghost" size="icon" onClick={handleGoBack}>
<ArrowLeft className="h-4 w-4" />
</Button>
<div>
<div className="flex items-center gap-2">
<h1 className="text-2xl font-bold">Aadhaar Verification</h1>
<Badge
variant="secondary"
className="bg-amber-100 text-amber-800 dark:bg-amber-900 dark:text-amber-200"
>
<Clock className="mr-1 h-3 w-3" />
Coming Soon
</Badge>
</div>
<p className="text-muted-foreground">Government-backed identity verification</p>
</div>
</div>
{/* Coming Soon Banner */}
<Card className="border-amber-500/30 bg-amber-500/10 dark:border-amber-400/30 dark:bg-amber-400/10">
<CardContent className="pt-6">
<div className="flex items-start gap-4">
<div className="flex h-12 w-12 items-center justify-center rounded-full bg-amber-100 dark:bg-amber-900">
<Clock className="h-6 w-6 text-amber-600 dark:text-amber-400" />
</div>
<div className="flex-1">
<h2 className="text-lg font-semibold text-amber-800 dark:text-amber-200">
Aadhaar Verification Coming Soon
</h2>
<p className="mt-1 text-sm text-amber-700 dark:text-amber-300">
We're awaiting approval from DigiLocker to enable Aadhaar verification. This
process typically takes 1-2 weeks. We'll notify you once it's available.
</p>
<div className="mt-3 flex items-center gap-2">
<Button
variant="outline"
size="sm"
disabled
className="border-amber-300 bg-amber-100/50 text-amber-800"
>
<Bell className="mr-2 h-4 w-4" />
Notify Me (Coming Soon)
</Button>
</div>
</div>
</div>
</CardContent>
</Card>
{/* How it will work */}
<Card>
<CardHeader>
<CardTitle>How Aadhaar Verification Will Work</CardTitle>
<CardDescription>Secure, government-backed verification via DigiLocker</CardDescription>
</CardHeader>
<CardContent className="space-y-4">
<div className="space-y-4">
<div className="flex items-start gap-4">
<div className="flex h-8 w-8 items-center justify-center rounded-full bg-primary/10 font-semibold text-primary">
1
</div>
<div>
<p className="font-medium">Connect via DigiLocker</p>
<p className="text-sm text-muted-foreground">
Sign in using your Aadhaar-linked mobile number through the official DigiLocker
platform
</p>
</div>
</div>
<div className="flex items-start gap-4">
<div className="flex h-8 w-8 items-center justify-center rounded-full bg-primary/10 font-semibold text-primary">
2
</div>
<div>
<p className="font-medium">Authorize ProofID</p>
<p className="text-sm text-muted-foreground">
Grant one-time permission for ProofID to verify your identity
</p>
</div>
</div>
<div className="flex items-start gap-4">
<div className="flex h-8 w-8 items-center justify-center rounded-full bg-primary/10 font-semibold text-primary">
3
</div>
<div>
<p className="font-medium">Get Verified Badge</p>
<p className="text-sm text-muted-foreground">
Receive the “Aadhaar Verified” badge on your profile instantly
</p>
</div>
</div>
</div>
</CardContent>
</Card>
{/* Alternative: Offline XML */}
<Card>
<CardHeader>
<CardTitle className="flex items-center gap-2">
<FileText className="h-5 w-5" />
Alternative: Offline XML Verification
</CardTitle>
<CardDescription>Upload your Aadhaar eKYC XML from UIDAI</CardDescription>
</CardHeader>
<CardContent>
<p className="text-sm text-muted-foreground">
As an alternative to DigiLocker, you'll also be able to download your Aadhaar eKYC
XML from{' '}
<a
href="https://myaadhaar.uidai.gov.in/offline-kyc"
target="_blank"
rel="noopener noreferrer"
className="text-primary hover:underline"
>
myaadhaar.uidai.gov.in
</a>{' '}
and upload it for verification. This method will also be available soon.
</p>
</CardContent>
</Card>
{/* Privacy & Security */}
<Alert>
<Shield className="h-4 w-4" />
<AlertTitle>Privacy & Security</AlertTitle>
<AlertDescription>
Your Aadhaar number is <strong>never stored</strong>. We only save verification status and
a masked reference (XXXX-XXXX-1234). All verification is handled through official
UIDAI/DigiLocker channels in compliance with government guidelines.
</AlertDescription>
</Alert>
{/* What you'll get */}
<Card>
<CardHeader>
<CardTitle>Benefits of Aadhaar Verification</CardTitle>
</CardHeader>
<CardContent>
<ul className="space-y-3">
<li className="flex items-center gap-3">
<CheckCircle2 className="h-5 w-5 text-green-500" />
<span className="text-sm">
<strong>“Aadhaar Verified”</strong> badge displayed on your profile
</span>
</li>
<li className="flex items-center gap-3">
<CheckCircle2 className="h-5 w-5 text-green-500" />
<span className="text-sm">Higher trust score in professional verticals</span>
</li>
<li className="flex items-center gap-3">
<CheckCircle2 className="h-5 w-5 text-green-500" />
<span className="text-sm">Required for regulated professions (Doctor, Lawyer)</span>
</li>
<li className="flex items-center gap-3">
<Lock className="h-5 w-5 text-green-500" />
<span className="text-sm">Government-backed verification builds client trust</span>
</li>
</ul>
</CardContent>
</Card>
<Button variant="outline" className="w-full" onClick={handleGoBack}>
Back to Verification Settings
</Button>
<p className="text-center text-xs text-muted-foreground">
Learn more about{' '}
<a
href="https://digilocker.gov.in/"
target="_blank"
rel="noopener noreferrer"
className="text-primary hover:underline"
>
DigiLocker
</a>{' '}
|{' '}
<a
href="https://uidai.gov.in/"
target="_blank"
rel="noopener noreferrer"
className="text-primary hover:underline"
>
UIDAI
</a>
</p>
</div>
);
}
|