Added 404 page

This commit is contained in:
Vladyslav Matsiiako
2022-12-23 08:15:46 -05:00
parent 54f99f3db0
commit baba99e19b
2 changed files with 502 additions and 0 deletions

27
frontend/pages/404.tsx Normal file
View File

@@ -0,0 +1,27 @@
import React from "react";
import Head from "next/head";
import Image from "next/image";
export default function Custom404() {
return (
<div className="bg-bunker-800 md:h-screen flex flex-col justify-between">
<Head>
<title>Infisical | Page Not Found</title>
<link rel="icon" href="/infisical.ico" />
</Head>
<div className="flex flex-col items-center justify-center text-gray-200 h-screen w-screen">
<p className="text-4xl mt-32">Oops, something went wrong</p>
<p className="mt-2 mb-1 text-lg">Think this is a mistake? Email <a className="text-primary underline underline-offset-4" href="mailto:team@infisical.com">team@infisical.com</a> and we`ll fix it! </p>
<a href="/dashboard" className="bg-mineshaft-500 mt-8 py-2 px-4 rounded-md hover:bg-primary diration-200 hover:text-black cursor-pointer font-semibold">
Go to Dashboard
</a>
<Image
src="/images/dragon-404.svg"
height={554}
width={942}
alt="google logo"
></Image>
</div>
</div>
);
}

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 109 KiB