-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from genesluna/develop
feat: add missing pages (#42)
- Loading branch information
Showing
4 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import HorizontalLayout from '@components/layouts/horizontal-layout'; | ||
import LoginForm from '@components/forms/login-form'; | ||
|
||
export default function LoginPage() { | ||
return ( | ||
<HorizontalLayout> | ||
<h1 className='text-4xl font-bold text-accent'>Bem-vindo</h1> | ||
<p className='mt-2 text-lg text-content-300'>Acesse a sua conta</p> | ||
<LoginForm /> | ||
</HorizontalLayout> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import RegisterForm from '@components/forms/register-form'; | ||
import HorizontalLayout from '@components/layouts/horizontal-layout'; | ||
|
||
export default function RegisterPage() { | ||
return ( | ||
<HorizontalLayout> | ||
<h1 className='text-4xl font-bold text-accent'>Bem-vindo</h1> | ||
<p className='mt-2 text-lg text-content-300'> | ||
Crie sua conta de novo abrigo | ||
</p> | ||
<RegisterForm /> | ||
</HorizontalLayout> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import ContactForm from '@components/forms/contact-form'; | ||
import HorizontalLayout from '@components/layouts/horizontal-layout'; | ||
|
||
export default function ContactPage() { | ||
return ( | ||
<HorizontalLayout> | ||
<h1 className='text-4xl font-bold text-accent'>Contato</h1> | ||
<p className='mt-2 text-lg text-content-300'>Escreva sua mensagem</p> | ||
<ContactForm /> | ||
</HorizontalLayout> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import HorizontalLayout from '@components/layouts/horizontal-layout'; | ||
import AdoptionForm from '@components/forms/adoption-form'; | ||
|
||
interface AdoptionPageProps { | ||
searchParams: { | ||
id: string; | ||
name: string; | ||
gender: string; | ||
}; | ||
} | ||
|
||
export default function AdoptionPage({ searchParams }: AdoptionPageProps) { | ||
return ( | ||
<HorizontalLayout> | ||
<h1 className='text-4xl font-bold text-accent'>{`Adote ${ | ||
searchParams.gender === 'Macho' ? 'o' : 'a' | ||
} ${searchParams.name}`}</h1> | ||
<p className='mt-2 max-w-[467px] text-lg text-content-300'> | ||
Faça sua solicitação e entraremos em contato o mais rápido possível. | ||
</p> | ||
<AdoptionForm petId={searchParams.id} /> | ||
</HorizontalLayout> | ||
); | ||
} |