From 145bc190e3e3fe03593d90a17f33c2a8f9f4129e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=BF=94?= Date: Thu, 30 Apr 2026 19:56:57 +0800 Subject: [PATCH] fix: update constants.ts barrel export and fix MegaDropdownData type safety --- src/components/layout/header.tsx | 2 +- src/lib/constants.ts | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/components/layout/header.tsx b/src/components/layout/header.tsx index 9e04d23..5628907 100644 --- a/src/components/layout/header.tsx +++ b/src/components/layout/header.tsx @@ -183,7 +183,7 @@ function HeaderContent() { setOpenDropdown(openDropdown === item.id ? null : item.id)} /> diff --git a/src/lib/constants.ts b/src/lib/constants.ts index 6135e93..81b25ce 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -1,7 +1,12 @@ export { COMPANY_INFO, NAVIGATION, + NAVIGATION_V2, + MEGA_DROPDOWN_DATA, type NavigationItem, + type NavigationItemV2, + type MegaDropdownItem, + type MegaDropdownData, STATS, type StatItem, SERVICES, @@ -10,4 +15,8 @@ export { type NewsItem, type NewsCategory, CASES, + TEAM_MEMBERS, + type TeamMember, + METHODOLOGY, + type MethodologyPhase, } from './constants/index';