Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: open graph 중복되는 이슈 수정 #103

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Jogeonsang
Copy link
Contributor

@Jogeonsang Jogeonsang commented Dec 30, 2021

내용

기존에 설정되어있던 OpenGraph가 main에서 선언된 값에 중복되는 이슈를 수정했습니다.

특별히 봐줬으면 하는 부분

참고 사항

현재 meta tag seo 모듈화 하는 작업중인데
구현은 다 끝났는데 ssr 렌더시에 data가 없어서 못불러오는 이슈가 있어요! 요것을 해결하려면 전부 getServerSideProps 를 사용해서 데이터를 미리 불러온다음에 meta tag에 들어갈 데이터를 넣어줘야할것같은데 한 브랜치에서 생각보다 작업이 커질거같아서 일단 feature살려두고 branch 하나 새로 파서 ssr 작업 먼저 진행하겠습니다

https://swr.vercel.app/docs/with-nextjs
요 내용 참고해서 SSR시에 api fetch해서 default Data 만든다음에 meta tag에 들어갈 data를 default Data를 바로 바라볼 수 있게 작업할 예정이에요!

@vercel
Copy link

vercel bot commented Dec 30, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/clelab/clelab-frontend/4qmJ8SC1skZTh2kZLgRmFWMYEQkk
✅ Preview: https://clelab-frontend-git-feature-ogmodify-clelab.vercel.app

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.

None yet

2 participants