@extends('layouts.app') @section('content')
@csrf @method('PUT')
@if($settings->count() > 0) @foreach($settings as $category => $categorySettings)
{{ ucfirst($category) }} Settings
@foreach($categorySettings as $setting)
@if($setting->type === 'text' || $setting->type === 'email' || $setting->type === 'url') @elseif($setting->type === 'color')
@elseif($setting->type === 'boolean')
id.'.value', $setting->typed_value) ? 'checked' : '' }}>
@elseif($setting->type === 'image')
@if($setting->value)
{{ $setting->label }}
Current: {{ basename($setting->value) }}
@endif Upload a new image to replace the current one
@else @endif @if($setting->description) {{ $setting->description }} @endif
id.'.is_public', $setting->is_public) ? 'checked' : '' }}>
@endforeach
@endforeach @else
No Brand Settings Found

Please seed the default settings first.

Back to Brand Settings
@endif
@if($settings->count() > 0) @endif
Live Preview - Changes will appear here as you type

{{ \App\Models\BrandSetting::get('site_name', 'Brambles and Blessings') }}

{{ \App\Models\BrandSetting::get('site_tagline', 'Farm Management Excellence') }}

Contact Information
{{ \App\Models\BrandSetting::get('contact_email', 'info@example.com') }}
{{ \App\Models\BrandSetting::get('contact_phone', '(555) 123-4567') }}
{{ \App\Models\BrandSetting::get('business_address', 'Booneville, AR') }}
@endsection