-
Notifications
You must be signed in to change notification settings - Fork 2
Implementation of the three inicial screens. #28
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
Open
ThiagoLipe
wants to merge
5
commits into
main
Choose a base branch
from
Three_Inicial_Screens
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
151fbe9
feat: inicial login page implementation.
ThiagoLipe a098560
feat: first logo showup screen.
ThiagoLipe c0d50fb
feat: second logo showup screen.
ThiagoLipe 6250db3
feat: initial login screen creation.
ThiagoLipe da6664b
feat: add two new svg format icons, standard png icons wasn't working.
ThiagoLipe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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.
This file contains hidden or 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,60 @@ | ||
| "use client"; | ||
|
|
||
| import Image from "next/image"; | ||
| import { AuthButton } from "@/components/NewDesignSystem/molecules/AuthButton/inde"; | ||
|
|
||
| export default function LoginPage() { | ||
| return ( | ||
| <main className="min-h-screen bg-white flex flex-col items-center pt-20"> | ||
| <Image | ||
| src="/images/valorim_logo.png" | ||
| alt="Logo" | ||
| width={128} | ||
| height={128} | ||
| className="w-32 h-32" | ||
| /> | ||
|
|
||
| <div className="mt-12 w-full max-w-sm px-16 flex flex-col items-center gap-4"> | ||
| {/* Grupo superior: Entre (3/4 largura) */} | ||
| <div className="w-3/4"> | ||
| <AuthButton | ||
| className="w-full bg-emerald-600 text-white font-bold hover:bg-emerald-700 border-0" | ||
| > | ||
| Entre | ||
| </AuthButton> | ||
| </div> | ||
|
|
||
| {/* Cadastre-se (3/4 largura) */} | ||
| <div className="w-3/4"> | ||
| <AuthButton className="w-full bg-gray-200 text-black font-bold hover:bg-gray-300 border-0"> | ||
| Cadastre-se | ||
| </AuthButton> | ||
| </div> | ||
|
|
||
| {/* Divisor com "Ou" */} | ||
| <div className="w-full flex items-center my-2"> | ||
| <span className="flex-1 h-px bg-gray-200" /> | ||
| <span className="px-3 text-gray-500 text-sm">Ou</span> | ||
| <span className="flex-1 h-px bg-gray-200" /> | ||
| </div> | ||
|
|
||
| {/* Grupo social: largura completa, fundo branco, borda cinza escuro e texto preto */} | ||
| <div className="w-full flex flex-col gap-3"> | ||
| <AuthButton | ||
| provider="google" | ||
| className="w-full bg-white text-black border border-gray-700 hover:bg-gray-50" | ||
| > | ||
| Entrar com o Google | ||
| </AuthButton> | ||
|
|
||
| <AuthButton | ||
| provider="facebook" | ||
| className="w-full bg-white text-black border border-gray-700 hover:bg-gray-50" | ||
| > | ||
| Entrar com o Facebook | ||
| </AuthButton> | ||
| </div> | ||
| </div> | ||
| </main> | ||
| ); | ||
| } |
This file contains hidden or 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,17 @@ | ||
| "use client"; | ||
|
|
||
| import Image from "next/image"; | ||
|
|
||
| export default function Splash1() { | ||
| return ( | ||
| <main className="min-h-screen flex items-center justify-center bg-white"> | ||
| <Image | ||
| src="/images/valorim_logo.png" | ||
| alt="Logo" | ||
| width={160} | ||
| height={160} | ||
| className="w-40 h-40" | ||
| /> | ||
| </main> | ||
| ); | ||
| } |
This file contains hidden or 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,17 @@ | ||
| "use client"; | ||
|
|
||
| import Image from "next/image"; | ||
|
|
||
| export default function Splash2() { | ||
| return ( | ||
| <main className="min-h-screen flex items-center justify-center bg-green-500"> | ||
| <Image | ||
| src="/images/valorim_logo.png" | ||
| alt="Logo" | ||
| width={160} | ||
| height={160} | ||
| className="w-40 h-40" | ||
| /> | ||
| </main> | ||
| ); | ||
| } |
34 changes: 31 additions & 3 deletions
34
src/components/NewDesignSystem/molecules/AuthButton/inde.tsx
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Vi que não utilizou component pronto para o caso: PrimaryButton (props de size definida como sm), que já havia deixado pronto para os botões de entre e cadastre-se.
Corrigir.