-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-templates-blog-post-js-7953c265bd8ca09df241.js
2 lines (2 loc) · 7.74 KB
/
component---src-templates-blog-post-js-7953c265bd8ca09df241.js
1
2
(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{"6oU6":function(e,t,a){var r=a("q1tI");function n(e){return r.createElement("svg",e,r.createElement("path",{d:"M12,2C6.477,2,2,6.477,2,12c0,5.013,3.693,9.153,8.505,9.876V14.65H8.031v-2.629h2.474v-1.749 c0-2.896,1.411-4.167,3.818-4.167c1.153,0,1.762,0.085,2.051,0.124v2.294h-1.642c-1.022,0-1.379,0.969-1.379,2.061v1.437h2.995 l-0.406,2.629h-2.588v7.247C18.235,21.236,22,17.062,22,12C22,6.477,17.523,2,12,2z"}))}n.defaultProps={fill:"#000000",viewBox:"0 0 24 24",width:"24px",height:"24px"},e.exports=n,n.default=n},DwRG:function(e,t,a){var r=a("q1tI");function n(e){return r.createElement("svg",e,r.createElement("path",{d:"M19.077,4.928C17.191,3.041,14.683,2.001,12.011,2c-5.506,0-9.987,4.479-9.989,9.985 c-0.001,1.76,0.459,3.478,1.333,4.992L2,22l5.233-1.237c1.459,0.796,3.101,1.215,4.773,1.216h0.004 c5.505,0,9.986-4.48,9.989-9.985C22.001,9.325,20.963,6.816,19.077,4.928z M16.898,15.554c-0.208,0.583-1.227,1.145-1.685,1.186 c-0.458,0.042-0.887,0.207-2.995-0.624c-2.537-1-4.139-3.601-4.263-3.767c-0.125-0.167-1.019-1.353-1.019-2.581 S7.581,7.936,7.81,7.687c0.229-0.25,0.499-0.312,0.666-0.312c0.166,0,0.333,0,0.478,0.006c0.178,0.007,0.375,0.016,0.562,0.431 c0.222,0.494,0.707,1.728,0.769,1.853s0.104,0.271,0.021,0.437s-0.125,0.27-0.249,0.416c-0.125,0.146-0.262,0.325-0.374,0.437 c-0.125,0.124-0.255,0.26-0.11,0.509c0.146,0.25,0.646,1.067,1.388,1.728c0.954,0.85,1.757,1.113,2.007,1.239 c0.25,0.125,0.395,0.104,0.541-0.063c0.146-0.166,0.624-0.728,0.79-0.978s0.333-0.208,0.562-0.125s1.456,0.687,1.705,0.812 c0.25,0.125,0.416,0.187,0.478,0.291C17.106,14.471,17.106,14.971,16.898,15.554z"}))}n.defaultProps={fill:"#000000",viewBox:"0 0 24 24",width:"24px",height:"24px"},e.exports=n,n.default=n},GND3:function(e,t,a){var r=a("q1tI");function n(e){return r.createElement("svg",e,r.createElement("path",{d:"M19,3H5C3.895,3,3,3.895,3,5v14c0,1.105,0.895,2,2,2h14c1.105,0,2-0.895,2-2V5C21,3.895,20.105,3,19,3z M17.05,9.514 c0,0.086,0,0.171,0,0.343c0,3.257-2.486,7.029-7.029,7.029c-1.371,0-2.657-0.429-3.771-1.114c0.171,0,0.429,0,0.6,0 c1.114,0,2.229-0.429,3.086-1.029c-1.114,0-1.971-0.771-2.314-1.714c0.171,0,0.343,0.086,0.429,0.086c0.257,0,0.429,0,0.686-0.086 c-1.114-0.257-1.971-1.2-1.971-2.4c0.343,0.171,0.686,0.257,1.114,0.343c-0.686-0.6-1.114-1.286-1.114-2.143 c0-0.429,0.086-0.857,0.343-1.2c1.2,1.457,3,2.486,5.057,2.571c0-0.171-0.086-0.343-0.086-0.6c0-1.371,1.114-2.486,2.486-2.486 c0.686,0,1.371,0.257,1.8,0.771c0.6-0.086,1.114-0.343,1.543-0.6c-0.171,0.6-0.6,1.029-1.114,1.371 c0.514-0.086,0.943-0.171,1.457-0.429C17.907,8.743,17.479,9.171,17.05,9.514z"}))}n.defaultProps={fill:"#000000",viewBox:"0 0 24 24",width:"24px",height:"24px"},e.exports=n,n.default=n},oPQl:function(e,t,a){var r=a("q1tI");function n(e){return r.createElement("svg",e,r.createElement("path",{d:"M 21.800781 0 L 2.199219 0 C 1 0 0 1 0 2.199219 L 0 21.800781 C 0 23 1 24 2.199219 24 L 21.800781 24 C 23 24 24 23 24 21.800781 L 24 2.199219 C 24 1 23 0 21.800781 0 Z M 7 20 L 3 20 L 3 9 L 7 9 Z M 5 7.699219 C 3.800781 7.699219 3 6.898438 3 5.898438 C 3 4.800781 3.800781 4 5 4 C 6.199219 4 7 4.800781 7 5.800781 C 7 6.898438 6.199219 7.699219 5 7.699219 Z M 21 20 L 17 20 L 17 14 C 17 12.398438 15.898438 12 15.601563 12 C 15.300781 12 14 12.199219 14 14 C 14 14.199219 14 20 14 20 L 10 20 L 10 9 L 14 9 L 14 10.601563 C 14.601563 9.699219 15.601563 9 17.5 9 C 19.398438 9 21 10.5 21 14 Z"}))}n.defaultProps={fill:"#000000",viewBox:"0 0 24 24",width:"24px",height:"24px"},e.exports=n,n.default=n},y9cS:function(e,t,a){},yZlL:function(e,t,a){"use strict";a.r(t),a.d(t,"pageQuery",(function(){return L}));a("E5k/");var r=a("q1tI"),n=a.n(r),l=a("kOA+"),c=a.n(l),o=a("6Gk8"),i=a("Bl7J"),s=a("vrFN"),u=a("p3AD"),m=a("xtmt"),h=(a("y9cS"),a("6oU6")),p=a.n(h),f=a("GND3"),d=a.n(f),E=a("oPQl"),g=a.n(E),v=a("DwRG"),b=a.n(v),w=function(e){return"https://www.facebook.com/sharer/sharer.php?u="+e},k=function(e){return"https://twitter.com/share?url="+e+"&text=Check out this article on xkojidev!&hashtags=xkojidev"},x=function(e){return"https://linkedin.com/shareArticle?url="+e+"&mini=true&summary=Check out this article on xkojidev!"},y=function(e){return"https://api.whatsapp.com/send?text=Check out this article on xkojidev! - "+e},C=function(e){var t=""+e.baseUrl+e.slug;return n.a.createElement("div",{className:"share-article__wrapper"},n.a.createElement("div",{className:"share-article__label"},"Share:"),n.a.createElement("a",{className:"share-article__link",href:w(t),target:"_blank",rel:"noopener noreferrer"},n.a.createElement(p.a,null)),n.a.createElement("a",{className:"share-article__link",href:k(t),target:"_blank",rel:"noopener noreferrer"},n.a.createElement(d.a,null)),n.a.createElement("a",{className:"share-article__link",href:x(t),target:"_blank",rel:"noopener noreferrer"},n.a.createElement(g.a,null)),n.a.createElement("a",{className:"share-article__link",href:y(t),target:"_blank",rel:"noopener noreferrer"},n.a.createElement(b.a,null)))},_=a("g+62"),L=(t.default=function(e){var t,a,l=e.data,h=e.pageContext,p=e.location,f=l.markdownRemark,d=l.site.siteMetadata.title,E=h.previous,g=h.next,v=f.frontmatter.image?f.frontmatter.image.publicURL:void 0;return t="#comments-section",a=Object(_.a)(!1).value,Object(r.useEffect)((function(){var e=document.querySelector(t);if(e){e.innerHTML="";var r=document.createElement("script");return r.src="https://utteranc.es/client.js",r.async=!0,r.crossOrigin="anonymous",r.setAttribute("issue-term","pathname"),r.setAttribute("theme",a?"dark-blue":"github-light"),r.setAttribute("repo","XKojiMedia/xkojimedia.github.io"),e.appendChild(r),function(){e&&e.contains(r)&&e.removeChild(r)}}}),[t,a]),n.a.createElement(i.a,{location:p,title:d},n.a.createElement(s.a,{title:f.frontmatter.title,description:f.frontmatter.description||f.excerpt,image:v,isArticle:!0}),n.a.createElement("article",null,n.a.createElement("header",null,n.a.createElement("h1",{style:{marginTop:Object(u.a)(1),marginBottom:0}},f.frontmatter.title),n.a.createElement("p",{style:Object.assign({},Object(u.b)(-.2),{display:"block",marginBottom:Object(u.a)(1)})},f.frontmatter.date)),n.a.createElement("section",{className:"blog-post__content",dangerouslySetInnerHTML:{__html:f.html}}),n.a.createElement("section",null,n.a.createElement("hr",null),n.a.createElement("p",null,"Did you find this useful? Do you think there are better approaches to take, or questions? You can reach out to me on twitter ",n.a.createElement("a",{href:"https://twitter.com/imolorhe"},"@imolorhe"),"."),n.a.createElement("blockquote",{style:{fontSize:"16px"}},n.a.createElement("p",null,"Write about what you learn. It pushes you to understand topics better."),n.a.createElement("p",null,"Sometimes the gaps in your knowledge only become clear when you try explaining things to others. It's OK if no one reads what you write. You get a lot out of just doing it for ",n.a.createElement("strong",null,"you"),"."),n.a.createElement("cite",null,n.a.createElement("a",{href:"https://twitter.com/addyosmani/status/1260779133769924608",target:"_blank",rel:"noopener noreferrer"},"@addyosmani")))),n.a.createElement("hr",{style:{marginBottom:Object(u.a)(1)}}),n.a.createElement("footer",null,n.a.createElement(C,{baseUrl:l.site.siteMetadata.siteUrl,slug:h.slug}),n.a.createElement(o.a,null),n.a.createElement("div",{id:"comments-section",style:{marginBottom:Object(u.a)(2.5)}}),n.a.createElement(m.a,null))),n.a.createElement("nav",null,n.a.createElement("ul",{style:{display:"flex",flexWrap:"wrap",justifyContent:"space-between",listStyle:"none",padding:0}},n.a.createElement("li",null,E&&n.a.createElement(c.a,{fade:!0,to:E.fields.slug,rel:"prev"},"← ",E.frontmatter.title)),n.a.createElement("li",null,g&&n.a.createElement(c.a,{fade:!0,to:g.fields.slug,rel:"next"},g.frontmatter.title," →")))))},"4092686121")}}]);
//# sourceMappingURL=component---src-templates-blog-post-js-7953c265bd8ca09df241.js.map