From bf64f5b3a96e44fc8b829cefe7fd34cb963d87ae Mon Sep 17 00:00:00 2001 From: mantikoros Date: Wed, 17 Aug 2022 11:21:20 -0500 Subject: [PATCH] redirect /about; more content in welcome email --- functions/src/email-templates/welcome.html | 50 ++++++++++++++++++++++ web/next.config.js | 7 +++ 2 files changed, 57 insertions(+) diff --git a/functions/src/email-templates/welcome.html b/functions/src/email-templates/welcome.html index 74bd6a94..0ffafbd5 100644 --- a/functions/src/email-templates/welcome.html +++ b/functions/src/email-templates/welcome.html @@ -188,6 +188,56 @@ + + +
+

Did + you know, besides betting and making predictions, you can also create + your + own + market on + any question you care about?

+ +

More resources:

+ + + +

 

+

Cheers, +

+

David + from Manifold

+

 

+
+ + diff --git a/web/next.config.js b/web/next.config.js index 7b56ecdf..5a418016 100644 --- a/web/next.config.js +++ b/web/next.config.js @@ -1,5 +1,7 @@ const API_DOCS_URL = 'https://docs.manifold.markets/api' +const ABOUT_PAGE_URL = 'https://docs.manifold.markets/$how-to' + /** @type {import('next').NextConfig} */ module.exports = { staticPageGenerationTimeout: 600, // e.g. stats page @@ -35,6 +37,11 @@ module.exports = { destination: API_DOCS_URL, permanent: false, }, + { + source: '/about', + destination: ABOUT_PAGE_URL, + permanent: false, + }, { source: '/analytics', destination: '/stats',