{"size": 2605, "ext": "js", "max_stars_repo_path": "public/component---src-pages-index-js-8779442937fd7417e90c.js", "max_stars_repo_name": "fkriza/korisnickaSucelja", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "public/component---src-pages-index-js-8779442937fd7417e90c.js", "max_issues_repo_name": "fkriza/korisnickaSucelja", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "public/component---src-pages-index-js-8779442937fd7417e90c.js", "max_forks_repo_name": "fkriza/korisnickaSucelja", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 1302.5, "max_line_length": 2525, "alphanum_fraction": 0.7028790787}
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"9MQu":function(t){t.exports=JSON.parse('{"data":{"site":{"siteMetadata":{"postInfo":[{"username":"Frane Križanović","password":"1234"},{"username":"Frane Bakić","password":"12345"}]}}}}')},Hs6S:function(t,e,a){"use strict";a.r(e);var n=a("9MQu"),s=a("q1tI"),r=a.n(s),l=(a("5nYz"),a("RXBc"),a("YwZP"));a("i8i4");function o(t,e,a){return console.log(t,e,a),r.a.createElement("button",{class:"button",onClick:function(){return Object(l.navigate)("/",{data:a})}},"Click me")}var i=function(t){var e,a;function s(e){var a;return(a=t.call(this,e)||this).state={first:"",last:"",data:n.data},a}a=t,(e=s).prototype=Object.create(a.prototype),e.prototype.constructor=e,e.__proto__=a;var l=s.prototype;return l.updateInput=function(t){this.setState({first:t.target.value})},l.updateLast=function(t){this.setState({last:t.target.value})},l.render=function(){return console.log(this.state.data),r.a.createElement("div",{class:"content"},r.a.createElement("div",{class:"firstName"},r.a.createElement("label",null,"First Name: "),r.a.createElement("input",{class:"first",value:this.state.first,type:"text",placeholder:"First Name ...",onChange:this.updateInput.bind(this)})),r.a.createElement("div",{class:"firstName"},r.a.createElement("label",null,"Last Name: "),r.a.createElement("input",{class:"last",value:this.state.last,type:"text",placeholder:"Last Name ...",onChange:this.updateLast.bind(this)})),r.a.createElement(o,{username:this.state.first,password:this.state.last,data:this.state.data.site.siteMetadata.postInfo}))},s}(r.a.Component);e.default=i},RXBc:function(t,e,a){"use strict";a.r(e);var n=a("q1tI"),s=a.n(n),r=(a("EDuE"),a("Hs6S"));a("+ZDr"),a("lw3w"),a("emEt").default.enqueue,s.a.createContext({});var l=a("YwZP");a("i8i4");function o(){return n.createElement("div",{class:"content"},n.createElement(l.Link,{to:"/logIn"},n.createElement("button",{class:"login"},"Log In")),n.createElement("button",{class:"registerNow"},"Register Now"),n.createElement("button",{class:"guest"},"Use as Guest"))}e.default=function(){return n.createElement("div",null,n.createElement(l.Router,null,n.createElement(o,{path:"/"}),n.createElement(r.default,{path:"/logIn"})))}},lw3w:function(t,e,a){var n;t.exports=(n=a("rzlk"))&&n.default||n},rzlk:function(t,e,a){"use strict";a.r(e);a("91GP");var n=a("q1tI"),s=a.n(n),r=a("IOVJ");e.default=function(t){var e=t.location,a=t.pageResources;return a?s.a.createElement(r.a,Object.assign({location:e,pageResources:a},a.json)):null}}}]);
//# sourceMappingURL=component---src-pages-index-js-8779442937fd7417e90c.js.map