);
}
-function CreateNewDocument() {
+function CreateNewDocumentOptions({ setState }: { setState: (state: State) => void }) {
+ return (
+ }
+ >
+
+ setState("createNewDocumentWithDemo")} />
+ setState("createNewDocumentEmpty")} />
+
+
+ );
+}
+
+function CreateNewDocumentInProgress() {
useEffect(() => {
server.post("setup/new-document").then(() => {
location.reload();
diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json
index 60cdbc0132..b36e42080b 100644
--- a/apps/client/src/translations/en/translation.json
+++ b/apps/client/src/translations/en/translation.json
@@ -2232,9 +2232,9 @@
"sample_ishikawa": "Ishikawa"
},
"setup": {
- "heading": "Trilium Notes setup",
- "new-document": "New document",
- "new-document-description": "Start with a clean workspace and begin immediately.",
+ "heading": "Get started with Trilium",
+ "new-document": "New knowledge base",
+ "new-document-description": "Start with a clean knowledge base and begin right away.",
"sync-from-desktop": "Connect a desktop app",
"sync-from-desktop-description": "You only have a Trilium desktop app running on another device. This device will sync its data from that desktop app.",
"sync-from-server": "Connect to an existing server",
@@ -2251,6 +2251,11 @@
"sync-step-connecting": "Connecting to server",
"sync-step-syncing": "Syncing data",
"sync-step-finalizing": "Setting up options",
+ "create-new-document-options-title": "How would you like to start?",
+ "create-new-document-options-with-demo": "With demo content",
+ "create-new-document-options-with-demo-description": "Explore Trilium with example content.",
+ "create-new-document-options-empty": "Empty",
+ "create-new-document-options-empty-description": "Start with a blank knowledge base. You can import demo notes later.",
"create-new-document-title": "Preparing your new document",
"create-new-document-description": "You’ll be redirected automatically in a moment.",
"sync-illustration-this-device": "This device",