Skip to content

Commit 4c6a0bd

Browse files
committed
add test credentials to login/register page
1 parent 821c00d commit 4c6a0bd

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

src/app/auth/login/page.tsx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,29 @@ function LoginForm() {
189189
</Form>
190190
</CardContent>
191191
<CardFooter className="flex flex-col items-center gap-3">
192+
<div className="w-full rounded-lg border border-yellow-400/20 bg-yellow-50/5 p-4">
193+
<div className="mb-3 flex items-center gap-2">
194+
<span className="text-lg">🧪</span>
195+
<h3 className="text-sm font-semibold text-foreground">Test Credentials</h3>
196+
</div>
197+
<div className="space-y-3 text-xs">
198+
<div className="space-y-1">
199+
<p className="font-medium text-primary">Bounty Hunter Account</p>
200+
<p className="text-muted-foreground">Email: pmtbmt@gmail.com</p>
201+
<p className="text-muted-foreground">Password: password123</p>
202+
</div>
203+
<div className="space-y-1">
204+
<p className="font-medium text-primary">Company Account</p>
205+
<p className="text-muted-foreground">Email: taydeprajyot@gmail.com</p>
206+
<p className="text-muted-foreground">Password: password123</p>
207+
</div>
208+
<div className="space-y-1">
209+
<p className="font-medium text-primary">Admin Account</p>
210+
<p className="text-muted-foreground">Email: admin@test.com</p>
211+
<p className="text-muted-foreground">Password: password123</p>
212+
</div>
213+
</div>
214+
</div>
192215
<p className="text-center text-xs text-muted-foreground">
193216
Use the wallet controls in the header to connect your Solana wallet for seamless payouts.
194217
</p>

src/app/auth/register/page.tsx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,21 @@ export default function RegisterPage() {
306306
Sign in instead
307307
</Link>
308308
</p>
309+
<div className="w-full rounded-lg border border-yellow-400/20 bg-yellow-50/5 p-4">
310+
<div className="flex items-start gap-2">
311+
<span className="text-lg">🧪</span>
312+
<div className="flex-1 space-y-1">
313+
<h3 className="text-sm font-semibold text-foreground">Want to test the platform?</h3>
314+
<p className="text-xs text-muted-foreground">
315+
Test credentials for Bounty Hunter, Company, and Admin accounts are available on the{' '}
316+
<Link className="text-primary underline-offset-4 hover:underline font-medium" href="/auth/login">
317+
login page
318+
</Link>
319+
. No need to register!
320+
</p>
321+
</div>
322+
</div>
323+
</div>
309324
<p className="text-center text-xs text-muted-foreground">
310325
We will send a one-time verification code to confirm your email before activating your profile.
311326
</p>

0 commit comments

Comments
 (0)