feat. header 컴포넌트 반응형 제작
This commit is contained in:
@@ -116,6 +116,8 @@ export interface GameDataButton {
|
||||
button: string // JSON 문자열로 변경
|
||||
}
|
||||
|
||||
export type GameDataMenuChildren = Record<string, GameDataMenu>
|
||||
|
||||
// 메뉴 타입
|
||||
export interface GameDataMenu {
|
||||
path_code: string
|
||||
@@ -125,7 +127,7 @@ export interface GameDataMenu {
|
||||
click_action_type: number
|
||||
url_path: string
|
||||
link_target: string
|
||||
children: Record<string, GameDataMenu> // 중첩 메뉴를 위한 children 속성 추가
|
||||
children: GameDataMenuChildren
|
||||
tracking: string | GameDataTracking // JSON 문자열 또는 객체로 변경
|
||||
}
|
||||
|
||||
@@ -136,7 +138,7 @@ export interface GameDataGnb {
|
||||
bi_path: string
|
||||
lang_codes: string // JSON 문자열로 변경
|
||||
buttons: GameDataButton[]
|
||||
menus: Record<string, GameDataMenu> // 동적 객체로 변경
|
||||
menus: GameDataMenuChildren
|
||||
}
|
||||
|
||||
// 인트로 타입
|
||||
|
||||
@@ -10,6 +10,7 @@ export interface ListOperateGroupItem {
|
||||
url: string
|
||||
link_target: string
|
||||
display_status: number
|
||||
reg_dt?: number
|
||||
option01: number
|
||||
option02: number
|
||||
option03: string
|
||||
|
||||
Reference in New Issue
Block a user