File tree Expand file tree Collapse file tree 9 files changed +196
-203
lines changed Expand file tree Collapse file tree 9 files changed +196
-203
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ import React from "react" ;
2
+ import styled from "styled-components" ;
3
+
4
+ const StyledText = styled . text `
5
+ font-size: calc(20px + (24 - 20) * (min(max(100vw, 375px), 1250px) - 375px) / 875);
6
+ font-weight: 600;
7
+ color: ${ ( { theme } ) => theme . primaryText } ;
8
+ margin-top: 16px;
9
+ ` ;
10
+
11
+ const ClaimedText : React . FC = ( ) => {
12
+ return < StyledText > 🎉 Claimed! 🎉</ StyledText > ;
13
+ } ;
14
+ export default ClaimedText ;
Original file line number Diff line number Diff line change
1
+ import React from "react" ;
2
+ import styled from "styled-components" ;
3
+ import Icon from "tsx:svgs/icons/close.svg" ;
4
+
5
+ const StyledIcon = styled ( Icon ) `
6
+ position: absolute;
7
+ width: 18px;
8
+ height: 18px;
9
+ align-self: flex-end;
10
+ cursor: pointer;
11
+
12
+ path {
13
+ fill: ${ ( { theme } ) => theme . stroke } ;
14
+ }
15
+ ` ;
16
+
17
+ interface IClose {
18
+ togglePopup : ( ) => void ;
19
+ }
20
+
21
+ const Close : React . FC < IClose > = ( { togglePopup } ) => {
22
+ return < StyledIcon onClick = { togglePopup } > CloseIcon</ StyledIcon > ;
23
+ } ;
24
+ export default Close ;
Original file line number Diff line number Diff line change
1
+ import React from "react" ;
2
+ import styled from "styled-components" ;
3
+
4
+ const StyledHr = styled . hr `
5
+ display: flex;
6
+ border: none;
7
+ height: 0.5px;
8
+ background-color: ${ ( { theme } ) => theme . stroke } ;
9
+ margin: calc(8px + (18 - 8) * (min(max(100vw, 375px), 1250px) - 375px) / 875) 0px;
10
+ width: 100%;
11
+ ` ;
12
+
13
+ const Divider : React . FC = ( ) => {
14
+ return < StyledHr /> ;
15
+ } ;
16
+ export default Divider ;
Original file line number Diff line number Diff line change
1
+ import React from "react" ;
2
+ import styled from "styled-components" ;
3
+ import Icon from "svgs/icons/kleros.svg" ;
4
+
5
+ const StyledIcon = styled ( Icon ) `
6
+ path {
7
+ fill: ${ ( { theme } ) => theme . secondaryPurple } ;
8
+ }
9
+ width: calc(120px + (160 - 120) * (min(max(100vw, 375px), 1250px) - 375px) / 875);
10
+ height: calc(132px + (140 - 132) * (min(max(100vw, 375px), 1250px) - 375px) / 875);
11
+ ` ;
12
+
13
+ const KlerosIcon : React . FC = ( ) => {
14
+ return < StyledIcon /> ;
15
+ } ;
16
+ export default KlerosIcon ;
Original file line number Diff line number Diff line change
1
+ import React from "react" ;
2
+ import styled from "styled-components" ;
3
+
4
+ const StyledText = styled . text `
5
+ font-size: calc(40px + (64 - 40) * (min(max(100vw, 375px), 1250px) - 375px) / 875);
6
+ font-weight: 600;
7
+ color: ${ ( { theme } ) => theme . secondaryPurple } ;
8
+ margin-top: 16px;
9
+ ` ;
10
+
11
+ const QuantityClaimed : React . FC = ( ) => {
12
+ return < StyledText > 1,000 PNK</ StyledText > ;
13
+ } ;
14
+ export default QuantityClaimed ;
Original file line number Diff line number Diff line change
1
+ import React from "react" ;
2
+ import styled from "styled-components" ;
3
+ import RightArrow from "tsx:svgs/icons/arrow.svg" ;
4
+
5
+ const StyledLink = styled . a `
6
+ display: flex;
7
+ color: ${ ( { theme } ) => theme . primaryBlue } ;
8
+ font-size: 16px;
9
+ margin-top: 8px;
10
+ align-items: center;
11
+ gap: 8px;
12
+
13
+ &:hover {
14
+ text-decoration: underline;
15
+ }
16
+ ` ;
17
+
18
+ const StyledRightArrow = styled ( RightArrow ) `
19
+ path {
20
+ fill: ${ ( { theme } ) => theme . primaryBlue } ;
21
+ }
22
+ ` ;
23
+
24
+ const ReadMore : React . FC = ( ) => {
25
+ return (
26
+ < StyledLink
27
+ href = "https://blog.kleros.io/the-launch-of-the-kleros-juror-incentive-program/"
28
+ target = "_blank"
29
+ rel = "noreferrer"
30
+ >
31
+ < text > Read more about the Juror Incentive Program</ text >
32
+ < StyledRightArrow />
33
+ </ StyledLink >
34
+ ) ;
35
+ } ;
36
+ export default ReadMore ;
Original file line number Diff line number Diff line change
1
+ import React from "react" ;
2
+ import styled from "styled-components" ;
3
+
4
+ const StyledText = styled . text `
5
+ font-size: 16px;
6
+ color: ${ ( { theme } ) => theme . primaryText } ;
7
+ margin-top: 16px;
8
+ ` ;
9
+
10
+ const ThanksText : React . FC = ( ) => {
11
+ return < StyledText > Thank you for being part of the Kleros community.</ StyledText > ;
12
+ } ;
13
+ export default ThanksText ;
You can’t perform that action at this time.
0 commit comments