scinote-web/app/views/shared/navigation/_top.html.erb
sboursen-scinote 4d6adace9f Update Scinote logo in multiple pages [SCI-8997]
- In public error pages.
- In sign_in_halt.
2023-08-11 14:19:24 +02:00

17 lines
653 B
Text

<% if user_signed_in? %>
<div id="sciNavigationTopMenuContainer" data-turbolinks-permanent data-behaviour="vue">
<top-menu-container
url="<%= top_menu_navigations_path %>"
notifications-url="<%= user_notifications_path %>"
unseen-notifications-url="<%= unseen_counter_user_notifications_path %>" />
</div>
<% else %>
<div class="sci--navigation--top-menu-container">
<div class="sci--navigation--top-menu-logo">
<a title="SciNote" href="/">
<%= image_tag "/images/sn-icon.svg", class: "logo small" %>
<%= image_tag "scinote_logo.svg", class: "logo large" %>
</a>
</div>
</div>
<% end %>