Skip to content

Fix open graph#133

Merged
UmairJibran merged 6 commits intomasterfrom
fix-open-graph
Feb 24, 2026
Merged

Fix open graph#133
UmairJibran merged 6 commits intomasterfrom
fix-open-graph

Conversation

@UmairJibran
Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings February 22, 2026 21:51
@github-actions
Copy link
Copy Markdown

Azure Static Web Apps: Your stage site is ready! Visit it here: https://polite-river-0640ed603-133.westeurope.azurestaticapps.net

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds/adjusts Next.js route metadata to improve Open Graph/Twitter previews for writing and projects pages.

Changes:

  • Added static metadata for the /writing index route.
  • Added generateMetadata for /writing/[slug] to produce per-article OG/Twitter metadata (including images when available).
  • Introduced a /projects segment layout.tsx to attach route-level metadata.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.

File Description
src/app/writing/page.tsx Adds static page metadata for the writing index route.
src/app/writing/[slug]/page.tsx Adds dynamic metadata generation per writing slug (article OG/Twitter fields).
src/app/projects/layout.tsx Adds route metadata for the projects section via a new layout.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

UmairJibran and others added 3 commits February 24, 2026 10:15
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown

Azure Static Web Apps: Your stage site is ready! Visit it here: https://polite-river-0640ed603-133.westeurope.azurestaticapps.net

@UmairJibran UmairJibran merged commit 036306c into master Feb 24, 2026
4 checks passed
@UmairJibran UmairJibran deleted the fix-open-graph branch February 24, 2026 05:20
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.

2 participants