@@ -5,23 +5,76 @@ import { Heading } from "@/components/ui/heading";
55import { Lock , Mail , UserRound } from "lucide-react" ;
66
77export function Login ( ) {
8- return (
9- < div className = "flex bg-gradient-to-b from-[#07080D] to-[#1D1F2C] w-screen h-[100vh]" >
10- < div className = "relative ml-64 w-1/2 flex justify-center items-center" >
11- < img src = "../../../public/banner.png" alt = "" />
12- < Heading className = "ml-96 mb-auto mt-60 font-bold text-white" > Entrar</ Heading >
13- </ div >
14- < div className = "text-white flex justify-center items-center flex-col gap-6 mt-20 ml-16" >
15- < Input type = "text" label = "Nome" placeholder = "Digite seu nome" iconRight = { < UserRound /> } className = "h-12 w-96" />
16- < Input type = "email" label = "E-mail" placeholder = "Digite seu e-mail" iconRight = { < Mail /> } className = "w-96 h-12 " />
17- < Input type = "password" label = "Senha" placeholder = "Digite sua senha" iconRight = { < Lock /> } className = "w-96 h-12" />
18- < p className = "ml-56" > Esqueceu sua senha?</ p >
19- < Button className = "text-xl h-12 w-96 text-black" > Entrar</ Button >
20- < div className = "flex" >
21- < p className = "text-gray-400 mt-5" > Não tem conta?</ p >
22- < p className = "mt-5 ml-1" > Cadastra-se</ p >
23- </ div >
24- </ div >
8+ return (
9+ < >
10+ < style >
11+ { `
12+ body, html {
13+ margin: 0;
14+ padding: 0;
15+ height: 100%;
16+ overflow: hidden;
17+ background: linear-gradient(to bottom, #07080D, #1D1F2C);
18+ }
19+
20+ @keyframes fadeUp {
21+ from {
22+ opacity: 0;
23+ transform: translateY(20px);
24+ }
25+ to {
26+ opacity: 1;
27+ transform: translateY(0);
28+ }
29+ }
30+
31+ .animate-fadeUp {
32+ opacity: 0;
33+ transform: translateY(20px);
34+ animation: fadeUp 0.5s ease-out forwards;
35+ }
36+ ` }
37+ </ style >
38+
39+ < div
40+ className = "flex bg-gradient-to-b from-[#07080D] to-[#1D1F2C] w-screen h-[100vh] animate-fadeUp p-0 m-0"
41+ >
42+ < div className = "relative ml-64 w-1/2 flex justify-center items-center" >
43+ < img src = "../../../public/banner.png" alt = "banner" />
44+ < Heading className = "ml-96 mb-auto mt-60 font-bold text-white animate-fadeUp" >
45+ Entrar
46+ </ Heading >
47+ </ div >
48+ < div className = "text-white flex justify-center items-center flex-col gap-6 mt-20 ml-16 animate-fadeUp" >
49+ < Input
50+ type = "text"
51+ label = "Nome"
52+ placeholder = "Digite seu nome"
53+ iconRight = { < UserRound /> }
54+ className = "h-12 w-96"
55+ />
56+ < Input
57+ type = "email"
58+ label = "E-mail"
59+ placeholder = "Digite seu e-mail"
60+ iconRight = { < Mail /> }
61+ className = "w-96 h-12"
62+ />
63+ < Input
64+ type = "password"
65+ label = "Senha"
66+ placeholder = "Digite sua senha"
67+ iconRight = { < Lock /> }
68+ className = "w-96 h-12"
69+ />
70+ < p className = "ml-56" > Esqueceu sua senha?</ p >
71+ < Button className = "text-xl h-12 w-96 text-black" > Entrar</ Button >
72+ < div className = "flex" >
73+ < p className = "text-gray-400 mt-5" > Não tem conta?</ p >
74+ < p className = "mt-5 ml-1" > Cadastra-se</ p >
75+ </ div >
2576 </ div >
26- ) ;
27- }
77+ </ div >
78+ </ >
79+ ) ;
80+ }
0 commit comments