Skip to content

Commit 367e024

Browse files
vmorpsclaude
andcommitted
feat: update OG social image and complete OpenGraph meta tags (#192)
- Replace social image with clean brand-focused design (lockup + headline + URL) - Add og:site_name, og:image:width, og:image:height meta tags globally - Fix Schema.org JSON-LD logo URL to use opentdf-social.png - Widen hero grid split to prevent heading text wrap - Remove "Start here" badge from Web SDK card Closes #192 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Mike Morper <mike.morper@virtru.com>
1 parent 625dab7 commit 367e024

4 files changed

Lines changed: 16 additions & 4 deletions

File tree

docusaurus.config.ts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,21 @@ const config: Config = {
5555
"@type": "Organization",
5656
name: "OpenTDF",
5757
url: "https://opentdf.io",
58-
logo: "https://opentdf.io/img/opentdf-icon.svg",
58+
logo: "https://opentdf.io/img/opentdf-social.png",
5959
}),
6060
},
61+
{
62+
tagName: "meta",
63+
attributes: { property: "og:site_name", content: "OpenTDF" },
64+
},
65+
{
66+
tagName: "meta",
67+
attributes: { property: "og:image:width", content: "1200" },
68+
},
69+
{
70+
tagName: "meta",
71+
attributes: { property: "og:image:height", content: "630" },
72+
},
6173
],
6274

6375
onBrokenLinks: "throw",

src/components/landing/DeveloperFirst.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const sdks = [
99
colorClass: "sdk-js",
1010
icon: "TS",
1111
href: "https://www.npmjs.com/package/@opentdf/sdk",
12-
recommended: true,
12+
recommended: false,
1313
},
1414
{
1515
name: "Platform SDK",

src/components/landing/Hero.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@
189189
}
190190

191191
.grid {
192-
grid-template-columns: 1fr 1fr;
193-
gap: 4rem;
192+
grid-template-columns: 1.15fr 1fr;
193+
gap: 3rem;
194194
}
195195

196196
.heading {

static/img/opentdf-social.png

-67.1 KB
Loading

0 commit comments

Comments
 (0)