added wide mode to desktop editor
This commit is contained in:
@@ -5,5 +5,5 @@ import AssetManager from '../../components/react/admin/AssetManager';
|
||||
|
||||
<AdminLayout title="Asset Library">
|
||||
<p slot="header-subtitle" class="mt-2 text-sm md:text-base" style="color: var(--text) !important;">Manage your uploaded images and files.</p>
|
||||
<AssetManager client:load mode="manage" />
|
||||
<AssetManager client:only="react" mode="manage" />
|
||||
</AdminLayout>
|
||||
|
||||
@@ -5,7 +5,7 @@ import Editor from '../../components/react/admin/Editor';
|
||||
const editSlug = Astro.url.searchParams.get('edit') || undefined;
|
||||
---
|
||||
|
||||
<AdminLayout title="Write Post">
|
||||
<AdminLayout title="Write Post" wide>
|
||||
<p slot="header-subtitle" class="mt-2 text-sm md:text-base" style="color: var(--text) !important;">Create/Edit post.</p>
|
||||
<Editor client:load editSlug={editSlug} />
|
||||
<Editor client:only="react" editSlug={editSlug} />
|
||||
</AdminLayout>
|
||||
|
||||
@@ -4,5 +4,5 @@ import Dashboard from '../../components/react/admin/Dashboard';
|
||||
---
|
||||
|
||||
<AdminLayout title="Admin Dashboard">
|
||||
<Dashboard client:load />
|
||||
<Dashboard client:only="react" />
|
||||
</AdminLayout>
|
||||
|
||||
@@ -4,5 +4,5 @@ import Login from '../../components/react/admin/Login';
|
||||
---
|
||||
|
||||
<Layout title="Admin Login">
|
||||
<Login client:load />
|
||||
<Login client:only="react" />
|
||||
</Layout>
|
||||
|
||||
@@ -5,5 +5,5 @@ import Settings from '../../components/react/admin/Settings';
|
||||
|
||||
<AdminLayout title="Site Settings">
|
||||
<p slot="header-subtitle" class="mt-2 text-sm md:text-base" style="color: var(--text) !important;">Configure how your blog looks and feels globally.</p>
|
||||
<Settings client:load />
|
||||
<Settings client:only="react" />
|
||||
</AdminLayout>
|
||||
|
||||
Reference in New Issue
Block a user