🔧 config: global theme

:%s
This commit is contained in:
lytrankieio123
2021-08-20 14:49:41 +07:00
parent 1fa9d08a79
commit 83c9e61519
10 changed files with 248 additions and 284 deletions

View File

@@ -1,7 +1,6 @@
import type { GetStaticPropsContext } from 'next'
import commerce from '@lib/api/commerce'
import { Layout } from '@components/common'
import { Text } from '@components/ui'
export async function getStaticProps({
preview,
@@ -23,11 +22,8 @@ export async function getStaticProps({
export default function NotFound() {
return (
<div className="max-w-2xl mx-8 sm:mx-auto py-20 flex flex-col items-center justify-center fit">
<Text variant="heading">Not Found</Text>
<Text className="">
<div>
The requested page doesn't exist or you don't have access to it.
</Text>
</div>
)
}