Skip to content

Commit 8595ceb

Browse files
committed
style: reposition docs link on sidebar
1 parent 9e8eecc commit 8595ceb

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

lib/algora_web/components/layouts/user.html.heex

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,17 @@
135135
</ul>
136136
<% end %>
137137
</nav>
138+
<ul role="list" class="mt-auto flex flex-col items-center space-y-1">
139+
<li>
140+
<.link
141+
navigate={~p"/docs"}
142+
class="group flex gap-x-3 rounded-md p-3 text-sm/6 font-semibold text-gray-400 hover:bg-gray-800 hover:text-white"
143+
>
144+
<.icon name="tabler-help" class="h-6 w-6 shrink-0" />
145+
<span class="sr-only">Help</span>
146+
</.link>
147+
</li>
148+
</ul>
138149
</div>
139150

140151
<div class="lg:pl-16">
@@ -209,15 +220,6 @@
209220
</.link>
210221
<%= if @current_user do %>
211222
<div class="flex items-center gap-x-4">
212-
<div>
213-
<.button
214-
variant="secondary"
215-
navigate={~p"/docs"}
216-
class="h-9 w-9 rounded-md flex items-center justify-center relative"
217-
>
218-
<.icon name="tabler-help" class="h-6 w-6 shrink-0" />
219-
</.button>
220-
</div>
221223
<%= if main_contract_form = Map.get(assigns, :main_contract_form) do %>
222224
<div>
223225
<.button

0 commit comments

Comments
 (0)