Skip to content

Commit

Permalink
Remove benefits intervention banner
Browse files Browse the repository at this point in the history
Reverts b38b7d5
  • Loading branch information
hannako committed Nov 8, 2023
1 parent 376ca75 commit 998dcc1
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 89 deletions.
4 changes: 0 additions & 4 deletions app/assets/stylesheets/components/_banner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,3 @@
max-width: 30em;
padding-top: govuk-spacing(2);
}

.gem-c-intervention {
margin-top: govuk-spacing(4);
}
27 changes: 0 additions & 27 deletions app/presenters/content_item/recruitment_banner.rb

This file was deleted.

1 change: 0 additions & 1 deletion app/presenters/content_item_presenter.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
class ContentItemPresenter
include ContentItem::Withdrawable
include ContentItem::RecruitmentBanner

attr_reader :content_item,
:requested_path,
Expand Down
12 changes: 0 additions & 12 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,6 @@
<% end %>
<% end %>

<% if @content_item.benefits_recruitment_survey_url %>
<div class="govuk-!-static-margin-top-4">
<%= render "govuk_publishing_components/components/intervention", {
suggestion_text: "Help improve GOV.UK",
suggestion_link_text: "Take part in user research",
suggestion_link_url: @content_item.benefits_recruitment_survey_url,
new_tab: true,
ga4_tracking: true,
} %>
</div>
<% end %>

<%= yield :header %>

<main role="main" id="content" class="<%= @content_item.schema_name.dasherize %>" lang="<%= I18n.locale %>">
Expand Down
45 changes: 0 additions & 45 deletions test/integration/recruitment_banner_test.rb

This file was deleted.

0 comments on commit 998dcc1

Please sign in to comment.