Skip to content

Commit

Permalink
feat: add og thumbnail
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteAtATime committed Dec 22, 2024
1 parent 4d739e2 commit 8fb59ac
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion packages/nextjs/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ import { ThemeProvider } from "~~/components/ThemeProvider";
import "~~/styles/globals.css";
import { getMetadata } from "~~/utils/scaffold-eth/getMetadata";

export const metadata = getMetadata({ title: "Scaffold-ETH 2 App", description: "Built with 🏗 Scaffold-ETH 2" });
export const metadata = getMetadata({
title: "Signator.IO",
description: "Request & view signatures, created with 🏗 Scaffold-ETH 2",
});

const ScaffoldEthApp = ({ children }: { children: React.ReactNode }) => {
return (
Expand Down
Binary file removed packages/nextjs/public/thumbnail.jpg
Binary file not shown.
Binary file added packages/nextjs/public/thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/nextjs/utils/scaffold-eth/getMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const titleTemplate = "%s | Scaffold-ETH 2";
export const getMetadata = ({
title,
description,
imageRelativePath = "/thumbnail.jpg",
imageRelativePath = "/thumbnail.png",
}: {
title: string;
description: string;
Expand Down

0 comments on commit 8fb59ac

Please sign in to comment.