Skip to content

OGPメタデータを追加 - #171

Merged
tknkaa merged 3 commits into
mainfrom
add-ogp-metadata
Sep 20, 2026
Merged

tknkaa merged 3 commits into
mainfrom
add-ogp-metadata

Conversation

@tknkaa

@tknkaa tknkaa commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • app/root.tsx に Open Graph / Twitter Card のメタタグを追加(title, description, url, image, locale, site_name など)
  • リンクシェア用に麻雀卓の背景画像をベースにした 1200x630 の OGP 画像 (public/ogp.jpg) を追加

Test plan

  • pnpm dev で起動し、ブラウザの devtools で <head> 内に og:* / twitter:* タグが出力されていることを確認
  • OpenGraph.xyz 等のツールで https://mahjong.utcode.net のプレビューを確認 (デプロイ後)
  • Slack / X (Twitter) 等でURLを共有し、プレビューが正しく表示されることを確認 (デプロイ後)

🤖 Generated with Claude Code

tknkaa and others added 2 commits September 20, 2026 19:01
Add Open Graph and Twitter Card meta tags to root.tsx, plus a
1200x630 OGP image based on the existing mahjong table background,
so shared links show a title, description, and preview image.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Reflect the tutorial/ranking pitch in the meta description and
the OGP image tagline.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 20, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
hitori-mahjong 0578450 Sep 20 2026, 10:26 AM

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@tknkaa
tknkaa marked this pull request as ready for review September 20, 2026 10:26
@tknkaa
tknkaa merged commit cb96eec into main Sep 20, 2026
2 checks passed
@tknkaa
tknkaa deleted the add-ogp-metadata branch September 20, 2026 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant