<commit_before><section id="start-teaser" class="photo-bar">
  <div class="layout-wrapper">
    <h1><%= t(:heading, scope: 'pages.home.search') %></h1>
    <h1 class="alpha--halve"><%= t(:tagline, scope: 'pages.home.search') %></h1>

    <div class="page-box">
      <%= form_tag(search_path, method: 'get', class:'page-box') do %>
        <%= text_field_tag(:q, nil, class: '', id: '', placeholder: t(:search_text, scope: 'pages.home.search')) %>
        <%= button_tag((t(:search, scope: 'pages.home.search')), class: '') %>
      <% end %>

      <p class="page-overlay-link"><%= link_to t(:categories, scope: 'pages.home.speakers'), '#categories_anker' %></p>
      <p class="page-overlay-link"><%= link_to t(:speaker_index, scope: 'pages.home.speakers'), profiles_path %></p>
    </div>
  </div>
</section>

<section class="layout-wrapper">
  <h1><%= t(:new_speaker_heading, scope: 'pages.home.speakers') %></h1>
  <h1 class="alpha--halve bv ph0 mh display--block">
    <%= t(:speaker_text, scope: 'pages.home.speakers') %><BR>
    <%= link_to t(:speaker_index, scope: 'pages.home.speakers'), profiles_path %>
  </h1>
  <%= render partial: "profiles/profile", object: @profiles[0], locals: { is_first: true } %>
  <%= render partial: "profiles/profile", collection: @profiles[1..-2] %>
  <%= render partial: "profiles/profile", object: @profiles[-1], locals: { is_last: true } %>
</section>

<section id="teaser-bg-01" class="photo-bar">
  <div class="layout-wrapper">
    <h1><%= t(:quote, scope: 'pages.home') %></h1>
    <h1 class="alpha--halve"><%= t(:quote_text, scope: 'pages.home') %></h1>
  </div>
</section>

<!-- Anker für Kategorien -->
<a id="categories_anker"></a>

<section class="layout-wrapper">
  <h1><%= t(:description, scope: 'pages.home') %></h1>
  <h1 class="alpha--halve bv ph0 mh display--block">
    <%= t(:description_text, scope: 'pages.home') %>
  </h1>

  <% @categories.each_slice(5) do |sliced_categories| %>
    <div class="layout__item 1/2">
      <ul>
        <% sliced_categories.each do |category| %>
          <li>
            <%= category_link category %>
          </li>
        <% end %>
      </ul>
    </div>
  <% end %>
</section>

<section id="teaser-bg-02" class="photo-bar">
  <div class="layout-wrapper">
    <h1><%= t(:speaker_shoutout, scope: 'pages.home').html_safe %></h1>
    <h1 class="alpha--halve"><%=link_to(t(:speaker_text, scope: 'pages.home').html_safe, new_profile_registration_path) %></h1>
  </div>
</section>

<section class="layout-wrapper">
  <h1 class="display--block">Speakerinnen*</h1>
  <div class="layout__item 1/3">
    <h1 class="alpha--halve bv ph0 display--block">
      <%= link_to t(:about_title, scope: 'pages.home.footer'), about_path %>
    </h1>
    <p>
      <%= t(:about, scope: 'pages.home.footer').html_safe %>
      <%= link_to t(:more, scope: 'pages.home.footer').html_safe, about_path %>
    </p>
  </div><!--divs with the class:layout__item have display:inline-block and renders the empty space between the divs BUG
    --><div class="layout__item 1/3">
    <h1 class="alpha--halve bv ph0 display--block"><commit_msg>add each with index for categories<commit_after><section id="start-teaser" class="photo-bar">
  <div class="layout-wrapper">
    <h1><%= t(:heading, scope: 'pages.home.search') %></h1>
    <h1 class="alpha--halve"><%= t(:tagline, scope: 'pages.home.search') %></h1>

    <div class="page-box">
      <%= form_tag(search_path, method: 'get', class:'page-box') do %>
        <%= text_field_tag(:q, nil, class: '', id: '', placeholder: t(:search_text, scope: 'pages.home.search')) %>
        <%= button_tag((t(:search, scope: 'pages.home.search')), class: '') %>
      <% end %>

      <p class="page-overlay-link"><%= link_to t(:categories, scope: 'pages.home.speakers'), '#categories_anker' %></p>
      <p class="page-overlay-link"><%= link_to t(:speaker_index, scope: 'pages.home.speakers'), profiles_path %></p>
    </div>
  </div>
</section>

<section class="layout-wrapper">
  <h1><%= t(:new_speaker_heading, scope: 'pages.home.speakers') %></h1>
  <h1 class="alpha--halve bv ph0 mh display--block">
    <%= t(:speaker_text, scope: 'pages.home.speakers') %><BR>
    <%= link_to t(:speaker_index, scope: 'pages.home.speakers'), profiles_path %>
  </h1>
  <%= render partial: "profiles/profile", object: @profiles[0], locals: { is_first: true } %>
  <%= render partial: "profiles/profile", collection: @profiles[1..-2] %>
  <%= render partial: "profiles/profile", object: @profiles[-1], locals: { is_last: true } %>
</section>

<section id="teaser-bg-01" class="photo-bar">
  <div class="layout-wrapper">
    <h1><%= t(:quote, scope: 'pages.home') %></h1>
    <h1 class="alpha--halve"><%= t(:quote_text, scope: 'pages.home') %></h1>
  </div>
</section>

<!-- Anker für Kategorien -->
<a id="categories_anker"></a>

<section class="layout-wrapper">
  <h1><%= t(:description, scope: 'pages.home') %></h1>
  <h1 class="alpha--halve bv ph0 mh display--block">
    <%= t(:description_text, scope: 'pages.home') %>
  </h1>

  <% @categories.each_slice(5).with_index do |sliced_categories, index| %>
    <% if index==0 %>
      <div class="layout__item 1/2">
    <% else %>
      --><div class="layout__item 1/2">
    <% end %>
      <ul>
        <% sliced_categories.each do |category| %>
          <li>
            <%= category_link category %>
          </li>
        <% end %>
      </ul>
    <% if index==9 %>
      </div>
    <% else %>
      </div><!--
    <% end %>
  <% end %>
--></section>

<section id="teaser-bg-02" class="photo-bar">
  <div class="layout-wrapper">
    <h1><%= t(:speaker_shoutout, scope: 'pages.home').html_safe %></h1>
    <h1 class="alpha--halve"><%=link_to(t(:speaker_text, scope: 'pages.home').html_safe, new_profile_registration_path) %></h1>
  </div>
</section>

<section class="layout-wrapper">
  <h1 class="display--block">Speakerinnen*</h1>
  <div class="layout__item 1/3">
    <h1 class="alpha--halve bv ph0 display--block">
      <%= link_to t(:about_title, scope: 'pages.home.footer'), about_path %>
    </h1>
    <p>
      <%= t(:about, scope: 'pages.home.footer').html_safe %>
      <%= link_to t(:more, scope: 'pages.home.footer').html_safe, about_path %>
    </p>
  </div><!--divs with the class:layout__item have display:inline-block and renders the empty space between the divs BUG
    --><div class="layout__item 1/3">
    <h1 class="alpha--halve bv ph0 display--block">
{'fraction_non_alphanumeric': 0.22248170636774092, 'fraction_numerical': 0.014323524832632726, 'mean_word_length': 3.7096774193548385, 'pattern_counts': {'":': 0, '<': 196, '<?xml version=': 0, '>': 197, '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': '1182244', 'n_tokens_mistral': 2432, 'n_tokens_neox': 2308, 'n_words': 473}