@extends('admin::layouts.master') @section('title', 'Section Details') @section('content')

Section Details

Edit Back
ID{{ $section->id }}
Key{{ $section->key }}
Title{{ $section->title }}
Subtitle{{ $section->subtitle ?? '-' }}
Description{{ $section->description ?? '-' }}
Badge Text{{ $section->badge_text ?? '-' }}
Button Text{{ $section->button_text ?? '-' }}
Button Link{{ $section->button_link ?? '-' }}
Sort Order{{ $section->sort_order }}
Active{{ $section->is_active ? 'Yes' : 'No' }}
Created{{ $section->created_at->format('Y-m-d H:i') }}
@php $section->load('media'); @endphp @if($section->image_url)

Image Preview

{{ $section->title }}
@endif @if($section->media->isNotEmpty())

Media ({{ $section->media->count() }})

@foreach($section->media as $media)
@if($media->type === 'image') {{ $media->filename }} @else
{{ $media->type }}
@endif
{{ $media->filename }}
@endforeach
@endif @endsection