-
Notifications
You must be signed in to change notification settings - Fork 45
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 #1360 from kleros/chore(web)/testnet-banner
chore(web): add-testnet-banner
- Loading branch information
Showing
3 changed files
with
94 additions
and
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import React from "react"; | ||
import styled, { css } from "styled-components"; | ||
import { landscapeStyle } from "styles/landscapeStyle"; | ||
|
||
const Container = styled.div` | ||
width: 100%; | ||
position: sticky; | ||
top: 0; | ||
background-color: ${({ theme }) => theme.tintPurple}; | ||
color: ${({ theme }) => theme.primaryText}; | ||
padding: 6px 2px; | ||
${landscapeStyle( | ||
() => css` | ||
padding: 8px 10px; | ||
` | ||
)} | ||
`; | ||
|
||
const StyledP = styled.p` | ||
font-size: 14px; | ||
text-align: center; | ||
margin: 0; | ||
`; | ||
|
||
export const TestnetBanner: React.FC = () => { | ||
return ( | ||
<Container> | ||
<StyledP> | ||
Thanks for trying Kleros V2! This a testnet release: work is still in progress and some features are missing. | ||
More info{" "} | ||
<a href="https://docs.kleros.io/products/court-v2" target="_blank" rel="noreferrer"> | ||
here | ||
</a> | ||
. | ||
</StyledP> | ||
</Container> | ||
); | ||
}; |
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