전체적인 리팩토링

This commit is contained in:
2026-03-12 09:26:27 +09:00
parent 406af7408a
commit e51d767878
97 changed files with 13651 additions and 363 deletions

View File

@@ -13,6 +13,9 @@ import { SessionTimer } from "@/features/auth/components/session-timer";
import { cn } from "@/lib/utils";
import { Logo } from "@/features/layout/components/Logo";
import { MarketIndices } from "@/features/layout/components/market-indices";
interface HeaderProps {
/** 현재 로그인 사용자 정보(null 가능) */
user: User | null;
@@ -59,7 +62,6 @@ export function Header({
: "",
)}
>
{/* ========== LEFT: LOGO SECTION ========== */}
{/* ========== LEFT: LOGO SECTION ========== */}
<Link href={AUTH_ROUTES.HOME} className="group flex items-center gap-2">
<Logo
@@ -69,6 +71,13 @@ export function Header({
/>
</Link>
{/* ========== CENTER: MARKET INDICES ========== */}
{!blendWithBackground && user && (
<div className="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2">
<MarketIndices />
</div>
)}
{/* ========== RIGHT: ACTION SECTION ========== */}
<div
className={cn(
@@ -141,3 +150,4 @@ export function Header({
</header>
);
}