@extends('twill::layouts.main') @section('appTypeClass', 'body--buckets') @php $bucketSectionLinks = $bucketSectionLinks ?? []; @endphp @push('extra_css') @if(app()->isProduction()) @endif @endpush @push('extra_js_head') @if(app()->isProduction()) @endif @endpush @section('content') {{ $bucketsSectionIntro ?? twillTrans('twill::lang.buckets.intro') }} @stop @section('initialStore') window['{{ config('twill.js_namespace') }}'].STORE.buckets = { saveUrl: {!! json_encode($saveUrl) !!}, items: {!! json_encode($items) !!}, source: {!! json_encode($source) !!}, dataSources: {!! json_encode($dataSources) !!}, page: 1, maxPage: {{ $maxPage ?? 1 }}, offset: {{ $offset ?? 10 }}, filter: {} } @stop @push('extra_js') @endpush