This repository has been archived by the owner on Aug 7, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4a8a706
commit 2ce7aa5
Showing
1 changed file
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
import Image from "next/image"; | ||
|
||
import Button from "@components/Button"; | ||
import PageHead from "@components/PageHead"; | ||
import Page from "@components/Page"; | ||
import { PROJECT_NAME } from "@constants/index"; | ||
|
||
export default function Offline() { | ||
return ( | ||
<> | ||
<PageHead | ||
title={`${PROJECT_NAME} page offline`} | ||
description={`${PROJECT_NAME} page is not available offline`} | ||
/> | ||
<Page> | ||
<div className="grid min-h-full place-items-center px-6 py-24 sm:py-32 lg:px-8"> | ||
<div className="text-center"> | ||
<p className="text-base font-semibold text-primary-high dark:text-primary-low"> | ||
404 | ||
</p> | ||
<h1 className="mt-4 text-3xl font-bold tracking-tight text-primary-high dark:text-primary-low sm:text-5xl"> | ||
Page not available offline | ||
</h1> | ||
<p className="m-6 text-base leading-7 text-primary-high dark:text-primary-low"> | ||
This page is not available offline. Please check your internet | ||
connection and try again. | ||
</p> | ||
<Image | ||
className="mx-auto" | ||
src="https://user-images.githubusercontent.com/624760/114314273-eaae0100-9af1-11eb-955a-4039657fe85a.png" | ||
alt="EddieHub mascot scared pose" | ||
width={300} | ||
height={300} | ||
/> | ||
<div className="mt-10 flex items-center justify-center gap-x-6"> | ||
<Button href="/" primary={true} aria-label="Back to home"> | ||
Home | ||
</Button> | ||
<Button href="/docs" aria-label="Read the docs"> | ||
Docs | ||
</Button> | ||
</div> | ||
</div> | ||
</div> | ||
</Page> | ||
</> | ||
); | ||
} |