Skip to content

Commit

Permalink
Upper-left logo and text as link, align
Browse files Browse the repository at this point in the history
  • Loading branch information
stage-rl committed Oct 24, 2023
1 parent 08a41c4 commit 14c9866
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
Binary file modified app/assets/images/SD_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 6 additions & 13 deletions app/components/t_w/static_sidebar_component.html.erb
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
<div class="flex flex-col justify-start items-start w-full pb-4 bg-white border-t-0 border-r border-b-0 border-l-0 border-gray-200 overflow-x-hidden overflow-y-auto">
<div class="flex justify-start items-center h-16 relative gap-2 px-4 py-2 bg-white">
<div class=" w-[35px] h-[33.06px] relative ">
<%= image_tag("SD_icon.png", alt: "logo", class:"w-[35px] h-[35px] absolute left-[-1px] top-[-5.97px] object-cover") %>
<div class="flex flex-col justify-start items-start w-full pb-4 divide-y bg-white border-t-0 border-r border-b-0 border-l-0 border-gray-200 overflow-x-hidden overflow-y-auto">
<%= link_to root_path, class: "flex justify-start items-center px-4 py-2" do %>
<div class="flex justify-center items-center">
<%= image_tag("SD_icon.png", alt: "logo", class:"w-10 h-10") %>
</div>
<div class="flex justify-start items-center h-[45px] relative gap-2.5">
<p class=" text-xl font-medium text-left text-[#111928]"> GovBox Pro </p>
</div>
</div>
<div class="flex justify-start items-center h-0 relative">
<svg width="275" height="1" viewBox="0 0 275 1" fill="none" xmlns="http://www.w3.org/2000/svg" class="" preserveAspectRatio="xMidYMid meet">
<line y1="0.5" x2="275" y2="0.5" stroke="#E5E7EB"></line>
</svg>
</div>
<p class="text-xl font-medium text-[#111928]">GovBox Pro</p>
<% end %>
<div class="flex flex-col justify-start items-start gap-4 px-2 py-4">
<%= render TW::DynamicSidebarMenuComponent.new(menu: @menu) %>
</div>
Expand Down

0 comments on commit 14c9866

Please sign in to comment.