<div class="teasing-part">

  <div class="home-logo">
    <img src="/images/ynh_logo_white_300dpi.png" width="100"/>
  </div>

  <div class="punchline">
    <p>
      <span class="yolo 1" style="color: #FF3399;">Viens chez moi, je suis hébergé chez une copine</span>
      <span class="yolo 2" style="color: #FF0066;">Ils s’hébergèrent et eurent beaucoup d’enfants</span>
      <span class="yolo 3" style="color: #3366FF;">Internet, lecture et écriture</span>
      <span class="yolo 4" style="color: #FFFFFF;">monsieur@michu.fr</span>
      <span class="yolo 5" style="color: #CC66FF;">J’ai rien à cacher</span>
      <span class="yolo 6" style="color: #FF6600;">How I met your server</span>
    </p>
    <button class="btn btn-primary btn-lg btn-block yolobtn">Pardon ?</button>
  </div>

  <div class="main-links hidden-xs">
    <a href="/whatsyunohost">À propos</a> <span class="colored-bar">•</span>
    <a href="https://forum.yunohost.org/c/announcement" target="_blank">Dernières nouvelles</a> <span class="colored-bar">•</span>
    <a href="/docs">Documentation</a> <span class="colored-bar">•</span>
    <a href="https://donate.yunohost.org/">Faire un don</a>
  </div>

</div><!-- teasing-part -->

<div class="boring-part" markdown="1">

  <h1><small>Avec</small> YunoHost<small>, gérez facilement un serveur pour vos amis, votre association, votre entreprise.</small> <a href="/whatsyunohost" style="font-size:0.6em;">En savoir plus</a></small></h1>

  <div class="home-panel">
    <img src="/images/home_panel.jpg" />
  </div>

  <div class="call-to-action">
    <a class="btn btn-primary btn-lg" href="/try">Essayer</a>
    <a class="btn btn-success btn-lg" href="/install">Installer</a>
    <h2 style="margin-top: 0"><small><a href="https://forum.yunohost.org/c/announcement">Dernières nouvelles</a></small></h2>
  </div>

  <hr />

  <div class="row cf">
    <div class="col-md-7 text-right">
      <h1>Installez <small>votre serveur simplement, vous avez déjà tout ce qu’il faut à la maison</small></h1>
      <p><a href="/hardware">Voir les prérequis</a></p>
    </div>
    <div class="col-md-4">
      <div class="feature-pic">
        <img src="/images/home_install.png" />
      </div>
    </div>
  </div>

  <hr />

  <div class="row cf">
    <div class="col-md-4">
      <div class="feature-pic">
        <img src="/images/webadmin_fr.png" />
      </div>
    </div>
    <div class="col-md-7">
      <h1>Gérez <small>votre serveur depuis une interface web simple et propre</small></h1>
      <p><br /><a href="/try">Essayez l’interface d’administration</a></p>
    </div>
  </div>

  <hr />

  <div class="row cf">
    <div class="col-md-7 text-right">
      <h1>Construisez <small>votre petit bout d’Internet en ajoutant des applications en quelques clics</small></h1>
      <p><br /><a href="/apps">Parcourir le catalogue d’applications</a></p>
    </div>
    <div class="col-md-4">
      <div class="feature-pic">
        <img src="/images/home_enjoy.jpg" />
      </div>
    </div>
  </div>

  <hr />

  <div class="row cf">
    <div class="text-center">
    <h1>Hey ! Nous sommes humains !<br />
    <small>Si vous avez une question, un problème, ou que vous êtes tout simplement intéressé, passez dire « Bonjour » sur notre forum ou le chat!</small></h1>
    </div>
    <div class="col-md-4 col-md-offset-4 button-list">
      <a class="btn btn-lg btn-block btn-info" href="/docs"><span class="glyphicon glyphicon-book"></span> Documentation</a>
      <a class="btn btn-lg btn-block btn-danger btn-support" href="/help"><span class="glyphicon glyphicon-comment"></span> Forum et chat</a>
      <a class="btn btn-lg btn-block btn-success" href="/contribute"><span class="glyphicon glyphicon-heart"></span> Contribuer</a>
      <a class="btn btn-lg btn-block btn-primary" href="https://donate.yunohost.org/" style="background-color: #ffd236; border-color: #ffd236;"><span class="glyphicon glyphicon-usd"></span> Faire un don</a>
     </div>
  </div>

  <hr />

  <div class="row cf">
    <div class="text-center">
    <h1>Nos soutiens &lt;3<br />
    <small>Nous sommes reconnaissant envers nos mécènes <br/>qui nous soutiennent financièrement ou via des dons d'infrastructure</small>
    </h1>
    <p style="margin-left:auto;margin-right:auto;">
    <a style="padding: 5px;" href="https://nlnet.nl"><img src="/images/logo_nlnet.png" width="150px"/></a>
    <a style="padding: 5px;" href="https://www.ngi.eu"><img src="/images/logo_ngi.png" width="130px"/></a>
    <a style="padding: 5px;" href="https://www.codelutin.com"><img src="/images/logo_codelutin.png" width="100px"/></a>
    </p>
    <p style="margin-left:auto;margin-right:auto;">
    <a style="padding: 5px;" href="https://www.globenet.org"><img src="/images/logo_globenet.png" width="150px"/></a>
    <a style="padding: 5px;" href="https://www.gitoyen.net"><img src="/images/logo_gitoyen.png" width="150px"/></a>
    <a style="padding: 5px;" href="https://tetaneutral.net"><img src="/images/logo_tetaneutral.png" width="90px"/></a>
    <a style="padding: 5px;" href="https://ldn-fai.net"><img src="/images/logo_ldn.png" width="120px"/></a>
    <a style="padding: 5px;" href="https://www.nbs-system.com"><img src="/images/logo_nbs.png" width="130px"/></a>
    </p>
    </div>
  </div>

</div><!-- boring-part -->

<script type="text/javascript">
    jQuery('.teasing-part').css({
        marginTop: '0',
        display: 'block'
    });
    jQuery('.boring-part').css({
        marginTop: jQuery(window).height() + 100
    });
    jQuery( window ).resize(function() {
        jQuery('.boring-part').css({
            marginTop: jQuery('.teasing-part').height() + 100
        });
    });
    jQuery('.yolo').hide();
    randomNumber = Math.floor((Math.random()*jQuery('.yolo').length)+1);
    color = jQuery('.yolo.' + randomNumber).css('color');
    jQuery('.yolo.' + randomNumber).fadeIn();
    document.title = jQuery('.yolo.' + randomNumber).text();
    jQuery('.colored-bar').css({
      color: color,
      fontWeight: 'bold',
      padding: '1%'
    });
    jQuery('.yolobtn').css({
      background: color,
      borderColor: color
    }).on('click', function() {
      jQuery('html, body').animate({
        scrollTop: jQuery(window).height() + 80
      }, 500);
    });

</script>
