-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
30 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,25 @@ | ||
<nav class="flex items-center justify-between w-full h-[44px] px-1 border-b border-neutral-700/40"> | ||
<div class="flex items-center gap-x-1"> | ||
<nav class="flex items-center justify-between w-full h-10"> | ||
<div class="flex-grow flex items-center"> | ||
<div data-controller="user-dropdown"> | ||
<div data-action="click->user-dropdown#toggleDropdown" | ||
class="flex items-center justify-center w-8 h-8 text-neutral-400 hover:text-white rounded-lg hover:bg-neutral-700 cursor-pointer"> | ||
<%= render 'medium_profile_placeholder', color: current_user.profile_color.to_sym, name: current_user.first_name.first %> | ||
<div class="flex items-center justify-center h-10 px-1 border-b border-neutral-800/70"> | ||
<div data-action="click->user-dropdown#toggleDropdown" | ||
class="flex items-center justify-center w-8 h-8 text-neutral-400 hover:text-white rounded-lg hover:bg-neutral-700 cursor-pointer"> | ||
<%= render 'medium_profile_placeholder', color: current_user.profile_color.to_sym, name: current_user.first_name.first %> | ||
</div> | ||
<%= render 'shared/navigation/user' %> | ||
</div> | ||
<%= render 'shared/navigation/user' %> | ||
</div> | ||
<div data-root-target="filter" | ||
class="flex items-center"> | ||
<p class="text-xs font-medium">Inbox<span class="ml-1 text-amber-500"><%= @email_threads.count %></span></p> | ||
<div class="flex items-center gap-x-1 h-10 px-4 bg-[#0E0F0F] border-x border-neutral-800/50"> | ||
<div data-root-target="filter" | ||
class="flex items-center"> | ||
<p class="text-xs font-medium">Inbox<span class="ml-1 text-amber-500"><%= @email_threads.count %></span></p> | ||
</div> | ||
</div> | ||
<div class="flex-grow h-10 border-b border-neutral-800/70"> | ||
</div> | ||
<div class="flex items-center justify-center h-10 px-1 border-b border-neutral-800/70"> | ||
<div class="flex items-center justify-center w-7 h-7 text-neutral-400 hover:text-white hover:bg-neutral-700 rounded-lg rotate-180"> | ||
<%= render 'shared/icons/preview_toggle' %> | ||
</div> | ||
</div> | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" fill="none" viewBox="0 0 24 24"> | ||
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M12.75 4.75h4.5a2 2 0 0 1 2 2v10.5a2 2 0 0 1-2 2h-4.5m-8-2V6.75a2 2 0 0 1 2-2h2.5v14.5h-2.5a2 2 0 0 1-2-2Z"></path> | ||
</svg |