admin 권한설정 완료, 교육과정 작업중1

This commit is contained in:
2025-11-19 01:41:27 +09:00
parent aca6fa93ea
commit e768f267d3
12 changed files with 962 additions and 118 deletions

View File

@@ -18,7 +18,7 @@ export default function NavBar() {
const userMenuRef = useRef<HTMLDivElement | null>(null);
const userButtonRef = useRef<HTMLButtonElement | null>(null);
const hideCenterNav = /^\/[^/]+\/review$/.test(pathname);
const isAdminPage = pathname.startsWith('/admin-id');
const isAdminPage = pathname.startsWith('/admin');
useEffect(() => {
if (!isUserMenuOpen) return;