forked from neptune-mutual-blue/nft-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.jsx
35 lines (30 loc) · 815 Bytes
/
404.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import Seo from '@/components/Seo/Seo'
import { BaseLayout } from '@/layouts/BaseLayout'
import { resourcesVideoData } from '@/service/video-api'
import Error404 from '@/views/404'
export async function getStaticProps () {
const videoData = await resourcesVideoData()
return {
props: {
videos: videoData
},
revalidate: 60 * 60 // one hour
}
}
const PageNotFound = (props) => {
return (
<>
<Seo
ogURL='/404'
title='Page Not Found / Neptune Mutual'
ogImage='/assets/images/meta/home.png'
ogImageAlt='Neptune Mutual NFT 404'
description='The page you requested either does not exist or has been deleted'
/>
<BaseLayout videos={props.videos}>
<Error404 />
</BaseLayout>
</>
)
}
export default PageNotFound