1adfc2a6cbfe08d7869c0f5975aafaf32fafb8e8 — Zeke Medley 1 year, 8 months ago 0c344d9
Add deploy.pug page
1 files changed, 12 insertions(+), 0 deletions(-)

A www/views/deploy.pug
A www/views/deploy.pug => www/views/deploy.pug +12 -0
@@ 0,0 1,12 @@
extends layout

block content
  h1 Deploy a webpage
  form(action='/deploy' method='post')
      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)
      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')