From bd9444f9d34125f75b9c19dff1f3f557908e6f66 Mon Sep 17 00:00:00 2001 From: hellekin Date: Thu, 4 Jan 2018 22:13:26 +0100 Subject: Add FR/EN language switch --- assets/css/home.css | 12 +++++++++++- assets/css/home.css.map | 2 +- assets/js/ps-app.js | 15 +++++++++++++++ assets/scss/home.scss | 13 ++++++++++++- 4 files changed, 39 insertions(+), 3 deletions(-) (limited to 'assets') diff --git a/assets/css/home.css b/assets/css/home.css index bf9ee02..6c06cc2 100644 --- a/assets/css/home.css +++ b/assets/css/home.css @@ -115,7 +115,7 @@ body > header { display: block; color: #f3f0e4; padding-right: 0.45rem; } - body > header footer:hover > p > span + span { + body > header footer:hover > p > span:first-child + span { display: inline-block; transform: rotate(180deg); padding-bottom: -0.1rem; } @@ -459,4 +459,14 @@ body > footer { .sinewave.w3 { fill: rgba(0, 110, 12, 0.5); } +#lang-switch { + /* rgb(199, 184, 119); */ + border: 2px solid rgba(173, 151, 56, 0.68); + border-radius: 1rem; + padding: 0 0.5rem; + background: inherit; + position: absolute; + top: 0; + right: 0; } + /*# sourceMappingURL=home.css.map */ diff --git a/assets/css/home.css.map b/assets/css/home.css.map index d53b27a..6335abd 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,gBAAgB,EAAE,OAAqB;EACvC,QAAQ,EAAE,KAAK;EACf,KAAK,EAAE,GAAG;EACV,MAAM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f,sBAAE;MACE,OAAO,EAAE,KAAK;MACd,MAAM,EAAE,IAAI;MACZ,KAAK,EAAE,IAAI;;EAIZ,MAAO;IACV,KAAK,EAAE,CAAC;IACR,KAAK,EAAE,IAAI;;EAER,mBAAoB;IACvB,KAAK,EAAE,OAAqB;IAC5B,SAAS,EAAE,GAAG;IACd,MAAM,EAAE,CAAC;IACT,OAAO,EAAE,CAAC;;EAEP,kBAAmB;IACtB,KAAK,EAAE,kBAAkB;IACzB,SAAS,EAAE,KAAK;IAChB,MAAM,EAAE,CAAC;;EAEN,qBAAsB;IACzB,KAAK,EAAE,OAAqB;IAC5B,eAAe,EAAE,IAAI;;EAGlB,qBAAsB;IAC1B,kDAAkD;IACjD,SAAS,EAAE,6BAA6B;;EAErC,kBAAmB;IACvB,yCAAyC;IACxC,SAAS,EAAE,sBAAsB;;EAE9B,mBAAoB;IACxB,sDAAsD;IACrD,SAAS,EAAE,oCAAoC;AAKhD,4CAA6C;EAEzC,kBAAmB;IACtB,SAAS,EAAE,MAAM;IACjB,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE,GAAG;;EAGP,WAAY;IACf,UAAU,EAAE,uEAAyE;AAMlF,YAAK;EACD,IAAI,EAAE,uBAAuB;AAEjC,YAAK;EACD,IAAI,EAAE,uBAAuB;AAEjC,YAAK;EACD,IAAI,EAAE,sBAAsB;AAEhC,YAAK;EACD,IAAI,EAAE,qBAAqB;;AAInC,YAAa;EACT,yBAAyB;EACzB,MAAM,EAAE,kCAAkC;EAC1C,aAAa,EAAE,IAAI;EACnB,OAAO,EAAE,QAAQ;EACjB,UAAU,EAAE,OAAO;EACnB,QAAQ,EAAE,QAAQ;EAClB,GAAG,EAAE,CAAC;EACN,KAAK,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 da6442e..7675ec4 100644 --- a/assets/js/ps-app.js +++ b/assets/js/ps-app.js @@ -23,6 +23,21 @@ return false }) + // EN/FR switch + $('footer') + .append('') + $('#lang-switch').click(function(e) { + var lang = $('html').attr('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') + } + return false + }) + }); })($) diff --git a/assets/scss/home.scss b/assets/scss/home.scss index d20d5a3..7070fe6 100644 --- a/assets/scss/home.scss +++ b/assets/scss/home.scss @@ -157,7 +157,7 @@ body > header { } } - > span + span { + > span:first-child + span { display: inline-block; transform: rotate(180deg); padding-bottom: -0.1rem; @@ -609,3 +609,14 @@ body > footer { fill: rgba(0, 110, 12, 0.5); } } + +#lang-switch { + /* rgb(199, 184, 119); */ + border: 2px solid rgba(173, 151, 56, 0.68); + border-radius: 1rem; + padding: 0 0.5rem; + background: inherit; + position: absolute; + top: 0; + right: 0; +} -- cgit v1.2.3