Skip to content

Commit

Permalink
feat: update metdata (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
irisdv authored Aug 7, 2024
1 parent 8e43279 commit 71b4a0c
Showing 1 changed file with 30 additions and 31 deletions.
61 changes: 30 additions & 31 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,38 +1,37 @@
import React from "next";
import "./styles/globals.css";
import { Providers } from "./provider";
// import type { Metadata } from "next";
import type { Metadata } from "next";

// todo: update with right values
// export const metadata: Metadata = {
// title: "The ETH button",
// description: "Generated by create next app",
// metadataBase: new URL(process.env.NEXT_PUBLIC_APP_LINK as string),
// openGraph: {
// title: "The ETH button",
// description: "Generated by create next app",
// url: process.env.NEXT_PUBLIC_APP_LINK,
// siteName: "The ETH button",
// images: [
// {
// url: "/visuals/twitterImage.webp",
// width: 680,
// height: 680,
// },
// ],
// locale: "en_US",
// type: "website",
// },
// icons: {
// icon: "/icons/theethbutton.svg",
// },
// twitter: {
// card: "summary_large_image",
// title: "The ETH button",
// description: "Generated by create next app",
// images: ["/visuals/twitterImage.webp"],
// },
// };
export const metadata: Metadata = {
title: "The ETH button",
description: "One Blockchain, 5 $ETH, One button.",
metadataBase: new URL(process.env.NEXT_PUBLIC_APP_LINK as string),
openGraph: {
title: "The ETH button",
description: "One Blockchain, 5 $ETH, One button.",
url: process.env.NEXT_PUBLIC_APP_LINK,
siteName: "The ETH button",
images: [
{
url: "/visuals/twitterImage.webp",
width: 680,
height: 680,
},
],
locale: "en_US",
type: "website",
},
icons: {
icon: "/icons/theethbutton.svg",
},
twitter: {
card: "summary_large_image",
title: "The ETH button",
description: "One Blockchain, 5 $ETH, One button.",
images: ["/visuals/twitterImage.webp"],
},
};

export default function RootLayout({
children,
Expand Down

0 comments on commit 71b4a0c

Please sign in to comment.