diff --git a/client/app/components/MovieObject.jsx b/client/app/components/MovieObject.jsx index e12f725..8f44073 100644 --- a/client/app/components/MovieObject.jsx +++ b/client/app/components/MovieObject.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import '../app.css'; +require('../app.scss'); class MovieObject { constructor(object) { @@ -24,6 +24,23 @@ class MovieObject { } getElement() { + var movie_wrapper = { + display: 'flex', + alignContent: 'center', + width: '30%', + backgroundColor: '#ffffff', + height: '231px', + margin: '20px', + boxShadow: '0px 0px 5px 1px rgba(0,0,0,0.15)' + } + var movie_content = { + marginLeft: '15px' + } + var movie_header = { + fontSize: '1.6' + 'em' + } + + var posterPath = 'https://image.tmdb.org/t/p/w154' + this.poster; var buttonState; if (this.matchedInPlex) { @@ -33,10 +50,10 @@ class MovieObject { } return ( -