@extends('backend::layouts.master') @section('title', 'Configuration Preview - ' . ($key ?? 'Unknown')) @section('content')

Configuration Preview: {{ ucfirst($key ?? 'Unknown') }}

Language: {{ $languageCode ?? 'en' }}
@if($configuration)
Configuration Details
Section Key: {{ $key ?? 'N/A' }}
Language: {{ $languageCode ?? 'en' }}
Status: @if(is_array($configuration) && isset($configuration['status'])) {{ ucfirst($configuration['status']) }} @else Active @endif
Last Updated: {{ now()->format('M d, Y H:i') }}
Data Values
@if(is_array($configuration)) @foreach($configuration as $key => $value) @if($key !== 'status' && $key !== 'meta')
{{ ucfirst(str_replace('_', ' ', $key)) }}:
@if(is_array($value)) {{ json_encode($value, JSON_PRETTY_PRINT) }} @elseif(is_string($value) && strlen($value) > 100) {{ Str::limit($value, 100) }} @else {{ $value }} @endif
@endif @endforeach @else

No configuration data available.

@endif

Visual Preview
Visual Preview

This section would show how the configuration appears on the frontend.
Configure the theme templates to see the actual visual output.

@else
No Configuration Found

The requested configuration section "{{ $key }}" could not be found or loaded.

Back to Configurations
@endif
@endsection @push('styles') @endpush