@include('header') @isset($finalDraft['data']) @foreach ($finalDraft['data'] as $draft) {{$finalDraft['current_page']}} of {{$finalDraft['last_page']}} {{isset($draft->draft_file_name) && !empty($draft->draft_file_name) ? $draft->draft_file_name : 'Article Draft'}} (#{{$draft->article_sequence}}) @if(auth()->user()->roles[0]->id === 3) {{ $finalDraft['data'][0]?->approved ? 'Published' : 'Publish' }} @endif @if(auth()->user()->roles[0]->id === 3) @cannot('Restrict to edit article draft') Edit Article @endcannot @endif Article Inputs Edit Outline Download Docx {{-- --}} Cancel Save {{$articleSessionDetail->headline}} {{$draft->teaser}} {!! Str::markdown(trim($draft->article_text)) !!} Next section generating... @if(empty($draft->article_text)) Your article is generating... @endif {{$articleSessionDetail->headline}} {{$draft->teaser}} {!! Str::markdown(trim($draft->article_text)) !!} @endforeach @endisset Introduction Notes Extend Introduction Shorten Introduction Strengthen the Hook Expand on Key Ideas Optimize for SEO Mention Company Brand Clarify Target Audiance Start With a Strong Message Translate to French Translate to Spanish @if(auth()->user()->roles[0]->id === 3) × @endif More... Body Notes Expand on Key Ideas Use a More Professional Tone Expand on Key Ideas Mention Company Brand Emphasise SEO Keywords Lengthen the Body Shorten the Body Include Counter Arguments Use a Different Example Provide Practical Examples Inject Subtle Humor Be More Professional Elaborate on Key Concepts Use More formatting Use Less formatting Translate to French Translate to Spanish @if(auth()->user()->roles[0]->id === 3) × @endif More... Conclusion Notes Extend Conclusion Shorten Conclusion Summarize Key Takeaways Pose Reflective Questions Strengthen the End Future Predictions End With a Question End With a Statement Mention Company Brand Translate to French Translate to Spanish @if(auth()->user()->roles[0]->id === 3) × @endif More... @if(auth()->user()->roles[0]->id === 3) Re-Generate Blog Post @endif Images @include('articles.final-draft-images') @csrf @include('custom-image-upload') Article Inputs {{$finalDraft['data'][0]->persona_name}} Writes about tech trends, innovations, and their impact. Article Type {{$finalDraft['data'][0]->article_type}} Target Keyword {{$finalDraft['data'][0]->target_keyword}} Thesis Statement {{$finalDraft['data'][0]->narrative}} Word Count {{ str_word_count($finalDraft['data'][0]->article_text) }} Revision Notes {!! Str::markdown(trim(isset($finalDraft['data'][0]->revision_note) && !empty($finalDraft['data'][0]->revision_note) ? $finalDraft['data'][0]->revision_note : 'No revision notes')) !!} @vite('resources/js/app.js')