Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Refactor: Adding static and dynamic metadata#47

Merged
jinyoungbang merged 4 commits intodev/v0.2from
feat/metadata
Jan 28, 2024
Merged

Refactor: Adding static and dynamic metadata#47
jinyoungbang merged 4 commits intodev/v0.2from
feat/metadata

Conversation

@yoontsy2000
Copy link
Contributor

@yoontsy2000 yoontsy2000 commented Jan 24, 2024

What does this PR do?

Right now, the metadata of most pages shows only the link. This work-in-progress feature aims to add a static metadata to every available pages in why-phi.

One issue is that we are passing client components to our pages which Next.js would prevent us from adding our own metadata. Following this solution, I will have to find a way to separate the client components from layout.tsx.

Type of change

  • Fix: Bug fix (non-breaking change which fixes an issue)
  • Refactor: Any code refactoring
  • Chore: technical debt, workflow improvements
  • Feature: New feature (non-breaking change which adds functionality)
  • Documentation: This change requires a documentation update

Tests Performed

Screenshots

Additional Comments

@yoontsy2000 yoontsy2000 changed the title Adding static and dynamic metadata Refactor: Adding static and dynamic metadata Jan 25, 2024
@yoontsy2000 yoontsy2000 marked this pull request as ready for review January 25, 2024 16:27
@jinyoungbang jinyoungbang self-requested a review January 25, 2024 17:58
Copy link
Contributor

@jinyoungbang jinyoungbang left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@jinyoungbang jinyoungbang mentioned this pull request Jan 25, 2024
23 tasks
@jinyoungbang jinyoungbang merged commit 1dc2dab into dev/v0.2 Jan 28, 2024
@jinyoungbang jinyoungbang deleted the feat/metadata branch January 28, 2024 15:08
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

Comments