<commit_before>- content_for :title, t('.title')

.home-page
  header.hero[data-image-url=image_path('home-hero-micropasts.jpg')]
    .row
      .small-12.medium-12.medium-centered.columns
        h2.text-center = t('.hero.title').html_safe
        #home-subtitle.row
          .small-12.medium-10.medium-offset-1.columns
            = t('.hero.subtitle_html')
        #home-newsletter.row
          .small-12.medium-8.medium-offset-2.columns
            = form_tag Configuration['mailchimp_headline_list_url'], method: 'post', class: 'header-newsletter collapse' do
              = email_field_tag 'mce-EMAIL', nil, name: 'EMAIL', placeholder: t('.hero.email_placeholder'), label: 'email', class: 'header-newsletter-input small-12 columns'
              = submit_tag t('.hero.submit'), class: 'header-newsletter-submit button small-12 columns'
    .row#first-title
      .small-12.columns.text-center
        = link_to '#first-title' do
          i.scroll-down.icon-fa-chevron-down alt='Scroll down!'

  section.projects
    .row
      section.recommended
        .small-12.columns
          h3
            = link_to discover_path(filter: 'recommended') do
              i.icon-et-heart
              = t('.recommended')

        = render 'project', project: @featured.first, large: !browser.mobile? if @featured.any?
        = render 'project', project: @recommended.shift if @recommended.any?

        /- if @recommended.any?
          /.row
            /- for project in @recommended
              /= render 'project', project: project

        .text-right.text-right.small-12.columns
          = link_to discover_path(filter: 'recommended'), class: 'see-more' do
            = t('words.see_more')
            i.icon-et-right-circled

      - if @ending_soon.any?
        section.ending-soon
          .small-12.columns
            h3
              = link_to discover_path(filter: 'expiring') do
                i.icon-et-hourglass
                = t('.ending_soon')

          - for project in @ending_soon
            = render 'project', project: project

          - if @ending_soon.size >= 4
            .text-right.small-12.columns
              = link_to discover_path(filter: 'expiring'), class: 'see-more' do
                = t('words.see_more')
                i.icon-et-right-circled

      - if @successful.any?
        section.successful
          .small-12.columns
            h3
              = link_to discover_path(filter: 'successful') do
                i.icon-et-thumbs-up
                = t('.successful')

          - for project in @successful
            = render 'project', project: project

          - if @successful.size >= 4
            .text-right.text-right.small-12.columns
              = link_to discover_path(filter: 'successful'), class: 'see-more' do
                = t('words.see_more')
                i.icon-et-right-circled

      - if @coming_soon.any?
        section.coming-soon
          .small-12.columns
            h3
              = link_to discover_path(filter: 'soon') do
                i.icon-et-clock
                = t('.coming_soon')

          - for project in @coming_soon
            = render 'project', project: project

          - if @coming_soon.size >= 4
            .text-right.text-right.small-12.columns
              = link_to discover_path(filter: 'soon'), class: 'see-more' do
                = t('words.see_more')
                i.icon-et-right-circled

      section.start-one.hide-for-small
        .small-12.columns
          = link_to start_path do
            h3 = t('.start-one.title')
            span.button.custom.with-icon.large = t('.start-one.button')

  section.press.hide-for-small
    .row
      .small-12.columns
        - @press_assets.each do |asset|
          = link_to asset.url, target: :blank, title: asset.title do
            = image_tag asset.image.thumb.url<commit_msg>Change layout front page<commit_after>- content_for :title, t('.title')

.home-page
  header.hero[data-image-url=image_path('home-hero-micropasts.jpg')]
    .row
      .small-12.medium-12.medium-centered.columns
        h2.text-center = t('.hero.title').html_safe
        #home-subtitle.row
          .small-12.medium-10.medium-offset-1.columns
            = t('.hero.subtitle_html')
        #home-newsletter.row
          .small-12.medium-8.medium-offset-2.columns
            = form_tag Configuration['mailchimp_headline_list_url'], method: 'post', class: 'header-newsletter collapse' do
              = email_field_tag 'mce-EMAIL', nil, name: 'EMAIL', placeholder: t('.hero.email_placeholder'), label: 'email', class: 'header-newsletter-input small-12 columns'
              = submit_tag t('.hero.submit'), class: 'header-newsletter-submit button small-12 columns'
    .row#first-title
      .small-12.columns.text-center
        = link_to '#first-title' do
          i.scroll-down.icon-fa-chevron-down alt='Scroll down!'

  section.projects
    .row
      section.recommended
        .small-12.columns
          h3
            = link_to discover_path(filter: 'recommended') do
              i.icon-et-heart
              = t('.recommended')

        = render 'project', project: @featured.first, large: !browser.mobile? if @featured.any?
        = render 'project', project: @recommended.shift if @recommended.any?

        /- if @recommended.any?
          /.row
            /- for project in @recommended
              /= render 'project', project: project

        .text-right.text-right.small-12.columns
          = link_to discover_path(filter: 'recommended'), class: 'see-more' do
            = t('words.see_more')
            i.icon-et-right-circled

      - if @ending_soon.any?
        section.ending-soon
          .small-12.columns
            h3
              = link_to discover_path(filter: 'expiring') do
                i.icon-et-hourglass
                = t('.ending_soon')

          - for project in @ending_soon
            = render 'project', project: project

          - if @ending_soon.size >= 4
            .text-right.small-12.columns
              = link_to discover_path(filter: 'expiring'), class: 'see-more' do
                = t('words.see_more')
                i.icon-et-right-circled

      - if @successful.any?
        section.successful
          .small-12.columns
            h3
              = link_to discover_path(filter: 'successful') do
                i.icon-et-thumbs-up
                = t('.successful')

          - for project in @successful
            = render 'project', project: project

          - if @successful.size >= 4
            .text-right.text-right.small-12.columns
              = link_to discover_path(filter: 'successful'), class: 'see-more' do
                = t('words.see_more')
                i.icon-et-right-circled

      - if @coming_soon.any?
        section.coming-soon
          .small-12.columns
            h3
              = link_to discover_path(filter: 'soon') do
                i.icon-et-clock
                = t('.coming_soon')

          - for project in @coming_soon
            = render 'project', project: project

          - if @coming_soon.size >= 4
            .text-right.text-right.small-12.columns
              = link_to discover_path(filter: 'soon'), class: 'see-more' do
                = t('words.see_more')
                i.icon-et-right-circled

      section.start-one.hide-for-small
        .small-12.columns
          = link_to start_path do
            h3 = t('.start-one.title')
            span.button.custom.with-icon.large = t('.start-one.button')

  - if @channels.any?
    section.channels.default-list
      .row
        .large-12.columns
          h3
            i.icon-et-megaphone
            = t('.channels')

      .row
        = render @channels
  - if @press_assets.any?
    section.press.hide-for-small
      .row
        .small-12.columns
          - @press_assets.each do |asset|
            = link_to asset.url, target: :blank, title: asset.title do
            = image_tag asset.image.thumb.url
{'fraction_non_alphanumeric': 0.12507809571410722, 'fraction_numerical': 0.012370361114582031, 'mean_word_length': 1.7243022464261402, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '6520219', 'n_tokens_mistral': 2498, 'n_tokens_neox': 2352, 'n_words': 441}