From baefc7b82148720dd33011e9e66f2708e0eef4a5 Mon Sep 17 00:00:00 2001 From: mineibrm Date: Tue, 13 Jul 2021 19:02:16 +0200 Subject: [PATCH] Updates --- asset-manifest.json | 6 +++--- index.html | 2 +- .../js/{main.bfec3a45.chunk.js => main.fb3d96ed.chunk.js} | 4 ++-- ...ain.bfec3a45.chunk.js.map => main.fb3d96ed.chunk.js.map} | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) rename static/js/{main.bfec3a45.chunk.js => main.fb3d96ed.chunk.js} (98%) rename static/js/{main.bfec3a45.chunk.js.map => main.fb3d96ed.chunk.js.map} (99%) diff --git a/asset-manifest.json b/asset-manifest.json index 3f67f91..535aa32 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,8 +1,8 @@ { "files": { "main.css": "/blog/static/css/main.6dea0f05.chunk.css", - "main.js": "/blog/static/js/main.bfec3a45.chunk.js", - "main.js.map": "/blog/static/js/main.bfec3a45.chunk.js.map", + "main.js": "/blog/static/js/main.fb3d96ed.chunk.js", + "main.js.map": "/blog/static/js/main.fb3d96ed.chunk.js.map", "runtime-main.js": "/blog/static/js/runtime-main.c70ead65.js", "runtime-main.js.map": "/blog/static/js/runtime-main.c70ead65.js.map", "static/js/2.ee690dfb.chunk.js": "/blog/static/js/2.ee690dfb.chunk.js", @@ -19,6 +19,6 @@ "static/js/runtime-main.c70ead65.js", "static/js/2.ee690dfb.chunk.js", "static/css/main.6dea0f05.chunk.css", - "static/js/main.bfec3a45.chunk.js" + "static/js/main.fb3d96ed.chunk.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index 63a7dcb..b9105b0 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -Mine's Blog
\ No newline at end of file +Mine's Blog
\ No newline at end of file diff --git a/static/js/main.bfec3a45.chunk.js b/static/js/main.fb3d96ed.chunk.js similarity index 98% rename from static/js/main.bfec3a45.chunk.js rename to static/js/main.fb3d96ed.chunk.js index 539c370..89099c0 100644 --- a/static/js/main.bfec3a45.chunk.js +++ b/static/js/main.fb3d96ed.chunk.js @@ -1,2 +1,2 @@ -(this.webpackJsonpblog=this.webpackJsonpblog||[]).push([[0],{101:function(t,e,a){"use strict";a.r(e);var n=a(0),r=a.n(n),i=a(27),c=a.n(i),o=(a(82),a.p,a(133)),s=a(49),l=a(104),d=a(135),j=a(137),b=a(145),p=a(138),h=a(139),u=a(146),m=a.p+"static/media/bg_img.cf4df7da.jpg",g=a(3),O=Object(o.a)({card:{display:"flex"},cardDetails:{flex:1},cardMedia:{width:160}});function x(t){var e=O(),a=t.post,r=Object(n.useState)(0),i=Object(s.a)(r,2),c=i[0],o=i[1];return c?Object(g.jsx)(d.a,{item:!0,xs:12,children:Object(g.jsx)(R,{post:a},a.id)}):Object(g.jsx)(d.a,{item:!0,xs:12,children:Object(g.jsx)(b.a,{onClick:function(){return o(!c)},children:Object(g.jsxs)(j.a,{className:e.card,children:[Object(g.jsx)("div",{className:e.cardDetails,children:Object(g.jsxs)(p.a,{children:[Object(g.jsx)(l.a,{component:"h2",variant:"h5",children:a.title}),Object(g.jsx)(l.a,{variant:"subtitle1",color:"textSecondary"}),Object(g.jsx)(l.a,{variant:"subtitle1",color:"textSecondary",children:new Date(a.createdAt).toDateString()}),Object(g.jsx)(l.a,{variant:"subtitle1",paragraph:!0,children:a.body.markdown.split("\n")[0]}),Object(g.jsx)(l.a,{variant:"subtitle1",color:"primary",children:"Continue reading..."})]})}),Object(g.jsx)(u.a,{xsDown:!0,children:Object(g.jsx)(h.a,{className:e.cardMedia,image:m,title:a.imageTitle})})]})})})}var v=a(32),f=a(142),y=a(73),k=a(62),S=a(8),w=a(140),C={overrides:{h1:{component:l.a,props:{gutterBottom:!0,variant:"h5"}},h2:{component:l.a,props:{gutterBottom:!0,variant:"h6"}},h3:{component:l.a,props:{gutterBottom:!0,variant:"subtitle1"}},h4:{component:l.a,props:{gutterBottom:!0,variant:"caption",paragraph:!0}},p:{component:l.a,props:{paragraph:!0}},a:{component:w.a},li:{component:Object(S.a)((function(t){return{listItem:{marginTop:t.spacing(1)}}}))((function(t){var e=t.classes,a=Object(y.a)(t,["classes"]);return Object(g.jsx)("li",{className:e.listItem,children:Object(g.jsx)(l.a,Object(v.a)({component:"span"},a))})}))}}};function T(t){return Object(g.jsx)(k.a,Object(v.a)({options:C},t))}var B=a(141),N=Object(o.a)((function(t){return{toolbar:{borderBottom:"1px solid ".concat(t.palette.divider)},toolbarTitle:{flex:1},toolbarSecondary:{justifyContent:"space-between",overflowX:"auto"},toolbarLink:{padding:t.spacing(1),flexShrink:0}}}));function A(t){var e=N(),a=(t.sections,t.title);return Object(g.jsxs)(r.a.Fragment,{children:[Object(g.jsx)(B.a,{className:e.toolbar,children:Object(g.jsx)(l.a,{component:"h2",variant:"h5",color:"inherit",align:"center",noWrap:!0,className:e.toolbarTitle,children:a})}),Object(g.jsx)(B.a,{component:"nav",variant:"dense",className:e.toolbarSecondary})]})}var P=Object(o.a)((function(t){return{markdown:Object(v.a)(Object(v.a)({},t.typography.body2),{},{padding:t.spacing(3,0)})}}));function _(t){var e=P(),a=t.post;return Object(g.jsxs)(r.a.Fragment,{children:[Object(g.jsx)(l.a,{variant:"h5",color:"inherit",gutterBottom:!0,children:a.title}),Object(g.jsx)(f.a,{}),Object(g.jsx)(T,{className:e.markdown,children:a.body.markdown})]})}var F=a(25),E=a(103),I=Object(o.a)((function(t){return{sidebarAboutBox:{padding:t.spacing(2),backgroundColor:t.palette.grey[200]},sidebarSection:{marginTop:t.spacing(3)}}}));function D(t){var e=I(),a=(t.archives,t.description),n=t.social,r=t.title;return Object(g.jsx)(d.a,{item:!0,lg:12,children:Object(g.jsxs)(E.a,{elevation:0,className:e.sidebarAboutBox,children:[Object(g.jsx)(l.a,{variant:"h6",gutterBottom:!0,children:r}),Object(g.jsx)(l.a,{children:a}),Object(g.jsx)(l.a,{variant:"h6",gutterBottom:!0,className:e.sidebarSection,children:"Social"}),n.map((function(t){var e;return Object(g.jsx)(w.a,(e={display:"block",variant:"body1",href:"#"},Object(F.a)(e,"href",t.url),Object(F.a)(e,"children",Object(g.jsxs)(d.a,{container:!0,direction:"row",spacing:1,alignItems:"center",children:[Object(g.jsx)(d.a,{item:!0,children:Object(g.jsx)(t.icon,{})}),Object(g.jsx)(d.a,{item:!0,children:t.name})]})),e),t)}))]})})}var L=Object(o.a)((function(t){return{mainGrid:{marginTop:t.spacing(3)}}}));function R(t){L();var e=t.post;return Object(g.jsx)(r.a.Fragment,{children:Object(g.jsx)(_,{post:e},e.id)})}var M,W=a(147),q=a(63),z=a(64),G=a(65),H=a(43),U=a(66),K=a(48),J=a.n(K),Q=function(){function t(){Object(z.a)(this,t),J.a.config(),this.Client=new U.GraphQLClient("https://api-eu-central-1.graphcms.com/v2/ckoveoq9fhgrp01z2hxkm09yx/master",{headers:{authorization:"Bearer ".concat(Object({NODE_ENV:"production",PUBLIC_URL:"/blog",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_GCMS_URL:"https://api-eu-central-1.graphcms.com/v2/ckoveoq9fhgrp01z2hxkm09yx/master"}).REACT_APP_GCMS_AUTH)}})}return Object(G.a)(t,[{key:"fetchPosts",value:function(){return Object(H.a)(M||(M=Object(q.a)(["\n query {\n posts {\n id\n title\n body{\n markdown\n }\n createdAt\n }\n }\n "])))}}]),t}(),V=Object(o.a)((function(t){return{mainFeaturedPost:{position:"relative",backgroundColor:t.palette.grey[800],color:t.palette.common.white,marginBottom:t.spacing(4),backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},overlay:{position:"absolute",top:0,bottom:0,right:0,left:0,backgroundColor:"rgba(0,0,0,.3)"},mainFeaturedPostContent:Object(F.a)({position:"relative",padding:t.spacing(3)},t.breakpoints.up("md"),{padding:t.spacing(6),paddingRight:0})}}));function X(t){var e=V(),a=t.post;return Object(g.jsx)(d.a,{container:!0,children:Object(g.jsxs)(E.a,{className:e.mainFeaturedPost,style:{backgroundImage:"url(".concat(a.image,")")},children:[Object(g.jsx)("img",{style:{display:"none"},src:a.image,alt:a.imageText}),Object(g.jsx)("div",{className:e.overlay}),Object(g.jsxs)("div",{className:e.mainFeaturedPostContent,children:[Object(g.jsx)(l.a,{component:"h1",variant:"h3",color:"inherit",gutterBottom:!0,children:a.title}),Object(g.jsx)(l.a,{variant:"h5",color:"inherit",paragraph:!0,children:a.description})]})]})})}var Y=a(67),Z=a.n(Y),$=function(t){var e=r.a.useState([]),a=Object(s.a)(e,2),n=(a[0],a[1]),i=new Q,c={title:"Collection of thorough research on use cases of AI",description:"Theory and Applications of Artficial neural Networks in various fields. Written in the format of overview papers, made with hard-work and tight-deadlines :)",image:m,imgText:"main image description",linkText:"Continue reading\u2026"},o={title:"About",description:"I'm a final year Computer Engineering Student sharing my overviews of research in the area of Artificial Intelligence",social:[{name:"LinkedIn",icon:Z.a,url:"https://www.linkedin.com/in/mine-ibraimi-572238155/"}]};return Object(g.jsx)(g.Fragment,{children:Object(g.jsxs)(d.a,{container:!0,spacing:4,children:[Object(g.jsxs)(d.a,{item:!0,xs:12,children:[Object(g.jsx)(X,{post:c}),Object(g.jsx)(W.a,{query:i.fetchPosts(),children:function(t){var e=t.loading,a=t.error,r=t.data;if(e)return Object(g.jsx)("div",{children:"Loading..."});if(a)return console.log(a),Object(g.jsx)("div",{className:"mx-auto alert-danger",children:"Error!"});var i=r.posts;return n(i),i.slice(0,5).map((function(t){return Object(g.jsx)(d.a,{container:!0,spacing:4,children:Object(g.jsx)(x,{post:t},t.id)})}))}})]}),Object(g.jsx)(d.a,{item:!0,children:Object(g.jsx)(D,{title:o.title,description:o.description,social:o.social})})]})})},tt=a(143);function et(){return Object(g.jsxs)(l.a,{variant:"body2",color:"textSecondary",align:"center",children:["Copyright \xa9 ",Object(g.jsx)(w.a,{color:"inherit",href:"https://material-ui.com/",children:"Mine's Blog"})," ",(new Date).getFullYear(),"."]})}var at=Object(o.a)((function(t){return{footer:{backgroundColor:t.palette.background.paper,padding:t.spacing(6,0)}}}));function nt(t){var e=at(),a=t.description,n=t.title;return Object(g.jsx)("footer",{className:e.footer,children:Object(g.jsxs)(tt.a,{maxWidth:"lg",children:[Object(g.jsx)(l.a,{variant:"h6",align:"center",gutterBottom:!0,children:n}),Object(g.jsx)(l.a,{variant:"subtitle1",align:"center",color:"textSecondary",component:"p",children:a}),Object(g.jsx)(et,{})]})})}var rt=a(144);var it=function(){return Object(g.jsxs)("div",{children:[Object(g.jsx)(rt.a,{}),Object(g.jsxs)(tt.a,{maxWidth:"lg",children:[Object(g.jsx)(A,{title:"My Artificial Intelligence Blog"}),Object(g.jsx)("main",{children:Object(g.jsx)($,{})}),Object(g.jsx)(nt,{title:"Congrats you've seen it all.",description:"Made with love "})]})]})},ct=function(t){t&&t instanceof Function&&a.e(3).then(a.bind(null,149)).then((function(e){var a=e.getCLS,n=e.getFID,r=e.getFCP,i=e.getLCP,c=e.getTTFB;a(t),n(t),r(t),i(t),c(t)}))},ot=a(11),st=a(72);J.a.config();var lt=new st.a({uri:"https://api-eu-central-1.graphcms.com/v2/ckoveoq9fhgrp01z2hxkm09yx/master"});c.a.render(Object(g.jsx)(r.a.StrictMode,{children:Object(g.jsx)(ot.a,{client:lt,children:Object(g.jsx)(it,{})})}),document.getElementById("root")),ct()},82:function(t,e,a){}},[[101,1,2]]]); -//# sourceMappingURL=main.bfec3a45.chunk.js.map \ No newline at end of file +(this.webpackJsonpblog=this.webpackJsonpblog||[]).push([[0],{101:function(t,e,a){"use strict";a.r(e);var n=a(0),r=a.n(n),i=a(27),c=a.n(i),o=(a(82),a.p,a(133)),s=a(49),l=a(104),d=a(135),j=a(137),b=a(145),p=a(138),h=a(139),u=a(146),m=a.p+"static/media/bg_img.cf4df7da.jpg",g=a(3),O=Object(o.a)({card:{display:"flex"},cardDetails:{flex:1},cardMedia:{width:160}});function x(t){var e=O(),a=t.post,r=Object(n.useState)(0),i=Object(s.a)(r,2),c=i[0],o=i[1];return c?Object(g.jsx)(d.a,{item:!0,xs:12,children:Object(g.jsx)(R,{post:a},a.id)}):Object(g.jsx)(d.a,{item:!0,xs:12,children:Object(g.jsx)(b.a,{onClick:function(){return o(!c)},children:Object(g.jsxs)(j.a,{className:e.card,children:[Object(g.jsx)("div",{className:e.cardDetails,children:Object(g.jsxs)(p.a,{children:[Object(g.jsx)(l.a,{component:"h2",variant:"h5",children:a.title}),Object(g.jsx)(l.a,{variant:"subtitle1",color:"textSecondary"}),Object(g.jsx)(l.a,{variant:"subtitle1",color:"textSecondary",children:new Date(a.createdAt).toDateString()}),Object(g.jsx)(l.a,{variant:"subtitle1",paragraph:!0,children:a.body.markdown.split("\n")[0]}),Object(g.jsx)(l.a,{variant:"subtitle1",color:"primary",children:"Continue reading..."})]})}),Object(g.jsx)(u.a,{xsDown:!0,children:Object(g.jsx)(h.a,{className:e.cardMedia,image:m,title:a.imageTitle})})]})})})}var v=a(32),f=a(142),y=a(73),k=a(62),S=a(8),w=a(140),C={overrides:{h1:{component:l.a,props:{gutterBottom:!0,variant:"h5"}},h2:{component:l.a,props:{gutterBottom:!0,variant:"h6"}},h3:{component:l.a,props:{gutterBottom:!0,variant:"subtitle1"}},h4:{component:l.a,props:{gutterBottom:!0,variant:"caption",paragraph:!0}},p:{component:l.a,props:{paragraph:!0}},a:{component:w.a},li:{component:Object(S.a)((function(t){return{listItem:{marginTop:t.spacing(1)}}}))((function(t){var e=t.classes,a=Object(y.a)(t,["classes"]);return Object(g.jsx)("li",{className:e.listItem,children:Object(g.jsx)(l.a,Object(v.a)({component:"span"},a))})}))}}};function T(t){return Object(g.jsx)(k.a,Object(v.a)({options:C},t))}var B=a(141),N=Object(o.a)((function(t){return{toolbar:{borderBottom:"1px solid ".concat(t.palette.divider)},toolbarTitle:{flex:1},toolbarSecondary:{justifyContent:"space-between",overflowX:"auto"},toolbarLink:{padding:t.spacing(1),flexShrink:0}}}));function A(t){var e=N(),a=(t.sections,t.title);return Object(g.jsxs)(r.a.Fragment,{children:[Object(g.jsx)(B.a,{className:e.toolbar,children:Object(g.jsx)(l.a,{component:"h2",variant:"h5",color:"inherit",align:"center",noWrap:!0,className:e.toolbarTitle,children:a})}),Object(g.jsx)(B.a,{component:"nav",variant:"dense",className:e.toolbarSecondary})]})}var P=Object(o.a)((function(t){return{markdown:Object(v.a)(Object(v.a)({},t.typography.body2),{},{padding:t.spacing(3,0)})}}));function _(t){var e=P(),a=t.post;return Object(g.jsxs)(r.a.Fragment,{children:[Object(g.jsx)(l.a,{variant:"h5",color:"inherit",gutterBottom:!0,children:a.title}),Object(g.jsx)(f.a,{}),Object(g.jsx)(T,{className:e.markdown,children:a.body.markdown})]})}var F=a(25),E=a(103),I=Object(o.a)((function(t){return{sidebarAboutBox:{padding:t.spacing(2),backgroundColor:t.palette.grey[200]},sidebarSection:{marginTop:t.spacing(3)}}}));function D(t){var e=I(),a=(t.archives,t.description),n=t.social,r=t.title;return Object(g.jsx)(d.a,{item:!0,lg:12,children:Object(g.jsxs)(E.a,{elevation:0,className:e.sidebarAboutBox,children:[Object(g.jsx)(l.a,{variant:"h6",gutterBottom:!0,children:r}),Object(g.jsx)(l.a,{children:a}),Object(g.jsx)(l.a,{variant:"h6",gutterBottom:!0,className:e.sidebarSection,children:"Social"}),n.map((function(t){var e;return Object(g.jsx)(w.a,(e={display:"block",variant:"body1",href:"#"},Object(F.a)(e,"href",t.url),Object(F.a)(e,"children",Object(g.jsxs)(d.a,{container:!0,direction:"row",spacing:1,alignItems:"center",children:[Object(g.jsx)(d.a,{item:!0,children:Object(g.jsx)(t.icon,{})}),Object(g.jsx)(d.a,{item:!0,children:t.name})]})),e),t)}))]})})}var L=Object(o.a)((function(t){return{mainGrid:{marginTop:t.spacing(3)}}}));function R(t){L();var e=t.post;return Object(g.jsx)(r.a.Fragment,{children:Object(g.jsx)(_,{post:e},e.id)})}var M,W=a(147),q=a(63),z=a(64),G=a(65),H=a(43),U=a(66),K=a(48),J=a.n(K),Q=function(){function t(){Object(z.a)(this,t),J.a.config(),this.Client=new U.GraphQLClient("https://api-eu-central-1.graphcms.com/v2/ckoveoq9fhgrp01z2hxkm09yx/master",{headers:{authorization:"Bearer ".concat(Object({NODE_ENV:"production",PUBLIC_URL:"/blog",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_GCMS_URL:"https://api-eu-central-1.graphcms.com/v2/ckoveoq9fhgrp01z2hxkm09yx/master"}).REACT_APP_GCMS_AUTH)}})}return Object(G.a)(t,[{key:"fetchPosts",value:function(){return Object(H.a)(M||(M=Object(q.a)(["\n query {\n posts {\n id\n title\n body{\n markdown\n }\n createdAt\n }\n }\n "])))}}]),t}(),V=Object(o.a)((function(t){return{mainFeaturedPost:{position:"relative",backgroundColor:t.palette.grey[800],color:t.palette.common.white,marginBottom:t.spacing(4),backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},overlay:{position:"absolute",top:0,bottom:0,right:0,left:0,backgroundColor:"rgba(0,0,0,.3)"},mainFeaturedPostContent:Object(F.a)({position:"relative",padding:t.spacing(3)},t.breakpoints.up("md"),{padding:t.spacing(6),paddingRight:0})}}));function X(t){var e=V(),a=t.post;return Object(g.jsx)(d.a,{container:!0,children:Object(g.jsxs)(E.a,{className:e.mainFeaturedPost,style:{backgroundImage:"url(".concat(a.image,")")},children:[Object(g.jsx)("img",{style:{display:"none"},src:a.image,alt:a.imageText}),Object(g.jsx)("div",{className:e.overlay}),Object(g.jsxs)("div",{className:e.mainFeaturedPostContent,children:[Object(g.jsx)(l.a,{component:"h1",variant:"h3",color:"inherit",gutterBottom:!0,children:a.title}),Object(g.jsx)(l.a,{variant:"h5",color:"inherit",paragraph:!0,children:a.description})]})]})})}var Y=a(67),Z=a.n(Y),$=function(t){var e=r.a.useState([]),a=Object(s.a)(e,2),n=(a[0],a[1]),i=new Q,c={title:"Collection of thorough research on use cases of AI",description:"Theory and Applications of Artficial neural Networks in various fields. Written in the format of overview papers, made with hard-work and tight-deadlines :)",image:m,imgText:"main image description",linkText:"Continue reading\u2026"},o={title:"About",description:"I'm a final year Computer Engineering Student sharing my overviews of research in the area of Artificial Intelligence",social:[{name:"LinkedIn",icon:Z.a,url:"https://www.linkedin.com/in/mine-ibraimi-572238155/"}]};return Object(g.jsx)(g.Fragment,{children:Object(g.jsxs)(d.a,{container:!0,spacing:4,children:[Object(g.jsxs)(d.a,{item:!0,xs:12,children:[Object(g.jsx)(X,{post:c}),Object(g.jsx)(W.a,{query:i.fetchPosts(),children:function(t){var e=t.loading,a=t.error,r=t.data;if(e)return Object(g.jsx)("div",{children:"Loading..."});if(a)return console.log(a),Object(g.jsx)("div",{className:"mx-auto alert-danger",children:"Error!"});var i=r.posts;return n(i),i.slice(0,6).map((function(t){return Object(g.jsx)(d.a,{container:!0,spacing:4,children:Object(g.jsx)(x,{post:t},t.id)})}))}})]}),Object(g.jsx)(d.a,{item:!0,children:Object(g.jsx)(D,{title:o.title,description:o.description,social:o.social})})]})})},tt=a(143);function et(){return Object(g.jsxs)(l.a,{variant:"body2",color:"textSecondary",align:"center",children:["Copyright \xa9 ",Object(g.jsx)(w.a,{color:"inherit",href:"https://material-ui.com/",children:"Mine's Blog"})," ",(new Date).getFullYear(),"."]})}var at=Object(o.a)((function(t){return{footer:{backgroundColor:t.palette.background.paper,padding:t.spacing(6,0)}}}));function nt(t){var e=at(),a=t.description,n=t.title;return Object(g.jsx)("footer",{className:e.footer,children:Object(g.jsxs)(tt.a,{maxWidth:"lg",children:[Object(g.jsx)(l.a,{variant:"h6",align:"center",gutterBottom:!0,children:n}),Object(g.jsx)(l.a,{variant:"subtitle1",align:"center",color:"textSecondary",component:"p",children:a}),Object(g.jsx)(et,{})]})})}var rt=a(144);var it=function(){return Object(g.jsxs)("div",{children:[Object(g.jsx)(rt.a,{}),Object(g.jsxs)(tt.a,{maxWidth:"lg",children:[Object(g.jsx)(A,{title:"My Artificial Intelligence Blog"}),Object(g.jsx)("main",{children:Object(g.jsx)($,{})}),Object(g.jsx)(nt,{title:"Congrats you've seen it all.",description:"Made with love "})]})]})},ct=function(t){t&&t instanceof Function&&a.e(3).then(a.bind(null,149)).then((function(e){var a=e.getCLS,n=e.getFID,r=e.getFCP,i=e.getLCP,c=e.getTTFB;a(t),n(t),r(t),i(t),c(t)}))},ot=a(11),st=a(72);J.a.config();var lt=new st.a({uri:"https://api-eu-central-1.graphcms.com/v2/ckoveoq9fhgrp01z2hxkm09yx/master"});c.a.render(Object(g.jsx)(r.a.StrictMode,{children:Object(g.jsx)(ot.a,{client:lt,children:Object(g.jsx)(it,{})})}),document.getElementById("root")),ct()},82:function(t,e,a){}},[[101,1,2]]]); +//# sourceMappingURL=main.fb3d96ed.chunk.js.map \ No newline at end of file diff --git a/static/js/main.bfec3a45.chunk.js.map b/static/js/main.fb3d96ed.chunk.js.map similarity index 99% rename from static/js/main.bfec3a45.chunk.js.map rename to static/js/main.fb3d96ed.chunk.js.map index 924ecbf..a01b68f 100644 --- a/static/js/main.bfec3a45.chunk.js.map +++ b/static/js/main.fb3d96ed.chunk.js.map @@ -1 +1 @@ -{"version":3,"sources":["logo.svg","bg_img.jpg","FeaturedPost.js","Markdown.js","Header.js","Main.js","Sidebar.js","Blog.js","services/graphcms.js","MainFeaturedPost.js","Home.js","Footer.js","App.js","reportWebVitals.js","index.js"],"names":["useStyles","makeStyles","card","display","cardDetails","flex","cardMedia","width","FeaturedPost","props","classes","post","useState","renderPost","setrenderPost","Grid","item","xs","Blog","id","CardActionArea","onClick","Card","className","CardContent","Typography","component","variant","title","color","Date","createdAt","toDateString","paragraph","body","markdown","split","Hidden","xsDown","CardMedia","image","bg_img","imageTitle","options","overrides","h1","gutterBottom","h2","h3","h4","p","a","Link","li","withStyles","theme","listItem","marginTop","spacing","Markdown","toolbar","borderBottom","palette","divider","toolbarTitle","toolbarSecondary","justifyContent","overflowX","toolbarLink","padding","flexShrink","Header","sections","Fragment","Toolbar","align","noWrap","typography","body2","Main","Divider","sidebarAboutBox","backgroundColor","grey","sidebarSection","Sidebar","description","archives","social","lg","Paper","elevation","map","network","href","url","container","direction","alignItems","icon","name","mainGrid","GraphCMSContent","dotenv","config","this","Client","GraphQLClient","process","headers","authorization","REACT_APP_GCMS_AUTH","gql","mainFeaturedPost","position","common","white","marginBottom","backgroundSize","backgroundRepeat","backgroundPosition","overlay","top","bottom","right","left","mainFeaturedPostContent","breakpoints","up","paddingRight","MainFeaturedPost","style","backgroundImage","src","alt","imageText","Home","React","setPosts","imgText","linkText","sidebar","LinkedInIcon","query","fetchPosts","loading","error","data","console","log","POSTS","posts","slice","Copyright","getFullYear","footer","background","paper","Footer","Container","maxWidth","App","CssBaseline","reportWebVitals","onPerfEntry","Function","then","getCLS","getFID","getFCP","getLCP","getTTFB","apollo_client","ApolloClient","uri","ReactDOM","render","StrictMode","client","document","getElementById"],"mappings":"mJAAe,I,+ECAA,MAA0B,mC,OCcnCA,EAAYC,YAAW,CAC3BC,KAAM,CACJC,QAAS,QAEXC,YAAa,CACXC,KAAM,GAERC,UAAW,CACTC,MAAO,OAII,SAASC,EAAaC,GACnC,IAAMC,EAAUV,IACRW,EAASF,EAATE,KACR,EAAoCC,mBAAS,GAA7C,mBAAOC,EAAP,KAAmBC,EAAnB,KAID,OAAID,EAkCE,cAACE,EAAA,EAAD,CAAMC,MAAI,EAACC,GAAI,GAAf,SAAmB,cAACC,EAAD,CAAMP,KAAMA,GAAWA,EAAKQ,MA9BlD,cAACJ,EAAA,EAAD,CAAMC,MAAI,EAACC,GAAI,GAAf,SACE,cAACG,EAAA,EAAD,CAAgBC,QAAS,kBAAMP,GAAeD,IAA9C,SACE,eAACS,EAAA,EAAD,CAAMC,UAAWb,EAAQR,KAAzB,UACE,qBAAKqB,UAAWb,EAAQN,YAAxB,SACE,eAACoB,EAAA,EAAD,WACE,cAACC,EAAA,EAAD,CAAYC,UAAU,KAAKC,QAAQ,KAAnC,SACGhB,EAAKiB,QAER,cAACH,EAAA,EAAD,CAAYE,QAAQ,YAAYE,MAAM,kBAE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B,cAAY,EAApD,SACGlB,IAEH,cAACH,EAAA,EAAD,CAAYE,QAAQ,YAAYgD,MAAM,SAAS9C,MAAM,gBAAgBH,UAAU,IAA/E,SACG4D,IAEH,cAACmE,GAAD,S,cCjBOQ,OAhBf,WACE,OACE,gCACE,cAACC,GAAA,EAAD,IACA,eAACH,GAAA,EAAD,CAAWC,SAAS,KAApB,UACA,cAACzF,EAAD,CAAQ3C,MAAM,oCACd,+BACA,cAAC,EAAD,MAEA,cAACkI,GAAD,CAAQlI,MAAM,+BAA+B0D,YAAY,2BCLhD6E,GAZS,SAAAC,GAClBA,GAAeA,aAAuBC,UACxC,8BAAqBC,MAAK,YAAkD,IAA/CC,EAA8C,EAA9CA,OAAQC,EAAsC,EAAtCA,OAAQC,EAA8B,EAA9BA,OAAQC,EAAsB,EAAtBA,OAAQC,EAAc,EAAdA,QAC3DJ,EAAOH,GACPI,EAAOJ,GACPK,EAAOL,GACPM,EAAON,GACPO,EAAQP,O,kBCGd7D,IAAOC,SAEP,IAAMoE,GAAgB,IAAIC,KAAa,CACrCC,IAAKlE,8EAGPmE,IAASC,OACP,cAAC,IAAMC,WAAP,UACE,cAAC,KAAD,CAAgBC,OAASN,GAAzB,SACA,cAAC,GAAD,QAGFO,SAASC,eAAe,SAM1BjB,M","file":"static/js/main.bfec3a45.chunk.js","sourcesContent":["export default __webpack_public_path__ + \"static/media/logo.6ce24c58.svg\";","export default __webpack_public_path__ + \"static/media/bg_img.cf4df7da.jpg\";","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { makeStyles } from '@material-ui/core/styles';\r\nimport Typography from '@material-ui/core/Typography';\r\nimport Grid from '@material-ui/core/Grid';\r\nimport Card from '@material-ui/core/Card';\r\nimport CardActionArea from '@material-ui/core/CardActionArea';\r\nimport CardContent from '@material-ui/core/CardContent';\r\nimport CardMedia from '@material-ui/core/CardMedia';\r\nimport Hidden from '@material-ui/core/Hidden';\r\nimport Blog from './Blog';\r\nimport { useState } from 'react';\r\nimport bg_img from './bg_img.jpg';\r\n\r\nconst useStyles = makeStyles({\r\n card: {\r\n display: 'flex',\r\n },\r\n cardDetails: {\r\n flex: 1,\r\n },\r\n cardMedia: {\r\n width: 160,\r\n },\r\n});\r\n\r\nexport default function FeaturedPost(props) {\r\n const classes = useStyles();\r\n const { post } = props;\r\n const [renderPost, setrenderPost] = useState(0);\r\n \r\n\r\n\r\n if(!renderPost)\r\n {\r\n\r\n return (\r\n \r\n setrenderPost(!renderPost)} >\r\n \r\n
\r\n \r\n \r\n {post.title}\r\n \r\n \r\n \r\n \r\n \r\n {new Date(post.createdAt).toDateString()}\r\n \r\n \r\n {post.body.markdown.split('\\n')[0]}\r\n \r\n \r\n Continue reading...\r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n );\r\n}\r\nreturn \r\n\r\n}\r\n\r\nFeaturedPost.propTypes = {\r\n post: PropTypes.object,\r\n};","import React from 'react';\r\nimport ReactMarkdown from 'markdown-to-jsx';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport Typography from '@material-ui/core/Typography';\r\nimport Link from '@material-ui/core/Link';\r\n\r\nconst styles = (theme) => ({\r\n listItem: {\r\n marginTop: theme.spacing(1),\r\n },\r\n});\r\n\r\nconst options = {\r\n overrides: {\r\n h1: {\r\n component: Typography,\r\n props: {\r\n gutterBottom: true,\r\n variant: 'h5',\r\n },\r\n },\r\n h2: { component: Typography, props: { gutterBottom: true, variant: 'h6' } },\r\n h3: { component: Typography, props: { gutterBottom: true, variant: 'subtitle1' } },\r\n h4: {\r\n component: Typography,\r\n props: { gutterBottom: true, variant: 'caption', paragraph: true },\r\n },\r\n p: { component: Typography, props: { paragraph: true } },\r\n a: { component: Link },\r\n li: {\r\n component: withStyles(styles)(({ classes, ...props }) => (\r\n
  • \r\n \r\n
  • \r\n )),\r\n },\r\n },\r\n};\r\n\r\nexport default function Markdown(props) {\r\n return ;\r\n}","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { makeStyles } from '@material-ui/core/styles';\r\nimport Toolbar from '@material-ui/core/Toolbar';\r\nimport Button from '@material-ui/core/Button';\r\nimport IconButton from '@material-ui/core/IconButton';\r\nimport SearchIcon from '@material-ui/icons/Search';\r\nimport Typography from '@material-ui/core/Typography';\r\nimport Link from '@material-ui/core/Link';\r\n\r\nconst useStyles = makeStyles((theme) => ({\r\n toolbar: {\r\n borderBottom: `1px solid ${theme.palette.divider}`,\r\n },\r\n toolbarTitle: {\r\n flex: 1,\r\n },\r\n toolbarSecondary: {\r\n justifyContent: 'space-between',\r\n overflowX: 'auto',\r\n },\r\n toolbarLink: {\r\n padding: theme.spacing(1),\r\n flexShrink: 0,\r\n },\r\n}));\r\n\r\nexport default function Header(props) {\r\n const classes = useStyles();\r\n const { sections, title } = props;\r\n\r\n return (\r\n \r\n \r\n \r\n {title}\r\n \r\n\r\n \r\n \r\n \r\n \r\n );\r\n}\r\n\r\nHeader.propTypes = {\r\n sections: PropTypes.array,\r\n title: PropTypes.string,\r\n};","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { makeStyles } from '@material-ui/core/styles';\r\nimport Grid from '@material-ui/core/Grid';\r\nimport Typography from '@material-ui/core/Typography';\r\nimport Divider from '@material-ui/core/Divider';\r\nimport Markdown from './Markdown';\r\nimport Header from './Header';\r\n\r\nconst useStyles = makeStyles((theme) => ({\r\n markdown: {\r\n ...theme.typography.body2,\r\n padding: theme.spacing(3, 0),\r\n },\r\n}));\r\n\r\nexport default function Main(props) {\r\n const classes = useStyles();\r\n const {post} = props;\r\n\r\n return (\r\n \r\n {post.title}\r\n \r\n \r\n {post.body.markdown}\r\n \r\n \r\n \r\n );\r\n}\r\n\r\nMain.propTypes = {\r\n posts: PropTypes.array,\r\n title: PropTypes.string,\r\n};","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { makeStyles } from '@material-ui/core/styles';\r\nimport Grid from '@material-ui/core/Grid';\r\nimport Paper from '@material-ui/core/Paper';\r\nimport Typography from '@material-ui/core/Typography';\r\nimport Link from '@material-ui/core/Link';\r\n\r\nconst useStyles = makeStyles((theme) => ({\r\n sidebarAboutBox: {\r\n padding: theme.spacing(2),\r\n backgroundColor: theme.palette.grey[200],\r\n },\r\n sidebarSection: {\r\n marginTop: theme.spacing(3),\r\n },\r\n}));\r\n\r\nexport default function Sidebar(props) {\r\n const classes = useStyles();\r\n const { archives, description, social, title } = props;\r\n\r\n return (\r\n \r\n \r\n \r\n {title}\r\n \r\n {description}\r\n \r\n Social\r\n \r\n {social.map((network) => (\r\n \r\n \r\n \r\n \r\n \r\n {network.name}\r\n \r\n \r\n \r\n ))}\r\n \r\n \r\n \r\n );\r\n}\r\n\r\nSidebar.propTypes = {\r\n archives: PropTypes.array,\r\n description: PropTypes.string,\r\n social: PropTypes.array,\r\n title: PropTypes.string,\r\n};","import React from 'react';\r\nimport { makeStyles } from '@material-ui/core/styles';\r\nimport CssBaseline from '@material-ui/core/CssBaseline';\r\nimport Grid from '@material-ui/core/Grid';\r\nimport Container from '@material-ui/core/Container';\r\nimport FeaturedPost from './FeaturedPost';\r\nimport Main from './Main';\r\nimport Sidebar from './Sidebar';\r\n\r\n\r\n\r\n\r\n\r\n\r\nconst useStyles = makeStyles((theme) => ({\r\n mainGrid: {\r\n marginTop: theme.spacing(3),\r\n },\r\n}));\r\n\r\n\r\n\r\n\r\nconst featuredPosts = [\r\n {\r\n title: 'Featured post',\r\n date: 'Nov 12',\r\n description:\r\n 'This is a wider card with supporting text below as a natural lead-in to additional content.',\r\n image: 'https://source.unsplash.com/random',\r\n imageText: 'Image Text',\r\n },\r\n {\r\n title: 'Post title',\r\n date: 'Nov 11',\r\n description:\r\n 'This is a wider card with supporting text below as a natural lead-in to additional content.',\r\n image: 'https://source.unsplash.com/random',\r\n imageText: 'Image Text',\r\n },\r\n];\r\n\r\n\r\nexport default function Blog(props) {\r\n const classes = useStyles();\r\n const {post}=props\r\n \r\n\r\n return (\r\n \r\n \r\n
    \r\n \r\n \r\n );\r\n}","import gql from 'graphql-tag';\r\nimport { GraphQLClient } from 'graphql-request';\r\nimport dotenv from 'dotenv';\r\n\r\nexport default class GraphCMSContent {\r\n constructor() {\r\n dotenv.config();\r\n\r\n this.Client = new GraphQLClient(\r\n process.env.REACT_APP_GCMS_URL,\r\n {\r\n headers: {\r\n authorization: `Bearer ${process.env.REACT_APP_GCMS_AUTH}`\r\n }\r\n }\r\n );\r\n };\r\n\r\n fetchPosts(){\r\n const QUERY = gql`\r\n query {\r\n posts {\r\n id\r\n title\r\n body{\r\n markdown\r\n }\r\n createdAt\r\n }\r\n }\r\n `;\r\n return QUERY;\r\n };\r\n};","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { makeStyles } from '@material-ui/core/styles';\r\nimport Paper from '@material-ui/core/Paper';\r\nimport Typography from '@material-ui/core/Typography';\r\nimport Grid from '@material-ui/core/Grid';\r\nimport Link from '@material-ui/core/Link';\r\n\r\nconst useStyles = makeStyles((theme) => ({\r\n mainFeaturedPost: {\r\n position: 'relative',\r\n backgroundColor: theme.palette.grey[800],\r\n color: theme.palette.common.white,\r\n marginBottom: theme.spacing(4),\r\n backgroundSize: 'cover',\r\n backgroundRepeat: 'no-repeat',\r\n backgroundPosition: 'center',\r\n },\r\n overlay: {\r\n position: 'absolute',\r\n top: 0,\r\n bottom: 0,\r\n right: 0,\r\n left: 0,\r\n backgroundColor: 'rgba(0,0,0,.3)',\r\n },\r\n mainFeaturedPostContent: {\r\n position: 'relative',\r\n padding: theme.spacing(3),\r\n [theme.breakpoints.up('md')]: {\r\n padding: theme.spacing(6),\r\n paddingRight: 0,\r\n },\r\n },\r\n}));\r\n\r\nexport default function MainFeaturedPost(props) {\r\n const classes = useStyles();\r\n const { post } = props;\r\n\r\n return (\r\n \r\n \r\n {/* Increase the priority of the hero background image */}\r\n {{post.imageText}}\r\n
    \r\n \r\n \r\n
    \r\n \r\n {post.title}\r\n \r\n \r\n {post.description}\r\n \r\n
    \r\n \r\n \r\n \r\n \r\n );\r\n}\r\n\r\nMainFeaturedPost.propTypes = {\r\n post: PropTypes.object,\r\n};","import React from 'react';\r\nimport { Query } from 'react-apollo';\r\nimport GraphCMSContent from './services/graphcms'\r\nimport Blog from './Blog'\r\nimport MainFeaturedPost from './MainFeaturedPost'\r\nimport Sidebar from './Sidebar'\r\nimport LinkedInIcon from '@material-ui/icons/LinkedIn';\r\nimport Grid from '@material-ui/core/Grid'\r\nimport FeaturedPost from './FeaturedPost';\r\nimport Main from './Main';\r\nimport bg_img from './bg_img.jpg';\r\n\r\nconst Home = props => {\r\n const [posts, setPosts] = React.useState([]);\r\n const Client = new GraphCMSContent();\r\n const mainFeaturedPost = {\r\n title: 'Collection of thorough research on use cases of AI',\r\n description:\r\n \"Theory and Applications of Artficial neural Networks in various fields. Written in the format of overview papers, made with hard-work and tight-deadlines :)\",\r\n image: bg_img,\r\n imgText: 'main image description',\r\n linkText: 'Continue reading…',\r\n };\r\n const sidebar = {\r\n title: 'About',\r\n description:\r\n \"I'm a final year Computer Engineering Student sharing my overviews of research in the area of Artificial Intelligence\",\r\n social: [\r\n { name: 'LinkedIn', icon: LinkedInIcon,url:'https://www.linkedin.com/in/mine-ibraimi-572238155/'}\r\n ],\r\n };\r\n const LoadingPostsJsx = () => (\r\n
    \r\n Loading...\r\n
    \r\n );\r\n const ErrorLoadingPostsJsx = () => (\r\n
    \r\n Error!\r\n
    \r\n );\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n ({loading, error, data}) => {\r\n if (loading) return LoadingPostsJsx();\r\n if (error) {\r\n console.log(error);\r\n return ErrorLoadingPostsJsx();\r\n }\r\n const POSTS = data.posts;\r\n setPosts(POSTS);\r\n return POSTS.slice(0,5).map(post => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ));\r\n }\r\n }\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\nexport default Home;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { makeStyles } from '@material-ui/core/styles';\r\nimport Container from '@material-ui/core/Container';\r\nimport Typography from '@material-ui/core/Typography';\r\nimport Link from '@material-ui/core/Link';\r\n\r\nfunction Copyright() {\r\n return (\r\n \r\n {'Copyright © '}\r\n \r\n Mine's Blog\r\n {' '}\r\n {new Date().getFullYear()}\r\n {'.'}\r\n \r\n );\r\n}\r\n\r\nconst useStyles = makeStyles((theme) => ({\r\n footer: {\r\n backgroundColor: theme.palette.background.paper,\r\n // marginTop: theme.spacing(8),\r\n padding: theme.spacing(6, 0),\r\n },\r\n}));\r\n\r\nexport default function Footer(props) {\r\n const classes = useStyles();\r\n const { description, title } = props;\r\n\r\n return (\r\n
    \r\n \r\n \r\n {title}\r\n \r\n \r\n {description}\r\n \r\n \r\n \r\n
    \r\n );\r\n}\r\n\r\nFooter.propTypes = {\r\n description: PropTypes.string,\r\n title: PropTypes.string,\r\n};","import logo from './logo.svg';\nimport Blog from './Blog';\nimport Home from './Home';\nimport Footer from './Footer'\nimport Header from './Header'\nimport Sidebar from './Sidebar'\nimport { Container, CssBaseline, Grid } from '@material-ui/core';\n\nfunction App() {\n return (\n
    \n \n \n
    \n
    \n \n
    \n
    \n \n\n
    \n );\n}\n\nexport default App;\n","const reportWebVitals = onPerfEntry => {\n if (onPerfEntry && onPerfEntry instanceof Function) {\n import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {\n getCLS(onPerfEntry);\n getFID(onPerfEntry);\n getFCP(onPerfEntry);\n getLCP(onPerfEntry);\n getTTFB(onPerfEntry);\n });\n }\n};\n\nexport default reportWebVitals;\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport './index.css';\nimport App from './App';\nimport reportWebVitals from './reportWebVitals';\nimport dotenv from 'dotenv';\n\nimport { ApolloProvider } from 'react-apollo';\nimport ApolloClient from 'apollo-boost';\n\ndotenv.config();\n\nconst apollo_client = new ApolloClient({\n uri: process.env.REACT_APP_GCMS_URL\n});\n\nReactDOM.render(\n \n \n \n \n ,\n document.getElementById('root')\n);\n\n// If you want to start measuring performance in your app, pass a function\n// to log results (for example: reportWebVitals(console.log))\n// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals\nreportWebVitals();\n"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["logo.svg","bg_img.jpg","FeaturedPost.js","Markdown.js","Header.js","Main.js","Sidebar.js","Blog.js","services/graphcms.js","MainFeaturedPost.js","Home.js","Footer.js","App.js","reportWebVitals.js","index.js"],"names":["useStyles","makeStyles","card","display","cardDetails","flex","cardMedia","width","FeaturedPost","props","classes","post","useState","renderPost","setrenderPost","Grid","item","xs","Blog","id","CardActionArea","onClick","Card","className","CardContent","Typography","component","variant","title","color","Date","createdAt","toDateString","paragraph","body","markdown","split","Hidden","xsDown","CardMedia","image","bg_img","imageTitle","options","overrides","h1","gutterBottom","h2","h3","h4","p","a","Link","li","withStyles","theme","listItem","marginTop","spacing","Markdown","toolbar","borderBottom","palette","divider","toolbarTitle","toolbarSecondary","justifyContent","overflowX","toolbarLink","padding","flexShrink","Header","sections","Fragment","Toolbar","align","noWrap","typography","body2","Main","Divider","sidebarAboutBox","backgroundColor","grey","sidebarSection","Sidebar","description","archives","social","lg","Paper","elevation","map","network","href","url","container","direction","alignItems","icon","name","mainGrid","GraphCMSContent","dotenv","config","this","Client","GraphQLClient","process","headers","authorization","REACT_APP_GCMS_AUTH","gql","mainFeaturedPost","position","common","white","marginBottom","backgroundSize","backgroundRepeat","backgroundPosition","overlay","top","bottom","right","left","mainFeaturedPostContent","breakpoints","up","paddingRight","MainFeaturedPost","style","backgroundImage","src","alt","imageText","Home","React","setPosts","imgText","linkText","sidebar","LinkedInIcon","query","fetchPosts","loading","error","data","console","log","POSTS","posts","slice","Copyright","getFullYear","footer","background","paper","Footer","Container","maxWidth","App","CssBaseline","reportWebVitals","onPerfEntry","Function","then","getCLS","getFID","getFCP","getLCP","getTTFB","apollo_client","ApolloClient","uri","ReactDOM","render","StrictMode","client","document","getElementById"],"mapp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AQC,EAAc,EAAdA,QAC3DJ,EAAOH,GACPI,EAAOJ,GACPK,EAAOL,GACPM,EAAON,GACPO,EAAQP,O,kBCGd7D,IAAOC,SAEP,IAAMoE,GAAgB,IAAIC,KAAa,CACrCC,IAAKlE,8EAGPmE,IAASC,OACP,cAAC,IAAMC,WAAP,UACE,cAAC,KAAD,CAAgBC,OAASN,GAAzB,SACA,cAAC,GAAD,QAGFO,SAASC,eAAe,SAM1BjB,M","file":"static/js/main.fb3d96ed.chunk.js","sourcesContent":["export default __webpack_public_path__ + \"static/media/logo.6ce24c58.svg\";","export default __webpack_public_path__ + \"static/media/bg_img.cf4df7da.jpg\";","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { makeStyles } from '@material-ui/core/styles';\r\nimport Typography from '@material-ui/core/Typography';\r\nimport Grid from '@material-ui/core/Grid';\r\nimport Card from '@material-ui/core/Card';\r\nimport CardActionArea from '@material-ui/core/CardActionArea';\r\nimport CardContent from '@material-ui/core/CardContent';\r\nimport CardMedia from '@material-ui/core/CardMedia';\r\nimport Hidden from '@material-ui/core/Hidden';\r\nimport Blog from './Blog';\r\nimport { useState } from 'react';\r\nimport bg_img from './bg_img.jpg';\r\n\r\nconst useStyles = makeStyles({\r\n card: {\r\n display: 'flex',\r\n },\r\n cardDetails: {\r\n flex: 1,\r\n },\r\n cardMedia: {\r\n width: 160,\r\n },\r\n});\r\n\r\nexport default function FeaturedPost(props) {\r\n const classes = useStyles();\r\n const { post } = props;\r\n const [renderPost, setrenderPost] = useState(0);\r\n \r\n\r\n\r\n if(!renderPost)\r\n {\r\n\r\n return (\r\n \r\n setrenderPost(!renderPost)} >\r\n \r\n
    \r\n \r\n \r\n {post.title}\r\n \r\n \r\n \r\n \r\n \r\n {new Date(post.createdAt).toDateString()}\r\n \r\n \r\n {post.body.markdown.split('\\n')[0]}\r\n \r\n \r\n Continue reading...\r\n \r\n \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n );\r\n}\r\nreturn \r\n\r\n}\r\n\r\nFeaturedPost.propTypes = {\r\n post: PropTypes.object,\r\n};","import React from 'react';\r\nimport ReactMarkdown from 'markdown-to-jsx';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport Typography from '@material-ui/core/Typography';\r\nimport Link from '@material-ui/core/Link';\r\n\r\nconst styles = (theme) => ({\r\n listItem: {\r\n marginTop: theme.spacing(1),\r\n },\r\n});\r\n\r\nconst options = {\r\n overrides: {\r\n h1: {\r\n component: Typography,\r\n props: {\r\n gutterBottom: true,\r\n variant: 'h5',\r\n },\r\n },\r\n h2: { component: Typography, props: { gutterBottom: true, variant: 'h6' } },\r\n h3: { component: Typography, props: { gutterBottom: true, variant: 'subtitle1' } },\r\n h4: {\r\n component: Typography,\r\n props: { gutterBottom: true, variant: 'caption', paragraph: true },\r\n },\r\n p: { component: Typography, props: { paragraph: true } },\r\n a: { component: Link },\r\n li: {\r\n component: withStyles(styles)(({ classes, ...props }) => (\r\n
  • \r\n \r\n
  • \r\n )),\r\n },\r\n },\r\n};\r\n\r\nexport default function Markdown(props) {\r\n return ;\r\n}","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { makeStyles } from '@material-ui/core/styles';\r\nimport Toolbar from '@material-ui/core/Toolbar';\r\nimport Button from '@material-ui/core/Button';\r\nimport IconButton from '@material-ui/core/IconButton';\r\nimport SearchIcon from '@material-ui/icons/Search';\r\nimport Typography from '@material-ui/core/Typography';\r\nimport Link from '@material-ui/core/Link';\r\n\r\nconst useStyles = makeStyles((theme) => ({\r\n toolbar: {\r\n borderBottom: `1px solid ${theme.palette.divider}`,\r\n },\r\n toolbarTitle: {\r\n flex: 1,\r\n },\r\n toolbarSecondary: {\r\n justifyContent: 'space-between',\r\n overflowX: 'auto',\r\n },\r\n toolbarLink: {\r\n padding: theme.spacing(1),\r\n flexShrink: 0,\r\n },\r\n}));\r\n\r\nexport default function Header(props) {\r\n const classes = useStyles();\r\n const { sections, title } = props;\r\n\r\n return (\r\n \r\n \r\n \r\n {title}\r\n \r\n\r\n \r\n \r\n \r\n \r\n );\r\n}\r\n\r\nHeader.propTypes = {\r\n sections: PropTypes.array,\r\n title: PropTypes.string,\r\n};","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { makeStyles } from '@material-ui/core/styles';\r\nimport Grid from '@material-ui/core/Grid';\r\nimport Typography from '@material-ui/core/Typography';\r\nimport Divider from '@material-ui/core/Divider';\r\nimport Markdown from './Markdown';\r\nimport Header from './Header';\r\n\r\nconst useStyles = makeStyles((theme) => ({\r\n markdown: {\r\n ...theme.typography.body2,\r\n padding: theme.spacing(3, 0),\r\n },\r\n}));\r\n\r\nexport default function Main(props) {\r\n const classes = useStyles();\r\n const {post} = props;\r\n\r\n return (\r\n \r\n {post.title}\r\n \r\n \r\n {post.body.markdown}\r\n \r\n \r\n \r\n );\r\n}\r\n\r\nMain.propTypes = {\r\n posts: PropTypes.array,\r\n title: PropTypes.string,\r\n};","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { makeStyles } from '@material-ui/core/styles';\r\nimport Grid from '@material-ui/core/Grid';\r\nimport Paper from '@material-ui/core/Paper';\r\nimport Typography from '@material-ui/core/Typography';\r\nimport Link from '@material-ui/core/Link';\r\n\r\nconst useStyles = makeStyles((theme) => ({\r\n sidebarAboutBox: {\r\n padding: theme.spacing(2),\r\n backgroundColor: theme.palette.grey[200],\r\n },\r\n sidebarSection: {\r\n marginTop: theme.spacing(3),\r\n },\r\n}));\r\n\r\nexport default function Sidebar(props) {\r\n const classes = useStyles();\r\n const { archives, description, social, title } = props;\r\n\r\n return (\r\n \r\n \r\n \r\n {title}\r\n \r\n {description}\r\n \r\n Social\r\n \r\n {social.map((network) => (\r\n \r\n \r\n \r\n \r\n \r\n {network.name}\r\n \r\n \r\n \r\n ))}\r\n \r\n \r\n \r\n );\r\n}\r\n\r\nSidebar.propTypes = {\r\n archives: PropTypes.array,\r\n description: PropTypes.string,\r\n social: PropTypes.array,\r\n title: PropTypes.string,\r\n};","import React from 'react';\r\nimport { makeStyles } from '@material-ui/core/styles';\r\nimport CssBaseline from '@material-ui/core/CssBaseline';\r\nimport Grid from '@material-ui/core/Grid';\r\nimport Container from '@material-ui/core/Container';\r\nimport FeaturedPost from './FeaturedPost';\r\nimport Main from './Main';\r\nimport Sidebar from './Sidebar';\r\n\r\n\r\n\r\n\r\n\r\n\r\nconst useStyles = makeStyles((theme) => ({\r\n mainGrid: {\r\n marginTop: theme.spacing(3),\r\n },\r\n}));\r\n\r\n\r\n\r\n\r\nconst featuredPosts = [\r\n {\r\n title: 'Featured post',\r\n date: 'Nov 12',\r\n description:\r\n 'This is a wider card with supporting text below as a natural lead-in to additional content.',\r\n image: 'https://source.unsplash.com/random',\r\n imageText: 'Image Text',\r\n },\r\n {\r\n title: 'Post title',\r\n date: 'Nov 11',\r\n description:\r\n 'This is a wider card with supporting text below as a natural lead-in to additional content.',\r\n image: 'https://source.unsplash.com/random',\r\n imageText: 'Image Text',\r\n },\r\n];\r\n\r\n\r\nexport default function Blog(props) {\r\n const classes = useStyles();\r\n const {post}=props\r\n \r\n\r\n return (\r\n \r\n \r\n
    \r\n \r\n \r\n );\r\n}","import gql from 'graphql-tag';\r\nimport { GraphQLClient } from 'graphql-request';\r\nimport dotenv from 'dotenv';\r\n\r\nexport default class GraphCMSContent {\r\n constructor() {\r\n dotenv.config();\r\n\r\n this.Client = new GraphQLClient(\r\n process.env.REACT_APP_GCMS_URL,\r\n {\r\n headers: {\r\n authorization: `Bearer ${process.env.REACT_APP_GCMS_AUTH}`\r\n }\r\n }\r\n );\r\n };\r\n\r\n fetchPosts(){\r\n const QUERY = gql`\r\n query {\r\n posts {\r\n id\r\n title\r\n body{\r\n markdown\r\n }\r\n createdAt\r\n }\r\n }\r\n `;\r\n return QUERY;\r\n };\r\n};","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { makeStyles } from '@material-ui/core/styles';\r\nimport Paper from '@material-ui/core/Paper';\r\nimport Typography from '@material-ui/core/Typography';\r\nimport Grid from '@material-ui/core/Grid';\r\nimport Link from '@material-ui/core/Link';\r\n\r\nconst useStyles = makeStyles((theme) => ({\r\n mainFeaturedPost: {\r\n position: 'relative',\r\n backgroundColor: theme.palette.grey[800],\r\n color: theme.palette.common.white,\r\n marginBottom: theme.spacing(4),\r\n backgroundSize: 'cover',\r\n backgroundRepeat: 'no-repeat',\r\n backgroundPosition: 'center',\r\n },\r\n overlay: {\r\n position: 'absolute',\r\n top: 0,\r\n bottom: 0,\r\n right: 0,\r\n left: 0,\r\n backgroundColor: 'rgba(0,0,0,.3)',\r\n },\r\n mainFeaturedPostContent: {\r\n position: 'relative',\r\n padding: theme.spacing(3),\r\n [theme.breakpoints.up('md')]: {\r\n padding: theme.spacing(6),\r\n paddingRight: 0,\r\n },\r\n },\r\n}));\r\n\r\nexport default function MainFeaturedPost(props) {\r\n const classes = useStyles();\r\n const { post } = props;\r\n\r\n return (\r\n \r\n \r\n {/* Increase the priority of the hero background image */}\r\n {{post.imageText}}\r\n
    \r\n \r\n \r\n
    \r\n \r\n {post.title}\r\n \r\n \r\n {post.description}\r\n \r\n
    \r\n \r\n \r\n \r\n \r\n );\r\n}\r\n\r\nMainFeaturedPost.propTypes = {\r\n post: PropTypes.object,\r\n};","import React from 'react';\r\nimport { Query } from 'react-apollo';\r\nimport GraphCMSContent from './services/graphcms'\r\nimport Blog from './Blog'\r\nimport MainFeaturedPost from './MainFeaturedPost'\r\nimport Sidebar from './Sidebar'\r\nimport LinkedInIcon from '@material-ui/icons/LinkedIn';\r\nimport Grid from '@material-ui/core/Grid'\r\nimport FeaturedPost from './FeaturedPost';\r\nimport Main from './Main';\r\nimport bg_img from './bg_img.jpg';\r\n\r\nconst Home = props => {\r\n const [posts, setPosts] = React.useState([]);\r\n const Client = new GraphCMSContent();\r\n const mainFeaturedPost = {\r\n title: 'Collection of thorough research on use cases of AI',\r\n description:\r\n \"Theory and Applications of Artficial neural Networks in various fields. Written in the format of overview papers, made with hard-work and tight-deadlines :)\",\r\n image: bg_img,\r\n imgText: 'main image description',\r\n linkText: 'Continue reading…',\r\n };\r\n const sidebar = {\r\n title: 'About',\r\n description:\r\n \"I'm a final year Computer Engineering Student sharing my overviews of research in the area of Artificial Intelligence\",\r\n social: [\r\n { name: 'LinkedIn', icon: LinkedInIcon,url:'https://www.linkedin.com/in/mine-ibraimi-572238155/'}\r\n ],\r\n };\r\n const LoadingPostsJsx = () => (\r\n
    \r\n Loading...\r\n
    \r\n );\r\n const ErrorLoadingPostsJsx = () => (\r\n
    \r\n Error!\r\n
    \r\n );\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n ({loading, error, data}) => {\r\n if (loading) return LoadingPostsJsx();\r\n if (error) {\r\n console.log(error);\r\n return ErrorLoadingPostsJsx();\r\n }\r\n const POSTS = data.posts;\r\n setPosts(POSTS);\r\n return POSTS.slice(0,6).map(post => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ));\r\n }\r\n }\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\nexport default Home;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { makeStyles } from '@material-ui/core/styles';\r\nimport Container from '@material-ui/core/Container';\r\nimport Typography from '@material-ui/core/Typography';\r\nimport Link from '@material-ui/core/Link';\r\n\r\nfunction Copyright() {\r\n return (\r\n \r\n {'Copyright © '}\r\n \r\n Mine's Blog\r\n {' '}\r\n {new Date().getFullYear()}\r\n {'.'}\r\n \r\n );\r\n}\r\n\r\nconst useStyles = makeStyles((theme) => ({\r\n footer: {\r\n backgroundColor: theme.palette.background.paper,\r\n // marginTop: theme.spacing(8),\r\n padding: theme.spacing(6, 0),\r\n },\r\n}));\r\n\r\nexport default function Footer(props) {\r\n const classes = useStyles();\r\n const { description, title } = props;\r\n\r\n return (\r\n
    \r\n \r\n \r\n {title}\r\n \r\n \r\n {description}\r\n \r\n \r\n \r\n
    \r\n );\r\n}\r\n\r\nFooter.propTypes = {\r\n description: PropTypes.string,\r\n title: PropTypes.string,\r\n};","import logo from './logo.svg';\nimport Blog from './Blog';\nimport Home from './Home';\nimport Footer from './Footer'\nimport Header from './Header'\nimport Sidebar from './Sidebar'\nimport { Container, CssBaseline, Grid } from '@material-ui/core';\n\nfunction App() {\n return (\n
    \n \n \n
    \n
    \n \n
    \n
    \n \n\n
    \n );\n}\n\nexport default App;\n","const reportWebVitals = onPerfEntry => {\n if (onPerfEntry && onPerfEntry instanceof Function) {\n import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {\n getCLS(onPerfEntry);\n getFID(onPerfEntry);\n getFCP(onPerfEntry);\n getLCP(onPerfEntry);\n getTTFB(onPerfEntry);\n });\n }\n};\n\nexport default reportWebVitals;\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport './index.css';\nimport App from './App';\nimport reportWebVitals from './reportWebVitals';\nimport dotenv from 'dotenv';\n\nimport { ApolloProvider } from 'react-apollo';\nimport ApolloClient from 'apollo-boost';\n\ndotenv.config();\n\nconst apollo_client = new ApolloClient({\n uri: process.env.REACT_APP_GCMS_URL\n});\n\nReactDOM.render(\n \n \n \n \n ,\n document.getElementById('root')\n);\n\n// If you want to start measuring performance in your app, pass a function\n// to log results (for example: reportWebVitals(console.log))\n// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals\nreportWebVitals();\n"],"sourceRoot":""} \ No newline at end of file