summaryrefslogtreecommitdiff
path: root/src/pages
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-05-15 17:01:39 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-05-15 17:01:39 +0700
commit9da4c372d4ff44c130c9383765710f7287b62c52 (patch)
tree3f0149fe531e2981b8dfa402ef2f13671d49d2af /src/pages
parentdf7a1e34fab9014e775facfb20e58e7087200160 (diff)
internal server error pager
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/404.jsx4
-rw-r--r--src/pages/500.jsx22
2 files changed, 25 insertions, 1 deletions
diff --git a/src/pages/404.jsx b/src/pages/404.jsx
index f73e6383..18560999 100644
--- a/src/pages/404.jsx
+++ b/src/pages/404.jsx
@@ -15,7 +15,9 @@ export default function PageNotFound() {
width={1024}
height={512}
/>
- <Link href='/' className='btn-yellow text-black mx-auto mt-4'>Kembali ke halaman utama</Link>
+ <Link href='/' className='btn-yellow !text-black mx-auto mt-4'>
+ Kembali ke halaman utama
+ </Link>
</div>
</BasicLayout>
)
diff --git a/src/pages/500.jsx b/src/pages/500.jsx
new file mode 100644
index 00000000..314714e0
--- /dev/null
+++ b/src/pages/500.jsx
@@ -0,0 +1,22 @@
+import Seo from '@/core/components/Seo'
+import Link from '@/core/components/elements/Link/Link'
+import BasicLayout from '@/core/components/layouts/BasicLayout'
+import Image from 'next/image'
+
+export default function PageError() {
+ return (
+ <BasicLayout>
+ <Seo title='Internal Server Error - Indoteknik.com' />
+ <div className='container mx-auto'>
+ <Image
+ src='/images/page-error.svg'
+ alt='Page not found - Indoteknik'
+ className='w-full'
+ width={1024}
+ height={512}
+ />
+ <Link href='/' className='btn-yellow !text-black mx-auto mt-4'>Kembali ke halaman utama</Link>
+ </div>
+ </BasicLayout>
+ )
+}