Skip to content

Commit ba9423b

Browse files
authored
remove search icon
1 parent 2df0187 commit ba9423b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/components/nav/Header.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ const NavButtonPrimary = styled.a`
7979
}
8080
`
8181

82+
/* Temporary disabled */
83+
/*
8284
const NavIconButton = styled.a`
8385
padding: 7px;
8486
border: none;
@@ -93,6 +95,7 @@ const NavIconButton = styled.a`
9395
background: rgb(248, 250, 255);
9496
}
9597
`
98+
*/
9699

97100
// HACK: Menu component is adding inline styles to the body avoiding to use onMouseEnter event correctly
98101
// Side effect: Menu component is now stateless, DropdownMenu is not working anymore (stateful component)
@@ -165,7 +168,7 @@ const Header = ({ product }: { product?: string }) => {
165168
</Flex>
166169
<Flex sx={{ alignItems: 'center', height: '100%' }}>
167170
<Flex sx={{ alignItems: 'center' }}>
168-
<NavIconButton href="https://traefik.io/search/">
171+
{/* <NavIconButton href="https://traefik.io/search/">
169172
<svg
170173
height="22"
171174
width="22"
@@ -183,7 +186,7 @@ const Header = ({ product }: { product?: string }) => {
183186
<circle cx="11" cy="11" r="8"></circle>
184187
<line x1="21" x2="16.65" y1="21" y2="16.65"></line>
185188
</svg>
186-
</NavIconButton>
189+
</NavIconButton> */}
187190
<NavButton href="https://info.traefik.io/contact-us">Contact Us</NavButton>
188191
<NavButtonPrimary href={demoLink}>Get a Demo</NavButtonPrimary>
189192
</Flex>

0 commit comments

Comments
 (0)