{"action":"created","issue":{"url":"https://api.github.com/repos/martensonbj/little_shop/issues/140","labels_url":"https://api.github.com/repos/martensonbj/little_shop/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/martensonbj/little_shop/issues/140/comments","events_url":"https://api.github.com/repos/martensonbj/little_shop/issues/140/events","html_url":"https://github.com/martensonbj/little_shop/pull/140","id":127614186,"number":140,"title":"[WIP] closes #139 cycle through background","user":{"login":"martensonbj","id":13123158,"avatar_url":"https://avatars.githubusercontent.com/u/13123158?v=3","gravatar_id":"","url":"https://api.github.com/users/martensonbj","html_url":"https://github.com/martensonbj","followers_url":"https://api.github.com/users/martensonbj/followers","following_url":"https://api.github.com/users/martensonbj/following{/other_user}","gists_url":"https://api.github.com/users/martensonbj/gists{/gist_id}","starred_url":"https://api.github.com/users/martensonbj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martensonbj/subscriptions","organizations_url":"https://api.github.com/users/martensonbj/orgs","repos_url":"https://api.github.com/users/martensonbj/repos","events_url":"https://api.github.com/users/martensonbj/events{/privacy}","received_events_url":"https://api.github.com/users/martensonbj/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/martensonbj/little_shop/labels/in%20progress","name":"in progress","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-20T06:18:40Z","updated_at":"2016-01-20T18:23:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/martensonbj/little_shop/pulls/140","html_url":"https://github.com/martensonbj/little_shop/pull/140","diff_url":"https://github.com/martensonbj/little_shop/pull/140.diff","patch_url":"https://github.com/martensonbj/little_shop/pull/140.patch"},"body":"Added a rotating background image to the homepage. I have three random images rotating through at the moment just so we can see how the functionality works and had to do some black magic css which might need some heavy refactoring. The carousel uses built in materialize built in jquery calls, and I created a partial for the _home_content (buttons/rough sketch h1) that is embedded in the _slider partial thats then embedded in the index view file. Definitely could be a better way to do this but wanted to experiment. \r\n\r\nI'm also having trouble getting the file path to accessing the background image files that are stored in the assets folder (bg1.jpg etc). I'd imagine I need a link_to image tag but haven't quite gotten there yet. "},"comment":{"url":"https://api.github.com/repos/martensonbj/little_shop/issues/comments/173314619","html_url":"https://github.com/martensonbj/little_shop/pull/140#issuecomment-173314619","issue_url":"https://api.github.com/repos/martensonbj/little_shop/issues/140","id":173314619,"user":{"login":"martensonbj","id":13123158,"avatar_url":"https://avatars.githubusercontent.com/u/13123158?v=3","gravatar_id":"","url":"https://api.github.com/users/martensonbj","html_url":"https://github.com/martensonbj","followers_url":"https://api.github.com/users/martensonbj/followers","following_url":"https://api.github.com/users/martensonbj/following{/other_user}","gists_url":"https://api.github.com/users/martensonbj/gists{/gist_id}","starred_url":"https://api.github.com/users/martensonbj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martensonbj/subscriptions","organizations_url":"https://api.github.com/users/martensonbj/orgs","repos_url":"https://api.github.com/users/martensonbj/repos","events_url":"https://api.github.com/users/martensonbj/events{/privacy}","received_events_url":"https://api.github.com/users/martensonbj/received_events","type":"User","site_admin":false},"created_at":"2016-01-20T18:23:37Z","updated_at":"2016-01-20T18:23:37Z","body":"Definitely don't mean to keep those images I just wanted to see if the functionality was working. I also don't want the text/buttons to fade in and out so I'm working on that too. "}}