.u-mb-2
  .container.u-py-2
    .Grid
      .Grid-cell
        %h2.u-mb-2
          Popular tags
          = link_to tag_filter_path, title: 'Filter by tag' do
            =inline_svg('filter.svg', {class: 'Icon u-ml-05'})

        -if @tags
          =render partial: "tags/tag", collection: @tags
        -else
          %p No tags found.

.container
  -unless @lists.empty?
    %h2 
      Newest lists
    .Grid
      -@lists.each do |list|
        .Grid-cell.1-of-3--desk
          =render list

    .Grid
      .Grid-cell.1-of-3--desk
        = paginate @lists

  -else
    %p No lists created yet.
.u-mb-2
  .container.u-py-2
    .Grid
      .Grid-cell
        %h2.u-mb-2
          Popular tags
          = link_to tag_filter_path, title: 'Filter by tag' do
            =inline_svg('filter.svg', {class: 'Icon u-ml-05'})

        -if @tags
          =render partial: "tags/tag", collection: @tags
        -else
          %p No tags found.

.container
  -unless @lists.empty?
    %h2 
      Newest lists
    .Grid.Grid--flush
      -@lists.each do |list|
        .Grid-cell.1-of-4--desk
          =render list

    .Grid
      .Grid-cell
        = paginate @lists

  -else
    %p No lists created yet.
Change grid on newest page.
Change grid on newest page.
