@@ -71,10 +71,10 @@ export default function RegisterPage() {
7171
7272 if ( ! nextEvent ) {
7373 return (
74- < main className = "min-h-screen bg-white pt-32 pb-16 px-4" >
74+ < main className = "min-h-screen bg-white dark:bg-[#36393f] darkest:bg-black pt-32 pb-16 px-4" >
7575 < div className = "max-w-2xl mx-auto text-center" >
76- < h1 className = "text-4xl font-bold text-black mb-4" > Registration</ h1 >
77- < p className = "text-lg text-black/60" >
76+ < h1 className = "text-4xl font-bold text-black dark:text-white darkest:text-white mb-4" > Registration</ h1 >
77+ < p className = "text-lg text-black/60 dark:text-[#b9bbbe] darkest:text-white/60 " >
7878 No upcoming events are scheduled at the moment. Please check back later.
7979 </ p >
8080 </ div >
@@ -83,22 +83,22 @@ export default function RegisterPage() {
8383 }
8484
8585 return (
86- < main className = "min-h-screen bg-white pt-32 pb-16 px-4" >
86+ < main className = "min-h-screen bg-white dark:bg-[#36393f] darkest:bg-black pt-32 pb-16 px-4" >
8787 < div className = "max-w-2xl mx-auto" >
8888 < div className = "mb-8 text-center" >
89- < h1 className = "text-4xl font-bold text-black mb-4" > Register for the { nextEvent . title } </ h1 >
90- < div className = "bg-black/5 border border-black/10 rounded-lg p-6 mb-8" >
91- < p className = "text-lg text-black mb-2" >
89+ < h1 className = "text-4xl font-bold text-black dark:text-white darkest:text-white mb-4" > Register for the { nextEvent . title } </ h1 >
90+ < div className = "bg-black/5 dark:bg-[#2f3136] darkest:bg-white/5 border border-black/10 dark:border-[#40444b] darkest:border-white/20 rounded-lg p-6 mb-8" >
91+ < p className = "text-lg text-black dark:text-white darkest:text-white mb-2" >
9292 < span className = "font-semibold" > Date:</ span > { nextEvent . date . toLocaleDateString ( 'en-US' , {
9393 year : 'numeric' ,
9494 month : 'long' ,
9595 day : 'numeric'
9696 } ) }
9797 </ p >
98- < p className = "text-lg text-black mb-2" >
98+ < p className = "text-lg text-black dark:text-white darkest:text-white mb-2" >
9999 < span className = "font-semibold" > Location:</ span > { nextEvent . university } , { nextEvent . location }
100100 </ p >
101- < p className = "text-black/70" > { nextEvent . description } </ p >
101+ < p className = "text-black/70 dark:text-[#b9bbbe] darkest:text-white/70 " > { nextEvent . description } </ p >
102102 </ div >
103103 </ div >
104104
@@ -109,22 +109,22 @@ export default function RegisterPage() {
109109 ) }
110110
111111 { submitted ? (
112- < div className = "bg-green-50 border border-green-200 rounded-lg p-8 text-center" >
113- < h2 className = "text-2xl font-bold text-green-900 mb-4" > Thank You!</ h2 >
114- < p className = "text-green-800 mb-4" >
112+ < div className = "bg-green-50 dark:bg-green-900/20 darkest:bg-green-900/20 border border-green-200 dark:border-green-700 darkest:border-green-700 rounded-lg p-8 text-center" >
113+ < h2 className = "text-2xl font-bold text-green-900 dark:text-green-400 darkest:text-green-400 mb-4" > Thank You!</ h2 >
114+ < p className = "text-green-800 dark:text-green-300 darkest:text-green-300 mb-4" >
115115 Your registration has been received. We'll get back to you soon with more details.
116116 </ p >
117117 < button
118118 onClick = { ( ) => setSubmitted ( false ) }
119- className = "text-black hover:text-black/70 underline"
119+ className = "text-black dark:text-white darkest:text-white hover:text-black/70 dark:hover:text-white/70 darkest:hover:text-white /70 underline"
120120 >
121121 Submit another registration
122122 </ button >
123123 </ div >
124124 ) : (
125- < form onSubmit = { handleSubmit } className = "border border-black/10 rounded-lg p-8" >
125+ < form onSubmit = { handleSubmit } className = "border border-black/10 dark:border-[#40444b] darkest:border-white/20 rounded-lg p-8 bg-white dark:bg-[#2f3136] darkest:bg-black " >
126126 < div className = "mb-6" >
127- < label htmlFor = "name" className = "block text-sm font-semibold text-black mb-2" >
127+ < label htmlFor = "name" className = "block text-sm font-semibold text-black dark:text-white darkest:text-white mb-2" >
128128 Name (Presenter) < span className = "text-red-500" > *</ span >
129129 </ label >
130130 < input
@@ -134,13 +134,13 @@ export default function RegisterPage() {
134134 required
135135 value = { formData . name }
136136 onChange = { handleChange }
137- className = "w-full px-4 py-2 border border-black/20 rounded-lg focus:ring-2 focus:ring-black focus:border-black outline-none transition"
137+ className = "w-full px-4 py-2 border border-black/20 dark:border-[#40444b] darkest:border-white/20 rounded-lg focus:ring-2 focus:ring-black dark: focus:ring-white darkest:focus:ring-white focus: border-black dark:focus:border-white darkest:focus:border-white outline-none transition bg-white dark:bg-[#1e1f22] darkest:bg-[#0a0a0a] text-black dark:text-white darkest:text-white placeholder:text-black/40 dark:placeholder:text-[#72767d] darkest:placeholder:text-white/40 "
138138 placeholder = "Your full name"
139139 />
140140 </ div >
141141
142142 < div className = "mb-6" >
143- < label htmlFor = "talkTitle" className = "block text-sm font-semibold text-black mb-2" >
143+ < label htmlFor = "talkTitle" className = "block text-sm font-semibold text-black dark:text-white darkest:text-white mb-2" >
144144 Talk Title < span className = "text-red-500" > *</ span >
145145 </ label >
146146 < input
@@ -150,13 +150,13 @@ export default function RegisterPage() {
150150 required
151151 value = { formData . talkTitle }
152152 onChange = { handleChange }
153- className = "w-full px-4 py-2 border border-black/20 rounded-lg focus:ring-2 focus:ring-black focus:border-black outline-none transition"
153+ className = "w-full px-4 py-2 border border-black/20 dark:border-[#40444b] darkest:border-white/20 rounded-lg focus:ring-2 focus:ring-black dark: focus:ring-white darkest:focus:ring-white focus: border-black dark:focus:border-white darkest:focus:border-white outline-none transition bg-white dark:bg-[#1e1f22] darkest:bg-[#0a0a0a] text-black dark:text-white darkest:text-white placeholder:text-black/40 dark:placeholder:text-[#72767d] darkest:placeholder:text-white/40 "
154154 placeholder = "Title of your presentation"
155155 />
156156 </ div >
157157
158158 < div className = "mb-6" >
159- < label htmlFor = "description" className = "block text-sm font-semibold text-black mb-2" >
159+ < label htmlFor = "description" className = "block text-sm font-semibold text-black dark:text-white darkest:text-white mb-2" >
160160 Short Description < span className = "text-red-500" > *</ span >
161161 </ label >
162162 < textarea
@@ -166,22 +166,22 @@ export default function RegisterPage() {
166166 value = { formData . description }
167167 onChange = { handleChange }
168168 rows = { 4 }
169- className = "w-full px-4 py-2 border border-black/20 rounded-lg focus:ring-2 focus:ring-black focus:border-black outline-none transition resize-none"
169+ className = "w-full px-4 py-2 border border-black/20 dark:border-[#40444b] darkest:border-white/20 rounded-lg focus:ring-2 focus:ring-black dark: focus:ring-white darkest:focus:ring-white focus: border-black dark:focus:border-white darkest:focus:border-white outline-none transition resize-none bg-white dark:bg-[#1e1f22] darkest:bg-[#0a0a0a] text-black dark:text-white darkest:text-white placeholder:text-black/40 dark:placeholder:text-[#72767d] darkest:placeholder:text-white/40 "
170170 placeholder = "Brief description of your talk (200-300 words)"
171171 />
172172 </ div >
173173
174174 < div className = "mb-8" >
175- < label htmlFor = "expectations" className = "block text-sm font-semibold text-black mb-2" >
176- What do you expect? < span className = "text-black/40" > (Optional)</ span >
175+ < label htmlFor = "expectations" className = "block text-sm font-semibold text-black dark:text-white darkest:text-white mb-2" >
176+ What do you expect? < span className = "text-black/40 dark:text-white/40 darkest:text-white/40 " > (Optional)</ span >
177177 </ label >
178178 < textarea
179179 id = "expectations"
180180 name = "expectations"
181181 value = { formData . expectations }
182182 onChange = { handleChange }
183183 rows = { 3 }
184- className = "w-full px-4 py-2 border border-black/20 rounded-lg focus:ring-2 focus:ring-black focus:border-black outline-none transition resize-none"
184+ className = "w-full px-4 py-2 border border-black/20 dark:border-[#40444b] darkest:border-white/20 rounded-lg focus:ring-2 focus:ring-black dark: focus:ring-white darkest:focus:ring-white focus: border-black dark:focus:border-white darkest:focus:border-white outline-none transition resize-none bg-white dark:bg-[#1e1f22] darkest:bg-[#0a0a0a] text-black dark:text-white darkest:text-white placeholder:text-black/40 dark:placeholder:text-[#72767d] darkest:placeholder:text-white/40 "
185185 placeholder = "Share your expectations for the workshop..."
186186 />
187187 </ div >
@@ -190,13 +190,13 @@ export default function RegisterPage() {
190190 < button
191191 type = "submit"
192192 disabled = { isSubmitting }
193- className = "flex-1 bg-black text-white font-semibold py-3 px-6 rounded-lg hover:bg-black/80 transition-colors disabled:opacity-50 disabled:cursor-not-allowed"
193+ className = "flex-1 bg-black dark:bg-white darkest:bg-white text-white dark:text-black darkest:text-black font-semibold py-3 px-6 rounded-lg hover:bg-black/80 dark:hover:bg-white/80 darkest:hover:bg-white /80 transition-colors disabled:opacity-50 disabled:cursor-not-allowed"
194194 >
195195 { isSubmitting ? 'Submitting...' : 'Submit Registration' }
196196 </ button >
197197 < a
198198 href = "/"
199- className = "flex-1 border border-black/20 text-black font-semibold py-3 px-6 rounded-lg hover:border-black/40 transition-colors text-center"
199+ className = "flex-1 border border-black/20 dark:border-[#40444b] darkest:border-white/20 text-black dark:text-white darkest:text-white font-semibold py-3 px-6 rounded-lg hover:border-black/40 dark:hover:border-white/40 darkest:hover:border-white /40 transition-colors text-center"
200200 >
201201 Cancel
202202 </ a >
0 commit comments