<%= render SidenavLinkComponent.new( name: "Profile", path: setting_path(:profile), icon: "user", active: current_page?(setting_path(:profile)) ) %> <%= render SidenavLinkComponent.new( name: "Account", path: setting_path(:account), icon: "key", active: current_page?(setting_path(:account)) ) %> <% if Setting.ejabberd_enabled %> <%= render SidenavLinkComponent.new( name: "Chat", path: setting_path(:xmpp), icon: "message-circle", active: current_page?(setting_path(:xmpp)) ) %> <% end %> <% if Setting.lndhub_enabled %> <%= render SidenavLinkComponent.new( name: "Wallet", path: setting_path(:lightning), icon: "zap", active: current_page?(setting_path(:lightning)) ) %> <% end %>