Skip to content

Commit 2039939

Browse files
nash-efpclaude
andcommitted
feat: add ogp.png and update OGP image URLs to PNG for SNS preview
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 8321d3a commit 2039939

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.vitepress/config.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ export default defineConfig({
1616
['meta', { property: 'og:title', content: 'OpenBrainPad' }],
1717
['meta', { property: 'og:description', content: 'ブレインパッドのデータサイエンティスト有志による技術資料公開・業界向け情報発信プロジェクト' }],
1818
['meta', { property: 'og:url', content: 'https://brainpad.github.io/OpenBrainPad/' }],
19-
['meta', { property: 'og:image', content: 'https://brainpad.github.io/OpenBrainPad/ogp.svg' }],
19+
['meta', { property: 'og:image', content: 'https://brainpad.github.io/OpenBrainPad/ogp.png' }],
20+
['meta', { property: 'og:image:type', content: 'image/png' }],
2021
['meta', { property: 'og:image:width', content: '1200' }],
2122
['meta', { property: 'og:image:height',content: '630' }],
2223
['meta', { property: 'og:locale', content: 'ja_JP' }],
@@ -26,7 +27,7 @@ export default defineConfig({
2627
['meta', { name: 'twitter:site', content: '@Open_BrainPad' }],
2728
['meta', { name: 'twitter:title', content: 'OpenBrainPad' }],
2829
['meta', { name: 'twitter:description', content: 'ブレインパッドのデータサイエンティスト有志による技術資料公開・業界向け情報発信プロジェクト' }],
29-
['meta', { name: 'twitter:image', content: 'https://brainpad.github.io/OpenBrainPad/ogp.svg' }],
30+
['meta', { name: 'twitter:image', content: 'https://brainpad.github.io/OpenBrainPad/ogp.png' }],
3031

3132
['link', { rel: 'preconnect', href: 'https://fonts.googleapis.com' }],
3233
['link', { rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' }],

public/ogp.png

96.4 KB
Loading

0 commit comments

Comments
 (0)