diff --git a/app/views/components/sidebar.rb b/app/views/components/sidebar.rb index b7e7892..6cfeb8b 100644 --- a/app/views/components/sidebar.rb +++ b/app/views/components/sidebar.rb @@ -10,16 +10,18 @@ def view_template div class: "h-4" Menu do |menu| - menu.item do - menu.submenu :collapsible, :open do |submenu| + menu.item do |item| + item.submenu :collapsible, :open do |submenu| submenu.title { "Docs" } submenu.item do link_to "Installation", docs_path(:installation) end end + end - menu.submenu :collapsible, :open do |submenu| + menu.item do |item| + item.submenu :collapsible, :open do |submenu| submenu.title { "Components" } Category.all.each do |category|