-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9bee173
commit 630ef72
Showing
20 changed files
with
271 additions
and
108 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import styled from "styled-components"; | ||
|
||
export const ChartWrapper = styled.div` | ||
flex: 1 1 80%; | ||
width: 100%; | ||
border-radius: 0 16px 16px 0 ; | ||
overflow: hidden; | ||
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25); | ||
padding: 32px; | ||
padding-bottom: 20px; | ||
` |
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 |
---|---|---|
@@ -1,35 +1,43 @@ | ||
import styled, {keyframes} from "styled-components"; | ||
import styled, { keyframes } from "styled-components"; | ||
import theme from "../../styles/theme"; | ||
|
||
export const Wrapper = styled.div` | ||
display: flex; | ||
justify-content: flex-end; | ||
position: relative; | ||
width: 100%; | ||
`; | ||
|
||
export const Container = styled.div` | ||
display: flex; | ||
position: relative; | ||
flex-direction: column; | ||
margin-top: 100px; | ||
width: 100%; | ||
height: 400px; | ||
box-shadow: inset 0px 60px 40px -10px rgba(255, 255, 255, 1); /* change to alter the effect*/ | ||
padding: 60px 3.75%; | ||
padding-bottom: 300px; | ||
margin: 0 auto; | ||
margin-top: 100px; | ||
max-width: 1920px; | ||
`; | ||
|
||
export const Text = styled.p` | ||
display: flex; | ||
font-weight: bold; | ||
margin-bottom: 3rem; | ||
font-size: 2.25rem; | ||
margin-left:50px; | ||
color: ${theme.colors.primary}; | ||
` | ||
|
||
export const Call = styled.p` | ||
display: flex; | ||
margin-bottom: 3rem; | ||
margin-top: 0; | ||
font-weight: 500; | ||
font-size: 1.5rem; | ||
margin-left:50px; | ||
color: ${theme.colors.primary}; | ||
` | ||
|
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,13 @@ | ||
import { Wrapper, Item } from "./styles.js"; | ||
|
||
export default function Dataset() { | ||
return ( | ||
<Wrapper> | ||
<h4>Datasets</h4> | ||
<div> | ||
<Item selected>WMT 2014 (EN-FR)</Item> | ||
<Item>WMT 2014 (EN-FR)</Item> | ||
</div> | ||
</Wrapper> | ||
); | ||
} |
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,37 @@ | ||
import styled from "styled-components"; | ||
import { Button } from "../Button/styles"; | ||
|
||
export const Wrapper = styled.div` | ||
flex: 1 1 20%; | ||
max-width: 20%; | ||
padding: 32px 24px; | ||
border-radius: 16px 0 0 16px; | ||
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25); | ||
h4{ | ||
font-family: 'Montserrat'; | ||
font-style: normal; | ||
font-weight: 500; | ||
font-size: 24px; | ||
line-height: 29px; | ||
display: flex; | ||
align-items: center; | ||
text-align: center; | ||
margin-bottom: 1.5rem; | ||
} | ||
`; | ||
|
||
export const Item = styled(Button)` | ||
margin-bottom: 1rem; | ||
font-family: 'Montserrat'; | ||
font-style: normal; | ||
font-weight: 500; | ||
font-size: 16px; | ||
line-height: 20px; | ||
display: flex; | ||
align-items: center; | ||
text-align: center; | ||
color: #2000E5; | ||
${({ selected }) => selected && `border: 1px solid #2000E5`} | ||
`; |
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
Oops, something went wrong.
630ef72
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: