<div class="row center-align">
  <ul class="collection with-header">
    <% for(const realEstate of realEstates) { %>
    <li class="collection-item">
      <% if(realEstate.adStatus === AD_STATUS.STATUS_VIP) {%>
      <div>
        <% //This needs to do redirecting instead of direct link to realestate
        %>
        <a href="/redirect/<%= realEstate.id %>" class="estates-link">
          <%= realEstate.title %>
          <div class="kivi-color secondary-content">
            <i class="material-icons">send</i>
          </div>
        </a>
      </div>
      <%} else { %>
      <div>
        <a href="<%= realEstate.url %>" class="estates-link">
          <%= realEstate.title %>
          <div class="kivi-color secondary-content">
            <i class="material-icons">send</i>
          </div>
        </a>
      </div>
      <% }%>
    </li>
    <% } %>
  </ul>
</div>
