use proper links

This commit is contained in:
drusepth 2022-03-22 16:27:20 -07:00
parent 2c891cd171
commit adfcb49786

View File

@ -81,7 +81,7 @@
</span>
<% end %>
<%= link_to main_app.prompts_path, class: 'flex items-center px-4 py-2 cursor-pointer group hover:bg-notebook-blue hover:text-white rounded-l-full' do %>
<%= link_to main_app.timelines_path, class: 'flex items-center px-4 py-2 cursor-pointer group hover:bg-notebook-blue hover:text-white rounded-l-full' do %>
<i class="material-icons <%= Timeline.text_color %> shrink-0 w-8 h-8 mr-2 bg-white rounded-full p-1"><%= Timeline.icon %></i>
<span class="flex-grow text-sm">Timelines</span>
<span class="bg-gray-100 rounded px-1 text-xs group-hover:bg-notebook-blue">
@ -89,7 +89,7 @@
</span>
<% end %>
<%= link_to main_app.prompts_path, class: 'flex items-center px-4 py-2 cursor-pointer group hover:bg-notebook-blue hover:text-white rounded-l-full' do %>
<%= link_to main_app.documents_path, class: 'flex items-center px-4 py-2 cursor-pointer group hover:bg-notebook-blue hover:text-white rounded-l-full' do %>
<i class="material-icons <%= Document.text_color %> shrink-0 w-8 h-8 mr-2 bg-white rounded-full p-1"><%= Document.icon %></i>
<span class="flex-grow text-sm">Documents</span>
<span class="bg-gray-100 rounded px-1 text-xs group-hover:bg-notebook-blue">
@ -97,7 +97,7 @@
</span>
<% end %>
<%= link_to main_app.prompts_path, class: 'flex items-center px-4 py-2 cursor-pointer group hover:bg-notebook-blue hover:text-white rounded-l-full' do %>
<%= link_to '#new-analysis-onboarding', class: 'flex items-center px-4 py-2 cursor-pointer group hover:bg-notebook-blue hover:text-white rounded-l-full' do %>
<i class="material-icons <%= DocumentAnalysis.text_color %> shrink-0 w-8 h-8 mr-2 bg-white rounded-full p-1"><%= DocumentAnalysis.icon %></i>
<span class="flex-grow text-sm">Analysis</span>
<span class="bg-gray-100 rounded px-1 text-xs group-hover:bg-notebook-blue">
@ -118,7 +118,7 @@
</svg>
</div>
<div x-show="expandedWritingSidebar" x-cloak class="pl-1 mb-2">
<%= link_to main_app.prompts_path, class: 'flex items-center px-4 py-2 cursor-pointer group hover:bg-notebook-blue hover:text-white rounded-l-full' do %>
<%= link_to main_app.stream_path, class: 'flex items-center px-4 py-2 cursor-pointer group hover:bg-notebook-blue hover:text-white rounded-l-full' do %>
<i class="material-icons text-purple-400 shrink-0 w-8 h-8 mr-2 bg-white rounded-full p-1">ballot</i>
<span class="flex-grow text-sm">Activity</span>
<span class="bg-gray-100 rounded px-1 text-xs group-hover:bg-notebook-blue">
@ -126,7 +126,7 @@
</span>
<% end %>
<%= link_to main_app.prompts_path, class: 'flex items-center px-4 py-2 cursor-pointer group hover:bg-notebook-blue hover:text-white rounded-l-full' do %>
<%= link_to main_app.page_collections_path, class: 'flex items-center px-4 py-2 cursor-pointer group hover:bg-notebook-blue hover:text-white rounded-l-full' do %>
<i class="material-icons <%= PageCollection.text_color %> shrink-0 w-8 h-8 mr-2 bg-white rounded-full p-1"><%= PageCollection.icon %></i>
<span class="flex-grow text-sm">Collections</span>
<span class="bg-gray-100 rounded px-1 text-xs group-hover:bg-notebook-blue">
@ -134,7 +134,7 @@
</span>
<% end %>
<%= link_to main_app.prompts_path, class: 'flex items-center px-4 py-2 cursor-pointer group hover:bg-notebook-blue hover:text-white rounded-l-full' do %>
<%= link_to main_app.thredded_path, class: 'flex items-center px-4 py-2 cursor-pointer group hover:bg-notebook-blue hover:text-white rounded-l-full' do %>
<i class="material-icons text-blue-500 shrink-0 w-8 h-8 mr-2 bg-white rounded-full p-1">forum</i>
<span class="flex-grow text-sm">Discussions</span>
<span class="bg-gray-100 rounded px-1 text-xs group-hover:bg-notebook-blue">