Skip to content

Commit b5d6b54

Browse files
committed
💄 Update the UI of LoginButton
1 parent 92dbda0 commit b5d6b54

File tree

2 files changed

+12
-16
lines changed

2 files changed

+12
-16
lines changed

client/src/components/Button/style.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,23 @@ import styled from 'styled-components';
22
import { MdMovie } from 'react-icons/md';
33

44
export const StyledLoginBtn = styled.button`
5-
background-color: rgb(251, 197, 0);
6-
opacity: 0.8;
7-
color: rgb(35, 35, 35);
8-
padding: 1vh 4vw;
5+
margin: 0 1vw;
6+
padding: 0.5rem 2rem;
7+
background-color: transparent;
8+
color: rgb(251, 197, 0);
9+
border: 0.15rem solid rgb(251, 197, 0);
910
border-radius: 10rem;
1011
text-align: center;
11-
margin: 0 1vw;
12-
border: none;
13-
text-decoration: none;
14-
outline: none;
15-
font-size: 2vw;
16-
font-weight: 600;
12+
font-family: 'Abel', sans-serif;
13+
font-size: 1rem;
14+
font-weight: 500;
1715
letter-spacing: 0.05em;
1816
transition: all 0.3s;
1917
cursor: pointer;
2018
2119
:hover {
22-
opacity: 1;
20+
background-color: rgb(251, 197, 0);
21+
color: rgb(35, 35, 35);
2322
}
2423
`;
2524

@@ -30,6 +29,7 @@ export const StyledLoadMoreBtn = styled.button`
3029
background-color: rgb(0, 0, 0);
3130
color: rgb(255, 255, 255);
3231
border-radius: 2rem;
32+
border: none;
3333
font-family: 'Abel', sans-serif;
3434
font-size: 2vh;
3535
transition: all 0.3s;

client/src/containers/Header/index.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,7 @@ const Header = () => {
2626
</NavRight>
2727
</NavHeader>
2828
</StyledHeader>
29-
<Modal
30-
isShowing={isShowing}
31-
hide={toggle}
32-
title='React Movie Account'
33-
>
29+
<Modal isShowing={isShowing} hide={toggle} title='React Movie Account'>
3430
<LoginButton>Sign In</LoginButton>
3531
<LoginButton>Create an account</LoginButton>
3632
</Modal>

0 commit comments

Comments
 (0)