mirror of
https://github.com/projekteuler/projekteuler.git
synced 2025-12-10 00:36:42 +01:00
Add logo to navbar
This commit is contained in:
parent
cad4973f6a
commit
8e55afe9c2
BIN
app/assets/images/logo.png
Normal file
BIN
app/assets/images/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 49 KiB |
@ -1,6 +1,9 @@
|
||||
<%= navbar position: :static do %>
|
||||
<%= vertical do %>
|
||||
<%= link_to t('application.site_title'), root_path %>
|
||||
<%= link_to root_path, style:'display:flex;align-items:center' do %>
|
||||
<%= image_tag 'logo.png', height: '35px' %>
|
||||
<p class="navbar-text"><%= t('application.site_title') %></p>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<%= horizontal do %>
|
||||
<%= nav class: 'navbar-left' do %>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user