Skip to content

Commit

Permalink
contract deployer fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenmarcus committed Mar 5, 2024
1 parent 8e6179c commit c004d97
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
26 changes: 26 additions & 0 deletions contract-deployer/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,35 @@ import "./globals.css";
import { MintbaseWalletContextProvider } from "@mintbase-js/react";
import { MintbaseWalletSetup } from "@/config/setup";
import "@near-wallet-selector/modal-ui/styles.css";
import { Metadata } from "next";

const inter = Inter({ subsets: ["latin"] });


export const metadata: Metadata = {
title: `Near Contract Deployer`,
description: "Deploy your own Near Contract in only 1 step",
openGraph: {
title: `Near Contract Deployer`,
description: "Deploy your own Near Contract in only 1 step",
images: [
{
type: "image/png",
url: "https://i.imgur.com/CkxzRfq.png",
width: "1200",
height: "630",
},
],
},
twitter: {
card: "summary_large_image",
title: `Near Contract Deployer`,
description: "Deploy your own Near Contract in only 1 step",
creator: "Mintbase",
images: "https://i.imgur.com/CkxzRfq.png",
},
};

export default function RootLayout({
children,
}: {
Expand Down
3 changes: 3 additions & 0 deletions marketplace/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import type { Metadata } from "next";
export const metadata: Metadata = {
title: "Mintbase Simple Marketplace Example",
description: "Simple Marketplace",
openGraph: {
images: ['https://i.imgur.com/FjcUss9.png']
}
};

export default function Home() {
Expand Down

0 comments on commit c004d97

Please sign in to comment.