@@ -2,7 +2,6 @@ import Link from "next/link";
22import Image from "next/image" ;
33import SignupForm from "@/app/components/auth/SignupForm" ;
44import { Metadata } from "next" ;
5- import Footer from "@/app/components/layout/Footer" ;
65
76export const metadata : Metadata = {
87 title : "Sign Up - DevPulse" ,
@@ -12,33 +11,93 @@ export const metadata: Metadata = {
1211
1312export default async function Signup ( ) {
1413 return (
15- < >
16- < div className = "min-h-screen flex items-center justify-center bg-[#0a0a1a] text-white px-4 grid-bg relative" >
17- < div className = "glow-orb w-[400px] h-[400px] bg-purple-600/10 top-1/4 left-1/2 -translate-x-1/2" />
18-
19- < div className = "w-full max-w-lg glass-card p-10 relative z-10" >
20- < div className = "flex items-center gap-3 mb-2" >
21- < Image src = "/logo.svg" alt = "DevPulse Logo" width = { 36 } height = { 36 } />
22- < h2 className = "text-2xl font-bold gradient-text" > DevPulse</ h2 >
23- </ div >
24- < p className = "mb-8 text-gray-400 text-sm" >
25- Create your account to start monitoring your coding activity and
26- competing on leaderboards!
14+ < div className = "min-h-screen flex bg-[#0a0a1a] text-white" >
15+ { /* Left Side - Visual / Branding */ }
16+ < div className = "hidden lg:flex lg:w-1/2 relative flex-col justify-between p-12 border-r border-white/5 bg-gradient-to-br from-[#0a0a1a] to-[#0a0a1a] overflow-hidden" >
17+ { /* Background elements */ }
18+ < div className = "absolute inset-0 grid-bg opacity-30" />
19+
20+ < div className = "relative z-10" >
21+ < Link href = "/" className = "flex items-center gap-3 w-fit hover:opacity-80 transition" >
22+ < Image src = "/logo.svg" alt = "DevPulse Logo" width = { 40 } height = { 40 } />
23+ < span className = "text-2xl font-bold tracking-tight text-white" > DevPulse</ span >
24+ </ Link >
25+ </ div >
26+
27+ < div className = "relative z-10 max-w-md" >
28+ < h1 className = "text-4xl font-extrabold mb-5 leading-tight text-transparent bg-clip-text bg-gradient-to-r from-white to-gray-400" >
29+ Start measuring your coding pulse.
30+ </ h1 >
31+ < p className = "text-gray-400 text-lg leading-relaxed mb-8" >
32+ Join thousands of developers tracking their progress, competing on leaderboards, and leveling up their skills.
2733 </ p >
34+
35+ < div className = "glass-card border border-white/5 rounded-2xl p-5 bg-white/5 backdrop-blur-md shadow-2xl" >
36+ < div className = "flex items-center gap-2 mb-4" >
37+ < div className = "w-3 h-3 rounded-full bg-red-500/80" > </ div >
38+ < div className = "w-3 h-3 rounded-full bg-yellow-500/80" > </ div >
39+ < div className = "w-3 h-3 rounded-full bg-green-500/80" > </ div >
40+ < span className = "ml-2 text-xs font-mono text-gray-500" > setup.ts</ span >
41+ </ div >
42+ < div className = "space-y-1.5 font-mono text-sm" >
43+ < div className = "flex" >
44+ < span className = "text-purple-400 mr-2" > const</ span >
45+ < span className = "text-blue-400" > dev</ span >
46+ < span className = "text-gray-200 mx-2" > =</ span >
47+ < span className = "text-indigo-400 mr-2" > new</ span >
48+ < span className = "text-yellow-200" > Developer</ span >
49+ < span className = "text-gray-200" > ();</ span >
50+ </ div >
51+ < div className = "flex mt-2" >
52+ < span className = "text-blue-400" > dev</ span >
53+ < span className = "text-gray-200" > .</ span >
54+ < span className = "text-yellow-200" > connect</ span >
55+ < span className = "text-gray-200" > (</ span >
56+ < span className = "text-green-400" > 'wakatime'</ span >
57+ < span className = "text-gray-200" > );</ span >
58+ </ div >
59+ < div className = "flex mt-3" >
60+ < span className = "text-emerald-400/80" >
61+ { "// Your journey begins here. 🚀" }
62+ </ span >
63+ </ div >
64+ </ div >
65+ </ div >
66+ </ div >
67+
68+ < div className = "relative z-10 text-sm text-gray-500 font-medium" >
69+ © { new Date ( ) . getFullYear ( ) } DevPulse. All rights reserved.
70+ </ div >
71+ </ div >
72+
73+ { /* Right Side - Form */ }
74+ < div className = "w-full lg:w-1/2 flex flex-col justify-center items-center p-8 sm:p-12 xl:p-20 relative" >
75+ < div className = "absolute inset-0 grid-bg opacity-20 lg:hidden" />
76+
77+ < div className = "w-full max-w-sm relative z-10" >
78+ < div className = "lg:hidden flex items-center justify-center gap-3 mb-10" >
79+ < Image src = "/logo.svg" alt = "DevPulse Logo" width = { 40 } height = { 40 } />
80+ < h2 className = "text-3xl font-bold text-white" > DevPulse</ h2 >
81+ </ div >
82+
83+ < div className = "mb-8 text-left" >
84+ < h2 className = "text-3xl font-bold text-white mb-2" > Create an account</ h2 >
85+ < p className = "text-gray-400" > Start tracking your coding stats today.</ p >
86+ </ div >
2887
2988 < SignupForm />
3089
31- < Link
32- href = "/login"
33- className = "block mt-6 text-center text-sm text-gray-500 hover:text-gray-300 transition"
34- >
90+ < p className = "mt-8 text-center text-sm text-gray-400" >
3591 Already have an account?{ " " }
36- < span className = "text-indigo-400" > Log In</ span >
37- </ Link >
92+ < Link
93+ href = "/login"
94+ className = "text-indigo-400 hover:text-indigo-300 font-semibold transition-colors underline-offset-4 hover:underline"
95+ >
96+ Log in
97+ </ Link >
98+ </ p >
3899 </ div >
39100 </ div >
40-
41- < Footer />
42- </ >
101+ </ div >
43102 ) ;
44103}
0 commit comments