1 line
1.6 KiB
Text
1 line
1.6 KiB
Text
|
{"version":3,"sources":["webpack:///./src/pages/404.js"],"names":["NotFoundPage","className","style","textAlign","to","dangerouslySetInnerHTML","__html"],"mappings":"0FAAA,2CAyBeA,UArBM,kBACjB,kBAAC,IAAD,KACI,yBAAKC,UAAU,aACX,6BAASA,UAAU,UAAUC,MAAO,CAAEC,UAAU,WAC5C,wBAAIF,UAAU,iBAAd,gBACA,6BAASA,UAAU,gBAAnB,kCACmC,kBAAC,OAAD,CAAMG,GAAG,KAAT,mBADnC,0BAGA,4BACEC,wBAAyB,CACvBC,OAAO","file":"component---src-pages-404-js-aaa2fa405f7ff5b334ff.js","sourcesContent":["import React from 'react'\nimport { Link } from 'gatsby'\nimport { Layout } from '../components/common'\n\nconst NotFoundPage = () => (\n <Layout>\n <div className=\"container\">\n <article className=\"content\" style={{ textAlign: `center` }}>\n <h1 className=\"content-title\">Site Updated</h1>\n <section className=\"content-body\">\n This website has been updated. <Link to=\"/\">Reload the page</Link> to continue browsing.\n </section>\n <script\n dangerouslySetInnerHTML={{\n __html: `if (document.getElementsByName('generator')[0].content.toLowerCase().slice(0,6) == 'gatsby') {\n console.log('Deleting Gatsby cache');\n caches.keys().then(async (cacheKeys)=>{await cacheKeys.map((cacheKey)=>{console.log('Deleting: ' + cacheKey);caches.delete(cacheKey)});window.location.reload(true)});\n }`,\n }}\n />\n </article>\n </div>\n </Layout>\n)\n\nexport default NotFoundPage\n"],"sourceRoot":""}
|