Skip to content

Commit c1d4820

Browse files
committed
chore(ui): update to new Tailwind CSS syntax
1 parent 7ff1715 commit c1d4820

File tree

3 files changed

+88
-27
lines changed

3 files changed

+88
-27
lines changed

frontend/app/login/page.tsx

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,6 @@ export default function LoginPage() {
128128
/>
129129
</div>
130130

131-
{/* Decorative Elements for Light Mode */}
132-
{/* <div className="absolute inset-0 z-0 dark:opacity-0 opacity-100 transition-opacity duration-300">
133-
<div className="absolute top-0 left-0 w-96 h-96 bg-blue-300/20 rounded-full blur-3xl"></div>
134-
<div className="absolute top-1/4 right-0 w-96 h-96 bg-purple-300/20 rounded-full blur-3xl"></div>
135-
<div className="absolute bottom-0 left-1/4 w-96 h-96 bg-indigo-300/20 rounded-full blur-3xl"></div>
136-
</div> */}
137-
138131
{/* Exit to Landing Page Button */}
139132
<button
140133
onClick={() => router.push("/")}
@@ -153,7 +146,7 @@ export default function LoginPage() {
153146
{isDark ? <Sun className="h-5 w-5 text-yellow-500" /> : <Moon className="h-5 w-5 text-indigo-600" />}
154147
</button>
155148

156-
<div className="relative z-10 w-full max-w-md mx-auto my-8 p-6 md:p-8 bg-white dark:bg-gray-800 backdrop-blur-lg rounded-3xl shadow-2xl border border-gray-200 dark:border-gray-700 min-height-[200px]">
149+
<div className="relative z-10 w-full max-w-md mx-auto my-8 p-6 md:p-8 bg-white dark:bg-gray-800 backdrop-blur-lg rounded-3xl shadow-2xl border border-gray-200 dark:border-gray-700 min-h-[200px]">
157150
{/* Header */}
158151
<div className="text-center mb-6">
159152
<div className="inline-flex items-center justify-center w-14 h-14 rounded-full bg-gradient-to-br from-blue-500 to-purple-600 mb-3 shadow-lg">
@@ -311,8 +304,8 @@ export default function LoginPage() {
311304
<div className="text-center mt-5 pt-4 border-t border-gray-200 dark:border-gray-700">
312305
<p className="text-gray-600 dark:text-gray-400 text-xs">
313306
Don't have an account?{" "}
314-
<button
315-
onClick={() => handleNavigation("/signup")}
307+
<button
308+
onClick={() => handleNavigation("/signup")}
316309
className="text-blue-600 dark:text-blue-400 hover:text-blue-700 dark:hover:text-blue-300 font-semibold transition-colors"
317310
>
318311
Sign Up

frontend/app/signup/page.tsx

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
"use client";
22
import {
3+
CheckCircle2,
4+
Chrome,
35
Eye,
46
EyeClosed,
7+
Github,
8+
Lock,
9+
Mail,
510
Moon,
6-
Sun,
711
StepBack,
8-
Mail,
9-
Lock,
10-
Github,
11-
Chrome,
12+
Sun,
1213
UserPlus,
13-
CheckCircle2,
1414
XCircle,
1515
} from "lucide-react";
1616
import { signIn } from "next-auth/react";
@@ -185,11 +185,6 @@ export default function SignupPage() {
185185
</div>
186186

187187
{/* Decorative Elements for Light Mode */}
188-
{/* <div className="absolute inset-0 z-0 dark:opacity-0 opacity-100 transition-opacity duration-300">
189-
<div className="absolute top-0 right-0 w-96 h-96 bg-purple-300/20 rounded-full blur-3xl"></div>
190-
<div className="absolute top-1/3 left-0 w-96 h-96 bg-pink-300/20 rounded-full blur-3xl"></div>
191-
<div className="absolute bottom-0 right-1/4 w-96 h-96 bg-indigo-300/20 rounded-full blur-3xl"></div>
192-
</div> */}
193188

194189
<button
195190
onClick={() => router.push("/")}
@@ -211,8 +206,7 @@ export default function SignupPage() {
211206
)}
212207
</button>
213208

214-
<div className="relative z-10 w-full max-w-md mx-auto my-8 p-6 md:p-8 bg-white dark:bg-gray-800 backdrop-blur-lg rounded-3xl shadow-2xl border border-gray-200 dark:border-gray-700 min-height-[200px]">
215-
{/* Header */}
209+
<div className="relative z-10 w-full max-w-md mx-auto my-8 p-6 md:p-8 bg-white dark:bg-gray-800 backdrop-blur-lg rounded-3xl shadow-2xl border border-gray-200 dark:border-gray-700 min-h-[200px]"> {/* Header */}
216210
<div className="text-center mb-5">
217211
<div className="inline-flex items-center justify-center w-14 h-14 rounded-full bg-gradient-to-br from-purple-500 to-pink-600 mb-3 shadow-lg">
218212
<UserPlus className="h-7 w-7 text-white" />

0 commit comments

Comments
 (0)