changes
This commit is contained in:
16
app/page.tsx
16
app/page.tsx
@@ -28,19 +28,19 @@ export default function Home() {
|
||||
|
||||
if (!loggedIn) {
|
||||
return (
|
||||
<div className="min-h-screen flex items-center justify-center bg-gray-100">
|
||||
<div className="bg-white p-8 rounded-lg shadow-md w-96">
|
||||
<h1 className="text-2xl font-bold mb-6 text-center">Login</h1>
|
||||
<div className="min-h-screen flex items-center justify-center bg-gradient-to-b from-blue-50 to-gray-100">
|
||||
<div className="bg-white p-10 rounded-xl shadow-xl w-96">
|
||||
<h1 className="text-3xl font-bold mb-8 text-center text-gray-800">Login to Mail S3 Admin</h1>
|
||||
<input
|
||||
type="password"
|
||||
value={password}
|
||||
onChange={e => setPassword(e.target.value)}
|
||||
className="border border-gray-300 p-3 mb-4 w-full rounded focus:outline-none focus:ring-2 focus:ring-blue-500"
|
||||
className="border border-gray-300 p-4 mb-6 w-full rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"
|
||||
placeholder="Enter password"
|
||||
/>
|
||||
<button
|
||||
onClick={handleLogin}
|
||||
className="bg-blue-500 text-white p-3 rounded w-full hover:bg-blue-600 transition"
|
||||
className="bg-blue-600 text-white p-4 rounded-lg w-full hover:bg-blue-700 transition font-medium"
|
||||
>
|
||||
Login
|
||||
</button>
|
||||
@@ -50,10 +50,10 @@ export default function Home() {
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="min-h-screen bg-gray-100 p-8">
|
||||
<h1 className="text-3xl font-bold mb-6 text-center">Mail S3 Admin</h1>
|
||||
<div className="min-h-screen bg-gradient-to-b from-blue-50 to-gray-100 p-8">
|
||||
<h1 className="text-4xl font-bold mb-8 text-center text-gray-800">Mail S3 Admin</h1>
|
||||
<div className="flex justify-center">
|
||||
<Link href="/domains" className="bg-blue-500 text-white px-6 py-3 rounded hover:bg-blue-600 transition">
|
||||
<Link href="/domains" className="bg-blue-600 text-white px-8 py-4 rounded-lg hover:bg-blue-700 transition shadow-md font-medium">
|
||||
Go to Domains
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user