@extends('admin.layouts.app') @section('title', 'Settings') @section('page_title', 'Global Settings') @section('content') @php $platformOptions = ['linkedin','facebook','instagram','youtube','x','tiktok','threads','pinterest','github','dribbble','behance','whatsapp','telegram','discord','reddit','custom']; @endphp

Site configuration

Global settings

Control branding, SEO fallbacks, social profiles, CTAs, analytics, and more — without touching code.

@csrf @method('PUT') @foreach ($sections as $section => $sectionFields)

{{ $section }}

@foreach ($sectionFields as $field) @php $key = $field['key']; $type = $field['type']; $value = old($key, $values[$key] ?? ($field['default'] ?? '')); $span = in_array($type, ['text', 'media', 'social_profiles', 'json'], true) || ($field['span'] ?? null) === 2; @endphp
@if (! empty($field['help']))

{{ $field['help'] }}

@endif @if ($type === 'boolean') @elseif ($type === 'color')
@elseif ($type === 'text') @elseif ($type === 'json') @elseif ($type === 'select') @elseif ($type === 'media') @elseif ($type === 'social_profiles') @php $profiles = is_array($value) ? array_values($value) : []; @endphp @elseif ($type === 'integer') @else @endif
@endforeach
@endforeach @can('update', \App\Modules\Settings\Models\Setting::class) @endcan
@endsection