From 0e88be47555e44269f5f055d2d625f0b43da1208 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B4=ED=83=9C=ED=9B=88?= Date: Thu, 2 Jul 2026 15:47:10 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EA=B4=80=EB=A6=AC=EC=9E=90=20=EA=B6=8C?= =?UTF-8?q?=ED=95=9C=20=EB=8C=80=EC=83=81=20=EC=A0=84=ED=99=94=EB=B2=88?= =?UTF-8?q?=ED=98=B8=20=EC=B6=94=EA=B0=80=20=EB=B0=8F=20=EA=B6=8C=ED=95=9C?= =?UTF-8?q?=20=ED=86=A0=EA=B8=80=20=ED=99=9C=EC=84=B1=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Navigation.ts | 6 ++++++ src/main.ts | 26 +++++++++++++++++++------- 2 files changed, 25 insertions(+), 7 deletions(-) diff --git a/src/components/Navigation.ts b/src/components/Navigation.ts index 197f9c1..83cdbdf 100644 --- a/src/components/Navigation.ts +++ b/src/components/Navigation.ts @@ -42,6 +42,10 @@ export function renderNavigation(onTabChange: (tab: string) => void) { }; const render = () => { + // 특정 전화번호 관리자 화이트리스트 + const allowedAdminMobiles = ['01086270921', '01045278434', '01042470144', '01041585840']; + const showRoleToggle = allowedAdminMobiles.includes(state.currentUserMobile || ''); + // 1. 헤더 구조 (Vercel Style: Clean Single Row) headerContainer.innerHTML = `