<commit_before><% content_for :head do -%>
  <%= render 'welcome/meta_tags' -%>
<% end -%>
<div class="home">
  <div class="container">
    <h1><%= t :front_page_header_html -%></h1>
  </div>
</div>

<section class="featured-action">
  <% if @featuredActionPage -%>
    <div class="container">
      <div class="row">
        <div class="featured-image">
          <%= link_to image_tag(@featuredActionPage.featured_image.url) , action_page_path(@featuredActionPage) -%>
        </div>
        <div class="featured-text">
          <% if Category.exists? %>
          <h5 class="category">
            <%= Category.where(id: @featuredActionPage.category_id).pluck(:title).first; %></h5>
          <% end %>
          <%= link_to action_page_path(@featuredActionPage) do %>
            <h2>
              <%= @featuredActionPage.title -%>
            </h2>
            <span class='eff-red-button'><%= t(:take_action) %></span>
          <% end %>
        </div>
      </div>
    </div>
  <% end %>

</section>

<section class="more-actions">
  <div class="container">
    <div class="row">
      <%- @actionPages.each do |actionPage| -%>
        <div class="the-actions">
          <div class="more-actions-image">
          <%= link_to image_tag(actionPage.featured_image.url), action_page_path(actionPage) %>
          </div>
          <div class="more-actions-text">
            <%= link_to action_page_path(actionPage) do%>
            <h3><%= actionPage.title -%></h3>
            <% end %>
          </div>
        </div>
      <% end %>
    </div>

    <div class="see-all">
      <a href="/action"><%= I18n.t(:see_all_campaigns) -%></a>
    </div>

  </div>

</section>
<!--
<section class="mobile-apps">
  <div class="container">
    <div class="col-sm-6 image">
      <%= image_tag("mobile-apps.png") %>
    </div>
    <div class="col-sm-6">
        <h3>Download the EFF mobile app</h3>
    </div>
  </div>
  </section>
-->
<commit_msg>adding category to more actions on home page<commit_after><% content_for :head do -%>
  <%= render 'welcome/meta_tags' -%>
<% end -%>
<div class="home">
  <div class="container">
    <h1><%= t :front_page_header_html -%></h1>
  </div>
</div>

<section class="featured-action">
  <% if @featuredActionPage -%>
    <div class="container">
      <div class="row">
        <div class="featured-image">
          <%= link_to image_tag(@featuredActionPage.featured_image.url) , action_page_path(@featuredActionPage) -%>
        </div>
        <div class="featured-text">
          <% if Category.exists? %>
          <h5 class="category">
            <%= Category.where(id: @featuredActionPage.category_id).pluck(:title).first; %></h5>
          <% end %>
          <%= link_to action_page_path(@featuredActionPage) do %>
            <h2>
              <%= @featuredActionPage.title -%>
            </h2>
            <span class='eff-red-button'><%= t(:take_action) %></span>
          <% end %>
        </div>
      </div>
    </div>
  <% end %>

</section>

<section class="more-actions">
  <div class="container">
    <div class="row">
      <%- @actionPages.each do |actionPage| -%>
        <div class="the-actions">
          <div class="more-actions-image">
          <%= link_to image_tag(actionPage.featured_image.url), action_page_path(actionPage) %>
          </div>
          <% if Category.exists? %>
          <h5 class="category">
            <%= Category.where(id: actionPage.category_id).pluck(:title).first; %></h5>
          <% end %>
          <div class="more-actions-text">
            <%= link_to action_page_path(actionPage) do%>
            <h3><%= actionPage.title -%></h3>
            <% end %>
          </div>
        </div>
      <% end %>
    </div>

    <div class="see-all">
      <a href="/action"><%= I18n.t(:see_all_campaigns) -%></a>
    </div>

  </div>

</section>
<!--
<section class="mobile-apps">
  <div class="container">
    <div class="col-sm-6 image">
      <%= image_tag("mobile-apps.png") %>
    </div>
    <div class="col-sm-6">
        <h3>Download the EFF mobile app</h3>
    </div>
  </div>
  </section>
-->

{'fraction_non_alphanumeric': 0.19760917296901684, 'fraction_numerical': 0.007318858258111734, 'mean_word_length': 2.256552819698173, 'pattern_counts': {'":': 0, '<': 154, '<?xml version=': 0, '>': 154, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6322329', 'n_tokens_mistral': 1471, 'n_tokens_neox': 1397, 'n_words': 245}