From 6b773dfe2899397e21115af4200410822dc75f7c Mon Sep 17 00:00:00 2001 From: hagaitski Date: Sun, 11 Aug 2024 16:09:56 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=AA=E3=83=96=E3=82=B8=E3=82=A7=E3=82=AF?= =?UTF-8?q?=E3=83=88=E3=81=A7=E5=AE=9A=E7=BE=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/layout.tsx | 39 +++++++++++++++++---------------------- 1 file changed, 17 insertions(+), 22 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 2139d96d..f79270ff 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -4,12 +4,28 @@ import { ReactQueryContextProvider } from "@/common/context/ReactQueryContextPro import { brand } from "@/common/texts"; import { Toast } from "@/components/toast"; import { SpeedInsights } from "@vercel/speed-insights/next"; +import { Metadata } from "next"; import Script from "next/script"; import { Layout } from "../components/layout"; -export const metadata = { +export const metadata: Metadata = { title: `${brand.serviceName}(${brand.serviceNickname}) - ${brand.serviceDescription}`, description: brand.serviceDescriptionLong, + openGraph: { + title: `${brand.serviceName}(${brand.serviceNickname}) - ${brand.serviceDescription}`, + description: brand.serviceDescriptionLong, + siteName: brand.serviceName, + url: brand.origin, + type: "website", + images: `${brand.origin}/card.png`, + }, + twitter: { + card: "summary", + images: `${brand.origin}/card_square.png`, + }, + verification: { + google: "toLriA_msPJP10377YaTkJyFwrtjpZUR9NqyWeug61s", + }, }; export default function RootLayout({ @@ -22,27 +38,6 @@ export default function RootLayout({ - - - - - - - - -