Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix: top page and edit page
  • Loading branch information
mikurikuri11 committed Jul 7, 2023
commit c4baf69fed3b01d465319b0a68b131228f3da5c1
6 changes: 3 additions & 3 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@
<div class='mx-auto flex w-full flex-wrap items-center'>
<div class='flex w-full justify-center font-extrabold text-white lg:w-1/2 lg:justify-start'>
<%= link_to root_path, class: "text-2xl text-gray-900 no-underline hover:text-gray-900 hover:no-underline" do %>
🛍️ &nbsp; <span class=' text-gray-200'>Warikan</span>
💰 &nbsp; <span class=' text-gray-200'>Warikan</span>
<% end %>
</div>
<div class='flex w-full content-center justify-between pt-2 lg:w-1/2 lg:justify-end lg:pt-0'>
<ul class='list-reset flex flex-1 items-center justify-center lg:flex-none h-12'>
<% if user_signed_in? %>
<li class='px-4 text-white no-underline'>
<%= link_to groups_path do %>
<svg class="h-6 w-6" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd">
<path fill="white" d="M11.5 23l-8.5-4.535v-3.953l5.4 3.122 3.1-3.406v8.772zm1-.001v-8.806l3.162 3.343 5.338-2.958v3.887l-8.5 4.534zm-10.339-10.125l-2.161-1.244 3-3.302-3-2.823 8.718-4.505 3.215 2.385 3.325-2.385 8.742 4.561-2.995 2.771 2.995 3.443-2.242 1.241v-.001l-5.903 3.27-3.348-3.541 7.416-3.962-7.922-4.372-7.923 4.372 7.422 3.937v.024l-3.297 3.622-5.203-3.008-.16-.092-.679-.393v.002z"/>
<svg class="h-6 w-6" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 2C6.477 2 2 6.477 2 12c0 4.42 2.865 8.17 6.839 9.488.5.092.682-.217.682-.482 0-.237-.009-.866-.013-1.703-2.782.602-3.369-1.341-3.369-1.341C5.132 17.067 4 16.551 4 16c0-.552.01-1.109.03-1.668C2.683 14.272 2 12.711 2 12c0-5.523 4.477-10 10-10s10 4.477 10 10c0 .711-.683 2.272-2.03 2.332.02.56.03 1.117.03 1.668 0 .551-.133 1.067-.338 1.492 0 0-.574 1.943-3.532 1.624.225.324.426.769.426 1.548 0 1.119-.01 2.025-.01 2.296 0 .263.182.57.692.48C19.139 20.17 22 16.42 22 12c0-5.523-4.477-10-10-10z"/>
</svg>
<% end %>
</li>
Expand Down