@extends('admin.layouts.app') @section('title', 'View Content Section') @section('content')
{{ $contentSection->section_key }}
{{ json_encode($contentSection->data, JSON_PRETTY_PRINT) }}
To use this content section in your Blade templates, you can retrieve it using:
$section = ContentSection::where('section_key', '{{ $contentSection->section_key }}')->first();
{{ '{' }}{{ '{' }} $section->title {{ '}' }}{{ '}' }}
{{ '{' }}!! $section->content !!{{ '}' }}