Skip to content

Commit

Permalink
First Working Version
Browse files Browse the repository at this point in the history
  • Loading branch information
Gil Teitelbaum committed Sep 8, 2020
1 parent f9e2f92 commit def75fe
Show file tree
Hide file tree
Showing 11 changed files with 534 additions and 10 deletions.
178 changes: 178 additions & 0 deletions package-lock.json

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

8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,17 @@
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
"axios": "^0.20.0",
"bootstrap": "^4.5.2",
"jquery": "^3.5.1",
"popper.js": "^1.16.1",
"react": "^16.13.1",
"react-bootstrap": "^1.3.0",
"react-dom": "^16.13.1",
"react-router-dom": "^5.2.0",
"react-scripts": "3.4.3"
"react-scripts": "3.4.3",
"react-toastify": "^6.0.8",
"typescript": "^4.0.2"
},
"scripts": {
"start": "react-scripts start",
Expand Down
7 changes: 5 additions & 2 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
text-align: center;
}

.container {
margin-top: 5px;
.header{
background-color: #337ab7;
color: white;
padding: 5px 0px;
margin: 0px 0px 20px 0px;
}
6 changes: 6 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,16 @@ import './App.css';
import Movies from "./components/movies";
import MovieDetails from "./components/movieDetails";
import NotFound from "./components/notFound";
import { ToastContainer} from "react-toastify";
import 'react-toastify/dist/ReactToastify.css'

function App() {
return (
<div className="App">
<ToastContainer />
<header className="header">
<h1>OMDB-API Search Movies</h1>
</header>
<main className="container">
<Switch>
<Route path="/movies/:id" component={MovieDetails}></Route>
Expand Down
Loading

0 comments on commit def75fe

Please sign in to comment.