Skip to content

Commit 9032961

Browse files
committed
💄 Update the UI of TrailerButton
1 parent b5d6b54 commit 9032961

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 & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import styled from 'styled-components';
2-
import { MdMovie } from 'react-icons/md';
2+
import { FaYoutube } from 'react-icons/fa';
33

44
export const StyledLoginBtn = styled.button`
55
margin: 0 1vw;
@@ -45,28 +45,25 @@ export const StyledTrailerBtn = styled.button`
4545
display: flex;
4646
justify-content: center;
4747
align-items: center;
48-
background-color: rgb(251, 197, 0);
49-
opacity: 0.9;
50-
color: rgb(35, 35, 35);
51-
border: none;
52-
border-radius: 0.5rem;
53-
padding: 0.5rem 1rem;
48+
background-color: transparent;
49+
color: rgb(251, 197, 0);
50+
border: 0.15rem solid rgb(251, 197, 0);
51+
border-radius: 10rem;
52+
padding: 0.5rem 1.5rem;
5453
font-family: 'Abel', sans-serif;
5554
font-size: 1.5rem;
56-
font-weight: 600;
55+
font-weight: 500;
5756
letter-spacing: 0.05em;
5857
transition: all 0.3s;
59-
text-decoration: none;
60-
outline: none;
6158
cursor: pointer;
6259
6360
:hover {
64-
opacity: 1;
61+
background-color: rgb(251, 197, 0);
62+
color: rgb(35, 35, 35);
6563
}
6664
`;
6765

68-
export const TrailerIcon = styled(MdMovie)`
69-
color: rgb(35, 35, 35);
70-
font-size: 1.5rem;
66+
export const TrailerIcon = styled(FaYoutube)`
67+
font-size: 1.8rem;
7168
margin-right: 0.5rem;
7269
`;

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@
1212
},
1313
"repository": {
1414
"type": "git",
15-
"url": "git+https://github.com/marcdvlpr/react-movie.git"
15+
"url": "git+https://github.com/mdossantosdev/react-movie.git"
1616
},
17-
"author": "marcdvlpr",
1817
"license": "MIT",
1918
"dependencies": {
2019
"axios": "^0.19.2",

0 commit comments

Comments
 (0)