Skip to content

Commit

Permalink
Remove Cost of living feedback banner
Browse files Browse the repository at this point in the history
  • Loading branch information
chao-xian committed Mar 16, 2023
1 parent 7700e5f commit 585b583
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 89 deletions.
1 change: 0 additions & 1 deletion app/assets/stylesheets/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ $govuk-include-default-font-face: false;
@import "govuk_publishing_components/components/govspeak-html-publication";
@import "govuk_publishing_components/components/image-card";
@import "govuk_publishing_components/components/inset-text";
@import "govuk_publishing_components/components/intervention";
@import "govuk_publishing_components/components/inverse-header";
@import "govuk_publishing_components/components/lead-paragraph";
@import "govuk_publishing_components/components/metadata";
Expand Down
4 changes: 0 additions & 4 deletions app/assets/stylesheets/components/_banner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,3 @@
max-width: 30em;
padding-top: govuk-spacing(2);
}

.gem-c-intervention {
margin-top: govuk-spacing(4);
}
31 changes: 0 additions & 31 deletions app/presenters/content_item/cost_of_living_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,5 +1,4 @@
class ContentItemPresenter
include ContentItem::CostOfLivingBanner
include ContentItem::Withdrawable

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

<% if @content_item.survey_url %>
<%= render "govuk_publishing_components/components/intervention", {
suggestion_text: "Help make GOV.UK better",
suggestion_link_text: "Take part in user research",
suggestion_link_url: @content_item.survey_url,
new_tab: true,
} %>
<% end %>

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

This file was deleted.

0 comments on commit 585b583

Please sign in to comment.