From 96f50af1b41a947a930517a5c8952efd44126668 Mon Sep 17 00:00:00 2001 From: kihyeoon Date: Mon, 9 Sep 2024 01:07:21 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=8D=20meta=20tags=20#24?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/layout.tsx | 29 ++++++++++++++++++++++++++--- src/app/recipe/[id]/page.tsx | 12 ++++++++++++ 2 files changed, 38 insertions(+), 3 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 87c62f0..a579b36 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -15,8 +15,31 @@ import "./globals.css"; const fontSans = Open_Sans({ subsets: ["latin"], variable: "--font-sans" }); export const metadata: Metadata = { - title: "Create Next App", - description: "Generated by create next app", + title: { + template: "%s | 구스토", + default: "구스토 - 레시피 영상 요약", + }, + description: "구스토에서 AI로 레시피 영상을 요약해보세요!", + keywords: [ + "구스토", + "Gusto", + "유튜브 레시피", + "레시피", + "레시피 관리", + "영상 요약", + "레시피 생성", + "정보 이해", + "AI 기반 서비스", + ], + openGraph: { + type: "website", + locale: "ko_KR", + title: "구스토 - 레시피 영상 요약 | Gusto", + siteName: "구스토", + description: + "구스토에서 AI를 통해 요리 영상을 요약하고 레시피를 정리해보세요", + url: "https://gusto-hazel.vercel.app", + }, }; export default function RootLayout({ @@ -25,7 +48,7 @@ export default function RootLayout({ children: React.ReactNode; }) { return ( - + { +// const recipe = await getRecipeById(id); +// return { title: recipe.title }; +// } + export default async function RecipePage({ params: { id } }: Props) { const recipe = await getRecipeById(id);