@extends('admin.layout') @section('title', 'Site Settings') @section('content')

Site Settings

@csrf @foreach($groups as $group => $fields)

{{ $group }}

@foreach($fields as $key => [$label, $type])
@if($type === 'textarea') @elseif($type === 'image') @if(!empty($values[$key]))@endif @elseif($type === 'color') @else @endif
@endforeach
@endforeach
@endsection