diff --git a/apps/admin/src/components/EditorShell.tsx b/apps/admin/src/components/EditorShell.tsx index c239796..ec5b97a 100644 --- a/apps/admin/src/components/EditorShell.tsx +++ b/apps/admin/src/components/EditorShell.tsx @@ -1,5 +1,4 @@ import { Box, Button, Stack, Typography, TextField, MenuItem, Snackbar, Alert, Stepper, Step, StepLabel, StepButton } from '@mui/material'; -import AdminLayout from '../layout/AdminLayout'; import type { RichEditorHandle } from './RichEditor'; import StepAssets from './steps/StepAssets'; import StepAiPrompt from './steps/StepAiPrompt'; @@ -47,7 +46,7 @@ export default function EditorShell({ onLogout, initialPostId, onBack }: { onLog // No inline post switching here; selection happens on Posts page return ( - + - + {/* Left sticky sidebar: Post controls */} - + Post {/* Right content: Stepper and step panels */} - + {[ 'Assets', 'AI Prompt', 'Generate', 'Edit', 'Metadata', 'Publish' ].map((label, idx) => ( @@ -187,6 +186,6 @@ export default function EditorShell({ onLogout, initialPostId, onBack }: { onLog - + ); } diff --git a/apps/admin/src/layout/AdminLayout.tsx b/apps/admin/src/layout/AdminLayout.tsx index ccf8445..62e0a3d 100644 --- a/apps/admin/src/layout/AdminLayout.tsx +++ b/apps/admin/src/layout/AdminLayout.tsx @@ -18,7 +18,7 @@ export default function AdminLayout({ title, onLogout, children }: { title?: str )} - + {children}