From 9706fc6c381a015352f5e6bee81ee20e6e82596b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=98=88=EB=8F=84?= Date: Fri, 27 Dec 2024 15:01:57 +0900 Subject: [PATCH 1/7] =?UTF-8?q?=F0=9F=92=84=20=EC=9C=84=ED=82=A4=ED=8E=98?= =?UTF-8?q?=EC=9D=B4=EC=A7=80,=20=ED=94=84=EB=A1=9C=ED=95=84=20=EB=94=94?= =?UTF-8?q?=EC=9E=90=EC=9D=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/UserProfile.tsx | 10 +++++----- components/wiki.page/Contents.tsx | 26 ++++++++++++++------------ pages/wiki/[code].tsx | 2 +- 3 files changed, 20 insertions(+), 18 deletions(-) diff --git a/components/UserProfile.tsx b/components/UserProfile.tsx index 68f8d60..a0e4087 100644 --- a/components/UserProfile.tsx +++ b/components/UserProfile.tsx @@ -52,7 +52,7 @@ function UserProfile({ } return ( -

+

{label} {data[field]}

@@ -61,14 +61,14 @@ function UserProfile({ return ( // 메인 컨테이너 -
+
{/* 레이아웃 컨테이너: PC에서는 세로, 모바일/태블릿에서는 가로 배치 */}
{/* 프로필 이미지 섹션 */}
{/* 이미지 업로드 버튼 */} diff --git a/components/Menu.tsx b/components/Menu.tsx index a2d738f..207182a 100644 --- a/components/Menu.tsx +++ b/components/Menu.tsx @@ -14,7 +14,7 @@ interface MenuProps { export default function Menu({ options, onSelect, menuSize }: MenuProps) { return (
    {options.map((option, index) => ( From 8046f8647ecdad11c2d6dd8b88f8fafdedfde418 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=98=88=EB=8F=84?= Date: Fri, 27 Dec 2024 15:30:59 +0900 Subject: [PATCH 4/7] =?UTF-8?q?=F0=9F=92=84=20=EB=A9=94=EB=89=B4=20?= =?UTF-8?q?=EC=95=A1=ED=8B=B0=EB=B8=8C=20=EB=94=94=EC=9E=90=EC=9D=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Headers/GNB.tsx | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/components/Headers/GNB.tsx b/components/Headers/GNB.tsx index fe9b812..e1a3ba0 100644 --- a/components/Headers/GNB.tsx +++ b/components/Headers/GNB.tsx @@ -1,12 +1,25 @@ import Link from 'next/link'; +import { useRouter } from 'next/router'; export default function GNB() { + const router = useRouter(); + + // 특정 페이지에 따라 스타일 변경 + const isWikiListPage = router.pathname === '/wikilist'; + const isBoardsPage = router.pathname === '/boards'; + return (
    - + 위키목록 - + 자유게시판
    From aaf7e73e68450273aa5a41554e370eb2a0c754b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=98=88=EB=8F=84?= Date: Fri, 27 Dec 2024 16:34:17 +0900 Subject: [PATCH 5/7] =?UTF-8?q?=F0=9F=92=84=20=EB=93=9C=EB=A1=AD=EB=8B=A4?= =?UTF-8?q?=EC=9A=B4=20=ED=8E=98=EC=9D=B4=EB=93=9C=EC=9D=B8=20=EC=95=A0?= =?UTF-8?q?=EB=8B=88=EB=A9=94=EC=9D=B4=EC=85=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Menu.tsx | 3 ++- tailwind.config.ts | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/components/Menu.tsx b/components/Menu.tsx index 207182a..8be8d22 100644 --- a/components/Menu.tsx +++ b/components/Menu.tsx @@ -12,9 +12,10 @@ interface MenuProps { */ export default function Menu({ options, onSelect, menuSize }: MenuProps) { + const fadeIn = 'pc:animate-pcFadeIn tamo:animate-tamoFadeIn'; return (
      {options.map((option, index) => (