From de2ac5a2860bc25180971e7a11f852d9d44675b7 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Wed, 6 Aug 2025 04:23:40 +0000
Subject: (대표님) 정기평가, 법적검토, 정책, 가입관련 처리 및 관련 컴포넌트
 추가, 메뉴 변경
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 components/layout/Header.tsx | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

(limited to 'components/layout/Header.tsx')

diff --git a/components/layout/Header.tsx b/components/layout/Header.tsx
index 0e9e2abe..68db1426 100644
--- a/components/layout/Header.tsx
+++ b/components/layout/Header.tsx
@@ -23,7 +23,7 @@ import {
     navigationMenuTriggerStyle,
 } from "@/components/ui/navigation-menu";
 import { SearchIcon, BellIcon, Menu } from "lucide-react";
-import { useParams, usePathname } from "next/navigation";
+import { useParams, usePathname, useSearchParams  } from "next/navigation";
 import { cn } from "@/lib/utils";
 import Image from "next/image";
 import { 
@@ -311,4 +311,13 @@ const ListItem = React.forwardRef<
         </li>
     );
 });
-ListItem.displayName = "ListItem";
\ No newline at end of file
+ListItem.displayName = "ListItem";
+
+export function RouteLogger() {
+    const path = usePathname();
+    const qs   = useSearchParams().toString();
+    React.useEffect(() => {
+      console.log("[URL]", path + (qs ? "?" + qs : ""));
+    }, [path, qs]);
+    return null;
+  }
\ No newline at end of file
-- 
cgit v1.2.3

