@extends('admin.layouts.master') @section('title', isset($post) ? 'Edit News' : 'Create News') @section('css') @endsection @section('content')
@csrf @if(isset($post)) @method('PUT') @endif {{-- AI image hidden input --}} {{-- Page Header --}}

{{ isset($post) ? 'Edit News' : 'Create News' }}

{{ isset($post) ? 'Update existing news article' : 'Write and publish a new news article' }}

Back
@include('admin.partial.validation-error')
{{-- ══════════════ LEFT COLUMN ══════════════ --}}
{{-- Article Content --}}
Article Content Editor
@error('title'){{ $message }}@enderror
{{-- SEO --}}
SEO Settings Intelligence
0 / 70
0 / 160
Click to upload meta image Recommended: 1200×630px · JPG, PNG
Meta preview
@if(isset($post) && $post->meta_image) @endif
{{-- end left --}} {{-- ══════════════ RIGHT SIDEBAR ══════════════ --}}
{{-- Thumbnail --}}
Featured Image
Click to upload thumbnail JPG, PNG, WebP · Max 5MB
Thumbnail preview
@if(isset($post) && $post->thumbnail) @endif
{{-- Lead / Main Position --}}
Lead / Main Position
Lead Position
@error('lead_position'){{ $message }}@enderror
Main Position
@error('main_news_position_no'){{ $message }}@enderror
Leave empty to skip.
{{-- Categories --}}
Category
{{-- Tags --}}
Tags
{{-- Location --}}
Location
{{-- Extra --}}
Extra Options
Leave empty to publish immediately.
{{-- end right --}}
{{-- end nc-wrap --}}
{{-- ════════════════════════════════════════ AI GENERATE MODAL ════════════════════════════════════════ --}}
{{-- Header --}}

AI Generate News

{{-- Body --}}
কীভাবে কাজ করে: শিরোনাম ও ক্যাটাগরি দিন। AI স্বয়ংক্রিয়ভাবে Title, Sub Title, Content, SEO, Caption ও Thumbnail সব পূরণ করবে।
{{-- Form --}}
যত বিস্তারিত লিখবেন, তত ভালো কন্টেন্ট পাবেন
{{-- Loader --}}
কন্টেন্ট তৈরি হচ্ছে...
AI আপনার সংবাদ লিখছে, একটু অপেক্ষা করুন
{{-- Progress Steps --}}
AI দিয়ে সংবাদ লেখা হচ্ছে...
Thumbnail তৈরি হচ্ছে...
সব field পূরণ হচ্ছে...
{{-- Footer --}}
@endsection @section('script') @endsection