Overhaul navigation menus #2206
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Also update font-awesome from 4.7 to 5.15.
The goal of this PR is to organize better the navigation menu that appears at the top of the pages. In summary, we have three main submenus: “Learn” contains pages useful to read when you learn Scala, “Tutorials” contains copy-pastable recipes to create Scala applications in a specific way, and “Reference” contains pages useful when you use Scala. Here are a series of screenshots that explain the changes.
Scala 2 navigation menu
Before:
After:
Scala 2 “Learn” submenu
Before:
After:
Scala 2 “Tutorials” submenu
Before: no “Tutorials” submenu
After:
Scala 2 “Reference” submenu
Before:
After:
Scala 3 navigation menu
Before:
After:
Scala 3 “Learn” submenu
Before:
After:
Scala 3 “Reference” submenu
Before: no submenu, the Reference item linked to the “Scala 3 Reference”.
After:
Landing page
I changed the landing page to organize its content in a way that is consistent with the way things are organized in the navigation menus.
Before:
After: