forked from cake-way/next-vote-20th
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
7,399 additions
and
3,437 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,4 @@ const nextConfig = { | |
}, | ||
}; | ||
|
||
export default nextConfig; | ||
module.exports = nextConfig; // CommonJS 방식으로 수정 |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// src/app/layout.tsx | ||
|
||
import React, { ReactNode } from "react"; | ||
import Head from "next/head"; // 페이지 메타데이터 설정 | ||
|
||
// 페이지 컴포넌트에서 children을 렌더링할 수 있도록 하는 레이아웃 컴포넌트 | ||
type LayoutProps = { | ||
children: ReactNode; | ||
}; | ||
|
||
const Layout: React.FC<LayoutProps> = ({ children }) => { | ||
return ( | ||
<> | ||
{/* Head 컴포넌트에서 title, meta 태그 등을 설정 */} | ||
<Head> | ||
<title>로그인 페이지</title> | ||
</Head> | ||
|
||
{children} | ||
</> | ||
); | ||
}; | ||
|
||
export default Layout; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.