@@ -5,6 +5,8 @@ import { Navigate, Route, Routes, useLocation } from "react-router-dom";
55import { useToggle } from "react-use" ;
66import { useAccount } from "wagmi" ;
77
8+ import { useAtlasProvider } from "@kleros/kleros-app" ;
9+
810import { MAX_WIDTH_LANDSCAPE , landscapeStyle } from "styles/landscapeStyle" ;
911import { responsiveSize } from "styles/responsiveSize" ;
1012
@@ -75,9 +77,26 @@ const MiddleContentContainer = styled.div`
7577 position: relative;
7678` ;
7779
80+ const Heading = styled . h1 `
81+ margin: 0 0 0 32px;
82+ font-size: 24px;
83+ font-weight: 600;
84+ color: ${ ( { theme } ) => theme . primaryText } ;
85+ text-align: center;
86+ ` ;
87+
88+ const Paragraph = styled . p `
89+ padding: 0;
90+ margin-bottom: 32px;
91+ font-size: 16px;
92+ text-align: center;
93+ color: ${ ( { theme } ) => theme . secondaryText } ;
94+ ` ;
95+
7896const DisputeResolver : React . FC = ( ) => {
7997 const location = useLocation ( ) ;
8098 const [ isDisputeResolverMiniGuideOpen , toggleDisputeResolverMiniGuide ] = useToggle ( false ) ;
99+ const { isVerified } = useAtlasProvider ( ) ;
81100 const { isConnected } = useAccount ( ) ;
82101 const isPreviewPage = location . pathname . includes ( "/preview" ) ;
83102 const isLandingPage = location . pathname . includes ( "/create" ) ;
@@ -86,8 +105,14 @@ const DisputeResolver: React.FC = () => {
86105 < Wrapper >
87106 < HeroImage />
88107 < Container >
108+ { ! isConnected || ! isVerified ? (
109+ < >
110+ < Heading > Justise as a Service</ Heading >
111+ < Paragraph > You send your disputes. Kleros sends back decisions.</ Paragraph >
112+ </ >
113+ ) : null }
89114 { isConnected ? (
90- < StyledEnsureAuth >
115+ < StyledEnsureAuth buttonText = "Sign in to start" >
91116 < MiddleContentContainer >
92117 { isConnected && ! isPreviewPage && ! isLandingPage ? (
93118 < HowItWorksAndTimeline >
0 commit comments