diff --git a/routes/test.py b/routes/test.py index a3689e1..d09468f 100644 --- a/routes/test.py +++ b/routes/test.py @@ -46,3 +46,17 @@ def mithril(function_id): #return render_template('mithril_loader.html', args=args) +@test.route('/mithril/editor') +def editor(): + args = { + 'name': 'Try me', + 'jsValue': 'async (req) => HtmlResponse("Hello")', + 'jsonValue': '{}', + 'isEdit': True, + 'showHeader': False, + 'showFunctionSettings': False, + 'executeUrl': url_for('execute_code', playground='true'), + 'generateUrl': url_for('llm.generate_script') + } + return Mithril.render('Editor', args) + diff --git a/templates/landing_page.html b/templates/landing_page.html new file mode 100644 index 0000000..d35af96 --- /dev/null +++ b/templates/landing_page.html @@ -0,0 +1,196 @@ + + + +
+ + + +No DevOps, Git, or command-line - + just your + browser. +
++ Focus on coding; we handle the deployment seamlessly. +
+ + + Sign Up + + + View documentation +