<commit_before><% content_for :is_full_width_header, true %>
<% content_for :title, @content_item["title"] %>
<% content_for :meta_tags do %>
  <meta property="og:type" content="website" />
  <meta property="og:site_name" content="GOV.UK">
  <meta property="og:url" content="<%= request.base_url + request.path %>">
  <meta property="og:title" content="<%= @content_item["title"] %>">
  <meta property="og:description" content="<%= @content_item["description"] %>">
  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:image" content="<%= image_url("corona-twitter-image.png") %>">
  <meta name="description" content="<%= @content_item["description"] %>">
  <meta name="govuk:navigation-page-type" content="Taxon Page" />
<% end %>

<header class="covid__page-header" data-module="coronavirus-landing-page">
  <div class="govuk-width-container">
    <%= render 'govuk_publishing_components/components/breadcrumbs', {
      breadcrumbs: breadcrumbs,
      collapse_on_mobile: true,
      inverse: true
    } %>

    <div class="govuk-grid-row">
      <div class="govuk-grid-column-two-thirds">
        <h1 class="covid__page-title">
          <%= @content_item["title"] %>
        </h1>
      </div>
    </div>
  </div>

  <div class="covid__page-header-light">
    <div class="govuk-width-container">
      <div class="govuk-grid-row">
        <div class="govuk-grid-column-two-thirds">
          <%= render "govuk_publishing_components/components/heading", {
            text: rules["pretext"],
            font_size: 19,
            margin_bottom: 3,
            inverse: true
          } %>
          <ul class="covid__list covid__list--header">
            <% rules["list"].each do | item | %>
              <li class="covid__list-item"><%= item %></li>
            <% end %>
          </ul>

          <p class="govuk-body covid__inverse">
            <%= guidance["pretext-1"] %>
            <%= guidance["pretext-2"] %>
          </p>
        </div>
      </div>

      <div class="govuk-grid-row covid__logo-wrapper">
        <div class="govuk-grid-column-two-thirds">
          <span class="covid__highlight-link">
            <a class="govuk-link covid__page-header-link" href="<%= guidance["link"]["href"] %>">
              <%= raw guidance["link"]["text"] %>
            </a>
          </span>
        </div>
        <div class="govuk-grid-column-one-third">
          <%= render 'covid_logos' %>
        </div>
      </div>

      <%= render "govuk_publishing_components/components/heading", {
        text: details.announcements_label,
        padding: true,
        font_size: 19,
        border_top: 2,
        brand: 'public-health-england',
        inverse: true
      } %>
      <div class="govuk-grid-row">
        <% details.announcements.each do |announcement| %>
          <div class="govuk-grid-column-one-third">
            <% announcement_text = capture do %>
              <% if announcement["href"].present? %>
                <a href="<%= announcement["href"] %>" class="govuk-link covid__page-header-link">
                  <%= announcement["text"] %>
                </a>
              <% else %><commit_msg>Add tracking to annoucements<commit_after><% content_for :is_full_width_header, true %>
<% content_for :title, @content_item["title"] %>
<% content_for :meta_tags do %>
  <meta property="og:type" content="website" />
  <meta property="og:site_name" content="GOV.UK">
  <meta property="og:url" content="<%= request.base_url + request.path %>">
  <meta property="og:title" content="<%= @content_item["title"] %>">
  <meta property="og:description" content="<%= @content_item["description"] %>">
  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:image" content="<%= image_url("corona-twitter-image.png") %>">
  <meta name="description" content="<%= @content_item["description"] %>">
  <meta name="govuk:navigation-page-type" content="Taxon Page" />
<% end %>

<header class="covid__page-header" data-module="coronavirus-landing-page">
  <div class="govuk-width-container">
    <%= render 'govuk_publishing_components/components/breadcrumbs', {
      breadcrumbs: breadcrumbs,
      collapse_on_mobile: true,
      inverse: true
    } %>

    <div class="govuk-grid-row">
      <div class="govuk-grid-column-two-thirds">
        <h1 class="covid__page-title">
          <%= @content_item["title"] %>
        </h1>
      </div>
    </div>
  </div>

  <div class="covid__page-header-light">
    <div class="govuk-width-container">
      <div class="govuk-grid-row">
        <div class="govuk-grid-column-two-thirds">
          <%= render "govuk_publishing_components/components/heading", {
            text: rules["pretext"],
            font_size: 19,
            margin_bottom: 3,
            inverse: true
          } %>
          <ul class="covid__list covid__list--header">
            <% rules["list"].each do | item | %>
              <li class="covid__list-item"><%= item %></li>
            <% end %>
          </ul>

          <p class="govuk-body covid__inverse">
            <%= guidance["pretext-1"] %>
            <%= guidance["pretext-2"] %>
          </p>
        </div>
      </div>

      <div class="govuk-grid-row covid__logo-wrapper">
        <div class="govuk-grid-column-two-thirds">
          <span class="covid__highlight-link">
            <a class="govuk-link covid__page-header-link" href="<%= guidance["link"]["href"] %>">
              <%= raw guidance["link"]["text"] %>
            </a>
          </span>
        </div>
        <div class="govuk-grid-column-one-third">
          <%= render 'covid_logos' %>
        </div>
      </div>

      <%= render "govuk_publishing_components/components/heading", {
        text: details.announcements_label,
        padding: true,
        font_size: 19,
        border_top: 2,
        brand: 'public-health-england',
        inverse: true
      } %>
      <div class="govuk-grid-row">
        <% details.announcements.each do |announcement| %>
          <div class="govuk-grid-column-one-third">
            <% announcement_text = capture do %>
              <% if announcement["href"].present? %>
                <a
                  href="<%= announcement["href"] %>"
                  class="govuk-link covid__page-header-link"
                  data-module="track-click"
                  data-track-category="pageElementInteraction"
                  data-track-action="Announcements"
                  data-track-label="<%= announcement["href"] %>"
                >
                  <%= announcement["text"] %>
                </a>
              <% else %>
{'fraction_non_alphanumeric': 0.17475874547647768, 'fraction_numerical': 0.0030156815440289505, 'mean_word_length': 2.413793103448276, 'pattern_counts': {'":': 0, '<': 146, '<?xml version=': 0, '>': 146, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3830876', 'n_tokens_mistral': 2166, 'n_tokens_neox': 2030, 'n_words': 336}