From e2d6f62d42d6969f4bbad2f50c3e7fa22dcf781b Mon Sep 17 00:00:00 2001 From: JaeguJaegu <118053865+SunwooJaeho@users.noreply.github.com> Date: Mon, 23 Dec 2024 01:51:01 +0900 Subject: [PATCH] feat: professor layout --- apps/community/src/app/member/professor/layout.tsx | 13 +++++++++++++ apps/community/src/app/member/professor/page.tsx | 5 ----- 2 files changed, 13 insertions(+), 5 deletions(-) create mode 100644 apps/community/src/app/member/professor/layout.tsx diff --git a/apps/community/src/app/member/professor/layout.tsx b/apps/community/src/app/member/professor/layout.tsx new file mode 100644 index 0000000..a9b00f7 --- /dev/null +++ b/apps/community/src/app/member/professor/layout.tsx @@ -0,0 +1,13 @@ +import type { Metadata } from 'next'; + +export const metadata: Metadata = { + title: '교수진 소개 - 경기대학교 AI컴퓨터공학부', + description: '경기대학교 소프트웨어경영대학 AI컴퓨터공학부 공식 홈페이지', +}; +export default function ProfessorLayout({ + children, +}: Readonly<{ + children: React.ReactNode; +}>) { + return children; +} diff --git a/apps/community/src/app/member/professor/page.tsx b/apps/community/src/app/member/professor/page.tsx index 1236807..45109dc 100644 --- a/apps/community/src/app/member/professor/page.tsx +++ b/apps/community/src/app/member/professor/page.tsx @@ -9,11 +9,6 @@ import { getQueryClient } from '~/utils/get-query-client'; import { ProfessorList } from '~/components/member/professor/professor-list'; import { PageHeader } from '~/components/page-header'; -export const metadata: Metadata = { - title: '교수진 소개 - 경기대학교 AI컴퓨터공학부', - description: '경기대학교 소프트웨어경영대학 AI컴퓨터공학부 공식 홈페이지', -}; - export default async function ProfessorPage() { const queryClient = getQueryClient();