diff --git a/packages/web/src/layouts/custom-404/Custom404Layout.styles.ts b/packages/web/src/layouts/custom-404/Custom404Layout.styles.ts index 189bf841b..307f037f4 100644 --- a/packages/web/src/layouts/custom-404/Custom404Layout.styles.ts +++ b/packages/web/src/layouts/custom-404/Custom404Layout.styles.ts @@ -24,6 +24,8 @@ export const wrapper = (theme: Theme) => css` .icon-404 { width: 380px; height: 320px; + opacity: 60%; + mix-blend-mode: hard-light; ${media.tablet} { width: 300px; height: 252px; @@ -39,8 +41,8 @@ export const wrapper = (theme: Theme) => css` margin-left: 120px; strong { font-weight: 700; - font-size: 60px; - line-height: 72px; + font-size: 40px; + line-height: 48px; color: ${theme.color.text23}; display: block; width: 100%; @@ -54,17 +56,19 @@ export const wrapper = (theme: Theme) => css` } } p { - ${fonts.body3}; - color: ${theme.color.text05}; - margin: 4px 0px 48px; + font-size: 16px; + line-height: 22.4px; + color: ${theme.color.text04}; + margin: 8px 0px 48px; } ${media.tablet} { margin-left: 60px; strong { - ${fonts.h3}; + ${fonts.body1}; } p { - ${fonts.body5} + ${fonts.body11} + margin: 4px 0px 24px; } } @@ -73,11 +77,12 @@ export const wrapper = (theme: Theme) => css` margin-left: 0; strong { text-align: center; - ${fonts.h5}; + ${fonts.body5}; } p { - ${fonts.body7}; - margin: 4px 0px 16px; + text-align: center; + ${fonts.body10}; + margin: 8px 0px 16px; br { display: none; } diff --git a/packages/web/src/layouts/custom-404/Custom404Layout.tsx b/packages/web/src/layouts/custom-404/Custom404Layout.tsx index e95aa9870..31b7fedd2 100644 --- a/packages/web/src/layouts/custom-404/Custom404Layout.tsx +++ b/packages/web/src/layouts/custom-404/Custom404Layout.tsx @@ -23,10 +23,9 @@ const Custom404Layout: React.FC = ({
{icon404}
- We’ll be right back. + 404

- We’re currently experiencing technical issues.
- Please check back soon. + Page not found!

+
+ {footer} + +); + +export default Custom500Layout; diff --git a/packages/web/src/pages/500.tsx b/packages/web/src/pages/500.tsx new file mode 100644 index 000000000..a7ddeb99e --- /dev/null +++ b/packages/web/src/pages/500.tsx @@ -0,0 +1,24 @@ +import React from "react"; +import IconGnoswap404 from "@components/common/icons/IconGnoswap404"; +import HeaderContainer from "@containers/header-container/HeaderContainer"; +import Footer from "@components/common/footer/Footer"; +import Custom500Layout from "@layouts/custom-500/Custom500Layout"; +import { useRouter } from "next/router"; +import { useAtomValue } from "jotai"; +import { ThemeState } from "@states/index"; + +export default function Custom500() { + const router = useRouter(); + const goBackClick = () => router.back(); + const themeKey = useAtomValue(ThemeState.themeKey); + + return ( + } + icon404={} + goBackClick={goBackClick} + footer={