feat: create pages eror and 404 . fix data blogs

This commit is contained in:
quangnhankie
2021-09-10 18:00:29 +07:00
parent 1038ca00d6
commit 5d9f3db94a
10 changed files with 227 additions and 40 deletions

12
pages/_error.tsx Normal file
View File

@@ -0,0 +1,12 @@
import { } from "src/components/modules/404"
import { Layout } from 'src/components/common'
import { ErrorPage } from "src/components/modules/error"
export default function Error() {
return (
<div>
<ErrorPage/>
</div>
)
}
Error.Layout = Layout