Skip to content

Commit c2c08c1

Browse files
committed
OG iamge
1 parent 89a6925 commit c2c08c1

File tree

3 files changed

+24
-1
lines changed

3 files changed

+24
-1
lines changed

next-js-app/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,10 @@ You can check out [the Next.js GitHub repository](https://github.com/vercel/next
3434
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
3535

3636
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
37+
38+
TODO:
39+
40+
add og image stuff
41+
add footer linking to github source code
42+
add recommendations for providers
43+
add fun facts about me?
691 KB
Loading

next-js-app/src/app/layout.tsx

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,23 @@ const geistMono = Geist_Mono({
1515

1616
export const metadata: Metadata = {
1717
title: "James Smith Portfolio",
18-
description: "James Smith Portfolio",
18+
description: "James Smith Wormhole Portfolio",
19+
openGraph: {
20+
title: "James M. Smith - Wormhole Portfolio",
21+
description: "Machine Learning Engineer & Software Developer",
22+
url: "https://j-m-s.dev",
23+
siteName: "James M. Smith",
24+
images: [
25+
{
26+
url: "/image-assets/og-image.png",
27+
width: 1200,
28+
height: 630,
29+
alt: "James M. Smith Portfolio OG Image",
30+
},
31+
],
32+
locale: "en_US",
33+
type: "website",
34+
},
1935
};
2036

2137
export default function RootLayout({

0 commit comments

Comments
 (0)