<%
  # hardcoding data that is expected to be in the Content Item
  nhs_banner = {
    "sections" => [
      {
        "heading" => "If you have no symptoms:",
        "markdown" => "Check if you should get [regular rapid lateral flow tests](/getting-tested-for-coronavirus).",
      },
      {
        "heading" => "If you have coronavirus symptoms:",
        "markdown" => "- [get a PCR test](/get-coronavirus-test)\n- stay at home",
      }
    ]
  }
%>
<section class="covid__nhs-notice"
         aria-label="notice"
         role="region"
         data-module="track-links"
         data-track-category="pageElementInteraction"
         data-track-action="callOutBox">
  <div class="covid__nhs-notice__logo">
    <%= render "govuk_publishing_components/components/organisation_logo", {
      organisation: {
        name: "nhs",
        url: "https://www.nhs.uk/",
        image: {
          url: image_url("nhs-logo.svg"),
          alt_text: "NHS"
        }
      }
    } %>
  </div>

  <% nhs_banner["sections"].each do |section| %>
    <%= render "govuk_publishing_components/components/heading", {
      text: section["heading"],
      heading_level: 2,
      font_size: "m",
      margin_bottom: 4,
    } if section["heading"].present? %>

    <%= render_govspeak(section["markdown"]) if section["markdown"].present? %>
  <% end %>
</section>

<section class="covid__nhs-notice"
         aria-label="notice"
         role="region"
         data-module="track-links"
         data-track-category="pageElementInteraction"
         data-track-action="callOutBox">
  <div class="covid__nhs-notice__logo">
    <%= render "govuk_publishing_components/components/organisation_logo", {
      organisation: {
        name: "nhs",
        url: "https://www.nhs.uk/",
        image: {
          url: image_url("nhs-logo.svg"),
          alt_text: "NHS"
        }
      }
    } %>
  </div>

  <% nhs_banner["sections"].each do |section| %>
    <%= render "govuk_publishing_components/components/heading", {
      text: section["heading"],
      heading_level: 2,
      font_size: "m",
      margin_bottom: 4,
    } if section["heading"].present? %>

    <%= render_govspeak(section["markdown"]) if section["markdown"].present? %>
  <% end %>
</section>

Remove NHS Banner hardcoded copy
Remove NHS Banner hardcoded copy

Once this copy is within the Content Item this hardcoding is no longer
necessary. This must not be deployed until
https://github.com/alphagov/govuk-coronavirus-content/pull/587 has been
merged and published as part of the content item.
