Skip to content

Commit

Permalink
improved landing screen
Browse files Browse the repository at this point in the history
  • Loading branch information
DashaBes committed Dec 23, 2019
1 parent 38eb9b9 commit 45b52cd
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/components/core/UI/style/Button.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ label.Button {
color: inherit;
font-size: inherit;
font-weight: inherit;
font-family: Fira Sans;
cursor: pointer;
text-decoration: inherit;
padding: 0;
Expand Down
4 changes: 3 additions & 1 deletion src/components/core/UI/style/Card.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
background-color: #fff;
border: 2px solid #000;
width: 40rem;
height: 25rem;
height: 22rem;
padding: 1em 2.5em;
}

.rounded {
width: 40rem;
height: 25rem;
border: none;
border-radius: 1.5rem;
box-shadow: 2.5px 5px 15px rgba(0, 0, 0, 0.25);
Expand Down
4 changes: 2 additions & 2 deletions src/components/core/UI/style/Text.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ p {
}

.body2 {

font-size: 1rem;
}

.body3 {

font-size: 0.75rem;
}

.bold {
Expand Down
4 changes: 3 additions & 1 deletion src/landing/Landing.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,15 @@ const Landing = () => {
<Spinner text="Loading your cards..." />
)}
</DragAndDropCard>
<div className={classes.format_link}>
<IconWrapper iconSize={1.5} iconType="help">
<div className={classes.format_instructions}>
<Text type="body1" underline>
<Text type="body2" underline>
<Button type="link" value="How do I format my .json?" />
</Text>
</div>
</IconWrapper>
</div>
</VerticalLayout>
) : (
<>
Expand Down
3 changes: 3 additions & 0 deletions src/landing/Landing.module.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
.format_instructions {
color: black;
}
.format_link {
margin-top: 2rem;
}

0 comments on commit 45b52cd

Please sign in to comment.