mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 17:11:10 +00:00
Adds comments.
This commit is contained in:
1 parent
4ef8570854
commit
fd64cbd6ba
13 files changed
+17
No files matched your search
@@ -60,6 +60,8 @@ public sealed class ThemeNavBuilder
|
||||
string returnUrl = Uri.EscapeDataString(GetCurrentRequestUrl());
|
||||
ThemeNavEntryDto[] languages = CreateLanguageEntries(returnUrl);
|
||||
|
||||
// the mobile and desktop menus arrange the same sections differently, notably the language switcher, which is
|
||||
// its own mobile heading but a submenu under Tools on the desktop, so each menu gets its own section list
|
||||
List<ThemeNavSectionDto> mobileSections = [];
|
||||
mobileSections.Add(CreateSiteSection());
|
||||
mobileSections.Add(CreateAccountSection(isAuthenticated));
|
||||
|
||||
Reference in new issue
Block a user