@extends('layouts.admin') @section('title', 'Frontend Content') @section('page-title', 'Frontend Content') @section('page-subtitle', 'Manage your website content') @section('content')
{{ session('success') }}
Update homepage, about page, and other frontend content
Branch Contents
{{ $stats['branch'] }}
Active Contents
{{ $stats['active'] }}
Global Templates
{{ $stats['global'] }}
Available to Copy
{{ max(0, $stats['global'] - $stats['branch']) }}
Copy default content templates to your branch, then customize them.
| Key | Section | Type | Preview | Status | Actions |
|---|---|---|---|---|---|
|
{{ $content->key }} {{ Str::limit($content->value, 50) }} |
{{ $sections[$content->section] ?? $content->section }} | @if($content->type === 'image') Image @elseif($content->type === 'url') URL @else Text @endif |
@if($content->type === 'image' && $content->value)
|
@if($content->is_active) Active @else Inactive @endif | |
|
@if(request('search'))
No content found matching "{{ request('search') }}" Clear search @elseNo content found for this branch. View available templates to copy @endif |
|||||