diff --git a/Bootstrap_new/css/style-portail.css b/Bootstrap_new/css/style-portail.css index 78bcc627..c48bd98c 100644 --- a/Bootstrap_new/css/style-portail.css +++ b/Bootstrap_new/css/style-portail.css @@ -204,7 +204,7 @@ a { text-decoration: none; } width: 70px; height: 70px; object-fit: contain; - margin-bottom: 8px; + margin-bottom: 12px; } /* Titre */ diff --git a/Js/fonctions.js b/Js/fonctions.js index cdb73b77..8c12c544 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -87046,6 +87046,48 @@ function changer_langue_connexion() } +/* ---------------------------------------------------------- + Textes par slide (9 entrées, FR + EN) + Synchronisés avec le carrousel via updateCaption() + ---------------------------------------------------------- */ +var SLIDE_TEXTS = [ + { fr: "Gérez vos structures de santé en toute simplicité", + en: "Manage your healthcare facilities with ease" }, + { fr: "Des outils puissants pour vos équipes médicales", + en: "Powerful tools for your medical teams" }, + { fr: "Suivi en temps réel de vos indicateurs de performance", + en: "Real-time monitoring of your key performance indicators" }, + { fr: "La digitalisation au service de la santé", + en: "Digitalization at the service of healthcare" }, + { fr: "Collaborez efficacement entre établissements", + en: "Collaborate effectively across facilities" }, + { fr: "Pilotez votre activité depuis un tableau de bord unifié", + en: "Drive your activity from a unified dashboard" }, + { fr: "Sécurisez les données de vos patients", + en: "Keep your patients' data safe and secure" }, + { fr: "Optimisez la gestion de vos ressources humaines", + en: "Streamline your human resources management" }, + { fr: "L'ERP SaaS taillé pour la santé en Afrique", + en: "The SaaS ERP built for healthcare in Africa" } +]; + +function getCaption(index) { + codeLangue = $("#langue").val(); + + var entry = SLIDE_TEXTS[index] || {}; + return (codeLangue === 'en_US') ? (entry.en || '') : (entry.fr || ''); +} + +/* Fondu sortant → swap texte → fondu entrant */ +function updateCaption(index) { + var el = document.getElementById('slideCaption'); + if (!el) return; + el.classList.add('animating'); + setTimeout(function () { + el.textContent = getCaption(index); + el.classList.remove('animating'); + }, 200); +} function ctrlkeypress_liste_clients(ev) { diff --git a/Vue/Connexion/index.php b/Vue/Connexion/index.php index f908a390..d60bc6fb 100755 --- a/Vue/Connexion/index.php +++ b/Vue/Connexion/index.php @@ -1,4 +1,6 @@ - + diff --git a/Vue/portail.php b/Vue/portail.php index fdb0d76f..eff5ff20 100755 --- a/Vue/portail.php +++ b/Vue/portail.php @@ -112,51 +112,6 @@ $isEn = ($_SESSION['lang'] === 'en_US');