diff --git a/src/components/Header/index.tsx b/src/components/Header/index.tsx index 31d7dfe..2bcef39 100644 --- a/src/components/Header/index.tsx +++ b/src/components/Header/index.tsx @@ -9,7 +9,11 @@ interface IHeaderProps { function MenuItem({ children, to }: PropsWithChildren<{ to: string }>) { return ( - + {children} diff --git a/src/components/Header/styles.tsx b/src/components/Header/styles.tsx index a501dfd..a44284c 100644 --- a/src/components/Header/styles.tsx +++ b/src/components/Header/styles.tsx @@ -158,14 +158,16 @@ export const MenuItem = styled(Link)` border-radius: 3px; } - &[href="/"] { + &.disabled { cursor: default; pointer-events: none; opacity: 0.7; + color: #fff !important; } - &[href="/"] ${MenuItemLine} { + &.disabled ${MenuItemLine} { bottom: 50%; + background: #fff !important; } &.active {