Requirements
# | Title | Description |
---|---|---|
1 | Global | This is a global component and should be present on all pages. |
2 | Logo & Link | The Logo & Link will be CMS manageable. |
3 | Top Nav | The following items are present in the top nav:
|
4 | Main Nav | The main nav is comprised of 5 links; each section title links directly to the corresponding landing page, and can also display child pages on hover:
|
5 | Search | Clicking on the magnifying glass icon pops open a site wide search field. Users can then enter search terms and click enter or click on the inline search icon again to execute the search and display the search results page. Clicking the 'x' will cause the search field to close. |
6 | Dropdown Hover State | The vertical drop - down state with the options below:
|
7 | Hamburger Menu - Desktop | The hamburger menu will display the following utility links:
Button:
Social media Icons:
Clicking the "x" will collapse the hamburger menu. |
8 | Hamburger Menu - Mobile | On mobile, all main level links & sublinks will display. In other words, if a user clicks on "Publications & News", the system will display the pages under that menu item:
NOTE: The featured news articles will NOT display in the hamburger menu. The top nav links will transition under the hamburger menu. These links are:
These three links will render above the utility links listed in requirements #7. Button:
Social media Icons:
Clicking the "x" will collapse the hamburger menu. |
9 | Personalization requirements: | Personalization & Gated Content |
CMS Fields
# | Field Label | Field Type | Required? | Notes |
---|---|---|---|---|
1 | Main Logo | image | yes | Main Logo image for the header. |
2 | Main Nav 1 Link | general link | yes | Publications & News |
3 | Main Nav 1 Section Title 1 | single-line text | no | Text that appears in the menu drop down state as Title (Featured) |
4 | Main Nav 1 Left Column Links | links list | no | List of Links for left column. |
5 | Main Nav 1 Section Title 2 | single-line text | yes | Text that appears in the menu drop down state as Title (By Type) |
6 | Main Nav 1 Center Column Links | links list | no | List of Links for center column. |
7 | Main Nav 1 Section Title 3 | single-line text | no | Text that appears in the menu drop down state as Title (Featured News) |
8 | Main Nav 1 Right Column Links | links list | no | List of Links for right column. |
9 | Main Nav 2 Link | general link | yes | |
10 | Main Nav 2 Section 1 Title | single-line text | no | Jobs |
11 | Main Nav 2 Section 1 Links | links list | no | List of Links for first section. Maximum 3 links. |
12 | Main Nav 2 Section 2 Title | single-line text | no | Support For |
13 | Main Nav 2 Section 2 Links | links list | no | List of Links for second section. Maximum 5 links. |
14 | Main Nav 2 Section 3 Title | single-line text | no | By Type |
15 | Main Nav 2 Section 3 Links | links list | no | List of Links for third section. |
16 | Utility Nav Links | general links | for site launch: ASCE Sites (list of external sites) and Membership | |
17 | Utility Nav - Login Link | general link | ||
18 | Utility Nav - Join Link | |||
19 | Hamburger Links | link list | yes | no max |
20 | Button | link | no | includes button text and URL |
21 | Hamburger Social Media | multi-select | no | Options are: Linkedin, Facebook, Twitter, Youtube, Instagram; if not selected in CMS, icon will not display |
https://styleguide.asce.org/section-components.html#asgref-components-site-header
Mobile Header
https://styleguide.asce.org/section-components.html#asgref-components-site-header-mobile-header