@php /** @var \Illuminate\Support\Collection $accounts */ $first = $accounts->first(); $xInner = \App\Support\SvgIcon::inner('brands', 'x'); @endphp {{-- ===== Sticky header bar ===== --}}
{!! $xInner !!}
{{ __('X / New') }}
{{ __('Create') }} X {{ __('post') }}
{{ __('Draft / unsaved') }} {{ __('Cancel') }}
@if ($errors->any())
{{ __('Could not save the post:') }}
    @foreach ($errors->all() as $msg)
  • {{ $msg }}
  • @endforeach
@endif
@csrf {{-- ===== Left: sectioned card ===== --}}
{{-- 01 Account --}}
01 {{ __('Account') }} {{ __('required') }}
{{-- 02 Post type --}}
02 {{ __('Post type') }}
@php $types = [ 'text' => ['Text', ''], 'image' => ['Image', ''], 'video' => ['Video', ''], ]; @endphp @foreach ($types as $key => $t) @endforeach
{{-- 03 Media --}} {{-- 04 Text --}}
04 {{ __('Text') }} 0 / 280
@include('user.social._ai-assist', ['target' => '[data-x-text]', 'channel' => 'x'])
{{-- 05 When to post --}}
05 {{ __('When to post') }}
{{-- ===== Right: live preview ===== --}}
@push('scripts') @endpush