Wire admin studio SSR and search infrastructure
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
@extends('layouts.nova.content-layout')
|
||||
@extends('layouts.story-editor')
|
||||
|
||||
@php
|
||||
$hero_title = $mode === 'create' ? 'Write Story' : 'Edit Story';
|
||||
$hero_description = 'A focused writing studio with autosave, embeds, live preview, and a cleaner publish workflow.';
|
||||
$page_title = $mode === 'create' ? 'Write Story' : 'Edit Story';
|
||||
@endphp
|
||||
|
||||
@section('page-content')
|
||||
@section('content')
|
||||
@php
|
||||
$initialContent = $story->content;
|
||||
if (is_string($initialContent)) {
|
||||
@@ -49,7 +48,7 @@
|
||||
];
|
||||
@endphp
|
||||
|
||||
<div class="mx-auto max-w-7xl" id="story-editor-react-root"
|
||||
<div id="story-editor-react-root"
|
||||
data-mode="{{ $mode }}"
|
||||
data-story='@json($storyPayload)'
|
||||
data-story-types='@json($storyTypes)'
|
||||
|
||||
Reference in New Issue
Block a user