-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathcomponent---src-pages-404-tsx-5dcffab50dd95c689088.js.map
1 lines (1 loc) · 3.05 KB
/
component---src-pages-404-tsx-5dcffab50dd95c689088.js.map
1
{"version":3,"sources":["webpack:///./src/images/404.gif","webpack:///./src/pages/404.tsx"],"names":["module","exports","NotFoundPage","props","location","title","className","src","Gif404","alt","to","type","htmlType","allInstaNode","data","orientation","query"],"mappings":"8EAAAA,EAAOC,QAAU,IAA0B,mD,kPCqB9BC,EAAe,SAACC,GAC5B,OACC,kBAAC,IAAD,CAAQC,SAAUD,EAAMC,UACvB,kBAAC,IAAD,CAAKC,MAAM,mBACX,yBAAKC,UAAU,iBACd,8CACA,sFACA,yBAAKA,UAAU,WACd,yBAAKC,IAAKC,IAAQC,IAAI,iBAAiBJ,MAAM,oBAE9C,yBAAKC,UAAU,6BACd,kBAAC,OAAD,CAAMI,GAAG,IAAIJ,UAAU,qBACtB,uBAAQK,KAAK,UAAUC,SAAS,UAAhC,YAED,kBAAC,OAAD,CAAMF,GAAG,SACR,uBAAQC,KAAK,UAAUC,SAAS,UAAhC,gBAGF,kBAAC,IAAD,CAAWC,aAAcV,EAAMW,KAAKD,aAAcE,YAAY,kBAMnDb,YAER,IAAMc,EAAQ","file":"component---src-pages-404-tsx-5dcffab50dd95c689088.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/404-3c910db069ae7e5b36f191c2e586a9e4.gif\";","import React from 'react';\nimport { Link, graphql } from 'gatsby';\n\nimport { Button } from 'antd';\n\nimport Gif404 from '../images/404.gif';\n\nimport { InstagramFeed } from '../contracts/post';\n\nimport Layout from '../components/Layout';\nimport SEO from '../components/SEO';\n\nimport Instagram from '../components/Instagram';\n\nexport interface Props {\n\tdata: {\n\t\tallInstaNode: InstagramFeed;\n\t};\n\tlocation: Location;\n}\n\nexport const NotFoundPage = (props: Props) => {\n\treturn (\n\t\t<Layout location={props.location}>\n\t\t\t<SEO title=\"404: Not found\" />\n\t\t\t<div className=\"not-found-404\">\n\t\t\t\t<h1>404: Not found</h1>\n\t\t\t\t<p>You just hit a route that doesn't exist... the sadness.</p>\n\t\t\t\t<div className=\"graphic\">\n\t\t\t\t\t<img src={Gif404} alt=\"404: Not found\" title=\"404: Not found\" />\n\t\t\t\t</div>\n\t\t\t\t<div className=\"action margin-bottom-36px\">\n\t\t\t\t\t<Link to=\"/\" className=\"margin-right-24px\">\n\t\t\t\t\t\t<Button type=\"primary\" htmlType=\"button\">Go Home</Button>\n\t\t\t\t\t</Link>\n\t\t\t\t\t<Link to=\"/blog\">\n\t\t\t\t\t\t<Button type=\"primary\" htmlType=\"button\">Go to blog</Button>\n\t\t\t\t\t</Link>\n\t\t\t\t</div>\n\t\t\t\t<Instagram allInstaNode={props.data.allInstaNode} orientation=\"horizontal\" />\n\t\t\t</div>\n\t\t</Layout>\n\t);\n};\n\nexport default NotFoundPage;\n\nexport const query = graphql`\n\tquery {\n\t\tallInstaNode(limit: 8) {\n\t\t\tedges {\n\t\t\t\tnode {\n\t\t\t\t\tid\n\t\t\t\t\tlikes\n\t\t\t\t\tcomments\n\t\t\t\t\tmediaType\n\t\t\t\t\tpreview\n\t\t\t\t\toriginal\n\t\t\t\t\ttimestamp\n\t\t\t\t\tcaption\n\t\t\t\t\tlocalFile {\n\t\t\t\t\t\tchildImageSharp {\n\t\t\t\t\t\t\tfluid(maxWidth: 960, maxHeight: 600, quality: 85) {\n\t\t\t\t\t\t\t\taspectRatio\n\t\t\t\t\t\t\t\tsrc\n\t\t\t\t\t\t\t\tsrcSet\n\t\t\t\t\t\t\t\tsizes\n\t\t\t\t\t\t\t\tbase64\n\t\t\t\t\t\t\t\ttracedSVG\n\t\t\t\t\t\t\t\tsrcWebp\n\t\t\t\t\t\t\t\tsrcSetWebp\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tthumbnails {\n\t\t\t\t\t\tsrc\n\t\t\t\t\t\tconfig_width\n\t\t\t\t\t\tconfig_height\n\t\t\t\t\t}\n\t\t\t\t\tdimensions {\n\t\t\t\t\t\theight\n\t\t\t\t\t\twidth\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n`;\n"],"sourceRoot":""}