Skip to content

Commit

Permalink
Add banner and theme color to site metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
itsbrunodev committed Jan 5, 2025
1 parent 37b5af8 commit 39e2fa2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Metadata } from "next";
import type { Metadata, Viewport } from "next";
import { Analytics } from "@vercel/analytics/react";
import { Inter, Fira_Code } from "next/font/google";

Expand Down Expand Up @@ -42,6 +42,18 @@ export const metadata: Metadata = {
},
],
},
openGraph: {
images: [
{
url: "/banner.png",
href: "/banner.png",
},
],
},
};

export const viewport: Viewport = {
themeColor: "#f66b15",
};

export default async function RootLayout({
Expand Down
Binary file added public/banner.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 39e2fa2

Please sign in to comment.