-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomponent---src-pages-blog-js-ab1ed7afae1ea3d1ea0a.js.map
1 lines (1 loc) · 4.85 KB
/
component---src-pages-blog-js-ab1ed7afae1ea3d1ea0a.js.map
1
{"version":3,"sources":["webpack://tomcentrate.github.io/./src/components/Masthead.js","webpack://tomcentrate.github.io/./src/components/NavigationSidebar.js","webpack://tomcentrate.github.io/./src/components/SidebarCheckbox.js","webpack://tomcentrate.github.io/./src/components/MainContainer.js","webpack://tomcentrate.github.io/./src/pages/blog.js"],"names":["data","className","to","title","props","href","htmlFor","children","type","id","NavigationSidebar","allMarkdownRemark","edges","map","node","key","fields","slug","frontmatter","date","excerpt"],"mappings":"yLAcA,MAXA,YACI,OADsB,EAAPA,KACR,uBAAKC,UAAU,YAClB,uBAAKA,UAAU,aACX,sBAAIA,UAAU,kBACV,gBAAC,KAAD,CAAMC,GAAG,IAAIC,MAAM,QAAnB,aACA,2ECShB,MAdA,YACI,OAD4B,EAARC,MACb,uBAAKH,UAAU,WAClB,uBAAKA,UAAU,eACX,uBAAKA,UAAU,gBAAe,oEAC9B,gBAAC,KAAD,CAAMA,UAAU,mBAAmBC,GAAG,WAAtC,UACA,gBAAC,KAAD,CAAMD,UAAU,mBAAmBC,GAAG,aAAtC,YACA,gBAAC,KAAD,CAAMD,UAAU,mBAAmBC,GAAG,SAAtC,QACA,wBAAMD,UAAU,oBAAhB,eACA,qBAAGI,KAAK,iCAAiCJ,UAAU,oBAAnD,UACA,qBAAGI,KAAK,kDAAkDJ,UAAU,oBAApE,eCPZ,MAHA,YACI,OAD8B,EAARG,MACf,yBAAOE,QAAQ,mBAAmBL,UAAU,oBCcvD,EAZsB,SAAC,GAAD,IAAEM,EAAF,EAAEA,SAAF,OAAgB,uBAAKN,UAAU,iBACjD,yBAAOO,KAAK,WAAWP,UAAU,mBAAmBQ,GAAG,qBACvD,gBAACC,EAAD,MACA,uBAAKT,UAAU,QACX,gBAAC,EAAD,MACA,uBAAKA,UAAU,qBACVM,IAGT,gBAAC,EAAD,S,0ECOJ,UAjBa,SAAC,GAAY,IAAXP,EAAU,EAAVA,KACX,OAAQ,gBAAC,IAAD,KACJ,2BACKA,EAAKW,kBAAkBC,MAAMC,KAAI,gBAAGC,EAAH,EAAGA,KAAH,OAC9B,uBAAKC,IAAKD,EAAKL,IACX,gBAAC,KAAD,CAAMP,GAAIY,EAAKE,OAAOC,MACtB,0BACKH,EAAKI,YAAYf,MAAO,IAAI,iCAASW,EAAKI,YAAYC,QAG3D,yBAAIL,EAAKM","file":"component---src-pages-blog-js-ab1ed7afae1ea3d1ea0a.js","sourcesContent":["import React from \"react\";\r\nimport { Link } from \"gatsby\";\r\n\r\nfunction Masthead({data}) {\r\n return <div className=\"masthead\">\r\n <div className=\"container\">\r\n <h3 className=\"masthead-title\">\r\n <Link to=\"/\" title=\"Home\">Tommy Lee</Link>\r\n <small>Software development for everyone else</small>\r\n </h3>\r\n </div>\r\n </div>\r\n}\r\n\r\nexport default Masthead","import React from \"react\";\r\nimport { Link } from \"gatsby\";\r\n\r\nfunction NavigationBar({props}) {\r\n return <div className=\"sidebar\">\r\n <nav className=\"sidebar-nav\">\r\n <div className=\"sidebar-item\"><p>Software development for Everyone else</p></div>\r\n <Link className=\"sidebar-nav-item\" to=\"/resume\">Resume</Link>\r\n <Link className=\"sidebar-nav-item\" to=\"/projects\">Projects</Link>\r\n <Link className=\"sidebar-nav-item\" to=\"/blog\">Blog</Link>\r\n <span className=\"sidebar-nav-item\">Outer Links</span>\r\n <a href=\"https://github.com/tomcentrate\" className=\"sidebar-nav-item\">Github</a>\r\n <a href=\"https://www.linkedin.com/in/tommy-lee-a23ba935/\" className=\"sidebar-nav-item\">LinkedIn</a>\r\n </nav>\r\n </div>\r\n}\r\n\r\nexport default NavigationBar","import React from \"react\";\r\n\r\nfunction SidebarCheckbox({props}) {\r\n return <label htmlFor=\"sidebar-checkbox\" className=\"sidebar-toggle\" />\r\n}\r\nexport default SidebarCheckbox","import React from \"react\";\r\nimport Masthead from \"./Masthead\";\r\nimport NavigationSidebar from \"./NavigationSidebar\";\r\nimport SidebarCheckbox from \"./SidebarCheckbox\"\r\n\r\nconst MainContainer = ({children}) => <div className=\"mainContainer\">\r\n <input type=\"checkbox\" className=\"sidebar-checkbox\" id=\"sidebar-checkbox\" />\r\n <NavigationSidebar />\r\n <div className=\"wrap\">\r\n <Masthead/>\r\n <div className=\"container content\">\r\n {children}\r\n </div>\r\n </div>\r\n <SidebarCheckbox/>\r\n</div>\r\n\r\nexport default MainContainer","import React from \"react\";\r\nimport MainContainer from \"../components/MainContainer\";\r\nimport { graphql, Link } from \"gatsby\";\r\n\r\nconst Blog = ({data}) => {\r\n return (<MainContainer>\r\n <div>\r\n {data.allMarkdownRemark.edges.map(({ node }) => (\r\n <div key={node.id}>\r\n <Link to={node.fields.slug}>\r\n <h3>\r\n {node.frontmatter.title}{\" \"}<span>— {node.frontmatter.date}</span>\r\n </h3>\r\n </Link>\r\n <p>{node.excerpt}</p>\r\n </div>\r\n ))}\r\n </div>\r\n </MainContainer>)\r\n}\r\n\r\nexport default Blog\r\nexport const query = graphql`\r\n query {\r\n allMarkdownRemark(sort: { fields: [frontmatter___date], order: DESC }) {\r\n totalCount\r\n edges {\r\n node {\r\n id\r\n fields {\r\n slug\r\n }\r\n frontmatter {\r\n title\r\n date(formatString: \"DD MMMM, YYYY\")\r\n }\r\n excerpt\r\n }\r\n }\r\n }\r\n }\r\n`"],"sourceRoot":""}