Skip to content

feat: add home hero social sharing preview - #31

Merged
febriyadi merged 1 commit into
mainfrom
feature/og-social-preview
Nov 21, 2026
Merged

febriyadi merged 1 commit into
mainfrom
feature/og-social-preview

Conversation

@pebbDev

@pebbDev pebbDev commented Nov 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • Update root App Router metadata with the current Production URL, title, description, Open Graph, and Twitter summary large image card.
  • Add a single 1200×630 screenshot of the current public Home hero as src/app/opengraph-image.png (Next.js file-based metadata convention; no extra components or arbitrary folders).
  • Preserve existing Home UI, responsive behavior, routing, and inherited robots: noindex, nofollow configuration (SEO indexing is deliberately out of scope).

Architecture / references

  • Metadata remains in src/app/layout.tsx.
  • OG image uses Next.js documented file convention src/app/opengraph-image.png and is automatically exposed as /opengraph-image.png.
  • Twitter card reuses that image URL; no duplicate image file or library.
  • Image reflects current placeholder content and contains no third-party media.

Verified locally

  • pnpm install --frozen-lockfile --ignore-scripts: PASS
  • pnpm lint: PASS
  • pnpm exec next typegen: PASS
  • pnpm typecheck: PASS
  • pnpm format:check: PASS
  • pnpm build: PASS (static /opengraph-image.png route generated)
  • Prerendered HTML confirms OG and Twitter tags, absolute febriyadiii.vercel.app URL, and 1200×630 image size.
  • git diff --check: PASS

Scope and release

  • Exactly two changed files; documentation PR docs: add portfolio README and live site link #30 is already merged and untouched.
  • This PR does not change deployed Production until approved and merged. Messaging apps may cache old previews; social card appearance requires separate post-deploy verification.

@pebbDev
pebbDev requested a review from febriyadi as a code owner November 21, 2026 10:56
Copilot AI balanced review requested due to automatic review settings November 21, 2026 10:56

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@febriyadi
febriyadi merged commit c088c4c into main Nov 21, 2026
1 check passed
@febriyadi
febriyadi deleted the feature/og-social-preview branch November 21, 2026 10:57
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.

3 participants