@php /** @var \Illuminate\Support\Collection $accounts */ $first = $accounts->first(); $liInner = \App\Support\SvgIcon::inner('brands', 'linkedin'); @endphp {{-- ===== Sticky header bar ===== --}}
{!! $liInner !!}
{{ __('LinkedIn / New') }}
{{ __('Create LinkedIn') }} {{ __('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 {{ __('Post as') }} {{ __('required') }}
{{-- 02 Post type --}}
02 {{ __('Post type') }}
@php $types = [ 'text' => ['Text', ''], 'image' => ['Image', ''], 'video' => ['Video', ''], 'carousel' => ['Carousel', ''], 'article' => ['Link', ''], ]; @endphp @foreach ($types as $key => $t) @endforeach
{{-- 03 Media (image/video) --}} {{-- 03 Carousel (2–20 images) --}} {{-- 03 Link (article) --}} {{-- 04 Text --}}
04 {{ __('Text') }} 0 / 3000
@include('user.social._ai-assist', ['target' => '[data-li-text]', 'channel' => 'linkedin'])
{{-- 05 Visibility --}}
05 {{ __('Visibility') }}
{{-- 06 When to post --}}
06 {{ __('When to post') }}
{{-- ===== Right: live preview ===== --}}
@push('scripts') @endpush