@extends('layouts.app', ['title' => 'AI Writer']) @section('content')

AI Writer

Drafts for WhatsApp, email, ads, posts and proposals in your tone and language.

{{ $balance }} credits
@foreach ($templates as $k => $t) first)> @endforeach
Draft
@if ($recent->isNotEmpty())

Recent drafts

@foreach ($recent as $g)
{{ \App\Services\Ai\AiWriter::TEMPLATES[$g->template]['label'] ?? $g->template }} · {{ \Illuminate\Support\Str::limit($g->inputs['details'] ?? '', 80) }} · {{ $g->created_at->diffForHumans() }}
{{ $g->output }}
@endforeach
@endif @endsection @push('scripts') @endpush