Skip to content

Commit 9bc5d4b

Browse files
authored
Merge pull request #5 from kleros/feat(web)/all-lists-page
feat(web): all lists page, refactors, styling
2 parents 7edaf11 + af3c477 commit 9bc5d4b

31 files changed

+901
-76
lines changed

web/src/app.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import StyledComponentsProvider from "context/StyledComponentsProvider";
1010
import RefetchOnBlock from "context/RefetchOnBlock";
1111
import Layout from "layout/index";
1212
import Home from "./pages/Home";
13+
import AllLists from "./pages/AllLists";
1314

1415
const App: React.FC = () => {
1516
return (
@@ -21,6 +22,7 @@ const App: React.FC = () => {
2122
<SentryRoutes>
2223
<Route path="/" element={<Layout />}>
2324
<Route index element={<Home />} />
25+
<Route path="lists/*" element={<AllLists />} />
2426
<Route path="*" element={<h1>404 not found</h1>} />
2527
</Route>
2628
</SentryRoutes>
Lines changed: 9 additions & 0 deletions
Loading
Lines changed: 10 additions & 0 deletions
Loading
Lines changed: 19 additions & 0 deletions
Loading
Lines changed: 10 additions & 0 deletions
Loading

web/src/assets/svgs/icons/eth-chain.svg

Lines changed: 0 additions & 9 deletions
This file was deleted.

web/src/assets/svgs/icons/gnosis.svg

Lines changed: 0 additions & 19 deletions
This file was deleted.

web/src/assets/svgs/icons/home.svg

Lines changed: 10 additions & 0 deletions
Loading

web/src/assets/svgs/icons/polygon.svg

Lines changed: 0 additions & 11 deletions
This file was deleted.

web/src/components/ChainIcon.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import React from "react";
22
import { arbitrum, arbitrumSepolia, gnosis, gnosisChiado, polygon, polygonMumbai } from "viem/chains";
33
import { mainnet, sepolia } from "wagmi";
4-
import EthIcon from "svgs/icons/eth-chain.svg";
5-
import PolygonIcon from "svgs/icons/polygon.svg";
6-
import GnosisIcon from "svgs/icons/gnosis.svg";
4+
import EthIcon from "svgs/chains/ethereum.svg";
5+
import PolygonIcon from "svgs/chains/polygon.svg";
6+
import GnosisIcon from "svgs/chains/gnosis.svg";
77
import styled from "styled-components";
88

99
const getChainIcon = (chainId: number) => {

0 commit comments

Comments
 (0)