Skip to content

Commit

Permalink
Title 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaeyeon1 committed Nov 29, 2023
1 parent 92f4323 commit 1683f42
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions client/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,19 @@ import Header from '@/components/Layout/Header';
import FullLayout from '@/components/Layout/FullLayout';
import { usePathname } from 'next/navigation';
import { SnackbarProvider } from 'notistack';
import Head from 'next/head';
import { Metadata } from 'next';

export const metadata: Metadata = {
title: 'GLOG',
description: '블로그를 작성해보세요!',
};

export default function RootLayout(props: { children: ReactNode }) {
const { children } = props;
const pathname = usePathname();

return (
<html lang="en">
<Head>
<title>GLOG</title>
<meta name="description" content="NextJS Events" />
<meta name="viewport" content="initial-scale=1.0, width=device-width" />
<meta name="description" content="블로그를 작성해보세요!" />
</Head>
<body>
<Recoil>
<SnackbarProvider>
Expand Down

0 comments on commit 1683f42

Please sign in to comment.