@extends('layouts.admin') @section('content')

Newsletter Subscribers

Manage newsletter subscribers. Export the list to send newsletters via your email provider.
@include('partials.alerts')
Add a Subscriber
@csrf
@error('email')
{{ $message }}
@enderror
@include('partials.admin-filter', [ 'action' => route('admin.newsletter'), 'q' => $q, 'searchPlaceholder' => 'Search by email or name…', 'active' => $q !== '', ]) @if($subscribers->count() > 0)

Total Active Subscribers: {{ $subscribers->total() }}

@foreach($subscribers as $subscriber) @endforeach
Email Status Subscribed Actions
{{ $subscriber->email }} @if($subscriber->is_active) Active @else Inactive @endif {{ $subscriber->created_at->format('d M Y') }} @include('partials.admin-actions', ['actions' => [ ['type' => 'copy', 'label' => 'Copy email', 'icon' => 'fa-copy', 'value' => $subscriber->email, 'done' => 'Email copied: '.$subscriber->email], ['type' => 'form', 'label' => 'Remove', 'icon' => 'fa-trash', 'url' => route('admin.newsletter.delete', $subscriber->id), 'method' => 'DELETE', 'danger' => true, 'confirm' => ['title' => 'Remove Subscriber?', 'message' => 'This will permanently remove this subscriber.', 'confirmText' => 'Yes, Remove']], ]])
{{ $subscribers->links() }}
@else

No Subscribers Yet

Newsletter subscribers will appear here once visitors sign up via the website footer.

@endif
@endsection