diff options
author | hellekin <hellekin@cepheide.org> | 2018-01-06 10:46:53 +0100 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2018-01-06 10:46:53 +0100 |
commit | 66caa9f870dbf7a6c4fb14827761942031b1cf0c (patch) | |
tree | f554e07372343dc47dae02ca776d05241edfebc3 /assets | |
parent | 39f3f2b2519ec0de27a53f9237080718a01491fb (diff) | |
download | lesoiseaux.io-66caa9f870dbf7a6c4fb14827761942031b1cf0c.tar.gz |
Allow passing ?lang=en to switch to English (or fr for French)
Diffstat (limited to 'assets')
-rw-r--r-- | assets/css/home.css | 3 | ||||
-rw-r--r-- | assets/css/home.css.map | 2 | ||||
-rw-r--r-- | assets/js/ps-app.js | 23 | ||||
-rw-r--r-- | assets/scss/home.scss | 1 |
4 files changed, 21 insertions, 8 deletions
diff --git a/assets/css/home.css b/assets/css/home.css index dcb43c1..d7eb27b 100644 --- a/assets/css/home.css +++ b/assets/css/home.css @@ -17,7 +17,8 @@ h1, h2, h3, h4, h5, h6 { body { background: rgba(173, 151, 56, 0.68); color: #f3f0e4; - font-family: Abel, 'Open Sans', sans-serif; } + font-family: Abel, 'Open Sans', sans-serif; + scroll-behavior: smooth; } body :visited { text-decoration: underline; } diff --git a/assets/css/home.css.map b/assets/css/home.css.map index 202c9cf..ac6f8d9 100644 --- a/assets/css/home.css.map +++ b/assets/css/home.css.map @@ -1,6 +1,6 @@ { "version": 3, -"mappings": ";AAGA,yBAA0B;EACtB,OAAO,EAAE,eAAe;;AAE5B,yBAA0B;EACtB,OAAO,EAAE,eAAe;;AAG5B,SAAU;EACN,MAAM,EAAE,+BAA+B;;AAE3C,SAAU;EACN,MAAM,EAAE,SAAS;;AAGrB,sBAAuB;EACnB,WAAW,EAAE,2BAA2B;;AAG5C,IAAK;EACD,UAAU,EAAE,wBAAwB;EACpC,KAAK,EAAE,OAAO;EACd,WAAW,EAAE,6BAA6B;EAE1C,aAAS;IACZ,eAAe,EAAE,SAAS;;AAK3B,aAAc;EAEV,gBA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;EAC1C,aAAa,EAAE,IAAI;EACnB,OAAO,EAAE,QAAQ;EACjB,UAAU,EAAE,OAAO;EACnB,QAAQ,EAAE,QAAQ;EAClB,GAAG,EAAE,CAAC;EACN,IAAI,EAAE,CAAC", "sources": ["../scss/home.scss"], "names": [], "file": "home.css" diff --git a/assets/js/ps-app.js b/assets/js/ps-app.js index 7675ec4..33f4f99 100644 --- a/assets/js/ps-app.js +++ b/assets/js/ps-app.js @@ -28,15 +28,26 @@ .append('<button id="lang-switch" title="Read in English">EN</button>') $('#lang-switch').click(function(e) { var lang = $('html').attr('lang') + setLang(lang == 'fr' ? 'en' : 'fr') + return false + }) + + // Use ?lang=XX if available + var URLParams = new URLSearchParams(window.location.search); + if (URLParams.has('lang')) { + setLang(URLParams.get('lang')) + } + + // Translate to target lang + function setLang(lang) { if (lang == 'fr') { - $('html').attr('lang', 'en') - $(e.target).html('FR').attr('title', 'Lire en français') - } else { $('html').attr('lang', 'fr') - $(e.target).html('EN').attr('title', 'Read in English') + $('#lang-switch').html('EN').attr('title', 'Read in English') + } else { + $('html').attr('lang', 'en') + $('#lang-switch').html('FR').attr('title', 'Lire en français') } - return false - }) + } }); diff --git a/assets/scss/home.scss b/assets/scss/home.scss index 1641c7d..456f111 100644 --- a/assets/scss/home.scss +++ b/assets/scss/home.scss @@ -23,6 +23,7 @@ body { background: rgba(173, 151, 56, 0.68); color: #f3f0e4; font-family: Abel, 'Open Sans', sans-serif; + scroll-behavior: smooth; :visited { text-decoration: underline; |