@extends('panel.layout.app', ['disable_tblr' => true]) @section('title', __('Marketplace')) @section('titlebar_actions_before') @php $filters = ['All', 'Installed', 'Free', 'Paid']; @endphp
    @foreach ($filters as $filter)
  • {{ __($filter) }}
  • @endforeach
@endsection @section('titlebar_actions')
{{ __('Manage Addons') }} {{ __('Browse Add-ons') }} {{ __('Cart') }} {{ count(is_array($cart) ? $cart : []) }}
@endsection @section('content')
{{-- TODO: This banner section should be made in accordance with the design. --}} @if (is_array($banners) && $banners)
{{ $banners[0]['banner_title'] ?? '' }}

{{ $banners[0]['banner_description'] ?? '' }}

@foreach ($banners as $banner) $loop->first, ]) :class="{ 'active': currentBanner === {{ $loop->index }} }" @click="currentBanner = {{ $loop->index }}" > @endforeach
{{ $banners[0]['banner_title'] ?? '' }}
@endif
@foreach ($items as $item) {{-- TODO: {{ $item['is_featured'] ? 'border-red-500': '' --- If is featured true, a border gradient must be added. --}}
@if (trim($item['badge'], ' ') != '' || $item['price'] == 0)

@if (trim($item['badge'], ' ') != '') {{ $item['badge'] }} @elseif ($item['price'] == 0) @lang('Free') @endif

@endif @if ($item['version'] != $item['db_version'] && $item['installed'])

{{ __('Update Available') }}

@endif
{{ $item['name'] }} @if ($item['installed'])

{{ __('Installed') }}

@endif

{{ $item['name'] }}

{{ number_format($item['review'], 1) }}

{{ $item['description'] }}

{{ __('View details') }}
@if (!$item['only_show'])
@foreach ($item['categories'] as $tag) {{ $tag }} @if (!$loop->last) @endif @endforeach
@endif @if (!$item['licensed'] && $item['price'] && $item['is_buy'] && !$item['only_show']) @if ($app_is_not_demo) @if ($item['slug'] === 'chatbot-agent') @if (\App\Helpers\Classes\MarketplaceHelper::isRegistered('chatbot')) @else @endif @else @endif @endif @endif
@endforeach
@endsection @push('script') @endpush