@extends('layouts.admin') @section('title', 'Site Settings') @section('breadcrumbs') @endsection @section('content')

Site Settings

Manage website content, branding, and contact information

@csrf @method('PUT')
@foreach($settings as $groupKey => $group)
@switch($groupKey) @case('header') Header & Branding Settings @break @case('hero') Hero Section Content @break @case('contact') Contact Information @break @case('footer') Footer & Developer Credits @break @case('social') Social Media Links @break @endswitch
@if($group['settings']->count() > 0)
@foreach($group['settings'] as $setting)
@switch($setting->type) @case('textarea') @break @case('email') @break @case('url') @break @case('number') @break @case('image')
@if($setting->value)
{{ $setting->label }}
Current: {{ basename($setting->value) }}
@endif
Upload a new image to replace the current one. Supported formats: JPG, PNG, GIF, SVG (max 2MB)
@break @case('boolean')
key, $setting->value) ? 'checked' : '' }}>
@break @default @endswitch @error('settings.' . $setting->key)
{{ $message }}
@enderror
@endforeach
@else
No Settings Found

No settings are configured for this group.

Initialize Default Settings
@endif
@endforeach
Save Changes
Cancel Changes
Preview
View Website
Open the website in a new tab to see your changes after saving.
Help

Header & Branding: Configure site logo, title, and subtitle displayed in the header.

Hero Section: Main banner content on the homepage.

Contact Information: Contact details displayed throughout the site.

Footer & Credits: Developer information and credits.

Social Media: Links to social media profiles.

@endsection @section('scripts') @endsection