From 1adfc2a6cbfe08d7869c0f5975aafaf32fafb8e8 Mon Sep 17 00:00:00 2001 From: Zeke Medley Date: Mon, 20 Sep 2021 00:56:07 -0700 Subject: [PATCH] Add deploy.pug page --- www/views/deploy.pug | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 www/views/deploy.pug diff --git a/www/views/deploy.pug b/www/views/deploy.pug new file mode 100644 index 0000000..4a6710c --- /dev/null +++ b/www/views/deploy.pug @@ -0,0 +1,12 @@ +extends layout + +block content + h1 Deploy a webpage + form(action='/deploy' method='post') + div(class='form-item') + label(for='clone-url') The git repo containing your static website. + input(type='text' name='clone-url' placeholder='https://git.sr.ht/~ekez/cat.negativefour.app' required) + div(class='form-item') + label(for='subdomain') The negativefour.app subdomain that your website will be deployed to. For example, selecting cat would cause your webpage to be deployed at #[a(href="https://cat.negativefour.app") cat.negativefour.app]. + input(type='text' name='subdomain' placeholder='fish' required) + input(type='submit' value='Deploy') -- 2.34.2