Update cookies page

Includes:
- new content
- added option to turn analytics on/off
- non-js version for the on/off switch
- a banner to confirm user's choice was saved,
  shown when they click the save button
- the cookie banner that appears on all other
  pages removed from this page
This commit is contained in:
Tom Byers
2019-12-23 15:12:59 +00:00
parent 1d864943c5
commit 34b85cae10
6 changed files with 192 additions and 18 deletions

View File

@@ -146,6 +146,7 @@ const javascripts = () => {
paths.src + 'javascripts/analytics/analytics.js',
paths.src + 'javascripts/analytics/init.js',
paths.src + 'javascripts/cookieMessage.js',
paths.src + 'javascripts/cookieSettings.js',
paths.src + 'javascripts/stick-to-window-when-scrolling.js',
paths.src + 'javascripts/apiKey.js',
paths.src + 'javascripts/autofocus.js',