Main Avalanche Network server application. Built with Ruby on Rails.

_footer_links.html.erb 1.3KB

    <%= content_tag(:div, class: 'pull-left') do %> <%= link_to (t 'nav.home'), root_path %><br> <% link_to "Blog", blog_path %>Blog<br> <%= link_to (t 'contact.contact'), contact_messages_path, class: 'footer-btn-contact' %><br> <%= t 'contact.support' %> <% end %> <%= content_tag(:div, class: 'pull-right') do %> <% if @config.open_for_public || user_signed_in? %> <%= link_to (t 'mission.missions'), missions_path %><br> <%= link_to (t 'mission.agents'), agent_list_path %><br> <% if user_signed_in? %> <%= link_to (t 'agent.dashboard'), dashboard_path %><br> <%= link_to (t "registration.account"), edit_user_registration_path, class: "btn-account" %><br> <% else %> <%= link_to (t "registration.sign_in"), new_user_session_path, class: "btn-login" %><br> <%= link_to (t "registration.sign_up"), new_user_registration_path, class: "btn-login" %><br> <% end %> <% else %> <%= link_to (t "landing_page.about").html_safe, root_path(anchor: 'about'), class: 'btn-about' %><br> <%= link_to (t "landing_page.features").html_safe, root_path(anchor: 'features'), class: 'btn-features' %><br> <%= link_to (t "landing_page.subscribe").html_safe, root_path(anchor: 'subscribe'), class: 'btn-subscribe' %><br> <%= link_to (t "registration.sign_in"), new_user_session_path, class: "btn-login" %><br> <% end %> <% end %>