1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2026-01-27 02:28:50 +01:00

2 Commits

Author SHA1 Message Date
8e55afe9c2 Add logo to navbar 2019-02-08 20:57:08 +01:00
cad4973f6a Update favicon 2019-02-08 20:56:23 +01:00
3 changed files with 4 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

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 %>
<%= 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 %>