diff --git a/public/resources/send-fb.jpg b/public/resources/send-fb.jpg new file mode 100644 index 00000000..784fe51f Binary files /dev/null and b/public/resources/send-fb.jpg differ diff --git a/public/resources/send-twitter.jpg b/public/resources/send-twitter.jpg new file mode 100644 index 00000000..d13d5f90 Binary files /dev/null and b/public/resources/send-twitter.jpg differ diff --git a/server/config.js b/server/config.js index 83e3e21e..7e9ba621 100644 --- a/server/config.js +++ b/server/config.js @@ -51,6 +51,11 @@ const conf = convict({ format: Boolean, default: false, env: 'L10N_DEV' + }, + base_url: { + format: 'url', + default: 'https://send.firefox.com', + env: 'BASE_URL' } }); diff --git a/server/server.js b/server/server.js index 4e6361b3..377a7cda 100644 --- a/server/server.js +++ b/server/server.js @@ -58,7 +58,10 @@ app.engine( partialsDir: 'views/partials/', helpers: { availableLanguages, - l10nDev: conf.l10n_dev + l10nDev: conf.l10n_dev, + baseUrl: conf.base_url, + title: 'Firefox Send', + description: 'Encrypt and send files with a link that automatically expires to ensure your important documents don’t stay online forever.' } }) ); diff --git a/views/layouts/main.handlebars b/views/layouts/main.handlebars index 9f04aa16..ec60cd28 100644 --- a/views/layouts/main.handlebars +++ b/views/layouts/main.handlebars @@ -7,7 +7,17 @@ -