Skip to content

Commit 466882a

Browse files
berkozeroclaude
andauthored
fix(share): add favicon and social metadata to share app layout (anomalyco#1098)
The share app was missing a favicon (browser tabs showed default icon) and had no fallback OpenGraph/Twitter metadata in the root layout. This meant any route without explicit OG tags had no social card when shared on X, Slack, or messaging apps. - Add favicon using existing openwork-mark.svg (matches landing/den-web) - Add fallback OpenGraph metadata (type, siteName) to root layout - Add Twitter card defaults with @getopenwork site attribution Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
1 parent 6d84a13 commit 466882a

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

‎apps/share/app/layout.tsx‎

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,16 @@ export const metadata: Metadata = {
2424
default: "OpenWork Share",
2525
template: "%s - OpenWork Share"
2626
},
27-
description: "Publish OpenWork worker packages and shareable import links."
27+
description: "Publish OpenWork worker packages and shareable import links.",
28+
icons: { icon: "/openwork-mark.svg" },
29+
openGraph: {
30+
type: "website",
31+
siteName: "OpenWork Share",
32+
},
33+
twitter: {
34+
card: "summary_large_image",
35+
site: "@getopenwork",
36+
},
2837
};
2938

3039
const defaultPosthogKey = "phc_4YnPTlDVYPjgwKvLuNxhbHjV5kadgvd7XLzVHWnCXAI";

0 commit comments

Comments
 (0)