When you create a new Communication site or register a site as a hub, SharePoint also creates a navigation menu toward the top of the site. You can use the Global Navigation menu to help your site's users quickly browse to different areas in your site.
In this recipe, we will learn how to modify the Global Navigation in a site in order to add a new header and sublink menu items.