Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

++ card de aviso na tela de alterar a oficina #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
145 changes: 145 additions & 0 deletions src/pages/dashboard/oficinas/alterar-oficina.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
import Head from 'next/head'

import MenuDashboard from '../../../components/MenuDashboard'
import styles from '../../../../styles/Inscricoes.module.css'


export default function NovaSenha() {
return(
<div className="flex flex-col sm:flex-row">
<Head>
<title>Festival - 2020</title>
</Head>

<MenuDashboard />

<div
className={"bg-bgMain w-full h-full sm:overflow-y-scroll h-full sm:h-screen p-8"}
>
<header className="mb-10 flex font-bold">
<img src="/assets/dark-grid.svg" />
<h1 className="ml-4">Alterar oficinas</h1>
</header>

<main className="flex flex-col gap-12 flex-grow">
<div className="p-4 bg-bgCard leading-relaxed max-w-md">
<p><b>Atenção!</b> Se você mudar de oficina e já assistiu alguma aula, sua presença será retirada do sistema. Podendo, assim, impedir a emissão do seu certificado.</p>
</div>
<form className="p-6 flex flex-col items-center justify-center gap-6 bg-white border boder-solid boder-gray-200 max-w-lg">
<div className="grid grid-cols-1 gap-2 sm:grid-cols-2 items-center gap-x-20">
<div>
<label htmlFor="clarinete" className={styles.checkboxContainer + " font-bold"}>Clarinete
<input
type="checkbox"
value="clarinete"
id="clarinete"
/>
<span className={styles.checkmark}></span>
</label>
</div>
<div>
<label htmlFor="flauta" className={styles.checkboxContainer + " font-bold"}>Flauta
<input
type="checkbox"
value="clarinete"
id="flauta"
/>
<span className={styles.checkmark}></span>
</label>
</div>
<div>
<label htmlFor="saxofone" className={styles.checkboxContainer + " font-bold"}>Saxofone
<input
type="checkbox"
value="clarinete"
id="saxofone"
/>
<span className={styles.checkmark}></span>
</label>
</div>
<div>
<label htmlFor="trompa" className={styles.checkboxContainer + " font-bold"}>Trompa
<input
type="checkbox"
value="clarinete"
id="trompa"
/>
<span className={styles.checkmark}></span>
</label>
</div>
<div>
<label htmlFor="trompete" className={styles.checkboxContainer + " font-bold"}>Trompete
<input
type="checkbox"
value="clarinete"
id="trompete"
/>
<span className={styles.checkmark}></span>
</label>
</div>
<div>
<label htmlFor="trombone" className={styles.checkboxContainer + " font-bold"}>Trombone
<input
type="checkbox"
value="clarinete"
id="trombone"
/>
<span className={styles.checkmark}></span>
</label>
</div>
<div>
<label htmlFor="tuba" className={styles.checkboxContainer + " font-bold"}>Tuba
<input
type="checkbox"
value="clarinete"
id="tuba"
/>
<span className={styles.checkmark}></span>
</label>
</div>
<div>
<label htmlFor="percussao" className={styles.checkboxContainer + " font-bold"}>Percussão
<input
type="checkbox"
value="clarinete"
id="percussao"
/>
<span className={styles.checkmark}></span>
</label>
</div>
<div>
<label htmlFor="regencia" className={styles.checkboxContainer + " font-bold"}>Regência
<input
type="checkbox"
value="clarinete"
id="regencia"
/>
<span className={styles.checkmark}></span>
</label>
</div>
</div>

<div className="flex flex-col w-full items-center gap-4 sm:mt-2 sm:flex-row justify-center gap-x-10">
<div>
<input
type="reset"
value="Cancelar"
className="bg-greenButton font-semibold text-white text-center rounded px-4 py-2 w-48 sm:w-40 hover:bg-greenButtonStrong"
/>
</div>
<div>
<input
type="submit"
value="Alterar"
className="bg-greenButton font-semibold text-white text-center rounded px-4 py-2 w-48 sm:w-40 hover:bg-greenButtonStrong"
/>
</div>
</div>
</form>

</main>
</div>

</div>
)
}
5 changes: 4 additions & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ module.exports = {
bgMain: '#FFFBDB',
strongOrange: '#FF9E00',
redHeader: '#FF7C6B',
redHeaderStrong: '#ED7464'
redHeaderStrong: '#ED7464',
greenButton:'#00ACB3',
greenButtonStrong:'#03979d',
bgCard:'#FCF2C5'
},
fill: {
black: '#000'
Expand Down