1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
<header class="container">
<nav class="nav">
<div class="nav-left">
<%= link_to t("app"), root_path, class: 'nav-item is-brand' %>
<%= link_to t(".blog"), "http://slog.stronglifters.com", class: 'nav-item' %>
<%= link_to t(".about"), "http://slog.stronglifters.com/about", class: 'nav-item' %>
</div>
<div class="nav-center">
<a class="nav-item" href="https://github.com/stronglifters/">
<span class="icon">
<i class="fa fa-github"></i>
</span>
</a>
<a class="nav-item" href="https://twitter.com/stronglifters">
<span class="icon">
<i class="fa fa-twitter"></i>
</span>
</a>
</div>
<!-- This "nav-toggle" hamburger menu is only visible on mobile -->
<!-- You need JavaScript to toggle the "is-active" class on "nav-menu" -->
<span class="nav-toggle">
<span></span>
<span></span>
<span></span>
</span>
<!-- This "nav-menu" is hidden on mobile -->
<!-- Add the modifier "is-active" to display it on mobile -->
<div class="nav-right nav-menu">
<%= link_to t(".workouts"), workouts_path, class: 'nav-item' %>
<% if feature_enabled? :athletes %>
<%= link_to t(".athletes"), profiles_path, class: 'nav-item' %>
<% end %>
<%= link_to t(".gyms"), gyms_path, class: 'nav-item' %>
<%= link_to profile_path(current_user), class: 'nav-item is-tab' do %>
<figure class="image is-16x16" style="margin-right: 8px;">
<%= gravatar_for(current_user, size: 16) %>
</figure>
<%= t(".profile") %>
<% end %>
<%= link_to t(".log_out"), session_path('me'), method: :delete, class: 'nav-item is-tab' %>
</div>
</nav>
</header>
|