templates/front_end/index.html.twig line 1

  1. {% extends 'base.html.twig' %}
  2. {% block title %}Track A Poo | Royal Canin{% endblock %}
  3. {% block body %}
  4. <style>
  5.     * {font-family: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";}
  6.     body {background: #fff;overflow-x: hidden;}
  7.     .page-wrapper {height: 100%;width: 100%;margin: -10px auto 0 auto;max-width: 75%;}
  8.     .page-wrapper img {display: block;border-radius: 0 0 20px 20px;margin: 0 auto 50px auto;height: 450px;width: 100%;object-fit: cover;}
  9.     .page-wrapper .buttons {list-style: none;padding: 0;margin: 0 auto;display: flex;width: fit-content;flex-direction: row;flex-wrap: nowrap;justify-content: center;align-items: center;}
  10.     .page-wrapper .buttons li a {opacity: 1;transition: 0.2s opacity ease-in-out;width: 174px;height: 62px;display: block;background-position: center;background-size: contain;background-repeat: no-repeat;}
  11.     .page-wrapper .buttons li a:hover {opacity: 0.75;transition: 0.2s opacity ease-in-out;}
  12.     .page-wrapper .buttons li:first-of-type {margin: 0 15px 0 0;}
  13.     .page-wrapper .buttons li a.app-btn {background-image: url("images/appstore-btn.png");}
  14.     .page-wrapper .buttons li a.play-btn {background-image: url("images/playstore-btn.png");}
  15.     .page-wrapper .links {list-style: none;padding: 0;margin: 50px auto 0 auto;display: flex;width: fit-content;}
  16.     .page-wrapper .links li:first-of-type {margin: 0 15px 0 0;padding: 0 15px 0 0;position: relative;}
  17.     .page-wrapper .links li:first-of-type:after {content: '';height: 15px;width: 1px;background: #000;position: absolute;top: 50%;transform: translateY(-50%);right: 0;}
  18.     .page-wrapper .links li a {color: #000;transition: 0.2s color ease-in-out;text-underline-offset: 4px;}
  19.     .page-wrapper .links li a:hover {color: #04419f;transition: 0.2s color ease-in-out;}
  20.     @media (max-width: 992px) {
  21.         .page-wrapper {max-width: 100%;}
  22.         .page-wrapper img {height: auto;min-height: 350px;}
  23.     }
  24.     @media (max-width: 567px) {
  25.         .page-wrapper .buttons, .page-wrapper .links {flex-direction: column;text-align: center;}
  26.         .page-wrapper .buttons li:first-of-type, .page-wrapper .links li:first-of-type {margin: 0 0 10px 0;padding: 0;}
  27.         .page-wrapper .links li:first-of-type:after {display: none;}
  28.         .page-wrapper .buttons li a {width: 234px;height: 82px;}
  29.     }
  30. </style>
  31.     <div class="page-wrapper">
  32.             <img src="images/banner.jpg">
  33.             <ul class="buttons">
  34.                 <li><a href="https://apps.apple.com/fr/app/track-a-poo/id6479363163" target="_blank" class="app-btn"></a></li>
  35.                 <li><a href="https://play.google.com/store/apps/details?id=com.infostrates.trackapoo" target="_blank" class="play-btn"></a></li>
  36.             </ul>
  37.             <ul class="links">
  38.                 <li><a href="{{ path('terms') }}">Terms and conditions</a></li>
  39.                 <li><a href="{{ path('policy') }}">Confidentiality policy</a></li>
  40.             </ul>
  41.     </div>
  42. {% endblock %}