diff --git a/src/editor_app/routers/frontend.py b/src/editor_app/routers/frontend.py index ec8cfe7..af13e26 100644 --- a/src/editor_app/routers/frontend.py +++ b/src/editor_app/routers/frontend.py @@ -16,6 +16,11 @@ async def serve_frontend(): return FileResponse(STATIC_DIR / "index.html") +@router.get("/tutorial") +async def serve_tutorial(): + return FileResponse(STATIC_DIR / "tutorial.html") + + @router.get("/login") async def serve_login(): return FileResponse(STATIC_DIR / "login.html") diff --git a/src/static/home.html b/src/static/home.html index 9b4f46a..4065d14 100644 --- a/src/static/home.html +++ b/src/static/home.html @@ -116,7 +116,7 @@ -
Edit and store files on the server. Python runs in your browser with Pyodide.
+Edit and store files on the server. Python runs in your browser with Pyodide. Choose Editor or the interactive Tutorial below.
If you use EDITOR_API_KEY (without user login), store it here for API calls from this browser tab: