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

Criação e Estilização do Componente PetCard com Estados de Seleção #20

Closed
Tracked by #93
Alecell opened this issue Dec 15, 2023 · 2 comments · Fixed by #33
Closed
Tracked by #93

Criação e Estilização do Componente PetCard com Estados de Seleção #20

Alecell opened this issue Dec 15, 2023 · 2 comments · Fixed by #33
Assignees
Labels
good first issue Good for newcomers

Comments

@Alecell
Copy link
Contributor

Alecell commented Dec 15, 2023

Describe the feature
Implementação do componente PetCard para exibir informações de pets com interatividade de seleção.

Description Desenvolver um componente de cartão (PetCard) que apresente a imagem e o nome do pet. Este componente deve ter dois estados visuais: selecionado e desselecionado. No estado selecionado, o cartão deve ser destacado com uma borda azul.

Use Case

O PetCard será utilizado para melhorar a experiência do usuário ao selecionar pets, fornecendo um feedback visual claro de qual pet está selecionado no momento.


Implementation Details

O componente deve ser criado usando HTML, SASS e JavaScript, seguindo as diretrizes de design fornecidas no Figma. Deve ser responsivo e acessível, permitindo a navegação tanto por cliques quanto por teclado.


Visual Concepts

As referências visuais para o componente estão disponíveis no layout do Figma: Layout PetDex.

image

image


Additional Information

É importante notificar o designer que a página de layout no Figma está com problemas de scroll, necessitando ajustes para visualização completa do design.

Perguntas Pendentes:

  • Qual é o comportamento exato esperado ao interagir com o PetCard? Há alguma ação adicional além da alteração visual?
  • Qual a ação de seleção deve ser vinculada ao estado do PetCard dentro do fluxo geral da aplicação?

Recomendações:

  • Certifique-se de que o estado selecionado não interfira na legibilidade ou acessibilidade do cartão.
@GabrielBruno7 GabrielBruno7 removed their assignment Dec 16, 2023
@Alecell Alecell added the good first issue Good for newcomers label Dec 16, 2023
@Alecell Alecell changed the title PetCard - imagem e nome - estado de selecionado e desselecionado Criação e Estilização do Componente PetCard com Estados de Seleção Dec 16, 2023
@RafaelLimaC
Copy link
Contributor

Eu quero!!!

@Alecell
Copy link
Contributor Author

Alecell commented Dec 19, 2023

Ponto: 21

RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Dec 19, 2023
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Dec 19, 2023
…ortação de variáveis, refactor para o src da imagem ser incluido de forma automatizada e organização do sccs

fix devhatt#20
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Dec 19, 2023
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Dec 21, 2023
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Dec 21, 2023
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Dec 25, 2023
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Dec 25, 2023
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Jan 6, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Jan 6, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Jan 9, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Jan 9, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Jan 11, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Jan 11, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Jan 11, 2024
…ortação de variáveis, refactor para o src da imagem ser incluido de forma automatizada e organização do sccs

fix devhatt#20
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Jan 11, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Jan 11, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Jan 11, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Jan 11, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Jan 11, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Jan 11, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Jan 15, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Jan 17, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Jan 31, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Jan 31, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Jan 31, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Feb 5, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Feb 5, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Feb 5, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Feb 5, 2024
…ortação de variáveis, refactor para o src da imagem ser incluido de forma automatizada e organização do sccs

fix devhatt#20
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Feb 5, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Feb 5, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Feb 5, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Feb 5, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Feb 5, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Feb 5, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Feb 5, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Feb 5, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Feb 8, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Feb 8, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Feb 8, 2024
…ortação de variáveis, refactor para o src da imagem ser incluido de forma automatizada e organização do sccs

fix devhatt#20
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Feb 8, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Feb 8, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Feb 8, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Feb 8, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Feb 8, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Feb 8, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Feb 8, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Feb 8, 2024
RafaelLimaC added a commit to RafaelLimaC/pet-dex-frontend that referenced this issue Feb 8, 2024
Alecell pushed a commit that referenced this issue Feb 8, 2024
* style: changed some units from px to rem and removed fixed width/height

fix #20

* refactor: changed the way font was imported, refactor on petcard width/height, refactor petcard constructor

fix #20

* refactor: fazendo as alterações solicitadas no petcard, incluindo importação de variáveis, refactor para o src da imagem ser incluido de forma automatizada e organização do sccs

fix #20

* refactor: alterando o alt das imagens

fix #20

* Delete src/styles/var.scss

* style: indentation of html in js file

fix #20

* style: indentation fix in js file

fix #20

* feat: visualization of card title in 2 lines

fix #20

* feat: transition when hover petcard

fix #20

* refactor: changed the colors from hex to rgba

fix #20

* feat: title height adapt to the title size, and the petImage move down

fix #20

* style: removed some numbers after the comma for better reading

fix #20

* refactor: reverted wrong changes made when i rebased

fix #20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Status: Closed
Development

Successfully merging a pull request may close this issue.

3 participants