Skip to content

Commit

Permalink
Google Search Consoleと構造化データを登録
Browse files Browse the repository at this point in the history
  • Loading branch information
MurakawaTakuya committed Jan 11, 2025
1 parent 37a5daa commit 739f4dd
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ export default function RootLayout({
}: Readonly<{
children: React.ReactNode;
}>) {
const structuredData = {
"@context": "https://schema.org",
"@type": "WebSite",
name: "TODO REAL",
url: "https://todo-real-c28fa.web.app/",
};

return (
<html lang="ja">
<head>
Expand Down Expand Up @@ -54,6 +61,16 @@ export default function RootLayout({
href="https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap"
rel="stylesheet"
></link>

{/* Google Searcgh Console */}
<meta
name="google-site-verification"
content="bXYLAh9xBwD_lAd7nd7CK4UoXgxmfBZFt3-Vcqjkk-4"
/>
<script
type="application/ld+json"
dangerouslySetInnerHTML={{ __html: JSON.stringify(structuredData) }}
/>
</head>
<body>
<UserProvider>
Expand Down

0 comments on commit 739f4dd

Please sign in to comment.