-
Notifications
You must be signed in to change notification settings - Fork 1
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
e8cfc0f
commit 8fa3734
Showing
1 changed file
with
34 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,34 @@ | ||
import { SignInButton } from '@/components/auth'; | ||
import { VerticalForm } from '@/components/common'; | ||
import Cat404 from '@/public/assets/graphics/cat404.png'; | ||
import styles from '@/styles/pages/404.module.scss'; | ||
import Image from 'next/image'; | ||
|
||
const InternalServerError = () => { | ||
return ( | ||
<div style={{ display: 'flex', flexDirection: 'column', height: 'calc(100vh - 8.25rem)' }}> | ||
<VerticalForm style={{ alignItems: 'center', flex: 'auto', height: 'unset' }}> | ||
<h1 className={styles.header}>Something has gone terribly wrong</h1> | ||
<Image src={Cat404} width={256} height={256} alt="Sad Cat" /> | ||
<span | ||
style={{ | ||
textAlign: 'center', | ||
}} | ||
> | ||
Logging out will usually fix your issue. | ||
</span> | ||
<SignInButton type="link" display="button1" href="/logout" text="Logout" /> | ||
<span | ||
style={{ | ||
textAlign: 'center', | ||
}} | ||
> | ||
If that doesn't work, file a bug to us on our project issue's page | ||
<a href="https://github.com/acmucsd/membership-portal-ui-v2/issues"> here</a> | ||
</span> | ||
</VerticalForm> | ||
</div> | ||
); | ||
}; | ||
|
||
export default InternalServerError; |