1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2025-12-10 08:46:41 +01:00

Add logo to navbar

This commit is contained in:
Philipp Fischbeck 2019-02-08 20:57:08 +01:00
parent cad4973f6a
commit 8e55afe9c2
2 changed files with 4 additions and 1 deletions

BIN
app/assets/images/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

View File

@ -1,6 +1,9 @@
<%= navbar position: :static do %> <%= navbar position: :static do %>
<%= vertical 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 %> <% end %>
<%= horizontal do %> <%= horizontal do %>
<%= nav class: 'navbar-left' do %> <%= nav class: 'navbar-left' do %>