diff --git a/app/views/layouts/tailwind.html.erb b/app/views/layouts/tailwind.html.erb index a241bcf6..be5eb7fd 100644 --- a/app/views/layouts/tailwind.html.erb +++ b/app/views/layouts/tailwind.html.erb @@ -38,10 +38,10 @@ - > + > - + <% if @universe_scope %> <%= link_to main_app.multiverse_path, class: "flex items-center px-3 py-2 hover:bg-gray-50 border-b border-gray-100" do %> @@ -71,7 +71,7 @@ <% end %> - + <% end %> <%= link_to '#new-analysis-onboarding', class: "flex items-center px-2 sm:px-4 py-2 cursor-pointer group rounded-l-full transition #{'bg-notebook-blue text-white' if current_page?('#new-analysis-onboarding')} hover:bg-notebook-blue hover:text-white" do %> - <%= DocumentAnalysis.icon %> - Analysis + <%= DocumentAnalysis.icon %> + Analysis @@ -169,36 +169,38 @@ - <%= link_to main_app.stream_path, class: "flex items-center px-2 sm:px-4 py-2 cursor-pointer group rounded-l-full transition #{'bg-notebook-blue text-white' if current_page?(main_app.stream_path)} hover:bg-notebook-blue hover:text-white" do %> - ballot - Activity - - 0 - - <% end %> - <%= link_to main_app.page_collections_path, class: "flex items-center px-2 sm:px-4 py-2 cursor-pointer group rounded-l-full transition #{'bg-notebook-blue text-white' if current_page?(main_app.page_collections_path)} hover:bg-notebook-blue hover:text-white" do %> - <%= PageCollection.icon %> - Collections - - 0 + <%= PageCollection.icon %> + Collections + + <%= @current_user_content.fetch('PageCollection', []).count %> <% end %> <%= link_to main_app.thredded_path, class: "flex items-center px-2 sm:px-4 py-2 cursor-pointer group rounded-l-full transition #{'bg-notebook-blue text-white' if current_page?(main_app.thredded_path)} hover:bg-notebook-blue hover:text-white" do %> - forum - Discussions - + forum + Discussions + 0 <% end %> + + <%= link_to main_app.stream_path, class: "flex items-center px-2 sm:px-4 py-2 cursor-pointer group rounded-l-full transition #{'bg-notebook-blue text-white' if current_page?(main_app.stream_path)} hover:bg-notebook-blue hover:text-white" do %> + ballot + Activity + + <% end %> - - arrow_left - Hide Sidebar + + arrow_left + Hide Sidebar @@ -208,11 +210,11 @@ <% end %> - :class="{ 'ml-48 sm:ml-56': showSidebar }"<% end %> class="transition-all duration-300"> + :class="{ 'ml-56 sm:ml-64 lg:ml-56': showSidebar }"<% end %> class="transition-all duration-300"> <%= yield %> -