diff --git a/app/data/site.config.json b/app/data/site.config.json index 2317776..1758ade 100644 --- a/app/data/site.config.json +++ b/app/data/site.config.json @@ -28,5 +28,5 @@ "sections": [] } ], - "updated_at": "2026-08-09T22:25:49.609Z" + "updated_at": "2026-08-09T22:28:31.200Z" } \ No newline at end of file diff --git a/src/pages/admin/editor.astro b/src/pages/admin/editor.astro index 21cc43a..9c988c2 100644 --- a/src/pages/admin/editor.astro +++ b/src/pages/admin/editor.astro @@ -64,12 +64,17 @@ const previewUrl = `${targetPage?.slug || "/"}?preview=draft`; > - - {targetPage.title} - + {pages.map((p: any) => ( + + ))} +
{ + const selectedPageId = e.target.value; + window.location.href = `/admin/editor/?page_id=${selectedPageId}`; + }); + // Page Settings Modal const modalPage = document.getElementById( "modal-page-settings",