컴포넌트 파일은 보존하고 App.tsx 의 import + render 만 주석처리. 향후 재활성화 시 두 줄만 해제. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
20 lines
704 B
TypeScript
20 lines
704 B
TypeScript
import { Outlet, useLocation } from 'react-router';
|
|
import Navbar from './components/Navbar';
|
|
import Footer from './components/Footer';
|
|
// PageNavigator: 캡처/데모 시 화면을 가려 비활성화 (컴포넌트 자체는 보존)
|
|
// import PageNavigator from './components/PageNavigator';
|
|
|
|
export default function App() {
|
|
const location = useLocation();
|
|
const isLoadingPage = location.pathname.startsWith('/report/loading');
|
|
|
|
return (
|
|
<div className="min-h-screen bg-slate-50 selection:bg-purple-200 selection:text-primary-900">
|
|
{!isLoadingPage && <Navbar />}
|
|
<Outlet />
|
|
{!isLoadingPage && <Footer />}
|
|
{/* {!isLoadingPage && <PageNavigator />} */}
|
|
</div>
|
|
);
|
|
}
|