{"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\nimport { useTranslation } from '~/utils/i18n';\nimport { headerHeight, rem } from '~/utils/style';\nimport styled from 'styled-components';\nvar Error = styled.div.withConfig({\n  displayName: \"sc-404__Error\",\n  componentId: \"sc-8hprj2-0\"\n})([\"height:calc(100vh - \", \");display:flex;justify-content:center;align-items:center;font-size:\", \";\"], headerHeight, rem(20));\n\nvar Error404 = function Error404() {\n  var _useTranslation = useTranslation('errors'),\n      t = _useTranslation.t;\n\n  return __jsx(Error, null, \"404 - \", t('page-not-found'));\n}; // 404 page cannot have getInitialProps or getServerSideProps\n// we need next-i18next support getStaticProps\n// https://github.com/zeit/next.js/blob/master/errors/404-get-initial-props.md\n// https://github.com/isaachinman/next-i18next/issues/652\n// Error404.getInitialProps = () => {\n//     return {\n//         namespacesRequired: ['errors']\n//     };\n// };\n\n\nexport default Error404;","map":null,"metadata":{},"sourceType":"module"}