Skip to content

Commit

Permalink
fix: ajustes nas classes e nos icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Felipe-FCampos committed Nov 22, 2024
1 parent fb43fff commit 4d9bf78
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 14 deletions.
2 changes: 0 additions & 2 deletions components/ui/Icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ export type AvailableIcons =
| "close"
| "chevron-right"
| "chevron-right-institutional"
| "chevron-right-institutional-hover"
| "chevron-right-institutional-menu"
| "chevron-up"
| "favorite"
| "home_pin"
Expand Down
3 changes: 2 additions & 1 deletion islands/MenuInstitutionalMobile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default function MenuInstitutionalMobile({ links, label }: Menu) {
>
{label}{" "}
<Icon
id="chevron-right-institutional-menu"
id="chevron-right-institutional"
width="16"
height="16"
style={{
Expand All @@ -33,6 +33,7 @@ export default function MenuInstitutionalMobile({ links, label }: Menu) {
: "rotate(0deg)",
transition: "transform 0.3s",
}}
class="text-[#D6DE23]"
/>
</button>
{navigation && (
Expand Down
16 changes: 8 additions & 8 deletions sections/MenuInstitucional/MenuInstitucional.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ export default function MenuInstitucional(
{label}
</a>
<Icon
id={`${currentPath === route ?
"chevron-right-institutional-hover"
: "chevron-right-institutional" }`}
id="chevron-right-institutional"
width="16"
height="16"/>
height="16"
class={`${currentPath === route ? "text-[#FF8300]" : "text-[#7E7F88]"}`}
/>
</li>
))}
</section>
Expand All @@ -75,11 +75,11 @@ export default function MenuInstitucional(
class="text-[12px] font-regular">
{label}</a>
<Icon
id={`${currentPath === route ?
"chevron-right-institutional-hover"
: "chevron-right-institutional" }`}
id="chevron-right-institutional"
width="16"
height="16"/>
height="16"
class={`${currentPath === route ? "text-[#FF8300]" : "text-[#7E7F88]"}`}
/>
</li>
))}
</section>
Expand Down
4 changes: 1 addition & 3 deletions static/sprites.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4d9bf78

Please sign in to comment.