text: (this.webpackJsonpfrontend=this.webpackJsonpfrontend||[]).push([[0],{21:function(e,t,n){e.exports=n(37)},26:function(e,t,n){},27:function(e,t,n){e.exports=n.p+"static/media/logo.5d5d9eef.svg"},28:function(e,t,n){},29:function(e,t,n){},30:function(e,t,n){},36:function(e,t,n){},37:function(e,t,n){"use strict";n.r(t);var a=n(0),s=n.n(a),r=n(18),o=n.n(r),l=(n(26),n(5)),c=n(6),m=n(7),i=n(8),p=n(11),u=n(9);n(27),n(28),n(29),n(30);var h=function(){var e={color:"white",textDecoration:"none",fontSize:"1.2em",fontWeight:"bold"};return s.a.createElement("div",null,s.a.createElement("nav",{className:"nav-container"},s.a.createElement("ul",{className:"nav"},s.a.createElement("li",{className:"link"},s.a.createElement(p.b,{style:e,to:"/"},"Home")),s.a.createElement("li",{className:"link"},s.a.createElement(p.b,{style:e,to:"/add"},"Add New Tweet")),s.a.createElement("li",{className:"link"},s.a.createElement(p.b,{style:e,to:"/profile"},"Profile ")),s.a.createElement("li",{className:"last-link"},s.a.createElement("a",{href:"/logout/"},"Logout")))))},d=(n(36),function(e){Object(i.a)(n,e);var t=Object(m.a)(n);function n(e){return Object(l.a)(this,n),t.call(this,e)}return Object(c.a)(n,[{key:"render",value:function(){return s.a.createElement("div",{className:"tweet"},s.a.createElement("img",{src:this.props.src}),s.a.createElement("p",null,this.props.username),s.a.createElement("p",null,this.props.tweet),s.a.createElement("span",null,this.props.likes," likes"),s.a.createElement("span",{className:"retweets"},this.props.retweets," retweets"),s.a.createElement("span",{className:"likes"},this.props.comments," comments"))}}]),n}(a.Component)),w=(a.Component,a.Component,function(e){Object(i.a)(n,e);var t=Object(m.a)(n);function n(e){var a;return Object(l.a)(this,n),(a=t.call(this,e)).state={tweets:[{src:"https://via.placeholder.com/50C/O https://placeholder.com/",username:"squadran2003",tweet:"Lorem Ipsum is simply dummy text of the printing and \n          typesetting industry. Lorem Ipsum has been the industry's \n          standard dummy text ever since the 1500s, when an unknown printer \n          took a galley of type and scrambled it to make a type specimen book.",likes:12,retweets:4,comments:5},{src:"https://via.placeholder.com/50C/O https://placeholder.com/",username:"leo",tweet:"Lorem Ipsum is simply dummy text of the printing and \n          typesetting industry. Lorem Ipsum has been the industry's \n          standard dummy text ever since the 1500s, when an unknown printer \n          took a galley of type and scrambled it to make a type specimen book.",likes:5,retweets:12,comments:6},{src:"https://via.placeholder.com/50C/O https://placeholder.com/",username:"kath",tweet:"Lorem Ipsum is simply dummy text of the printing and \n          typesetting industry. Lorem Ipsum has been the industry's \n          standard dummy text ever since the 1500s, when an unknown printer \n          took a galley of type and scrambled it to make a type specimen book.",likes:6,retweets:4,comments:5},{src:"https://via.placeholder.com/50C/O https://placeholder.com/",username:"kath",tweet:"Lorem Ipsum is simply dummy text of the printing and \n          typesetting industry. Lorem Ipsum has been the industry's \n          standard dummy text ever since the 1500s, when an unknown printer \n          took a galley of type and scrambled it to make a type specimen book.",likes:6,retweets:4,comments:5}]},a}return Object(c.a)(n,[{key:"render",value:function(){return s.a.createElement("div",null,s.a.createElement(p.a,null,s.a.createElement(h,null),s.a.createElement("div",{class:"container"},s.a.createElement(u.a,{exact:!0,path:"/"},s.a.createElement("section",{class:"tweets"},this.state.tweets.map((function(e){return s.a.createElement(d,{src:e.src,tweet:e.tweet,username:e.username,likes:e.likes,comments:e.comments,retweets:e.retweets})}))),s.a.createElement("section",{class:"profile"},s.a.createElement("h1",null,"Profile"),s.a.createElement("img",{src:"https://via.placeholder.com/50C/O https://placeholder.com/"}),s.a.createElement("h3",null,"Username: squadran2003"),s.a.createElement("h4",null,"10 Followers"),s.a.createElement("h4",null,"12 Following"))),s.a.createElement(u.a,{exact:!0,path:"/add"},s.a.createElement("h1",null,"The add tweet component will go here"))),s.a.createElement("footer",{className:"footer"},s.a.createElement("h4",null,"copy right\xa9 dr twitter 2020-2022"))))}}]),n}(a.Component));Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));o.a.render(s.a.createElement(w,null),document.getElementById("root")),"serviceWorker"in navigator&&navigator.serviceWorker.ready.then((function(e){e.unregister()})).catch((function(e){console.error(e.message)}))}},[[21,1,2]]]);
  //# sourceMappingURL=main.501c95ce.chunk.js.map