|
| 1 | +// src/app/register/page.tsx |
| 2 | +import Image from 'next/image' |
| 3 | +import Link from 'next/link' |
| 4 | +import styles from './register.module.css' |
| 5 | + |
| 6 | +export default function RegisterPage() { |
| 7 | + return ( |
| 8 | + <div className={styles.pageContainer}> |
| 9 | + <div className={styles.header}> |
| 10 | + <Image src='/images/d20.png' alt='EasyCrit Logo' width={25} height={25} className={styles.logo} /> |
| 11 | + <span className={styles.headerTitle}>EasyCrit</span> |
| 12 | + </div> |
| 13 | + |
| 14 | + <div className={styles.mainContainer}> |
| 15 | + <div className={styles.blackContainer}> |
| 16 | + <form className={styles.formWrapper}> |
| 17 | + <h2 className={styles.greeting}>Saudações, aventureiro!</h2> |
| 18 | + |
| 19 | + <div className={styles.inputGroup}> |
| 20 | + <label htmlFor='email'>Email</label> |
| 21 | + <input type='email' id='email' className={styles.inputField} placeholder='example@email.com' /> |
| 22 | + </div> |
| 23 | + |
| 24 | + <div className={styles.inputGroup}> |
| 25 | + <label htmlFor='nickname'>Apelido</label> |
| 26 | + <input type='text' id='nickname' className={styles.inputField} placeholder='Seu Apelido' /> |
| 27 | + </div> |
| 28 | + |
| 29 | + <div className={styles.inputGroup}> |
| 30 | + <label htmlFor='password'>Senha</label> |
| 31 | + <input type='password' id='password' className={styles.inputField} placeholder='••••••••' /> |
| 32 | + </div> |
| 33 | + |
| 34 | + <div className={styles.inputGroup}> |
| 35 | + <label htmlFor='confirm-password'>Confirmar Senha</label> |
| 36 | + <input type='password' id='confirm-password' className={styles.inputField} placeholder='••••••••' /> |
| 37 | + </div> |
| 38 | + |
| 39 | + <div className={styles.adventureChoice}> |
| 40 | + <div className={styles.chooseAdventure}>Escolha sua aventura</div> |
| 41 | + <div className={styles.roles}> |
| 42 | + <label className={styles.roleOption}> |
| 43 | + <input type='radio' name='role' value='master' className={styles.radioInput} defaultChecked /> |
| 44 | + <Image |
| 45 | + src='/mestre-icon.svg' |
| 46 | + alt='Dungeon Master' |
| 47 | + width={40} |
| 48 | + height={40} |
| 49 | + className={styles.roleImage} |
| 50 | + /> |
| 51 | + <span className={styles.roleLabel}>Mestre</span> |
| 52 | + </label> |
| 53 | + <label className={styles.roleOption}> |
| 54 | + <input type='radio' name='role' value='Player' className={styles.radioInput} /> |
| 55 | + <Image src='/jogador-icon.svg' alt='Player' width={40} height={40} className={styles.roleImage} /> |
| 56 | + <span className={styles.roleLabel}>Jogador</span> |
| 57 | + </label> |
| 58 | + </div> |
| 59 | + </div> |
| 60 | + |
| 61 | + <button type='submit' className={styles.submitButton}> |
| 62 | + CADASTRAR-SE |
| 63 | + </button> |
| 64 | + |
| 65 | + <p className={styles.AccountNew}> |
| 66 | + <Link href='/login'>Já tem uma conta?</Link> |
| 67 | + </p> |
| 68 | + </form> |
| 69 | + </div> |
| 70 | + </div> |
| 71 | + </div> |
| 72 | + ) |
| 73 | +} |
0 commit comments