@extends('admin.layouts.app')

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

@section('content')
<div class="container-fluid px-4">
    <x-admin.page-header
        :title="__('admin/modules.index_title', ['family' => 'Email'])"
        subtitle="10 transactional providers — SMTP, SendGrid, Mailgun, …"
        icon="fas fa-envelope"
    />

    <x-admin.alert />

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

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