Skip to content

Commit

Permalink
Fix: metadaの指定方法を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
su-u committed Dec 10, 2023
1 parent 1102c9e commit 724db41
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
import { Analytics } from '@vercel/analytics/react';
import Head from 'next/head';
import type { Metadata } from 'next';
import React from 'react';
import 'rsuite/dist/rsuite.min.css';
import '@/styles/globals.scss';
import '@/styles/rs-custom.globals.scss';
import { Provider } from '@/app/Provider';
import GoogleAnalytics from '@/components/common/GoogleAnalytics';

const METADATA = {
export const metadata: Metadata = {
title: 'Dev Toolkit',
description: 'Web utility tools for developers',
author: 'su-u',
authors: {
name: 'su-u',
},
};

export default function RootLayout({ children }: { children: React.ReactNode }) {
Expand All @@ -20,13 +23,10 @@ export default function RootLayout({ children }: { children: React.ReactNode })
return (
<html lang="ja">
<Head>
<title>{METADATA.title}</title>
<meta
name="google-site-verification"
content="XbfQBUU8iwwFG0-q5UtR_Rde1UfvDzdspEHt2tPs-Uw"
/>
<meta name="description" content={METADATA.description} />
<meta name="author" content={METADATA.author} />
<GoogleAnalytics />
</Head>
<body className={className}>
Expand Down

0 comments on commit 724db41

Please sign in to comment.