diff --git a/src/components/site-header/hy-desktop-menu-links/hy-desktop-menu-links.tsx b/src/components/site-header/hy-desktop-menu-links/hy-desktop-menu-links.tsx index dfbdf8615f10280316ed84142e0c0f2872ec917d..56b992d8da68f95e91233c9e9b505f604ca44974 100644 --- a/src/components/site-header/hy-desktop-menu-links/hy-desktop-menu-links.tsx +++ b/src/components/site-header/hy-desktop-menu-links/hy-desktop-menu-links.tsx @@ -1,9 +1,17 @@ +export interface ShortcutLinks { + shortcut_title: string; + shortcut_url: string; + shortcut_is_external: string; + shortcut_aria_label: string; +} + export interface DesktopLinks { label: string; url: string; description: string; menuLinkId: string; items: Array<DesktopLinks>; + shortcuts: Array<ShortcutLinks>; } import {ColorVariant} from '../../../utils/utils'; @@ -115,6 +123,8 @@ export class HyDesktopMenuLinks { <nav role={'navigation'}> {this._dataDesktopLinks && this._dataDesktopLinks.map((link) => { + console.log(link.label); + console.log(link.shortcuts); return ( <ul class={'desktop-menu first'} menu-link-id={link.menuLinkId}> <li class={'first'}>