-
Notifications
You must be signed in to change notification settings - Fork 0
feat: 공유 링크 미리보기 노출을 위한 Open Graph 메타 설정 추가 (#168) #169
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
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,36 +1,11 @@ | ||
| This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app). | ||
| <img width="1200" height="1675" alt="Image" src="https://github.com/user-attachments/assets/8b8aa8bc-e6b4-4132-897e-dd0a307b8fde" /> | ||
|
|
||
| ## Getting Started | ||
| <img width="1200" height="1372" alt="Image" src="https://github.com/user-attachments/assets/9c6d198a-4f53-42d5-9f32-7e516dcb5d7d" /> | ||
|
|
||
| First, run the development server: | ||
| <img width="1200" height="1606" alt="Image" src="https://github.com/user-attachments/assets/cfc0c6a3-da24-4c51-b5af-dcb0a7da4208" /> | ||
|
|
||
| ```bash | ||
| npm run dev | ||
| # or | ||
| yarn dev | ||
| # or | ||
| pnpm dev | ||
| # or | ||
| bun dev | ||
| ``` | ||
| <img width="1200" height="1333" alt="Image" src="https://github.com/user-attachments/assets/a44c8994-c540-4d39-8cc7-91cf71007447" /> | ||
|
|
||
| Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. | ||
| ### 잇다의 기술스택 | ||
|
|
||
| You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file. | ||
|
|
||
| This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel. | ||
|
|
||
| ## Learn More | ||
|
|
||
| To learn more about Next.js, take a look at the following resources: | ||
|
|
||
| - [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. | ||
| - [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. | ||
|
|
||
| You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome! | ||
|
|
||
| ## Deploy on Vercel | ||
|
|
||
| The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. | ||
|
|
||
| Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details. | ||
| <img width="2193" height="279" alt="Image" src="https://github.com/user-attachments/assets/4583e623-af60-4961-bc37-e844162a2442" /> | ||
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,7 +18,37 @@ import { UploadProvider } from "./story/register/_contexts"; | |
|
|
||
| export const metadata: Metadata = { | ||
| title: "잇다", | ||
| description: "Generated by create next app", | ||
| description: | ||
| "우리 동네 사라지면 안 되는 가게를 기록하고, 모두가 함께 응원하는 플랫폼 잇다", | ||
| openGraph: { | ||
| title: "잇다", | ||
| description: | ||
| "우리 동네 사라지면 안 되는 가게를 기록하고, 모두가 함께 응원하는 플랫폼 잇다", | ||
| images: "/images/opengraph-image.png", | ||
| type: "website", | ||
| siteName: "잇다", | ||
| url: "https://eatda.net/", | ||
| }, | ||
coderabbitai[bot] marked this conversation as resolved.
Show resolved
Hide resolved
Comment on lines
+23
to
+31
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Open Graph 이미지 경로는 절대 URL을 사용해야 합니다. 현재 다음과 같이 수정하세요: openGraph: {
title: "잇다",
description:
"우리 동네 사라지면 안 되는 가게를 기록하고, 모두가 함께 응원하는 플랫폼 잇다",
- images: "/images/opengraph-image.png",
+ images: [
+ {
+ url: "https://eatda.net/images/opengraph-image.png",
+ width: 1200,
+ height: 630,
+ alt: "잇다 - 우리 동네 가게 응원 플랫폼",
+ },
+ ],
type: "website",
siteName: "잇다",
url: "https://eatda.net/",
},추가 권장사항: Twitter/X 공유를 위한 twitter: {
card: "summary_large_image",
title: "잇다",
description: "우리 동네 사라지면 안 되는 가게를 기록하고, 모두가 함께 응원하는 플랫폼 잇다",
images: ["https://eatda.net/images/opengraph-image.png"],
},🤖 Prompt for AI Agents |
||
| keywords: [ | ||
| "잇다", | ||
| "eatda", | ||
| "잇다 플랫폼", | ||
| "잇다 맛집", | ||
| "우리동네 맛집", | ||
| "동네 가게", | ||
| "로컬 맛집", | ||
| "숨은 맛집", | ||
| "사라지면 안 되는 가게", | ||
| "응원하는 가게", | ||
| "단골 가게", | ||
| "가게 이야기", | ||
| "맛집 기록", | ||
| "가게 추천", | ||
| "맛집 공유", | ||
| "가게 등록", | ||
| "소상공인", | ||
| "동네의 이야기", | ||
| ], | ||
| }; | ||
|
|
||
| export const viewport: Viewport = { | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
접근성 및 유지보수성 문제: 이미지 기반 README의 한계
README를 완전히 이미지로만 구성한 것은 다음과 같은 문제가 있습니다:
이미지와 함께 핵심 정보를 텍스트로도 제공하는 것을 권장합니다.
다음과 같이 개선을 제안합니다:
📝 Committable suggestion
🤖 Prompt for AI Agents