Skip to content

Comments

Still a bit to do. will try and get it done through this week#30

Open
mattc0llier wants to merge 1 commit intoconstructorlabs:masterfrom
mattc0llier:master
Open

Still a bit to do. will try and get it done through this week#30
mattc0llier wants to merge 1 commit intoconstructorlabs:masterfrom
mattc0llier:master

Conversation

@mattc0llier
Copy link

getting messy and 3 or so features 90% done

@@ -0,0 +1 @@
{"id":"index.css","dependencies":[{"name":"_css_loader","parent":"/Users/matthewcollier/Documents/Sites/constructor-labs/project-cinema/src/index.css","resolved":"/usr/local/lib/node_modules/parcel-bundler/src/builtins/css-loader.js"}],"generated":{"css":":root {\n --bg-color: #000;\n --text-color: #fff;\n --highlight-color: grey;\n --link-color: blue;\n}\n\nbody,\nhtml {\n color: var(--text-color);\n background-color: var(--bg-color);\n\n /*Declare your font*/\n font-family: \"Source Serif Pro\", serif;\n\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.app {\n}\nmain {\n display: flex;\n flex-direction: row;\n}\n","js":"\nvar reloadCSS = require('_css_loader');\nmodule.hot.dispose(reloadCSS);\nmodule.hot.accept(reloadCSS);"},"hash":"626be48813a0f1d51f52fb999b45f58f","cacheData":{"env":{}}} No newline at end of file
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These could be added to .gitignore

const mainNode = document.querySelector("main");

//Create the search previews Poster + Title + Year + Try to pull in rating
function createContentOverview(content, className = "content-overview") {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

like the default args :)


//Create the search previews Poster + Title + Year + Try to pull in rating
function createContentOverview(content, className = "content-overview") {
const overviewMarkUp = `
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Function is around 50 lines long and could be broken down into smaller chunks

return buildURL(searchURL);
}

// function createContentParameters(imdbNumber) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commented out code can be removed

@dmitrigrabov
Copy link
Collaborator

dmitrigrabov commented Sep 27, 2018

There is a lot of files in .cache and dist that can go into .gitignore to keep project. Would love to see a README next time. Also, more frequent commits will make your life easier in future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants