@extends('admin.layout') @section('title', 'Settings') @section('content')
@csrf @method('PUT') @foreach ($groups as $groupLabel => $keys)

{{ $groupLabel }}

@if ($groupLabel === 'WhatsApp Auto-Send (Meta Cloud API)')

Optional — leave all 4 blank and assigning a lead to an outlet still works exactly as before (a manual "Send via WhatsApp" button). Fill all 4 in and it sends automatically the moment a lead is assigned, using your approved WhatsApp Business template. See the setup guide for how to get these from Meta for Developers.

@endif @if ($groupLabel === 'Google Reviews Sync')

Add your API key here, then add each outlet's Google Place ID in Locations. After that, go to Reviews and click "Sync from Google". Google returns up to 5 reviews per outlet. That's Google's limit, not this site's, so anything beyond that still has to be added manually.

@endif @if ($groupLabel === 'SEO & Google Marketing')

@endif @foreach ($keys as $key => $label)
@if (in_array($key, ['hero_subheadline', 'team_text'])) @else @endif
@endforeach @if ($groupLabel === 'Site Logo')
@if (!empty($settings['site_logo']))
Current logo
@endif @error('site_logo')

{{ $message }}

@enderror

PNG or SVG with a transparent background works best (max 4 MB). Leave blank to keep the current logo.

@if (!empty($settings['site_favicon']))
Current favicon
@endif @error('site_favicon')

{{ $message }}

@enderror

Square PNG, at least 64×64 px (max 1 MB). Leave blank to keep the current favicon.

@endif @if ($groupLabel === 'Homepage Hero' && isset($fileKeys['hero_image']))
@if (!empty($settings['hero_image'])) Hero image @endif

Upload a new image to replace the current one, or leave blank to keep it.

@endif @if ($groupLabel === 'Why Us — Team Section' && isset($fileKeys['team_image']))
@if (!empty($settings['team_image'])) Team image @endif

Upload a new image to replace the current one, or leave blank to keep it.

@endif
@endforeach
@endsection