{{ $template_id ? 'EDIT' : 'CREATE' }} BLUEPRINT

Desain resep otomasi dengan kontrol bahan visual real-time.

CANCEL

Blueprint Configuration

@foreach(['9:16' => '📱', '16:9' => '💻', '1:1' => '🟧'] as $ratio => $icon) @endforeach
@foreach($masterData as $key => $section)

{{ substr($section['label'], 0, 1) }} {{ $section['label'] }}

@php $totalSelected = 0; foreach($section['fields'] as $fk => $fv) { $totalSelected += count((array)($this->{$key}[$fk] ?? [])); } @endphp @if($totalSelected > 0) {{ $totalSelected }} SELECTED @endif
@foreach($section['fields'] as $fieldKey => $fieldConfig)
@php $subCount = count((array)($this->{$key}[$fieldKey] ?? [])); @endphp @if($subCount > 0) {{ $subCount }} @endif
@forelse($fieldConfig['items'] as $item) @php $val = in_array($key, ['subject', 'environment']) ? $item->value : $item->name; $isSelected = in_array($val, (array)($this->{$key}[$fieldKey] ?? [])); @endphp @empty
No elements available.
@endforelse
@endforeach
@endforeach

🧠 CHEAT SHEET

🔥 WAJIB AGAR SPEKTAKULER

  • Subject: Type + Condition + Interaction
  • Env: Type + Character + Atmosphere + Time
  • Lighting: Type + Direction + Quality
  • Camera: Shot + Angle

⭐ BIAR CINEMATIC

  • Composition: Depth + Rule
  • Style: Mood + Visual Style

💎 BIAR "NEXT LEVEL"

  • Art Style + Texture + Artist

Real-Time Result Preview

@php $subjT = (array)($subject['type'] ?? []); $envT = (array)($environment['type'] ?? []); $prevT = count($subjT) ? implode(' & ', array_slice($subjT, 0, 2)) : 'Untitled Subject'; if(count($envT)) $prevT .= " in " . $envT[0]; @endphp 🌿 {{ Str::headline($prevT) }}
@php $anySelected = false; @endphp @foreach($masterData as $k => $sec) @php $selValues = []; foreach($sec['fields'] as $fk => $fv) { $items = (array)($this->{$k}[$fk] ?? []); if(count($items)) $selValues = array_merge($selValues, $items); } @endphp @if(count($selValues)) @php $anySelected = true; @endphp
{{ $sec['label'] }} {{ implode(', ', $selValues) }}
@endif @endforeach @if(!$anySelected)
No ingredients selected yet.
@endif

Quality Standards (5.3)

@php $c = [ ['Nature Dominance', count((array)($subject['interaction'] ?? [])) > 0], ['Color Harmony', count((array)($style['visual'] ?? [])) > 0], ['Depth Layering', count((array)($composition['depth'] ?? [])) > 0], ['Soft Lighting', count((array)($lighting['quality'] ?? [])) > 0], ]; @endphp @foreach($c as $item)
{{ $item[0] }} {{ $item[1] ? 'READY' : 'MISSING' }}
@endforeach
Pro Tip: Mix and match multiple environment sub-elements to create a layered "Nature Reclaims" look.