generated from adobe/aem-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MWPW-158932] - Add support for custom links through link group in pa…
…rallel to large menu. (#2942) * Add support for custom links through link group in parallet to large menu * Added UT for the changes * lint fixes * Bug fix mwpw-159018 * Bug fix mwpw-159018 * Bug fix mwpw-159018
- Loading branch information
Showing
7 changed files
with
120 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
62 changes: 62 additions & 0 deletions
62
test/blocks/global-navigation/mocks/navigation-with-custom-links.plain.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
export default `<body><div> | ||
<div class="gnav-brand logo"> | ||
<div> | ||
<div><a href="https://www.adobe.com/">Adobe</a></div> | ||
</div> | ||
</div> | ||
</div> | ||
<div> | ||
<div class="large-menu section"> | ||
<div> | ||
<div> | ||
<h2 id="creativity--design"><a href="/federal/globalnav/acom/sections/section-menu-cc.html">Creativity & Design</a></h2> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div> | ||
<div class="large-menu section"> | ||
<div> | ||
<div> | ||
<h2 id="pdf--e-signatures"><a href="/federal/globalnav/acom/sections/section-menu-dc.html">PDF & E-signatures</a></h2> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div> | ||
<div class="large-menu section"> | ||
<div> | ||
<div> | ||
<h2 id="marketing--commerce"><a href="/federal/globalnav/acom/sections/section-menu-dx.html">Marketing & Commerce</a></h2> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div> | ||
<div class="large-menu section"> | ||
<div> | ||
<div> | ||
<h2 id="help--support"><a href="/federal/globalnav/acom/sections/section-menu-help.html">Help & Support</a></h2> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div> | ||
<div class="link-group mobile-only"> | ||
<div> | ||
<div> | ||
<h2 id="home"><a href="https://www.google.com/#_home">Home</a></h2> | ||
<h2 id="apps"><a href="https://www.google.com/#_apps">Apps</a></h2> | ||
<h2 id="learn"><a href="https://www.google.com/#_learn">Learn</a></h2> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div> | ||
<div class="profile"> | ||
<div> | ||
<div></div> | ||
</div> | ||
</div> | ||
</div> | ||
</body>`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters