Browse Source
* feat: update addressable * feat: update rack-session * feat: update other high criticality dependencies * feat: update other high criticality dependencies * feat: update other high criticality dependencies * feat: align with goovuk-components 6.x * feat: update navbar styling * feat: use helpers where required and update misc tests * feat: add title test for support users * refactor: linting * feat: update application helper spec * feat: add missing helpers * refactor: make specs more readable * refactor: lintpull/3352/head^2
43 changed files with 985 additions and 844 deletions
@ -1,9 +1,13 @@
|
||||
<%= govuk_header( |
||||
classes: "app-header app-header--orange", |
||||
classes: "app-header", |
||||
homepage_url: Rails.application.routes.url_helpers.root_path, |
||||
navigation_classes: "govuk-header__navigation--end", |
||||
) do |component| |
||||
component.with_product_name(name: t("service_name")) |
||||
component.with_navigation_item(text: "Your account", href: Rails.application.routes.url_helpers.account_path) |
||||
component.with_navigation_item(text: "Sign out", href: Rails.application.routes.url_helpers.destroy_user_session_path) |
||||
end %> |
||||
) %> |
||||
|
||||
<%= govuk_service_navigation( |
||||
service_name: t("service_name"), |
||||
service_url: Rails.application.routes.url_helpers.root_path, |
||||
classes: "app-main-service-navigation app-service-navigation--orange", |
||||
) do |component| %> |
||||
<%= component.with_navigation_item(text: "Your account", href: Rails.application.routes.url_helpers.account_path) %> |
||||
<%= component.with_navigation_item(text: "Sign out", href: Rails.application.routes.url_helpers.destroy_user_session_path) %> |
||||
<% end %> |
||||
|
||||
Loading…
Reference in new issue