<commit_before><% @spaces = data.features.select {|feature| feature[:type] == "spaces"} %>
<% @components = data.features.select {|feature| feature[:type] == "components"} %>
<% @other = data.features.select {|feature| feature[:type] == "other"} %>

<div class="container container-vertical">
  <h1 class="page-title page-title--nomargin"><%= t("features.title") %></h1>
    <div class="page-intro">
      <%= t("features.intro") %>
    </div>
    <h2 class="subsection-title">
      <%= t("features.type1.title") %>
      <span class="subsection-title__subtitle"><%= t("features.type1.subtitle") %></span>
    </h2>
    <div class="feature-list">
      <% @spaces.each do |use| %>
        <div class="feature-list__item">
          <img src="<%= use.image %>" alt="" class="feature-list__image"/>
          <div class="feature-list__content">
            <h2 class="feature-list__title"><%= use[locale].title %></h2>
            <h3 class="feature-list__subtitle"><%= use[locale].subtitle %></h3>
            <p><%= use[locale].text %></p>
          </div>
        </div> 
      <% end %>
    </div>
    <h2 class="subsection-title">
      <%= t("features.type2.title") %>
      <span class="subsection-title__subtitle"><%= t("features.type2.subtitle") %></span>
    </h2>
    <div class="feature-list">
      <% @components.each do |use| %>
        <div class="feature-list__item">
          <img src="<%= use.image %>" alt="" class="feature-list__image"/>
          <div class="feature-list__content">
            <h2 class="feature-list__title"><%= use[locale].title %></h2>
            <h3 class="feature-list__subtitle"><%= use[locale].subtitle %></h3>
            <p><%= use[locale].text %></p>
          </div>
        </div> 
      <% end %>
    </div>
    <h2 class="subsection-title">
      <span class="subsection-title__subtitle"><%= t("features.other.subtitle") %></span>
    </h2>
    <div class="feature-list">
      <% @other.each do |use| %>
        <div class="feature-list__item-mini">
          <img src="<%= use.image %>" alt="" class="feature-list__image"/>
          <div class="feature-list__content">
            <h2 class="feature-list__title"><%= use[locale].title %></h2>
            <h3 class="feature-list__subtitle"><%= use[locale].subtitle %></h3>
            <p><%= use[locale].text %></p>
          </div>
        </div>
      <% end %>
    </div>
    <div class="page__cta">
      <h2 class="page__cta-title"><%= t("features.cta.title") %></h2>
      <a class="btn btn--primary" href="https://docs.decidim.org/en/features/" target="_blank">
        <%= t("features.cta.button") %>
      </a>
    </div>
</div><commit_msg>Fix features CTA link<commit_after><% @spaces = data.features.select {|feature| feature[:type] == "spaces"} %>
<% @components = data.features.select {|feature| feature[:type] == "components"} %>
<% @other = data.features.select {|feature| feature[:type] == "other"} %>

<div class="container container-vertical">
  <h1 class="page-title page-title--nomargin"><%= t("features.title") %></h1>
    <div class="page-intro">
      <%= t("features.intro") %>
    </div>
    <h2 class="subsection-title">
      <%= t("features.type1.title") %>
      <span class="subsection-title__subtitle"><%= t("features.type1.subtitle") %></span>
    </h2>
    <div class="feature-list">
      <% @spaces.each do |use| %>
        <div class="feature-list__item">
          <img src="<%= use.image %>" alt="" class="feature-list__image"/>
          <div class="feature-list__content">
            <h2 class="feature-list__title"><%= use[locale].title %></h2>
            <h3 class="feature-list__subtitle"><%= use[locale].subtitle %></h3>
            <p><%= use[locale].text %></p>
          </div>
        </div> 
      <% end %>
    </div>
    <h2 class="subsection-title">
      <%= t("features.type2.title") %>
      <span class="subsection-title__subtitle"><%= t("features.type2.subtitle") %></span>
    </h2>
    <div class="feature-list">
      <% @components.each do |use| %>
        <div class="feature-list__item">
          <img src="<%= use.image %>" alt="" class="feature-list__image"/>
          <div class="feature-list__content">
            <h2 class="feature-list__title"><%= use[locale].title %></h2>
            <h3 class="feature-list__subtitle"><%= use[locale].subtitle %></h3>
            <p><%= use[locale].text %></p>
          </div>
        </div> 
      <% end %>
    </div>
    <h2 class="subsection-title">
      <span class="subsection-title__subtitle"><%= t("features.other.subtitle") %></span>
    </h2>
    <div class="feature-list">
      <% @other.each do |use| %>
        <div class="feature-list__item-mini">
          <img src="<%= use.image %>" alt="" class="feature-list__image"/>
          <div class="feature-list__content">
            <h2 class="feature-list__title"><%= use[locale].title %></h2>
            <h3 class="feature-list__subtitle"><%= use[locale].subtitle %></h3>
            <p><%= use[locale].text %></p>
          </div>
        </div>
      <% end %>
    </div>
    <div class="page__cta">
      <h2 class="page__cta-title"><%= t("features.cta.title") %></h2>
      <a class="btn btn--primary" href="https://docs.decidim.org/en/features/general-description/" target="_blank">
        <%= t("features.cta.button") %>
      </a>
    </div>
</div>
{'fraction_non_alphanumeric': 0.22426057656308498, 'fraction_numerical': 0.009734181954324224, 'mean_word_length': 2.746844319775596, 'pattern_counts': {'":': 0, '<': 189, '<?xml version=': 0, '>': 189, 'https://': 2, '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': '7472144', 'n_tokens_mistral': 1842, 'n_tokens_neox': 1753, 'n_words': 308}