diff options
-rw-r--r-- | license-generator/src/bin/license.rs | 2 | ||||
-rw-r--r-- | thank-you-license-download.html | 55 | ||||
-rw-r--r-- | thank-you.html | 22 |
3 files changed, 59 insertions, 20 deletions
diff --git a/license-generator/src/bin/license.rs b/license-generator/src/bin/license.rs index 47b2bb1..973a1a6 100644 --- a/license-generator/src/bin/license.rs +++ b/license-generator/src/bin/license.rs @@ -57,7 +57,7 @@ where W: 'a + Write { "Status: 200 Content-Type: text/html\n\n{}", format!( - include_str!("../../../thank-you.html"), + include_str!("../../../thank-you-license-download.html"), name = name, email = email, secret = secret, diff --git a/thank-you-license-download.html b/thank-you-license-download.html new file mode 100644 index 0000000..a892704 --- /dev/null +++ b/thank-you-license-download.html @@ -0,0 +1,55 @@ +<!doctype html> +<html lang="en"> +<head> + <meta charset="utf-8"> + <title>Thank you! – DomeKey</title> + <meta name="description" content="DomeKey gives you the power to remap your headphone buttons to any action you can think of. Define mappings in text using a Vim-like configuration language." /> + + <meta name="viewport" content="width=device-width"> + + <link rel="stylesheet" href="assets/styles.css" /> +</head> +<body> + <div class="content"> + <header> + <a href="/"> + <h1>DomeKey</h1> + <img src="assets/logo.svg" alt="DomeKey logo" /> + </a> + </header> + + <p class="font-size-1.52 color-maroon"> + Control your computer with a pair of headphones + </p> + + <p class="text-center font-size-2.5"> + Thanks so much for buying DomeKey! + </p> + + <form method="post" action="/license/download"> + <input type="hidden" name="name" value="{name}" /> + <input type="hidden" name="email" value="{email}" /> + <input type="hidden" name="secret" value="{secret}" /> + + <button + type="submit" + class="button button-magenta + display-block margin-left-auto margin-right-auto + margin-top-2 margin-bottom-2"> + Download your license + </button> + </form> + + <p> + If you need any help, + <a href="mailto:inquiry@domekey.teddywing.com">let me know</a>. + </p> + + <p> + Also, check out the + <a href="https://github.com/teddywing/DomeKey">source code</a> + if you’re interested. + </p> + </div> +</body> +</html> diff --git a/thank-you.html b/thank-you.html index a892704..773f43e 100644 --- a/thank-you.html +++ b/thank-you.html @@ -26,29 +26,13 @@ Thanks so much for buying DomeKey! </p> - <form method="post" action="/license/download"> - <input type="hidden" name="name" value="{name}" /> - <input type="hidden" name="email" value="{email}" /> - <input type="hidden" name="secret" value="{secret}" /> - - <button - type="submit" - class="button button-magenta - display-block margin-left-auto margin-right-auto - margin-top-2 margin-bottom-2"> - Download your license - </button> - </form> - <p> - If you need any help, - <a href="mailto:inquiry@domekey.teddywing.com">let me know</a>. + Please check your email for a link to download your license. </p> <p> - Also, check out the - <a href="https://github.com/teddywing/DomeKey">source code</a> - if you’re interested. + If you need any help, + <a href="mailto:inquiry@domekey.teddywing.com">let me know</a>. </p> </div> </body> |