From 74dc8dc04d31b26987e510941472ab239c1af31f Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Mon, 19 Nov 2018 16:57:59 +0100 Subject: Add purchase flow thank-you page Move the existing thank-you page to `thank-you-license-download.html`. Use `thank-you.html` as the final page of the purchase flow. Paddle will redirect to this page at the end of purchase. Allows us to retain some branding during purchase. Using the existing HTML file for a better URL. --- license-generator/src/bin/license.rs | 2 +- thank-you-license-download.html | 55 ++++++++++++++++++++++++++++++++++++ thank-you.html | 22 ++------------- 3 files changed, 59 insertions(+), 20 deletions(-) create mode 100644 thank-you-license-download.html 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 @@ + + + + + Thank you! – DomeKey + + + + + + + +
+
+ +

DomeKey

+ DomeKey logo +
+
+ +

+ Control your computer with a pair of headphones +

+ +

+ Thanks so much for buying DomeKey! +

+ +
+ + + + + +
+ +

+ If you need any help, + let me know. +

+ +

+ Also, check out the + source code + if you’re interested. +

+
+ + 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!

-
- - - - - -
-

- If you need any help, - let me know. + Please check your email for a link to download your license.

- Also, check out the - source code - if you’re interested. + If you need any help, + let me know.

-- cgit v1.2.3