11import React from "react" ;
22import styled , { css } from "styled-components" ;
3-
4- import { Link } from "react-router-dom" ;
3+ import { landscapeStyle } from "styles/landscapeStyle" ;
54import { useToggle } from "react-use" ;
6-
7- import KlerosCourtUniversityLogo from "svgs/header/kleros-court-university.svg" ;
8- import KlerosCourtLogo from "svgs/header/kleros-court.svg" ;
9- import KlerosSolutionsIcon from "svgs/menu-icons/kleros-solutions.svg" ;
10-
115import { useLockOverlayScroll } from "hooks/useLockOverlayScroll" ;
12-
13- import { isKlerosUniversity } from "src/consts" ;
14-
15- import { landscapeStyle } from "styles/landscapeStyle" ;
16- import { responsiveSize } from "styles/responsiveSize" ;
17-
6+ import KlerosSolutionsIcon from "svgs/menu-icons/kleros-solutions.svg" ;
187import ConnectWallet from "components/ConnectWallet" ;
198import LightButton from "components/LightButton" ;
209import { Overlay } from "components/Overlay" ;
@@ -26,6 +15,8 @@ import Help from "./navbar/Menu/Help";
2615import Settings from "./navbar/Menu/Settings" ;
2716
2817import { PopupContainer } from "." ;
18+ import { responsiveSize } from "styles/responsiveSize" ;
19+ import Logo from "./Logo" ;
2920
3021const Container = styled . div `
3122 display: none;
@@ -73,10 +64,6 @@ const LightButtonContainer = styled.div`
7364 margin-right: ${ responsiveSize ( 12 , 16 ) } ;
7465` ;
7566
76- const StyledLink = styled ( Link ) `
77- min-height: 48px;
78- ` ;
79-
8067const StyledKlerosSolutionsIcon = styled ( KlerosSolutionsIcon ) `
8168 fill: ${ ( { theme } ) => theme . white } !important;
8269` ;
@@ -106,7 +93,7 @@ const DesktopHeader = () => {
10693 Icon = { StyledKlerosSolutionsIcon }
10794 />
10895 </ LightButtonContainer >
109- < StyledLink to = { "/" } > { isKlerosUniversity ( ) ? < KlerosCourtUniversityLogo /> : < KlerosCourtLogo /> } </ StyledLink >
96+ < Logo / >
11097 </ LeftSide >
11198
11299 < MiddleSide >
0 commit comments