templates/projets/show.html.twig line 1

  1. {% extends 'base.html.twig' %}
  2. {% block title %}Saltaf Studio | Projets{% endblock %}
  3. {% block body %}
  4. <style>
  5. p,h1,h2,a{
  6. color:{{ projet.couleurBackText }}!important;
  7. border-color:{{ projet.couleurBackText }}!important;
  8. }
  9. a{
  10. }
  11. </style>
  12.     <div style="position: fixed;
  13.         top:100px;
  14.         width: 100%;
  15.         height:100px;
  16.         background: linear-gradient(to bottom, {{ projet.couleurs }}, transparent);
  17.         z-index:100;">
  18. </div>
  19. <div style="position: fixed;
  20.         top:0;
  21.         width: 100%;
  22.         height: 100px;
  23.         background-color: {{projet.couleurs}};
  24.         z-index:100;">
  25. </div><a href="{{ path('projet') }}">
  26. <div class="fity">
  27. <img class="fit-picture"
  28.      src="{{asset(('images/site/logo.png'))}}"
  29.      alt="logo Saltaf">
  30. </div></a>
  31.     <div class="containe" style="background-color:{{ projet.couleurs }}!important;">
  32.         <div class="ro">
  33.             <div class="gauche" style="background-color:{{ projet.couleurs }}!important;">
  34.             <div class="presentation">
  35.                 <h1 style="font-family:'daitatyperegular';">{{ projet.titre }}</h1>
  36.                 <h2>{{ projet.client }}</h2>
  37.                 <div class="center-tag">
  38.                 {% for tag in projet.tag %}
  39.                 
  40.                     <a href="{{ path('app_categorie_ind')}}/{{ tag.id }}" class="lien"> {{ tag.titre }}</a>
  41.            
  42.                 {% endfor %}
  43.                 </div>
  44.                 <p class="description-projet">{{ projet.description }}</p>
  45.             </div>
  46.             </div>
  47.             <div class="droite " style="background-color:{{ projet.couleurBack }}!important;z-index:125;">
  48.                 
  49.      
  50.                 <img src="{{ asset('images/' ~ projet.imagePresentation) }}" style="width:100%;"></td>
  51.           
  52.             
  53.                   <img src="{{ asset('images/' ~ projet.image2) }}" style="width:100%;"></td>
  54.           
  55.              
  56.                  <img src="{{ asset('images/' ~ projet.image3) }}" style="width:100%;"></td>
  57.         
  58.             
  59.                   <img src="{{ asset('images/' ~ projet.image4) }}" style="width:100%;"></td>
  60.        
  61.              
  62.                   <img src="{{ asset('images/' ~ projet.image5) }}" style="width:100%;"></td>
  63.        
  64.           
  65.                   <img src="{{ asset('images/' ~ projet.image6) }}" style="width:100%;"></td>
  66.          
  67.             
  68.            <div class="descriptionprojet">
  69.             <p style="color:{{ projet.couleurBackText }}!important;">{{ projet.description2 }}</p>
  70.             <div class="container">
  71.                 <div class="row">
  72.                  <div class="col-md-6">
  73.                     <a href="{{ projet.siteWeb }}"  style="text-decoration:none;text-align:center;"  target="_blank">Site web</a>
  74.                   </div>
  75.                   <div class="col-md-6">
  76.                   <a href="{{ projet.reseaux }}" style="text-decoration:none;color:{{ projet.couleurBackText }};text-align:center;" target="_blank">RĂ©seau</a>
  77.                    </div>
  78.                  </div>
  79.              </div>
  80.             
  81.             
  82.            </div>
  83.            <div class="projet">
  84.     <h2 class="projetdefile" style=" font-size:40px;" > PROJET &nbsp; PROJET &nbsp; PROJET &nbsp; PROJET &nbsp; PROJET &nbsp; PROJET &nbsp; PROJET &nbsp; PROJET &nbsp; PROJET &nbsp; PROJET &nbsp; PROJET &nbsp; PROJET &nbsp; PROJET </h2>
  85.     </div>
  86.     <div class="scrolling-container">
  87.    <div  class="scrolling-text">
  88.     {% for projet in projets %}
  89.     <a style="text-decoration:none;color:black;" href="{{ path('app_projet_show', {'id': projet.id}) }}" >
  90.                 
  91.                     <img src="{{asset('images/' ~ projet.imagePresentation)}}" alt="" style="width:30%;margin-bottom:100px;">
  92.             </a>
  93.     
  94.     {% endfor %}
  95.     </div>
  96.     </div>
  97.                 
  98.        
  99.             </div>
  100.         </div>
  101.         
  102.     </div>
  103.     
  104. {% endblock %}