-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1840 from kleros/feat(web)/jurors-page
feat: jurors page
- Loading branch information
Showing
55 changed files
with
766 additions
and
256 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import styled from "styled-components"; | ||
import { hoverShortTransitionTiming } from "styles/commonStyles"; | ||
|
||
export const BlueIconTextButtonContainer = styled.div` | ||
${hoverShortTransitionTiming} | ||
display: flex; | ||
align-items: center; | ||
font-size: 14px; | ||
font-weight: 400; | ||
gap: 8px; | ||
cursor: pointer; | ||
color: ${({ theme }) => theme.primaryBlue}; | ||
svg path { | ||
fill: ${({ theme }) => theme.primaryBlue}; | ||
} | ||
&:hover { | ||
color: ${({ theme }) => theme.secondaryBlue}; | ||
svg path { | ||
fill: ${({ theme }) => theme.secondaryBlue}; | ||
} | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import React from "react"; | ||
|
||
import RankingIcon from "svgs/icons/ranking.svg"; | ||
|
||
import { BlueIconTextButtonContainer } from "./BlueIconTextButtonContainer"; | ||
import { InternalLink } from "./InternalLink"; | ||
|
||
const JurorsLeaderboardButton: React.FC = () => { | ||
return ( | ||
<InternalLink to={"/jurors/1/desc/all"}> | ||
<BlueIconTextButtonContainer> | ||
<RankingIcon /> | ||
Jurors Leaderboard | ||
</BlueIconTextButtonContainer> | ||
</InternalLink> | ||
); | ||
}; | ||
|
||
export default JurorsLeaderboardButton; |
Oops, something went wrong.