11import React , { useRef } from "react" ;
22import styled , { css } from "styled-components" ;
3- import { useClickAway } from "react-use" ;
43import { landscapeStyle } from "styles/landscapeStyle" ;
4+ import { responsiveSize } from "styles/responsiveSize" ;
5+ import { useClickAway } from "react-use" ;
56import Curate from "svgs/icons/curate-image.png" ;
67import Resolver from "svgs/icons/dispute-resolver.svg" ;
78import Escrow from "svgs/icons/escrow.svg" ;
89import Governor from "svgs/icons/governor.svg" ;
910import Court from "svgs/icons/kleros.svg" ;
10- import Linguo from "svgs/icons/linguo.svg" ;
1111import POH from "svgs/icons/poh-image.png" ;
1212import Vea from "svgs/icons/vea.svg" ;
13- import Tokens from "svgs/icons/tokens.svg" ;
1413import Product from "./Product" ;
1514
1615const Header = styled . h1 `
@@ -51,7 +50,7 @@ const Container = styled.div`
5150 left: 0;
5251 right: auto;
5352 transform: none;
54- width: calc(300px + ( 480 - 300) * (100vw - 375px) / (1250 - 375)) ;
53+ width: ${ responsiveSize ( 300 , 480 ) } ;
5554 max-height: 80vh;
5655 `
5756 ) }
@@ -60,56 +59,71 @@ const Container = styled.div`
6059const ItemsDiv = styled . div `
6160 display: grid;
6261 overflow-y: auto;
63- padding: 16px calc(8px + (24 - 8) * ((100vw - 480px) / (1250 - 480))) ;
62+ padding: 16px ${ responsiveSize ( 8 , 24 , 480 ) } ;
6463 row-gap: 8px;
6564 column-gap: 2px;
6665 justify-items: center;
6766 max-width: 480px;
6867 min-width: 300px;
69- width: calc(300px + ( 480 - 300) * (100vw - 375px) / (1250 - 375)) ;
68+ width: ${ responsiveSize ( 300 , 480 ) } ;
7069 grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
7170` ;
7271
7372const ITEMS = [
7473 {
75- text : "Court v1 " ,
74+ text : "Court V2 " ,
7675 Icon : Court ,
77- url : "https://court .kleros.io /" ,
76+ url : "https://v2 .kleros.builders /" ,
7877 } ,
7978 {
80- text : "Vea" ,
81- Icon : Vea ,
82- url : "https://veascan.io" ,
79+ text : "Curate V2" ,
80+ Icon : Curate ,
81+ url : "https://curate-v2.netlify.app/" ,
82+ } ,
83+ {
84+ text : "Resolver V2" ,
85+ Icon : Resolver ,
86+ url : "https://v2.kleros.builders/#/resolver" ,
8387 } ,
8488 {
85- text : "Escrow" ,
89+ text : "Escrow V2 " ,
8690 Icon : Escrow ,
87- url : "https://escrow.kleros.io " ,
91+ url : "https://escrow-v2 .kleros.builders/ " ,
8892 } ,
8993 {
90- text : "POH " ,
91- Icon : POH ,
92- url : "https://app.proofofhumanity.id " ,
94+ text : "Court V1 " ,
95+ Icon : Court ,
96+ url : "https://court.kleros.io/ " ,
9397 } ,
9498 {
95- text : "Curate" ,
99+ text : "Curate V1 " ,
96100 Icon : Curate ,
97101 url : "https://curate.kleros.io" ,
98102 } ,
99103 {
100- text : "Tokens" ,
101- Icon : Tokens ,
102- url : "https://tokens.kleros.io" ,
103- } ,
104- {
105- text : "Resolver" ,
104+ text : "Resolver V1" ,
106105 Icon : Resolver ,
107106 url : "https://resolve.kleros.io" ,
108107 } ,
109108 {
110- text : "Linguo" ,
111- Icon : Linguo ,
112- url : "https://linguo.kleros.io" ,
109+ text : "Escrow V1" ,
110+ Icon : Escrow ,
111+ url : "https://escrow.kleros.io" ,
112+ } ,
113+ {
114+ text : "Vea" ,
115+ Icon : Vea ,
116+ url : "https://veascan.io" ,
117+ } ,
118+ {
119+ text : "Perma Curate" ,
120+ Icon : Curate ,
121+ url : "https://perma-curate.eth.limo/" ,
122+ } ,
123+ {
124+ text : "POH V1" ,
125+ Icon : POH ,
126+ url : "https://app.proofofhumanity.id" ,
113127 } ,
114128 {
115129 text : "Governor" ,
0 commit comments