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
69 changes: 69 additions & 0 deletions app/login_page/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
"use client";
import {CldImage} from 'next-cloudinary';

export default function Login() {
return (
<div className="flex w-full h-screen bg-gray-100">
<div className="w-full lg:w-2/5 bg-blue-800 flex justify-center items-center px-4">
<div className="bg-blue-400 shadow-2xl flex flex-col rounded-2xl w-full max-w-md p-8 gap-6">
<div className="text-center">
<h1 className="font-black font-mono text-5xl">MeEvent</h1>
</div>
<form className="space-y-4">
<h3 className="pb-2 text-xl font-bold">Iniciar Sesión</h3>

<div className="flex flex-col gap-1">
<label htmlFor="email" className="font-semibold">
Correo Electronico
</label>
<input
id="email"
className="w-full bg-blue-50 rounded-lg p-1 text-base focus:outline-none text-cyan-950"
required
type="email"
placeholder=""
/>
</div>

<div className="flex flex-col gap-1">
<label htmlFor="password" className=" font-semibold">Contraseña</label>
<input
id="password"
className="w-full bg-blue-50 rounded-lg p-2 focus:outline-none text-cyan-950"
required
type="password"
placeholder=""
/>
</div>
<div className="flex justify-between items-center">
<div className="items-center flex">
<input title='check' id="recordarme" type="checkbox" className="m-2" />
<label className="text-sm font-medium">Recordarme</label>
</div>
<div>
<a
href="#"
className="text-sm underline mt-5 hover:text-blue-950"
>
¿Olvidaste tu contraseña?
</a>
</div>
</div>
<button className="w-full font-semibold bg-blue-950 rounded-md h-10 mt-5 hover:bg-blue-600">
Iniciar Sesión
</button>
<div className="flex justify-center gap-1">
<span className="text-sm">¿No tienes una cuenta?</span>
<a href="#" className="text-sm underline hover:text-blue-950">
Regístrate
</a>
</div>
</form>
</div>
</div>
<div className="hidden lg:flex w-3/5 relative overflow-hidden bg-blue-400">
<img src="/img/pexels-cottonbro-5076515.jpg" alt="Login Image" className="object-cover w-full h-full brightness-75"/>
</div>
</div>
);
}
2 changes: 1 addition & 1 deletion app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function Home() {
/>
<div className="flex flex-col items-center gap-6 text-center sm:items-start sm:text-left">
<h1 className="max-w-xs text-3xl font-semibold leading-10 tracking-tight text-black dark:text-zinc-50">
To get started, edit the page.tsx file.
To get started, edit the page.tsx file. TypeScrip.
</h1>
<p className="max-w-md text-lg leading-8 text-zinc-600 dark:text-zinc-400">
Looking for a starting point or more instructions? Head over to{" "}
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"dependencies": {
"next": "16.1.2",
"next-cloudinary": "^6.17.5",
"react": "19.2.3",
"react-dom": "19.2.3"
},
Expand Down
61 changes: 61 additions & 0 deletions pnpm-lock.yaml

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

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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/img/pexels-wolfgang-1002140-2747450.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.