generated from tapeds/next-template
-
Notifications
You must be signed in to change notification settings - Fork 0
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
bb75a11
commit d960688
Showing
3 changed files
with
22 additions
and
43 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,21 +1,32 @@ | ||
import { Metadata } from "next"; | ||
"use client"; | ||
import * as React from "react"; | ||
|
||
import NextImage from "@/components/NextImage"; | ||
import Typography from "@/components/Typography"; | ||
|
||
export const metadata: Metadata = { | ||
title: "404", | ||
}; | ||
export default function Home() { | ||
const [text, setText] = React.useState("Signify"); | ||
|
||
export default function NotFound() { | ||
return ( | ||
<main className="flex min-h-screen w-screen items-center justify-center bg-slate-200"> | ||
<main className="bg-[url('/images/bg.png')] w-screen h-screen flex flex-col items-center gap-2 md:gap-6 justify-center"> | ||
<NextImage | ||
src="/NotFound.png" | ||
alt="404" | ||
width={1920} | ||
height={1080} | ||
className="w-2/3 xl:w-1/2" | ||
src="/Signify Logo White.png" | ||
width={2000} | ||
height={2000} | ||
alt="Signify" | ||
className="max-w-[50%] md:max-w-[20%]" | ||
onMouseEnter={() => setText("Coming soon!")} | ||
onMouseLeave={() => setText("Signify")} | ||
/> | ||
<div className="w-max"> | ||
<Typography | ||
variant="h1" | ||
weight="bold" | ||
className="animate-typing overflow-hidden whitespace-nowrap border-r-4 border-r-white pr-5 text-5xl text-white font-bold max-sm:text-[40px]" | ||
> | ||
{text} | ||
</Typography> | ||
</div> | ||
</main> | ||
); | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.