-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-pages-404-js-3c3a0f1de7055961fa7e.js
2 lines (2 loc) · 1.53 KB
/
component---src-pages-404-js-3c3a0f1de7055961fa7e.js
1
2
"use strict";(self.webpackChunkv4=self.webpackChunkv4||[]).push([[883],{9616:function(e,t,n){n.r(t);var l=n(7294),o=n(5444),a=n(5414),i=n(5813),c=n(7428),m=n(3494),r=n(4165),u=n(3872),f=n(3082),s=m.default.main.withConfig({displayName:"sc-404__StyledMainContainer",componentId:"sc-bnxlhm-0"})(["",";flex-direction:column;"],(function(e){return e.theme.mixins.flexCenter})),d=m.default.h1.withConfig({displayName:"sc-404__StyledTitle",componentId:"sc-bnxlhm-1"})(["color:var(--green);font-family:var(--font-mono);font-size:clamp(100px,25vw,200px);line-height:1;"]),p=m.default.h2.withConfig({displayName:"sc-404__StyledSubtitle",componentId:"sc-bnxlhm-2"})(["font-size:clamp(30px,5vw,50px);font-weight:400;"]),h=(0,m.default)(o.Link).withConfig({displayName:"sc-404__StyledHomeButton",componentId:"sc-bnxlhm-3"})(["",";margin-top:40px;"],(function(e){return e.theme.mixins.bigButton}));t.default=function(e){var t=e.location,n=(0,l.useState)(!1),o=n[0],m=n[1],g=(0,f.Tb)();(0,l.useEffect)((function(){if(!g){var e=setTimeout((function(){return m(!0)}),r.fb);return function(){return clearTimeout(e)}}}),[]);var x=l.createElement(s,{className:"fillHeight"},l.createElement(d,null,"404"),l.createElement(p,null,"Page Not Found"),l.createElement(h,{to:"/"},"Go Home"));return l.createElement(u.Ar,{location:t},l.createElement(a.q,{title:"Page Not Found"}),g?l.createElement(l.Fragment,null,x):l.createElement(i.Z,{component:null},o&&l.createElement(c.Z,{timeout:500,classNames:"fadeup"},x)))}}}]);
//# sourceMappingURL=component---src-pages-404-js-3c3a0f1de7055961fa7e.js.map