diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index 94d403528..7c204bced 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -587,12 +587,8 @@ footer { padding-left: 0; } - h2 a { - border-bottom: 1px solid $text-light; - display: block; - font-size: rem-calc(24); - line-height: rem-calc(31); - padding-bottom: $line-height/4; + a.title { + font-weight: bold; text-decoration: none; } } diff --git a/app/views/devise/menu/_login_items.html.erb b/app/views/devise/menu/_login_items.html.erb index b7db4a22c..5d493131d 100644 --- a/app/views/devise/menu/_login_items.html.erb +++ b/app/views/devise/menu/_login_items.html.erb @@ -1,6 +1,6 @@ <% if user_signed_in? %>
  • - <%= link_to notifications_path, class: "notifications" do %> + <%= link_to notifications_path, rel: "nofollow", class: "notifications" do %> <%= t("layouts.header.notifications") %> <% if current_user.notifications_count > 0 %> @@ -12,19 +12,24 @@ <% end %>
  • - <%= link_to t("layouts.header.my_activity_link"), user_path(current_user) %> + <%= link_to t("layouts.header.my_activity_link"), + user_path(current_user), rel: "nofollow" %>
  • - <%= link_to t("layouts.header.my_account_link"), account_path %> + <%= link_to t("layouts.header.my_account_link"), + account_path, rel: "nofollow" %>
  • - <%= link_to t("devise_views.menu.login_items.logout"), destroy_user_session_path, method: :delete %> + <%= link_to t("devise_views.menu.login_items.logout"), + destroy_user_session_path, rel: "nofollow", method: :delete %>
  • <% else %>
  • - <%= link_to t("devise_views.menu.login_items.login"), new_user_session_path %> + <%= link_to t("devise_views.menu.login_items.login"), + new_user_session_path, rel: "nofollow" %>
  • - <%= link_to t("devise_views.menu.login_items.signup"), new_user_registration_path, class: "button" %> + <%= link_to t("devise_views.menu.login_items.signup"), + new_user_registration_path, rel: "nofollow", class: "button" %>
  • <% end %> diff --git a/app/views/layouts/_footer.html.erb b/app/views/layouts/_footer.html.erb index 0bce1cd67..2e2f5c063 100644 --- a/app/views/layouts/_footer.html.erb +++ b/app/views/layouts/_footer.html.erb @@ -11,29 +11,23 @@ consul: link_to(t("layouts.footer.consul"), t("layouts.footer.consul_url"), target: "blank")).html_safe %> <%= t("layouts.footer.contact_us") %> - <%= link_to t("layouts.footer.faq"), page_path('faq') %> + <%= link_to t("layouts.footer.faq"), faq_path %>

    @@ -54,7 +48,7 @@