timgremore
commited on
Commit
•
629806a
1
Parent(s):
ef34931
feat: Add link for new audio to side panel
Browse files
lib/medical_transcription_web/components/header_component.ex
CHANGED
@@ -20,7 +20,14 @@ defmodule MedicalTranscriptionWeb.Components.HeaderComponent do
|
|
20 |
</div>
|
21 |
|
22 |
<%= if @current_user do %>
|
23 |
-
<div class="flex-1 px-6">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
<p class="text-xs leading-normal tracking-[0.2em] font-semibold uppercase">Today</p>
|
25 |
</div>
|
26 |
<% end %>
|
|
|
20 |
</div>
|
21 |
|
22 |
<%= if @current_user do %>
|
23 |
+
<div class="flex-1 flex flex-col px-6 gap-4">
|
24 |
+
<.link
|
25 |
+
href={~p"/"}
|
26 |
+
class="text-[0.8125rem] flex justify-center gap-2 w-full text-white font-semibold hover:text-slate-300 px-3 py-2 bg-emerald-600 rounded-lg"
|
27 |
+
>
|
28 |
+
<.icon name="hero-document-plus" />
|
29 |
+
<span>Start a new transcription</span>
|
30 |
+
</.link>
|
31 |
<p class="text-xs leading-normal tracking-[0.2em] font-semibold uppercase">Today</p>
|
32 |
</div>
|
33 |
<% end %>
|