Skip to content

Commit ff74a0d

Browse files
committed
feat: Add posts and team pages, root layout with metadata, and social media images.
1 parent bf4c8fc commit ff74a0d

8 files changed

Lines changed: 9 additions & 236 deletions

File tree

app/layout.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,16 @@ export const metadata: Metadata = {
1919
siteName: "L.A.P Docs",
2020
locale: "en_US",
2121
type: "website",
22+
images: ["/og-image.png"],
2223
},
2324
twitter: {
2425
card: "summary_large_image",
2526
title: "L.A.P Docs",
2627
description: "Simplicity in Tech. L.A.P aims to make tech simple as possible for everyone.",
28+
images: ["/twitter-image.png"],
29+
},
30+
other: {
31+
"og:logo": "https://lap-docs.netlify.app/logos/LAP-Logo-Transparent.png",
2732
},
2833
};
2934

app/opengraph-image.tsx

Lines changed: 0 additions & 92 deletions
This file was deleted.

app/posts/opengraph-image.tsx

Lines changed: 0 additions & 71 deletions
This file was deleted.

app/posts/page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ export const metadata: Metadata = {
1414
url: "https://lap-docs.netlify.app/posts",
1515
siteName: "L.A.P Docs",
1616
type: "website",
17+
images: ["/og-image.png"],
1718
},
1819
twitter: {
1920
card: "summary_large_image",
2021
title: "Posts | L.A.P Docs",
2122
description: "Browse our latest articles, tutorials, and guides.",
23+
images: ["/twitter-image.png"],
2224
},
2325
};
2426

app/team/opengraph-image.tsx

Lines changed: 0 additions & 73 deletions
This file was deleted.

app/team/page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ export const metadata: Metadata = {
1414
url: "https://lap-docs.netlify.app/team",
1515
siteName: "L.A.P Docs",
1616
type: "website",
17+
images: ["/og-image.png"],
1718
},
1819
twitter: {
1920
card: "summary_large_image",
2021
title: "Team | L.A.P Docs",
2122
description: "Meet the dedicated team behind L.A.P Docs.",
23+
images: ["/twitter-image.png"],
2224
},
2325
};
2426

public/og-image.png

81.1 KB
Loading

public/twitter-image.png

35.7 KB
Loading

0 commit comments

Comments
 (0)