Skip to content
Snippets Groups Projects
index.html 12.7 KiB
Newer Older
Guilhem CARRON's avatar
Guilhem CARRON committed
<!DOCTYPE html>
Bastien DUMONT's avatar
Bastien DUMONT committed
<html lang="fr">
Guilhem CARRON's avatar
Guilhem CARRON committed
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta
      name="description"
      content="Ecolyo est le service proposé par la Métropole de Lyon pour suivre et comprendre la consommation énergétique globale de votre foyer."
    />
Bastien DUMONT's avatar
Bastien DUMONT committed
    <link rel="stylesheet" href="./index.css" />
Guilhem CARRON's avatar
Guilhem CARRON committed
    <link
      href="https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&display=swap"
      rel="stylesheet"
    />
    <link rel="icon" href="assets/ecolyo-icon.svg" />
    <title>Ecolyo</title>
  </head>
  <body>
    <nav>
      <a class="main-logo" href="/">
        <img src="./assets/ecolyo-icon.svg" alt="Ecolyo logo" />
Bastien DUMONT's avatar
Bastien DUMONT committed
        Ecolyo
Guilhem CARRON's avatar
Guilhem CARRON committed
      <div class="links">
        <a class="navlink" href="#how-it-works">Comment ça marche ?</a>
        <a class="navlink" href="#security">La sécurité</a>
Bastien DUMONT's avatar
Bastien DUMONT committed
        <a class="navlink" href="#cloud">J'ai déjà un compte</a>
        <a class="navlink yellow" href="#create-account">Se créer un compte</a>
Guilhem CARRON's avatar
Guilhem CARRON committed
      </div>
    </nav>
    <section class="main-cta">
      <div class="content-txt">
        <h1 class="text-36-white">
          Ecolyo vous aide à suivre et agir sur vos consommations d'énergie et
          d'eau
        </h1>
        <h2 class="text-18-white yellow">
          Ecolyo est un service gratuit disponible sur smartphone et ordinateur
        </h2>
        <ul class="text-18-white-padding">
          <li>
            Retrouvez au même endroit vos consommations d'électricité, de gaz et
Bastien DUMONT's avatar
Bastien DUMONT committed
            d'eau
          </li>
Bastien DUMONT's avatar
Bastien DUMONT committed
          <li>Suivez l'évolution de vos consommations dans le temps</li>
          <li>
            Avec les défis personnalisés, Ecolyo vous accompagne dans la
            réduction de vos consommations d'énergie et d'eau
          </li>
        </ul>
        <a
          href="https://manager.cozygrandlyon.cloud/grdlyon/onboarding_ecolyo"
          target="_blank"
          class="button robots-nocontent"
        >
          <img src="assets/ecolyo-shadow.svg" alt="ecolyo-icon" />
          Se créer un compte
        </a>
Guilhem CARRON's avatar
Guilhem CARRON committed
      </div>
Bastien DUMONT's avatar
Bastien DUMONT committed
      <!-- Use object tag instead of img to not have a blurry svg on IOS -->
      <object
        id="illu"
        class="illu"
Bastien DUMONT's avatar
Bastien DUMONT committed
        type="image/svg+xml"
        data="assets/illu-landing.svg"
Bastien DUMONT's avatar
Bastien DUMONT committed
        tabindex="-1"
        role="img"
Bastien DUMONT's avatar
Bastien DUMONT committed
        aria-hidden="true"
Bastien DUMONT's avatar
Bastien DUMONT committed
      >
        Illustration Ecolyo
      </object>
      <img
Bastien DUMONT's avatar
Bastien DUMONT committed
        id="mgl-logo"
        class="mglLogo"
Bastien DUMONT's avatar
Bastien DUMONT committed
        alt="Logo Métropole Grand Lyon"
        src="assets/legal/mglLogo.svg"
Bastien DUMONT's avatar
Bastien DUMONT committed
        role="img"
Bastien DUMONT's avatar
Bastien DUMONT committed
      />
Guilhem CARRON's avatar
Guilhem CARRON committed
    </section>
Bastien DUMONT's avatar
Bastien DUMONT committed

Guilhem CARRON's avatar
Guilhem CARRON committed
    <section class="explanation" id="how-it-works">
Bastien DUMONT's avatar
Bastien DUMONT committed
      <h2 class="text-36-white">Comment ça marche ?</h2>
      <p class="text-18-white-padding">
        Ecolyo vous permet de centraliser le suivi de vos consommations en
        fonction de votre installation <br />en utilisant votre ou vos
        compteur(s) communiquant(s).
      </p>
      <p class="text-26-white-bold-padding">
        Pour en profiter, il vous suffit d'être équipé <br />de l'un de ces
        compteurs communicants :
      </p>
      <div class="compteurs">
        <div class="bloc elec-color">
Bastien DUMONT's avatar
Bastien DUMONT committed
          <object
Bastien DUMONT's avatar
Bastien DUMONT committed
            class="compteur-img"
Bastien DUMONT's avatar
Bastien DUMONT committed
            type="image/svg+xml"
            data="./assets/compteurs/Linky.svg"
Bastien DUMONT's avatar
Bastien DUMONT committed
            tabindex="-1"
Bastien DUMONT's avatar
Bastien DUMONT committed
            aria-hidden="true"
Bastien DUMONT's avatar
Bastien DUMONT committed
          >
            Compteur Linky
          </object>
Bastien DUMONT's avatar
Bastien DUMONT committed
          <h3>Linky</h3>
          <p class="text-18-white">pour l’électricité</p>
Bastien DUMONT's avatar
Bastien DUMONT committed
          <div class="provider-logo">
            <img alt="enedis-logo" src="./assets/enedis-logo.png" />
Guilhem CARRON's avatar
Guilhem CARRON committed
          </div>
Bastien DUMONT's avatar
Bastien DUMONT committed
        </div>
        <span>ou</span>
        <div class="bloc water-color">
Bastien DUMONT's avatar
Bastien DUMONT committed
          <object
Bastien DUMONT's avatar
Bastien DUMONT committed
            class="compteur-img"
Bastien DUMONT's avatar
Bastien DUMONT committed
            type="image/svg+xml"
            data="./assets/compteurs/Teleo.svg"
Bastien DUMONT's avatar
Bastien DUMONT committed
            tabindex="-1"
Bastien DUMONT's avatar
Bastien DUMONT committed
            aria-hidden="true"
            Compteur Téléo
Bastien DUMONT's avatar
Bastien DUMONT committed
          </object>
Bastien DUMONT's avatar
Bastien DUMONT committed
          <h3>Téléo</h3>
          <p class="text-18-white">pour l'eau</p>
          <div class="provider-logo">
            <img alt="Logo EPGL" src="assets/epgl-logo.png" />
Guilhem CARRON's avatar
Guilhem CARRON committed
          </div>
        </div>
Bastien DUMONT's avatar
Bastien DUMONT committed
        <span>ou</span>
        <div class="bloc gaz-color">
Bastien DUMONT's avatar
Bastien DUMONT committed
          <object
Bastien DUMONT's avatar
Bastien DUMONT committed
            class="compteur-img"
Bastien DUMONT's avatar
Bastien DUMONT committed
            type="image/svg+xml"
            data="./assets/compteurs/Gazpar.svg"
Bastien DUMONT's avatar
Bastien DUMONT committed
            tabindex="-1"
Bastien DUMONT's avatar
Bastien DUMONT committed
            aria-hidden="true"
Bastien DUMONT's avatar
Bastien DUMONT committed
          >
            Compteur Gazpar
          </object>

Bastien DUMONT's avatar
Bastien DUMONT committed
          <h3>Gazpar</h3>
          <p class="text-18-white">pour le gaz</p>
          <div class="provider-logo">
            <img alt="grdf-logo" src="assets/grdf-logo.png" />
          </div>
Guilhem CARRON's avatar
Guilhem CARRON committed
      </div>
Bastien DUMONT's avatar
Bastien DUMONT committed
      <div class="fluid-pipes">
Bastien DUMONT's avatar
Bastien DUMONT committed
        <img src="assets/fluid-icons-pipes.svg" alt="" aria-hidden="true" />
Bastien DUMONT's avatar
Bastien DUMONT committed
      </div>
Guilhem CARRON's avatar
Guilhem CARRON committed
    </section>
    <section class="security" id="security">
      <div class="container">
        <div class="container-cloud">
          <p class="xl-text">
Bastien DUMONT's avatar
Bastien DUMONT committed
            Pour utiliser Ecolyo il vous faut créer <br />un
            <a
              href="https://www.grandlyon.com/services/self-data-cloud-personnel"
              target="_blank"
Bastien DUMONT's avatar
Bastien DUMONT committed
              alt="Cloud personnel Grand Lyon"
            >
              Cloud personnel Grand Lyon
            </a>
            ...
          <div class="container-img">
Bastien DUMONT's avatar
Bastien DUMONT committed
            <img
              src="assets/cloud-shield.svg"
              alt="logo cloud grand Lyon"
              role="img"
            />
          <p class="xl-text">
            ... afin de sécuriser vos données pour que personne, pas même la
            métropole, n'ait accès à celles-ci.
          </p>
          <p class="xs-text">
Bastien DUMONT's avatar
Bastien DUMONT committed
            Pour utiliser Ecolyo, il vous faut créer un
            <a
              href="https://www.grandlyon.com/services/self-data-cloud-personnel"
              alt="Cloud personnel Grand Lyon"
            >
              Cloud personnel Grand Lyon
            </a>
            afin de sécuriser vos données pour que personne, pas même la
            métropole, ait accès celles-ci.
Guilhem CARRON's avatar
Guilhem CARRON committed
          </p>
        </div>
      </div>
    </section>
    <section class="views-app">
      <div class="content">
        <div class="fluid-pipes">
Bastien DUMONT's avatar
Bastien DUMONT committed
          <img src="assets/fluid-pipes-yellow.svg" alt="" aria-hidden="true" />
        </div>
        <div class="screens-container">
          <div class="screen consumption">
Bastien DUMONT's avatar
Bastien DUMONT committed
              src="assets/screen-1.svg"
              alt="écran d'un smartphone représentant un diagramme à barre"
            <p><span>Visualiser</span> vos consommations</p>
          </div>
          <div class="screen challenge">
Bastien DUMONT's avatar
Bastien DUMONT committed
              src="assets/screen-2.svg"
              alt="écran d'un smartphone représentant une illustration des défis"
            <p><span>Participer</span> à des défis ludiques</p>
          </div>
          <div class="screen ecogesture">
Bastien DUMONT's avatar
Bastien DUMONT committed
              src="assets/screen-3.svg"
              alt="écran d'un smartphone représentant une illustration d'un chat avec un parapluie"
            <p><span>Consulter</span> des écogestes utiles</p>
          </div>
Guilhem CARRON's avatar
Guilhem CARRON committed
        </div>
      </div>
    </section>
Bastien DUMONT's avatar
Bastien DUMONT committed
    <section class="create-account" id="create-account">
      <h2 class="text-26-white">Se créer un compte en deux étapes !</h2>
Bastien DUMONT's avatar
Bastien DUMONT committed
      <div class="containerSteps">
        <div class="step">
          <div class="flex">
            <div class="number water-color">1</div>
            <div class="text">
              <h3 class="header">Créer votre Cloud Personnel</h3>
Bastien DUMONT's avatar
Bastien DUMONT committed
              <p class="content">
                Afin de préserver la confidentialité et la sécurité de vos
                données de consommation, vous devez créer un espace personnel
                dans lequel vous seul pourrez accéder à vos données.
              </p>
Bastien DUMONT's avatar
Bastien DUMONT committed
          <img
            src="assets/steps/step1.svg"
Bastien DUMONT's avatar
Bastien DUMONT committed
            class="steppicture"
            alt="Connecter vos compteurs"
          />
        </div>
        <div class="step">
          <div class="flex">
            <div class="number elec-color">2</div>
            <div class="text">
              <h3 class="header">Connecter vos compteurs à Ecolyo</h3>
Bastien DUMONT's avatar
Bastien DUMONT committed
              <p class="content">
                Muni d'une facture, et après avoir donné votre accord, vous
                pouvez connecter vos compteurs à Ecolyo. Plus besoin ensuite d'y
                toucher, les données sont mises à jour quotidiennement&nbsp;!
              </p>
            </div>
          </div>
Bastien DUMONT's avatar
Bastien DUMONT committed
          <img
            src="assets/steps/step2.svg"
Bastien DUMONT's avatar
Bastien DUMONT committed
            class="steppicture"
            alt="Donner vos consentements"
          />
Hugo NOUTS's avatar
Hugo NOUTS committed
        </div>
      </div>
      <a
        href="https://manager.cozygrandlyon.cloud/grdlyon/onboarding_ecolyo"
        target="_blank"
        class="createAccountButton"
      >
        Se créer un compte
      </a>
Hugo NOUTS's avatar
Hugo NOUTS committed
    </section>
    <section class="cloud-gl" id="cloud">
Bastien DUMONT's avatar
Bastien DUMONT committed
      <div class="text-content">
        <img src="assets/cloud-mgl.svg" alt="logo cloud grand Lyon" />
Bastien DUMONT's avatar
Bastien DUMONT committed
        <h2>J'ai déjà un compte</h2>
        <p class="text-18-white-padding">
          Vous avez déjà un compte ?
Bastien DUMONT's avatar
Bastien DUMONT committed
          <br />Pas de panique, pour retrouver l'accès à votre cloud personnel
          Grand Lyon au sein duquel vous retrouverez Ecolyo, cliquez sur le
          bouton ci-dessous
        </p>
        <a
          href="https://manager.cozygrandlyon.cloud/v2/grdlyon/login"
Bastien DUMONT's avatar
Bastien DUMONT committed
          target="_blank"
          class="button robots-nocontent"
        >
          Accéder à mon cloud personnel
        </a>
Hugo NOUTS's avatar
Hugo NOUTS committed
    <footer>
Bastien DUMONT's avatar
Bastien DUMONT committed
      <div class="logos-footer">
        <img class="gl" src="assets/legal/mglLogo.svg" alt="logo grandlyon" />
        <img
          class="gouv"
          src="assets/legal/Gouvernement.svg"
          alt="logo gouvernement"
        />
        <img
          class="territory"
          src="assets/legal/2030TI.svg"
          alt="logo banque des territoire"
        />
        <img class="tiga" src="assets/legal/BDT.svg" alt="logo tiga" />
      </div>
Bastien DUMONT's avatar
Bastien DUMONT committed
      <div class="contact">
        <span>Il vous reste des questions ?</span>
        <a
          class="footerLink"
          href="https://support.grandlyon.com/ecolyo/"
          target="_blank"
        >
Bastien DUMONT's avatar
Bastien DUMONT committed
          Contactez-nous</a
        >
      </div>
Bastien DUMONT's avatar
Bastien DUMONT committed
      <div class="legal-notice">
        <a class="footerLink" href="mentions-legales.html">Mentions légales</a>
        <a class="footerLink" href="accessibilite.html">Accessibilité</a>
Bastien DUMONT's avatar
Bastien DUMONT committed
      </div>
Bastien DUMONT's avatar
Bastien DUMONT committed
      <div class="info">
Bastien DUMONT's avatar
Bastien DUMONT committed
        <a href="https://www.grandlyon.com/" target="_blank">
          <img src="assets/legal/info.svg" alt="" role="presentation" />
          Un site de la Métropole de Lyon
        </a>
Guilhem CARRON's avatar
Guilhem CARRON committed
      </div>
    </footer>
  </body>
  <script>
    const navBar = document.querySelector('nav');
Guilhem CARRON's avatar
Guilhem CARRON committed
    //smooth scroll
    document.querySelectorAll('a[href^="#"]').forEach((anchor) => {
      anchor.addEventListener('click', function (e) {
Guilhem CARRON's avatar
Guilhem CARRON committed
        e.preventDefault();
        let item = document.querySelector(this.getAttribute('href'));
Guilhem CARRON's avatar
Guilhem CARRON committed

        window.scrollTo({
          top: item.offsetTop - 50,
          behavior: 'smooth',
Guilhem CARRON's avatar
Guilhem CARRON committed
        });
      });
    });

    //Hide menu on scroll down
    let scrollUp = true;
    let hideDistance = 200;

    let headerHeight = '6.25rem';
Guilhem CARRON's avatar
Guilhem CARRON committed
    let vw;
    let vh;
    let scrollHeightSent = false;

Guilhem CARRON's avatar
Guilhem CARRON committed
    const setDeviceWidth = () => {
      vw = Math.max(
        document.documentElement.clientWidth || 0,
        window.innerWidth || 0
      );
    };

    const setDeviceHeight = () => {
      vh = Math.max(
        document.body.scrollHeight,
        document.body.offsetHeight,
        document.documentElement.clientHeight,
        document.documentElement.scrollHeight,
        document.documentElement.offsetHeight
      );
    };

Guilhem CARRON's avatar
Guilhem CARRON committed
    onload = setDeviceWidth();
    window.addEventListener('resize', () => {
Guilhem CARRON's avatar
Guilhem CARRON committed
      setDeviceWidth();
    });

    window.addEventListener('load', () => {
      setDeviceHeight();
    });

    window.addEventListener('scroll', (event) => {
Guilhem CARRON's avatar
Guilhem CARRON committed
      if (vw < 1200) {
        if (scrollY > hideDistance) {
          scrollUp = this.oldScroll > this.scrollY;
          if (scrollUp === false) {
            navBar.style.marginTop = '-' + headerHeight;
Guilhem CARRON's avatar
Guilhem CARRON committed
          }
          if (scrollUp === true) {
            navBar.style.marginTop = '0';
Guilhem CARRON's avatar
Guilhem CARRON committed
          }
          this.oldScroll = this.scrollY;
        }
      }

      // Send scroll event to matomo if user has scrolled 50% of page, then disable event
      if (scrollY > vh / 2 && !scrollHeightSent) {
        scrollHeightSent = true;
        _paq.push(['trackEvent', 'Scroll_depth', '50%']);
Guilhem CARRON's avatar
Guilhem CARRON committed
    });
  </script>
  <script src="./matomo.js" defer></script>
Guilhem CARRON's avatar
Guilhem CARRON committed
</html>