Skip to content

Commit

Permalink
feat: add opengraph image
Browse files Browse the repository at this point in the history
  • Loading branch information
chowjustin committed Nov 16, 2024
1 parent bb75a11 commit d960688
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 43 deletions.
32 changes: 0 additions & 32 deletions src/app/coming-soon/page.tsx

This file was deleted.

33 changes: 22 additions & 11 deletions src/app/not-found.tsx
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>
);
}
Binary file added src/app/opengraph-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d960688

Please sign in to comment.