@extends('layouts.modules')

@section('title', trans_choice('general.modules', 2))

@section('content')
    @include('partials.modules.bar')

    <div class="col-md-12 no-padding-left">
        <div class="content-header no-padding-left">
            <h3>{{ trans('modules.top_paid') }}</h3>
        </div>

        @foreach ($paid as $module)
            @include('partials.modules.item')
        @endforeach
    </div>

    <div class="col-md-12 no-padding-left">
        <div class="content-header no-padding-left">
            <h3>{{ trans('modules.new') }}</h3>
        </div>

        @foreach ($new as $module)
            @include('partials.modules.item')
        @endforeach
    </div>

    <div class="col-md-12 no-padding-left">
        <div class="content-header no-padding-left">
            <h3>{{ trans('modules.top_free') }}</h3>
        </div>

        @foreach ($free as $module)
            @include('partials.modules.item')
        @endforeach
    </div>
@endsection