<div class="banner-container">
  <div class="hero-wrapper">
    <header class="hero">
      <div class="profile-info">
        <h1 class="hero-title"><%= @user.username %></h1>
        <p class="hero-description"><%= @user.description %></p>
      </div>
      <div class="hero-avatar">
        <%= avatar_for @user, size: 100 %>
      </div>
    </header>
    <div class="following-metadata">
      <span class="following-count"><b><%= @user.following.size %></b> Following</span>
      <span class="follower-count"><%= highlight(pluralize(@user.followers.size, "Follower"), /\d+/, highlighter: '<b>\1</b>') %>
    </div>

    <% if user_signed_in? && current_user?(@user) %>
      <%= link_to "Edit", edit_user_path(@user), class: 'button green-border-button' %>
    <% end %>

    <%= follow_button_for(@user) %>
  </div>
</div>
<div class="posts-wrapper">
  <h4 class="heading-border-b">Recommended by <%= @user.username %></h4>
  <div data-behavior="endless-scroll">
    <%= render @recommended_posts %>
  </div>
  <%= will_paginate @recommended_posts %>
</div>

<div class="banner-container" data-animation="fadeInUp-fadeOutDown-slow">
  <div class="hero-wrapper">
    <header class="hero">
      <div class="profile-info">
        <h1 class="hero-title"><%= @user.username %></h1>
        <p class="hero-description"><%= @user.description %></p>
      </div>
      <div class="hero-avatar">
        <%= avatar_for @user, size: 100 %>
      </div>
    </header>
    <div class="following-metadata">
      <span class="following-count"><b><%= @user.following.size %></b> Following</span>
      <span class="follower-count"><%= highlight(pluralize(@user.followers.size, "Follower"), /\d+/, highlighter: '<b>\1</b>') %>
    </div>

    <% if user_signed_in? && current_user?(@user) %>
      <%= link_to "Edit", edit_user_path(@user), class: 'button green-border-button' %>
    <% end %>

    <%= follow_button_for(@user) %>
  </div>
</div>


<div class="posts-wrapper" data-animation="fadeInUp-fadeOutDown">
  <h4 class="heading-border-b">Recommended by <%= @user.username %></h4>
  <div data-behavior="endless-scroll">
    <%= render @recommended_posts %>
  </div>
  <%= will_paginate @recommended_posts %>
</div>

Add animation recommended posts page
Add animation recommended posts page
