<% sidebar.with_brand(url: dashboard_path) { "KIQR" } %> <% sidebar.with_navigation(grow: true) do |navbar| %> <% navbar.with_link(url: dashboard_path, icon: "fa fa-home", active: current_base_path?(dashboard_path)) { "Dashboard" } %> <% end %> <% sidebar.with_navigation do |navbar| %> <% navbar.with_link(url: "#", icon: "fa fa-question-circle") { "Support" } %> <% navbar.with_link(url: user_settings_profile_path, icon: "fa fa-gear", active: current_base_path?(user_settings_profile_path.gsub("/profile", ""))) { "Settings" } %> <% navbar.with_link(url: account_settings_profile_path, icon: "fa fa-users", active: current_base_path?(account_settings_profile_path.gsub("/profile", ""))) { "Team settings" } if current_account&.team? %> <% navbar.with_link(url: destroy_user_session_path, icon: "fa fa-right-from-bracket", method: :delete) { "Sign out" } %> <% end %> <% if current_user.onboarded? %> <% sidebar.with_section do %> <%= render "kiqr/shared/account_switcher" %> <% end %> <% end %>