-
Notifications
You must be signed in to change notification settings - Fork 51
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
Corrigido o estilo do sidebar. #600
base: master
Are you sure you want to change the base?
Corrigido o estilo do sidebar. #600
Conversation
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.
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.
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.
src/pages/home/components/Sidebar/components/SocialAccordion/SocialAccordion.module.scss
Outdated
Show resolved
Hide resolved
src/pages/home/components/Sidebar/components/SocialAccordion/SocialAccordion.module.scss
Outdated
Show resolved
Hide resolved
Cade a thread? |
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.
35bf777
to
8169b4f
Compare
const socialMediaName = socialMedias | ||
.get(props.socialMediaId) | ||
?.name.toLowerCase(); | ||
const iconPath = iconMap[socialMediaName as keyof typeof iconMap]; |
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.
as keyof typeof
vou morrer. Pq precisamos disso?
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.
@@ -84,55 +84,55 @@ | |||
"userName": "Discord User 1", | |||
"token": "DISCORD_EXAMPLE_TOKEN_1", | |||
"valid": true, | |||
"avatar": "https://example.com/image1.jpg" | |||
"avatar": "https://cdn0.iconfinder.com/data/icons/free-social-media-set/24/discord-256.png" |
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.
é pra usar o ícone de um arquivo local do projeto, vamos conversar sobre
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.
.username { | ||
margin: 0; | ||
} | ||
|
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.
muito bom! deixou alinhadinho ao layout!
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.
isso não deve ficar aqui, todos os icons estão em src/components/Icons/icons, e já tem o do discord
@@ -45,11 +48,26 @@ function SocialAccordion(props: SocialAccordionProps): ReactNode { | |||
)); | |||
|
|||
const renderAccordionContent = (): ReactNode => ( | |||
<ul role="listitem">{renderAccordionMap()}</ul> | |||
<ul className={scss.containerAccordion} role="listitem"> | |||
{renderAccordionMap()} |
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.
não é mais assim no code-style atual, tem que colocar no .components
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.
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.
Closes #591
Feature
Este PR corrige o problema onde o estilo da sidebar havia sido pedido, retornando-a ao seu design padrão. Após algumas modificações, o estilo original foi perdido, e esta atualização restaura o layout e a aparência esperados para garantir consistência na interface do usuário.
Visual evidences 🖼️