Skip to content

Commit

Permalink
Merge pull request #179 from kufu/feature/add_link_to_logo
Browse files Browse the repository at this point in the history
ロゴをクリックしたらトップ画面に遷移するようにする
  • Loading branch information
kinoppyd authored May 10, 2024
2 parents 18c12c9 + 64b802d commit 3280d63
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/layouts/_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
<div class="flex items-center justify-end direction-row h-[50px] bg-[var(--mainColor)]">
<div class="flex flex-col sm:flex-row flex-grow items-start sm:items-center mx-4 my-0 text-[var(--textColor)]">
<% unless Rails.env.test? %>
<img class="h-6" src="<%= asset_path("#{@event.name}/rubykaigi_logo.svg") %>">
<a href="<%= event_path %>">
<img class="h-6" src="<%= asset_path("#{@event.name}/rubykaigi_logo.svg") %>">
</a>
<% end %>
<div class="flex items-center text-xs sm:text-sm">
<div class="flex items-center gap-0.5 sm:ml-2">
Expand Down

0 comments on commit 3280d63

Please sign in to comment.