Skip to content

Commit 4bed98d

Browse files
committed
feat: update metadata for discord embed
1 parent 56a3751 commit 4bed98d

4 files changed

Lines changed: 33 additions & 4 deletions

File tree

app/layout.tsx

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Metadata } from "next";
1+
import type { Metadata, Viewport } from "next";
22
import { Poppins } from "next/font/google";
33
import "./globals.css";
44

@@ -18,8 +18,30 @@ const poppinsMono = Poppins({
1818
export const metadata: Metadata = {
1919
title: "Cobalt",
2020
description: "Experience the next level of Skyblock and maximize your grinding potential with Cobalt.",
21+
22+
openGraph: {
23+
title: 'Cobalt',
24+
description: 'Experience the next level of Skyblock and maximize your grinding potential with Cobalt.',
25+
url: 'https://cobalt.quiteboring.dev',
26+
siteName: 'cobalt.quiteboring.dev',
27+
28+
images: [
29+
{
30+
url: 'https://cobalt.quiteboring.dev/logo.png',
31+
width: 250,
32+
height: 250,
33+
},
34+
],
35+
36+
locale: 'en_US',
37+
type: 'website',
38+
},
2139
};
2240

41+
export const viewport: Viewport = {
42+
themeColor: '#4682B4',
43+
}
44+
2345
export default function RootLayout({
2446
children,
2547
}: Readonly<{

app/page.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { redirect } from "next/navigation";
2-
31
export default function Home() {
4-
redirect("https://discord.gg/GAhS8UfDyy");
2+
53
}

package-lock.json

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/logo.png

115 KB
Loading

0 commit comments

Comments
 (0)