|
1 | 1 | "use client"; |
2 | 2 |
|
3 | 3 | import ErrorBoundary from "@/components/error/ErrorBoundary"; |
| 4 | +import Link from "next/link"; |
| 5 | +import { ArrowLeft } from "lucide-react"; |
4 | 6 | import { useToast } from "@/components/ui/ToastProvider"; |
5 | 7 | import { useState } from "react"; |
6 | 8 | import Button from "@/components/ui/Button"; |
@@ -48,19 +50,35 @@ const CheckEmail = () => { |
48 | 50 |
|
49 | 51 | return ( |
50 | 52 | <ErrorBoundary> |
51 | | - <div className="min-h-screen bg-[#050C16] text-white flex flex-col"> |
| 53 | + <div className="min-h-screen bg-[#050C16] text-white md:flex md:flex-col"> |
| 54 | + {/* Back Arrow - desktop */} |
| 55 | + <div className="hidden md:flex md:items-start md:p-6"> |
| 56 | + <Link href="/auth/forgot-password"> |
| 57 | + <ArrowLeft size={20} /> |
| 58 | + </Link> |
| 59 | + </div> |
52 | 60 | {/* Main Content */} |
53 | | - <div className="flex flex-col items-center justify-center flex-1 px-4 md:px-6"> |
| 61 | + <div className="flex flex-col items-center px-4 md:px-6 pt-4 md:pt-0 md:justify-center md:flex-1"> |
54 | 62 | <div className="w-full max-w-sm md:max-w-[408px]"> |
55 | | - <div className='flex flex-row mb-4 justify-center h-[33px]'> |
| 63 | + {/* Mobile header with back arrow */} |
| 64 | + <div className='flex flex-row mb-4 gap-20 h-[33px] md:hidden'> |
| 65 | + <div className='flex items-center'> |
| 66 | + <Link href="/auth/forgot-password" className="mr-2"> |
| 67 | + <ArrowLeft size={20} /> |
| 68 | + </Link> |
| 69 | + </div> |
56 | 70 | <h1 className="text-xl md:text-2xl font-semibold text-center text-[#E6E6E6]"> |
57 | 71 | Check your Email |
58 | 72 | </h1> |
59 | 73 | </div> |
| 74 | + {/* Desktop title */} |
| 75 | + <h1 className="hidden md:block text-xl md:text-2xl font-semibold text-center text-[#E6E6E6] mb-4"> |
| 76 | + Check your Email |
| 77 | + </h1> |
60 | 78 |
|
61 | 79 | {/* Message */} |
62 | | - <div className="text-center mb-8 space-y-3"> |
63 | | - <p className="text-[#E6E6E6CC] text-sm leading-relaxed"> |
| 80 | + <div className="text-center mb-8 space-y-3 px-8"> |
| 81 | + <p className="text-[#E6E6E6CC]"> |
64 | 82 | We've sent you a link to your email address to reset your password. Click the link in your inbox to continue. |
65 | 83 | </p> |
66 | 84 | </div> |
|
0 commit comments