-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-pages-404-js-a8c9c66f590eb1c167bd.js
2 lines (2 loc) · 1.53 KB
/
component---src-pages-404-js-a8c9c66f590eb1c167bd.js
1
2
"use strict";(self.webpackChunkasl3_github_io=self.webpackChunkasl3_github_io||[]).push([[125],{7412:function(e,t,n){n.r(t);var l=n(6540),o=n(1015),i=n(3673),a=n(6181),c=n(5262),u=n(7859),m=n(1597),s=n(7182),r=n(1378);const f=u.default.main.withConfig({displayName:"sc-404__StyledMainContainer",componentId:"sc-u1i6u4-0"})(["",";flex-direction:column;"],(e=>{let{theme:t}=e;return t.mixins.flexCenter})),d=u.default.h1.withConfig({displayName:"sc-404__StyledTitle",componentId:"sc-u1i6u4-1"})(["color:var(--rose);font-family:var(--font-mono);font-size:clamp(100px,25vw,200px);line-height:1;"]),p=u.default.h2.withConfig({displayName:"sc-404__StyledSubtitle",componentId:"sc-u1i6u4-2"})(["font-size:clamp(30px,5vw,50px);font-weight:400;"]),h=(0,u.default)(o.Link).withConfig({displayName:"sc-404__StyledHomeButton",componentId:"sc-u1i6u4-3"})(["",";margin-top:40px;"],(e=>{let{theme:t}=e;return t.mixins.bigButton}));t.default=e=>{let{location:t}=e;const{0:n,1:o}=(0,l.useState)(!1),u=(0,r.jt)();(0,l.useEffect)((()=>{if(u)return;const e=setTimeout((()=>o(!0)),m.LF);return()=>clearTimeout(e)}),[]);const g=l.createElement(f,{className:"fillHeight"},l.createElement(d,null,"404"),l.createElement(p,null,"Page Not Found"),l.createElement(h,{to:"/"},"Go Home"));return l.createElement(s.PE,{location:t},l.createElement(i.m,{title:"Page Not Found"}),u?l.createElement(l.Fragment,null,g):l.createElement(a.A,{component:null},n&&l.createElement(c.A,{timeout:500,classNames:"fadeup"},g)))}}}]);
//# sourceMappingURL=component---src-pages-404-js-a8c9c66f590eb1c167bd.js.map