1+ ---
2+ title: Top Nav
3+ minver: 1.1.0
4+ also:
5+ components/topnav/test.html: Full Page Demo - Top Navigation
6+ elements/hx-navigation-control: < hx-navigation-control >
7+ ---
8+ {% extends 'component.njk' %}
9+
10+ {% block page_header %}
11+ < p >
12+ The {{page.title}} is the top navigation menu bar across all breakpoints within the application frame of a HelixUI interface.
13+ Use the {{page.title}} to provide access to globally available features, such as account settings, billing, tickets,
14+ user management and so on.
15+ </ p >
16+ {% endblock %}
17+
18+ {% block content %}
19+
20+ < section >
21+ < header >
22+ < h2 id ="icon-badge "> Nav Menu</ h2 >
23+ </ header >
24+
25+ < div id ="vue-topNavDemo ">
26+ < div id ="hxTopNav ">
27+ < a class ="img-left brand-logo " href ="# "> < img src ="images/helix-logo.svg " alt ="Logo " /> </ a >
28+ < div class ="productMenu ">
29+ < hx-disclosure id ="topnav-productMenu " aria-controls ="topnavProductDropdown " role ="button "
30+ aria-expanded ="true " class ="disabled ">
31+ < span > Select a Product</ span >
32+ < hx-icon class ="hxPrimary " type ="angle-down "> </ hx-icon >
33+ </ hx-disclosure >
34+ < hx-menu id ="topnavProductDropdown ">
35+ < div class ="sectionHeader ">
36+ < hx-menuitem role ="menuitem "> Product Alpha</ hx-menuitem >
37+ < hx-menuitem role ="menuitem "> Product Beta Services</ hx-menuitem >
38+ < hx-menuitem role ="menuitem "> Product Charlie Service Offering</ hx-menuitem >
39+ </ div >
40+ </ hx-menu >
41+ </ div >
42+ < div id ="right-menu ">
43+ < a >
44+ < a href ="# " @click ="selectedTag(tab) " :current-tab ="currentTab ">
45+ < hx-icon type ="bell "> </ hx-icon >
46+ < p > Notifications</ p >
47+ </ a >
48+
49+ < a href ="# " class ="selected ">
50+ < hx-icon type ="ticketing "> </ hx-icon >
51+ < p > Tickets</ p >
52+ </ a >
53+
54+ < a href ="# ">
55+ < hx-icon type ="support "> </ hx-icon >
56+ < p > Support</ p >
57+ </ a >
58+
59+ < a href ="# " class ="disabled " id ="billing ">
60+ < hx-icon type ="billing "> </ hx-icon >
61+ < p > Billing</ p >
62+ < hx-tooltip for ="billing " position ="bottom-center ">
63+ You do not have access to this area. Contact an account admin in your organization to request access to
64+ this item.
65+ </ hx-tooltip >
66+ </ a >
67+
68+ < a href ="# ">
69+ < hx-icon type ="account "> </ hx-icon >
70+ < p > Account</ p >
71+ </ a >
72+ </ a >
73+ < div class ="straightLine "> </ div >
74+ < div >
75+ < hx-disclosure id ="topnav-menu " aria-controls ="topnavMenuId " role ="button " aria-expanded ="true "
76+ class ="disabled ">
77+ < span > Jane User</ span >
78+ < hx-icon class ="hxPrimary " type ="angle-down "> </ hx-icon >
79+ </ hx-disclosure >
80+ < hx-menu id ="topnavMenuId " position ="bottom-end ">
81+ < div class ="sectionHeader ">
82+ < hx-menuitem role ="menuitem " class ="menuKey "> Account Number :</ hx-menuitem >
83+ < hx-menuitem role ="menuitem " class ="menuValue "> 12345678</ hx-menuitem >
84+ </ div >
85+ < hr class ="divider ">
86+ < div class ="sectionBody ">
87+ < hx-menuitem role ="menuitem " class ="menuValue "> My Profile & Settings</ hx-menuitem >
88+ </ div >
89+ < hr class ="divider ">
90+ < div class ="sectionFooter ">
91+ < button class ="hxBtn "> Log Out </ button >
92+ </ div >
93+ </ hx-menu >
94+ </ div >
95+ </ div >
96+ </ div >
97+
98+ < footer >
99+ < pre > < code v-text ="snippet "> </ code > </ pre >
100+ </ footer >
101+ </ div >
102+ </ section >
103+ {% endblock %}
0 commit comments