From b5802bc398cc3a71e023bdd99a6dd0b8b1abef60 Mon Sep 17 00:00:00 2001 From: motaju Date: Wed, 15 Oct 2025 12:50:05 +0000 Subject: [PATCH] =?UTF-8?q?=EC=A6=88=EA=B8=88=20=EB=8D=94=20=EC=95=88?= =?UTF-8?q?=EC=A0=95=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/NavBar.tsx | 19 +++++++++++-------- app/globals.css | 1 + app/page.tsx | 30 +++++++++++++++++++----------- public/everfactory.mp4 | Bin 0 -> 3179474 bytes 4 files changed, 31 insertions(+), 19 deletions(-) create mode 100644 public/everfactory.mp4 diff --git a/app/components/NavBar.tsx b/app/components/NavBar.tsx index 96b02ba..bb4beb4 100644 --- a/app/components/NavBar.tsx +++ b/app/components/NavBar.tsx @@ -1,6 +1,8 @@ +"use client"; import Link from 'next/link'; import Image from 'next/image'; import { signOut } from "next-auth/react"; +import { usePathname } from 'next/navigation'; interface NavBarProps { isOpen: boolean; @@ -9,6 +11,7 @@ interface NavBarProps { } const NavBar: React.FC = ({ isOpen, setIsOpen, user }) => { + const pathname = usePathname(); return (