@extends('admin.layouts.app')

@section('title', __('admin/modules.index_title', ['family' => 'SMS']))

@section('content')
<div class="container-fluid px-4">
    <x-admin.page-header
        :title="__('admin/modules.index_title', ['family' => 'SMS'])"
        subtitle="13 providers — Twilio, NetGSM, Clickatell, …"
        icon="fas fa-sms"
    />

    <x-admin.alert />

    <x-admin.module-list
        :type="$type"
        :modules="$modules"
        edit-route-name="admin.sms-modules.edit"
        toggle-route-name="admin.sms-modules.toggle"
        test-route-name="admin.sms-modules.test"
    />
</div>
@endsection

@push('scripts')
@vite('resources/js/admin/modules/list.js')
@endpush
