diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 8f043f6ee..7b3b968fc 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -33,21 +33,20 @@ Skip to main content - + <%= render GovukComponent::HeaderComponent.new( + logotype: 'GOV.UK', + service_name: 'Share Lettings and Sales for Social Housing in England Data with DLUHC', + service_url: '/' + ) do |component| + if current_user.nil? + component.navigation_item(text: 'Case logs', href: '/case_logs') + elsif + component.navigation_item(text: 'Your account', href: '/users/account') + component.navigation_item(text: 'Sign out', href: destroy_user_session_path, options: {:method => :delete}) + end + end + %> +