From 45d325dfbedee17f3c00610498cbb1f0b1e894e0 Mon Sep 17 00:00:00 2001 From: caadiq Date: Sun, 19 Apr 2026 11:12:19 +0900 Subject: [PATCH] =?UTF-8?q?=ED=91=B8=ED=84=B0=20=EC=A1=B0=EA=B1=B4=20?= =?UTF-8?q?=EB=8B=A8=EC=88=9C=ED=99=94=20+=20=EC=8B=AC=EB=B3=BC=20?= =?UTF-8?q?=ED=83=80=EC=9E=85=20=EB=B0=B0=EC=A7=80=20=ED=85=8C=EB=A7=88=20?= =?UTF-8?q?=EB=8C=80=EC=9D=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 푸터를 홈 경로에서만 렌더링 (!fullscreen → isHome) 이동 시 푸터가 잠깐 보였다 사라지는 플래시 제거 - 심볼 관리 타입 배지(아케인/어센틱/그랜드 어센틱) 테마별 토큰화 라이트 모드에서 violet/sky/amber-300이 흰 배경에 안 보이던 문제 해결 - 계산기 페이지의 fullscreen 훅을 useLayoutEffect로 변경 Co-Authored-By: Claude Opus 4.7 (1M context) --- frontend/src/components/Layout.jsx | 5 +++- .../src/features/boss-crystal/BossCrystal.jsx | 4 +-- .../src/features/liberation/Liberation.jsx | 4 +-- frontend/src/features/symbol/Symbol.jsx | 4 +-- .../src/features/symbol/admin/SymbolList.jsx | 27 ++++++++++++++----- frontend/src/index.css | 20 ++++++++++++++ 6 files changed, 51 insertions(+), 13 deletions(-) diff --git a/frontend/src/components/Layout.jsx b/frontend/src/components/Layout.jsx index 34d668a..7fb7c2e 100644 --- a/frontend/src/components/Layout.jsx +++ b/frontend/src/components/Layout.jsx @@ -206,12 +206,15 @@ function HomeLinkButton() { } export default function Layout() { + const location = useLocation() const [fullscreen, setFullscreen] = useState(false) const [loginOpen, setLoginOpen] = useState(false) const isAdmin = !!useMatch('/admin/*') const homeTo = isAdmin ? '/admin' : '/' const theme = useThemeStore((s) => s.theme) + const isHome = location.pathname === '/' + useEffect(() => { const root = document.documentElement if (theme === 'light') root.setAttribute('data-theme', 'light') @@ -256,7 +259,7 @@ export default function Layout() { }`}> - {!fullscreen &&