Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Movie Finder #2

Merged
merged 56 commits into from
Apr 27, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
9d45d83
Remove unnecessary code and install necessary packages
jcy2704 Apr 7, 2021
77c78f5
Remove yarn.lock
jcy2704 Apr 7, 2021
c364d11
Add node version to package.json
jcy2704 Apr 7, 2021
8dbe413
Fix React error
jcy2704 Apr 7, 2021
4c67629
Divide into folders
jcy2704 Apr 7, 2021
dbe7d92
Add fonts and scss
jcy2704 Apr 7, 2021
77db71f
Start Routes
jcy2704 Apr 7, 2021
680408e
Add api calls
jcy2704 Apr 7, 2021
6ea1282
Reinstall packages
jcy2704 Apr 7, 2021
a91efb0
Add linters
jcy2704 Apr 7, 2021
623bd41
Add actions and start reducers
jcy2704 Apr 7, 2021
dc801bc
Finish reducers methods
jcy2704 Apr 7, 2021
66e76fe
Fix api issues
jcy2704 Apr 7, 2021
59b074b
Create hero component
jcy2704 Apr 7, 2021
59c3be3
Add first movie
jcy2704 Apr 7, 2021
c852e99
Finish hero section
jcy2704 Apr 8, 2021
751a166
Add random int helper
jcy2704 Apr 8, 2021
2204d98
Divide genres list from method
jcy2704 Apr 8, 2021
61eedc6
Add video api
jcy2704 Apr 8, 2021
ec5c0db
Add loading screen and start popular section
jcy2704 Apr 8, 2021
ce0f699
Create new reducer for trending only
jcy2704 Apr 8, 2021
aa19966
Finish Popular catalogue
jcy2704 Apr 8, 2021
59915e8
Finish top rated and upcoming
jcy2704 Apr 8, 2021
8752dad
Add more api calls for popular
jcy2704 Apr 8, 2021
fa1cf50
Solve environmental variables issue
jcy2704 Apr 8, 2021
26b11ca
Add Navigation and styling
jcy2704 Apr 9, 2021
9fab3cc
Start filter modal
jcy2704 Apr 9, 2021
ead435c
Finish filter modal
jcy2704 Apr 9, 2021
a088357
Add reset button to filter modal
jcy2704 Apr 9, 2021
522a3b4
Add modals for movies
jcy2704 Apr 9, 2021
72b0d34
Add close icon for movie modals
jcy2704 Apr 9, 2021
c9bf0d3
Refactor some code to helpers
jcy2704 Apr 9, 2021
6c476f9
Refactor api methods
jcy2704 Apr 9, 2021
77e7289
Finish styling filter modal
jcy2704 Apr 9, 2021
954ecc9
Finish filters
jcy2704 Apr 10, 2021
40d5cf7
Add more movies
jcy2704 Apr 10, 2021
b6cf893
Add modals container
jcy2704 Apr 10, 2021
5932329
Update README.md
jcy2704 Apr 10, 2021
201928c
Update README.md
jcy2704 Apr 10, 2021
92ac6ed
Fix linters
jcy2704 Apr 10, 2021
18e3a58
Update README.md
jcy2704 Apr 10, 2021
aa60d52
Change favicon
jcy2704 Apr 11, 2021
4053ac3
Update README.md
jcy2704 Apr 11, 2021
3fdf87d
Fix trailer links
jcy2704 Apr 11, 2021
db0944f
Update README.md
jcy2704 Apr 11, 2021
041117d
Update README.md
jcy2704 Apr 11, 2021
cd866e8
Update README.md
jcy2704 Apr 13, 2021
bd28a99
Finish adding router for movies
jcy2704 Apr 14, 2021
4b8ae27
Fix router issues and Add netlify redirects
jcy2704 Apr 14, 2021
1286ccd
Add React Testing Library
jcy2704 Apr 14, 2021
6e73540
Add test packages
jcy2704 Apr 14, 2021
f81effc
Add test for componentes and containers
jcy2704 Apr 15, 2021
7f87a21
Add test for helpers
jcy2704 Apr 15, 2021
5277b9a
Update README.md
jcy2704 Apr 15, 2021
6a66205
Fix stylint
jcy2704 Apr 15, 2021
b7e16b6
Fix errors
jcy2704 Apr 16, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add Navigation and styling
  • Loading branch information
jcy2704 committed Apr 9, 2021
commit 26b11ca4e9753ad5b8b61235edfe16dc8646aa95
14 changes: 11 additions & 3 deletions src/components/Navigation.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
import React from 'react';
import { Link } from 'react-router-dom';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faFilter } from '@fortawesome/free-solid-svg-icons';
import '../styles/navigation/Navigation.css';

const Navigation = () => (
<>
<Link to="/">Popular</Link>
<Link to="/top">Top Rated</Link>
<Link to="/upcoming">Upcoming</Link>
<div className="navigation-cont d-flex justify-content-between">
<div className="navigation">
<Link to="/">Popular</Link>
<Link to="/top">Top Rated</Link>
<Link to="/upcoming">Upcoming</Link>
</div>
<button type="button"><FontAwesomeIcon icon={faFilter}>Filter</FontAwesomeIcon></button>
</div>
</>
);

Expand Down
88 changes: 88 additions & 0 deletions src/styles/navigation/Navigation.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions src/styles/navigation/Navigation.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions src/styles/navigation/Navigation.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
@import '../globals';

.navigation-cont {
padding: 20px 30px 10px;
font-size: 1.1em;

button {
margin: 0 10px;
font-size: 1.1em;

svg {
path {
color: $gray;
}
}
}
}

.navigation {
color: $yellow;

a {
margin-right: 20px;
}
}