@extends('layouts.app')
@section('title', 'Content Board')
@section('page-title', 'Content Board 🎬')
@section('page-subtitle', 'Drag cards between columns to update status')
@section('content')
@foreach($columns as $col)
@php $status = $col['status']; @endphp
{{-- Column shell — layout only, NOT the sort target --}}
@php
$bgColors = [
'drafting' => '#f2f2f2',
'filming' => 'rgba(251, 189, 35, 0.2)',
'editing' => 'rgba(58, 191, 248, 0.2)',
'review' => 'rgba(240, 0, 184, 0.2)',
'posted' => 'rgba(54, 211, 153, 0.2)',
'archived' => 'rgba(42, 50, 60, 0.2)',
];
$bgStyle = isset($bgColors[$status->value]) ? 'background-color: ' . $bgColors[$status->value] . ';' : '';
@endphp
{{-- Column header --}}
{{ $status->icon() }}
{{ $status->label() }}
{{ count($col['items']) }}
{{-- Sortable items container --}}
@foreach($col['items'] as $brief)
@if($brief->client)
👥 {{ $brief->client->name }}
@endif
@if($brief->target_date)
📅 {{ $brief->target_date->format('d M') }}
@endif
@endforeach
{{-- Add button --}}
+ Add
@endforeach
{{-- Content Detail Request Modal --}}
✕
Platform
Status
Client
Target
@push('scripts')
@endpush
@endsection