diff --git a/app/assets/stylesheets/components/_banner.scss b/app/assets/stylesheets/components/_banner.scss index 1c3b1cba8..c8fafbf9d 100644 --- a/app/assets/stylesheets/components/_banner.scss +++ b/app/assets/stylesheets/components/_banner.scss @@ -40,7 +40,3 @@ max-width: 30em; padding-top: govuk-spacing(2); } - -.gem-c-intervention { - margin-top: govuk-spacing(4); -} diff --git a/app/presenters/content_item/recruitment_banner.rb b/app/presenters/content_item/recruitment_banner.rb deleted file mode 100644 index b5dc2e2d0..000000000 --- a/app/presenters/content_item/recruitment_banner.rb +++ /dev/null @@ -1,27 +0,0 @@ -module ContentItem - module RecruitmentBanner - BENEFITS_SURVEY_URL = "https://signup.take-part-in-research.service.gov.uk/home?utm_campaign=Content_History&utm_source=Hold_gov_to_account&utm_medium=gov.uk&t=GDS&id=16".freeze - BENEFITS_SURVEY_URL_MAPPINGS = { - "/disability-living-allowance-children" => BENEFITS_SURVEY_URL, - "/help-with-childcare-costs" => BENEFITS_SURVEY_URL, - "/financial-help-disabled" => BENEFITS_SURVEY_URL, - "/pip" => BENEFITS_SURVEY_URL, - "/blind-persons-allowance" => BENEFITS_SURVEY_URL, - "/dla-disability-living-allowance-benefit" => BENEFITS_SURVEY_URL, - "/carers-allowance" => BENEFITS_SURVEY_URL, - "/carers-credit" => BENEFITS_SURVEY_URL, - "/maternity-pay-leave" => BENEFITS_SURVEY_URL, - "/paternity-pay-leave" => BENEFITS_SURVEY_URL, - "/child-benefit" => BENEFITS_SURVEY_URL, - "/jobseekers-allowance" => BENEFITS_SURVEY_URL, - "/universal-credit" => BENEFITS_SURVEY_URL, - "/employment-support-allowance" => BENEFITS_SURVEY_URL, - "/benefits-calculators" => BENEFITS_SURVEY_URL, - }.freeze - - def benefits_recruitment_survey_url - key = content_item["base_path"] - BENEFITS_SURVEY_URL_MAPPINGS[key] - end - end -end diff --git a/app/presenters/content_item_presenter.rb b/app/presenters/content_item_presenter.rb index ca3151668..850db6aa7 100644 --- a/app/presenters/content_item_presenter.rb +++ b/app/presenters/content_item_presenter.rb @@ -1,6 +1,5 @@ class ContentItemPresenter include ContentItem::Withdrawable - include ContentItem::RecruitmentBanner attr_reader :content_item, :requested_path, diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index caa7bcb64..47668d1c8 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -29,18 +29,6 @@ <% end %> <% end %> - <% if @content_item.benefits_recruitment_survey_url %> -