@@ -56,6 +56,7 @@ html data-theme="light"
5656 span .mobile-nav-label Menu
5757 i .fa-solid .fa-caret-down
5858 .mobile-nav-menu data-action =" click->sidebar#closeMenuOnNavigate"
59+ = render " shared/theme_control" , extra_class: " mobile-nav-theme-control" , show_label: true
5960 = link_to " Topics" , topics_path, class : " nav-link"
6061 - if user_signed_in?
6162 - icon_class = starred_active ? " fa-solid fa-star" : " fa-regular fa-star"
@@ -101,6 +102,7 @@ html data-theme="light"
101102 - if user_signed_in?
102103 - if current_user&.person&.default_alias
103104 = link_to current_user.person.default_alias.name, person_path(current_user.person.default_alias.email), class : " nav-link nav-user"
105+ = render " shared/theme_control" , extra_class: " nav-theme-control" , show_label: false
104106 - unread = activity_unread_count
105107 = link_to activities_path, class : " nav-link nav-link-activity" , title: " Activity" do
106108 i .fa-regular .fa-bell
@@ -109,6 +111,7 @@ html data-theme="light"
109111 - else
110112 = link_to " Sign in" , new_session_path, class : " nav-link"
111113 = link_to " Register" , new_registration_path, class : " nav-link"
114+ = render " shared/theme_control" , extra_class: " nav-theme-control" , show_label: false
112115 details .nav-overflow-dropdown data-controller =" nav-dropdown"
113116 summary .nav-link .nav-overflow-toggle aria-label =" Menu" data-action =" click->sidebar#closeMenuOnNavigate"
114117 i .fa-solid .fa-bars
0 commit comments