Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "new-york",
"rsc": true,
"tsx": true,
"tailwind": {
"config": "tailwind.config.ts",
"css": "src/app/globals.css",
"baseColor": "neutral",
"cssVariables": true,
"prefix": ""
},
"aliases": {
"components": "@/components",
"utils": "@/lib/utils",
"ui": "@/components/ui",
"lib": "@/lib",
"hooks": "@/hooks"
},
"iconLibrary": "lucide"
}
166 changes: 158 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 11 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,25 @@
"lint": "next lint"
},
"dependencies": {
"@next/font": "^14.2.15",
"@radix-ui/react-progress": "^1.1.2",
"@radix-ui/react-slot": "^1.1.2",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"lucide-react": "^0.477.0",
"next": "15.0.3",
"react": "19.0.0-rc-66855b96-20241106",
"react-dom": "19.0.0-rc-66855b96-20241106",
"next": "15.0.3",
"tailwind-merge": "^2.3.0",
"react-icons": "^5.5.0",
"tailwind-merge": "^2.6.0",
"tailwindcss-animate": "^1.0.7"
},
"devDependencies": {
"typescript": "^5",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"postcss": "^8",
"tailwindcss": "^3.4.1"
"tailwindcss": "^3.4.1",
"typescript": "^5"
}
}
Binary file added public/student-ppf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/university-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/user-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
71 changes: 66 additions & 5 deletions src/app/(auth)/login/page.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,70 @@
import React from 'react'
import Link from "next/link";
import React from "react";
import { FaGoogle } from "react-icons/fa";

const Login = () => {
return (
<div>Login</div>
)
}
<div className="flex justify-center items-center min-h-screen bg-gradient-to-r from-blue-400 via-purple-400 to-pink-400">
<div className="w-full max-w-md bg-white/20 backdrop-blur-lg p-8 rounded-3xl shadow-lg border border-white/30">
<h2 className="text-3xl font-extrabold text-white text-center mb-6 drop-shadow-lg">
Welcome Back
</h2>

export default Login
{/* Email & Password Form */}
<form className="space-y-4">
<div>
<label className="block text-sm font-medium text-white/80">
Email
</label>
<input
type="email"
placeholder="Enter your email"
className="mt-1 w-full p-3 bg-white/20 text-white placeholder-white/60 border border-white/30 rounded-lg focus:ring-2 focus:ring-white/50 focus:border-white/50 outline-none"
/>
</div>
<div>
<label className="block text-sm font-medium text-white/80">
Password
</label>
<input
type="password"
placeholder="Enter your password"
className="mt-1 w-full p-3 bg-white/20 text-white placeholder-white/60 border border-white/30 rounded-lg focus:ring-2 focus:ring-white/50 focus:border-white/50 outline-none"
/>
</div>
<Link href="/">
<button
type="submit"
className="w-full bg-white/20 mt-6 hover:bg-white/30 text-white font-semibold py-3 rounded-lg transition duration-300 shadow-lg"
>
Sign In
</button>
</Link>
</form>

{/* Divider */}
<div className="flex items-center my-6">
<div className="flex-1 h-px bg-white/40"></div>
<p className="px-3 text-sm text-white/80">OR</p>
<div className="flex-1 h-px bg-white/40"></div>
</div>

{/* Google Login */}
<button className="w-full flex items-center justify-center bg-white/20 hover:bg-white/30 text-white py-3 rounded-lg transition duration-300 shadow-lg">
<FaGoogle className="mr-2 text-lg" />
Sign in with Google
</button>

{/* Footer */}
<p className="mt-4 text-sm text-white/80 text-center">
Don't have an account?{" "}
<a href="#" className="text-white hover:underline">
Sign up
</a>
</p>
</div>
</div>
);
};

export default Login;
Loading