Skip to content

Commit d2801c9

Browse files
committed
feat: add links to solutions and help
1 parent edc8301 commit d2801c9

File tree

3 files changed

+14
-15
lines changed

3 files changed

+14
-15
lines changed

web/src/layout/Header/navbar/DappList.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,42 +19,42 @@ const ITEMS = [
1919
{
2020
text: "Court",
2121
Icon: Court,
22-
url: "",
22+
url: "https://court.kleros.io/",
2323
},
2424
{
2525
text: "Escrow",
2626
Icon: Escrow,
27-
url: "",
27+
url: "https://escrow.kleros.io",
2828
},
2929
{
3030
text: "Tokens",
3131
Icon: Tokens,
32-
url: "",
32+
url: "https://tokens.kleros.io/",
3333
},
3434
{
3535
text: "POH",
3636
Icon: POH,
37-
url: "",
37+
url: "https://www.proofofhumanity.id",
3838
},
3939
{
4040
text: "Curate",
4141
Icon: Curate,
42-
url: "",
42+
url: "https://curate.kleros.io/",
4343
},
4444
{
4545
text: "Resolver",
4646
Icon: Resolver,
47-
url: "",
47+
url: "https://resolve.kleros.io/",
4848
},
4949
{
5050
text: "Linguo",
5151
Icon: Linguo,
52-
url: "",
52+
url: "https://linguo.kleros.io/",
5353
},
5454
{
5555
text: "Governor",
5656
Icon: Governor,
57-
url: "",
57+
url: "https://governor.kleros.io/",
5858
},
5959
];
6060

web/src/layout/Header/navbar/Menu/Help.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ const ITEMS = [
1212
{
1313
text: "Onboarding",
1414
Icon: Book,
15-
url: "",
15+
url: "https://kleros.dodao.io/",
1616
},
1717
{
1818
text: "Get Help",
1919
Icon: Telegram,
20-
url: "",
20+
url: "https://t.me/kleros",
2121
},
2222
{
2323
text: "Report a Bug",
2424
Icon: Bug,
25-
url: "",
25+
url: "https://github.com/kleros/kleros-v2/issues/new",
2626
},
2727
{
2828
text: "DApp Guide",
@@ -37,7 +37,7 @@ const ITEMS = [
3737
{
3838
text: "FAQ",
3939
Icon: Faq,
40-
url: "",
40+
url: "https://kleros.gitbook.io/docs/kleros-faq",
4141
},
4242
];
4343

@@ -61,7 +61,7 @@ const Container = styled.div`
6161
box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.06);
6262
`;
6363

64-
const ListItem = styled.div`
64+
const ListItem = styled.a`
6565
display: flex;
6666
gap: 8px;
6767
padding: 0px 8px;
@@ -106,7 +106,7 @@ const Help: React.FC<IHelp> = ({ toggle }) => {
106106
<Overlay />
107107
<Container ref={containerRef}>
108108
{ITEMS.map((item) => (
109-
<ListItem key={item.text}>
109+
<ListItem href={item.url} key={item.text} target="_blank">
110110
<Icon as={item.Icon} />
111111
<small>{item.text}</small>
112112
</ListItem>

web/src/layout/Header/navbar/Product.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ const StyledImg = styled.img`
5555
`;
5656

5757
const Product: React.FC<IProduct> = ({ text, url, Icon }) => {
58-
console.log("icon", Icon);
5958
return (
6059
<Container href={url} target="_blank">
6160
{typeof Icon === "string" ? <StyledImg alt={Icon} src={Icon} /> : <StyledIcon as={Icon} />}

0 commit comments

Comments
 (0)