templates/vitrine/lexend/page_article.html.twig line 1

Open in your IDE?
  1. {% extends 'vitrine/lexend/layout.html.twig' %}
  2. {% set paramArticle = getCoreToolsList("article") %}
  3. {% set endtitle_article = paramArticle['websitename_endarticle'] %}
  4. {% block title %}{{ article.title }} {{ endtitle_article }}{% endblock title %}
  5. {% block description %}{{ article.shortDescription }}{% endblock description %}
  6. {% block robots %}index,follow{% endblock robots %}
  7. {#% block meta_social %}{{ parent() }}{% include "/vitrine/components/socialmedia_articles.html.twig" with { 'social_type':'article','article':article } %}{% endblock meta_social %#}
  8. {% block meta %}{{ parent() }}{% if article.author is not null %}{% if article.author is not empty %}<meta name="author" content="{{ article.author }}" />{% endif %}{% endif %}{% endblock meta %}
  9. {% block canonical %}{% include "/vitrine/lexend/articles/components/canonical.html.twig" with {'article':article} %}{% endblock canonical %}
  10. {% block body_header %}
  11.     {% embed "/vitrine/lexend/components/header.html.twig" with {'navcolor':'blue','navtype':'default'} %}
  12.         {% block header_content %}
  13.             {% include "/vitrine/lexend/articles/components/languages.html.twig" %}
  14.         {% endblock %}
  15.         {% block header_content2 %}
  16.             {% include "/vitrine/lexend/articles/components/languages_mobile.html.twig" %}
  17.         {% endblock %}
  18.     {% endembed %}
  19. {% endblock body_header %}
  20. {% block body %}
  21.     <div class="post type-post single-post py-4 lg:py-6 xl:py-9" style="margin-top:50px;">
  22.         <div class="container max-w-xl">
  23.             <div class="post-header" style="margin-bottom:40px;">
  24.                 <div class="panel vstack gap-4 md:gap-6 xl:gap-8 text-center">
  25.                     <div class="panel vstack items-center max-w-400px sm:max-w-500px xl:max-w-md mx-auto gap-2 md:gap-3">
  26.                         <h1 class="h4 sm:h2 lg:h1 xl:display-6">{{ article.title }}</h1>
  27.                     </div>
  28.                 </div>
  29.             </div>
  30.             <div class="section" style="margin-top:-40px;">
  31.                 <div class="container">
  32.                     <div class="panel py-4 lg:py-6 xl:py-8">
  33.                         <div class="row child-cols-12 g-2 lg:g-4 xl:g-8">
  34.                             <div class="md:col-4 order-0">
  35.                                 <div>
  36.                                     <div class="widget featured-widget vstack gap-2 lg:gap-4 p-2 py-3 lg:p-4 lg:py-5 rounded-1-5 lg:rounded-2" style="background-color:#DFF5DD;">
  37.                                         <div class="widget-title text-center">
  38.                                             <h2 class="h4 m-0">Sommaire</h2>
  39.                                         </div>
  40.                                         <div>
  41.                                             <div class="summary" style="margin:-20px;">
  42.                                                 {{ autosummary(article.description)|raw }}
  43.                                             </div>
  44.                                         </div>
  45.                                     </div>
  46.                                 </div>
  47.                             </div>
  48.                             <div class="md:col-8 order-1">
  49.                                 <div id="single-post" class="post-content panel fs-6 md:fs-5">
  50.                                     {{ autosummaryID(article.description)|raw }}
  51.                                 </div>
  52.                             </div>
  53.                         </div>
  54.                     </div>
  55.                 </div>
  56.             </div>
  57.             {% if getEnv("KERNEL_APPLICATION") == "whileresume" %}
  58.                 {% if app.request.locale == "fr" %}
  59.                     <div id="pre_cta" class="pre-cta section panel overflow-hidden">
  60.                         <div class="section-outer panel pb-4 sm:pb-6 xl:pb-9">
  61.                             <div class="container max-w-xl">
  62.                                 <div class="section-inner panel p-4 md:p-6 lg:p-8 rounded-1-5 lg:rounded-2 bg-secondary dark:bg-gray-800 dark:text-white" data-anime="onview: -200; translateY: [24, 0]; opacity: [0, 1]; easing: easeOutCubic; duration: 500;" style="transform: translateY(0px); opacity: 1;">
  63.                                     <div class="vstack items-center gap-2 mx-auto text-center" data-anime="onview: -200; targets: &gt;*; translateY: [48, 0]; opacity: [0, 1]; easing: easeOutCubic; duration: 500; delay: anime.stagger(100, {start: 200});">
  64.                                         <h2 class="h3 m-0">
  65.                                             Whileresume met en relation des talents avec des entreprises en forte croissance
  66.                                         </h2>
  67.                                         <div class="row" style="margin-top:15px;">
  68.                                             <div class="col-md-6">
  69.                                                 <div style="background-color:white; text-align:left; border-radius:20px; padding:20px;">
  70.                                                     <h3 class="h3 m-0" style="color:green;">Recruteur</h3>
  71.                                                     <p class="fs-6 text-dark dark:text-white text-opacity-70" style="margin-top:10px;">
  72.                                                         On connecte les meilleurs talents du marché aux entreprises en croissance qui recherchent des collaborateurs d'exception.
  73.                                                     </p>
  74.                                                     <a href="{{ path('whileresume_business_' ~ app.request.locale) }}" class="btn btn-md btn-primary rounded-default text-white shadow-xs" style="margin-top:10px;">Je recrute <i class="icon-2 unicon-arrow-up-right rtl:-rotate-90"></i></a>
  75.                                                 </div>
  76.                                             </div>
  77.                                             <div class="col-md-6">
  78.                                                 <div style="background-color:white; text-align:left; border-radius:20px; padding:20px;">
  79.                                                     <h3 class="h3 m-0" style="color:green;">Candidat</h3>
  80.                                                     <p class="fs-6 text-dark dark:text-white text-opacity-70" style="margin-top:10px;">
  81.                                                         On vous accompagne dans la recherche de votre poste idéal au sein des entreprises les plus prometteuses du marché.
  82.                                                     </p>
  83.                                                     <a href="{{ path('whileresume_resume_' ~ app.request.locale) }}" class="btn btn-md btn-primary rounded-default text-white shadow-xs" style="margin-top:10px;">Je cherche un job <i class="icon-2 unicon-arrow-up-right rtl:-rotate-90"></i></a>
  84.                                                 </div>
  85.                                             </div>
  86.                                         </div>
  87.                                     </div>
  88.                                 </div>
  89.                             </div>
  90.                         </div>
  91.                     </div>
  92.                 {% elseif app.request.locale == "en" %}
  93.                     <div id="pre_cta" class="pre-cta section panel overflow-hidden">
  94.                         <div class="section-outer panel pb-4 sm:pb-6 xl:pb-9">
  95.                             <div class="container max-w-xl">
  96.                                 <div class="section-inner panel p-4 md:p-6 lg:p-8 rounded-1-5 lg:rounded-2 bg-secondary dark:bg-gray-800 dark:text-white" data-anime="onview: -200; translateY: [24, 0]; opacity: [0, 1]; easing: easeOutCubic; duration: 500;" style="transform: translateY(0px); opacity: 1;">
  97.                                     <div class="vstack items-center gap-2 mx-auto text-center" data-anime="onview: -200; targets: &gt;*; translateY: [48, 0]; opacity: [0, 1]; easing: easeOutCubic; duration: 500; delay: anime.stagger(100, {start: 200});">
  98.                                         <h2 class="h3 m-0">
  99.                                             Whileresume connects talent with fast-growing companies
  100.                                         </h2>
  101.                                         <div class="row" style="margin-top:15px;">
  102.                                             <div class="col-md-6">
  103.                                                 <div style="background-color:white; text-align:left; border-radius:20px; padding:20px;">
  104.                                                     <h3 class="h3 m-0" style="color:green;">Recruiter</h3>
  105.                                                     <p class="fs-6 text-dark dark:text-white text-opacity-70" style="margin-top:10px;">
  106.                                                         We connect the best talent in the market to growing companies looking for exceptional employees.
  107.                                                     </p>
  108.                                                     <a href="{{ path('whileresume_business_' ~ app.request.locale) }}" class="btn btn-md btn-primary rounded-default text-white shadow-xs" style="margin-top:10px;">I'm recruiting <i class="icon-2 unicon-arrow-up-right rtl:-rotate-90"></i></a>
  109.                                                 </div>
  110.                                             </div>
  111.                                             <div class="col-md-6">
  112.                                                 <div style="background-color:white; text-align:left; border-radius:20px; padding:20px;">
  113.                                                     <h3 class="h3 m-0" style="color:green;">Candidate</h3>
  114.                                                     <p class="fs-6 text-dark dark:text-white text-opacity-70" style="margin-top:10px;">
  115.                                                         We support you in finding your ideal position within the most promising companies in the market.
  116.                                                     </p>
  117.                                                     <a href="{{ path('whileresume_resume_' ~ app.request.locale) }}" class="btn btn-md btn-primary rounded-default text-white shadow-xs" style="margin-top:10px;">I'm looking for a job <i class="icon-2 unicon-arrow-up-right rtl:-rotate-90"></i></a>
  118.                                                 </div>
  119.                                             </div>
  120.                                         </div>
  121.                                     </div>
  122.                                 </div>
  123.                             </div>
  124.                         </div>
  125.                     </div>
  126.                 {% endif %}
  127.             {% endif %}
  128.         </div>
  129.     </div>
  130.     {% if article.ctaHTML is not empty  %}{{ article.ctaHTML|raw }}{% endif %}
  131. {% endblock body %}