var/cache/dev/twig/30/30e868bf5e1b90378cf1df9ebfa43526.php line 40

  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @Flexy/FrontBundle/Themes/CoWorking/templates/pages/offres.html.twig */
  14. class __TwigTemplate_55da2b0cfbcb8994a58e632c8dafc02f extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'stylesheets' => [$this'block_stylesheets'],
  24.             'body' => [$this'block_body'],
  25.             'javascripts' => [$this'block_javascripts'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "@Flexy/FrontBundle/Themes/CoWorking/templates/layout.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Flexy/FrontBundle/Themes/CoWorking/templates/pages/offres.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Flexy/FrontBundle/Themes/CoWorking/templates/pages/offres.html.twig"));
  40.         $this->parent $this->loadTemplate("@Flexy/FrontBundle/Themes/CoWorking/templates/layout.html.twig""@Flexy/FrontBundle/Themes/CoWorking/templates/pages/offres.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 2
  48.     public function block_stylesheets($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  55.         // line 3
  56.         echo "
  57. ";
  58.         // line 5
  59.         $this->displayParentBlock("stylesheets"$context$blocks);
  60.         echo "
  61.      
  62.    
  63. <style>
  64. @import url(\"https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap\");
  65. @import url(\"https://use.fontawesome.com/releases/v5.13.0/css/all.css\");
  66. @import url(\"https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap\");
  67. :root {
  68.   /* GENERAL FONT */
  69.   --font1: \"Titillium Web\", sans-serif;
  70.   --font2: \"Roboto\", sans-serif;
  71.   /* GENERAL COLOR */
  72.   --bg-col-1: #0059b3;
  73.   --bg-col-2: #dc3545;
  74.   --bg-col-3: #fff;
  75.   --bg-col-4: #024c96;
  76.   --tx-color-1: #fff;
  77.   --tx-color-2: #000;
  78.   --tx-color-3: #0059b3;
  79.   // FOCUS START
  80.   /* READ MORE COLOR */
  81.   --tx-rm-color-1: #fff;
  82.   --bg-rm-color-1: #fff;
  83.   /* TAG BOTTOM-RIGHT COLOR */
  84.   /* FOOTER CARD COLOR */
  85.   --bg-ft-col-1: #0059b3;
  86.   --tx-ft-color-1: #fff;
  87.   // focus section
  88.   --tx-focus-section-title: #212529;
  89.  
  90.   --bg-focus-card-overlay: rgba(0, 89, 179, 0.5);
  91.   --tx-focus-hover: #fff;
  92.   --tx-focus-font-weight: 400;
  93.   --tx-focus-tag-color-1: #fff;
  94.   --bg-focus-tag-color-1: #0059b3;
  95.   --bg-focus-cat: #0059b3;
  96.   --tx-focus-cat: #fff;
  97.   --bg-focus-footer: #0059b3;
  98.   --tx-focus-footer: #fff;
  99.   --bg-focus-card: #fff;
  100.   --tx-focus-card: #000;
  101.   //button arrow & archive
  102.   --tx-button: #fff;
  103.   --bg-button: #0059b3;
  104. }
  105. /*start dark mode css*/
  106. .dark-mode {
  107.   /* GENERAL COLOR */
  108.   --bg-col-1: #121212;
  109.   --tx-color-1: #fff;
  110.   //button arrow & archive
  111.   --tx-button: #fff;
  112.   --bg-button: #272727;
  113.   --bg-button-border: #272727;
  114.   --bg-button-hover: #fff;
  115.   --tx-button-hover: #272727;
  116.   --bg-button-focus: #0f0f0f40;
  117.   //focus-section
  118.   --tx-focus-section-title: #fff;
  119.   --bg-focus-section: #121212;
  120.   --bg-focus-card-overlay: rgba(0, 0, 0, 0.5);
  121.   --tx-focus-hover: #fff;
  122.   --bg-focus-card: #272727;
  123.   --tx-focus-card: #fff;
  124.   --tx-focus-font-weight: 100;
  125.   --tx-focus-tag-color-1: #fff;
  126.   --bg-focus-tag-color-1: #272727;
  127.   --tx-focus-cat: #272727;
  128.   --bg-focus-cat: #fff;
  129.   --tx-focus-tag-a: #fff;
  130.   --bg-focus-footer: #272727;
  131.   --tx-focus-footer: #fff;
  132.   --focus-border-card: 0;
  133. }
  134. /* end dark mode css */
  135. .btn-archive {
  136.   color: var(--tx-button);
  137.   background: var(--bg-button);
  138.   border-color: var(--bg-button-border);
  139.   -webkit-transition: all 0.3s linear 0s;
  140.   transition: all 0.3s linear 0s;
  141.   &:hover {
  142.     color: var(--tx-button-hover);
  143.     background-color: var(--bg-button-hover);
  144.     border-color: var(--bg-button-hover);
  145.   }
  146.   &:focus {
  147.     -webkit-box-shadow: 0 0 0 0.25rem var(--bg-button-focus);
  148.     box-shadow: 0 0 0 0.25rem var(--bg-button-focus);
  149.   }
  150. }
  151. .shadow-custom {
  152.     box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
  153. }
  154. .focus-section {
  155.   background: var(--bg-focus-section);
  156.   font-family: var(--font1);
  157.   -webkit-transition: all 0.3s linear 0s;
  158.   transition: all 0.3s linear 0s;
  159.   .title-section {
  160.     font-weight: 700;
  161.     text-transform: uppercase;
  162.     color: var(--tx-focus-section-title);
  163.   }
  164.   .card {
  165.     font-size: 1rem;
  166.     /*border: var(--focus-border-card);*/
  167.     .card-body {
  168.       background: var(--bg-focus-card);
  169.       color: var(--tx-focus-card);
  170.       .card-text {
  171.         font-weight: var(--tx-focus-font-weight);
  172.       }
  173.     }
  174.     .card-image {
  175.       position: relative;
  176.       .image-overlay {
  177.         position: absolute;
  178.         top: 0;
  179.         bottom: 0;
  180.         left: 0;
  181.         right: 0;
  182.         height: 100%;
  183.         width: 100%;
  184.         opacity: 0;
  185.         transition: 0.5s ease;
  186.        
  187.       }
  188.       &:hover .image-overlay {
  189.         opacity: 1;
  190.       }
  191.     }
  192.     .text-img-over {
  193.       position: relative;
  194.       .overlay {
  195.         position: absolute;
  196.         top: 0;
  197.         bottom: 0;
  198.         left: 0;
  199.         right: 0;
  200.         height: 100%;
  201.         width: 100%;
  202.         opacity: 0;
  203.         transition: 0.5s ease;
  204.         background: var(--bg-focus-card-overlay);
  205.       }
  206.       &:hover .overlay {
  207.         opacity: 1;
  208.       }
  209.     }
  210.     .social-hover {
  211.       color: var(--tx-focus-hover);
  212.       font-size: 30px;
  213.       position: absolute;
  214.       top: 50%;
  215.       left: 50%;
  216.       -webkit-transform: translate(-50%, -50%);
  217.       -ms-transform: translate(-50%, -50%);
  218.       transform: translate(-50%, -50%);
  219.       text-align: center;
  220.       .fa-share-alt {
  221.         color: var(--tx-focus-hover);
  222.         &:hover {
  223.           color: var(--tx-color-1);
  224.         }
  225.       }
  226.     }
  227.     .hover-text {
  228.       position: relative;
  229.       text-align: center;
  230.       color: var(--tx-focus-hover);
  231.     }
  232.     .bottom-right-tag {
  233.       position: absolute;
  234.       bottom: 0;
  235.       right: 0;
  236.       background: #dfb150;
  237.       padding: 5px 10px 5px 10px;
  238.       border-top-left-radius: calc(0.25rem - 1px);
  239.       font-size: 0.8rem;
  240.       font-weight: 200;
  241.       color: var(--tx-focus-tag-color-1);
  242.       z-index: 1;
  243.       a {
  244.         color: var(--tx-focus-tag-color-1);
  245.         text-decoration: none;
  246.       }
  247.       a:hover {
  248.         color: var(--tx-focus-tag-color-1);
  249.         text-decoration: underline;
  250.       }
  251.     }
  252.     .sub-cat {
  253.       font-weight: 600;
  254.       font-size: 1rem;
  255.       .bg-category {
  256.         background: var(--bg-focus-cat);
  257.         color: var(--tx-focus-cat);
  258.       }
  259.       a {
  260.         color: var(--tx-focus-tag-a);
  261.       }
  262.     }
  263.     .card-title {
  264.       font-family: var(--font1);
  265.       font-weight: 600;
  266.       font-size: 1.3rem;
  267.       /* height: 73px;
  268.   overflow: hidden; */
  269.     }
  270.     .card-footer {
  271.       background: #dfb150;
  272.       color: var(--tx-focus-footer);
  273.       .card-footer__info {
  274.         font-size: 1rem;
  275.         font-weight: 300;
  276.         position: relative;
  277.       }
  278.     }
  279.     .read-more {
  280.       position: absolute;
  281.       right: 0;
  282.       font-weight: 600;
  283.     }
  284.     .read-more-1 {
  285.       text-decoration: none;
  286.       position: relative;
  287.       color: var(--tx-focus-footer);
  288.     }
  289.     .read-more-1::after {
  290.       content: \"\";
  291.       position: absolute;
  292.       left: 0;
  293.       bottom: 0;
  294.       width: 100%;
  295.       height: 2px;
  296.       background: var(--bg-rm-color-1);
  297.       transform: scaleX(0);
  298.       transform-origin: left;
  299.       transition: transform 250ms ease-in;
  300.     }
  301.     .read-more-1:hover {
  302.       color: var(--tx-focus-footer);
  303.     }
  304.     .read-more-1:hover::after {
  305.       transform: scaleX(1);
  306.       transform-origin: right;
  307.       color: var(--tx-focus-footer);
  308.     }
  309.     .read-more-2 {
  310.       text-decoration: none;
  311.       position: relative;
  312.       margin-right: 15px;
  313.       color: var(--tx-focus-footer);
  314.     }
  315.     .read-more-2::after {
  316.       content: \"\";
  317.       /* You should use \\ and not /*/
  318.       font-family: \"Font Awesome 5 Free\";
  319.       /* This is the correct font-family*/
  320.       position: absolute;
  321.       right: -18px;
  322.       bottom: 0;
  323.       color: var(--tx-focus-footer);
  324.     }
  325.     .read-more-2:hover {
  326.       color: var(--tx-focus-footer);
  327.     }
  328.     .read-more-2:hover::after {
  329.       transform: translate(3px, 0);
  330.       transition: all 0.1s ease-in;
  331.       color: var(--tx-focus-footer);
  332.     }
  333.     .read-more-3 {
  334.       text-decoration: none;
  335.       position: relative;
  336.       color: var(--tx-focus-footer);
  337.     }
  338.     .read-more-3:hover {
  339.       color: var(--tx-focus-footer);
  340.       text-decoration: underline;
  341.     }
  342.   }
  343. }
  344. .custom-hr-1{
  345.      width: 3%;
  346.     border: 3px solid #555;
  347.     margin: 4px;
  348. }
  349.  .pagination {
  350.     display: flex;
  351.     justify-content: center;
  352.     margin-top: 20px;
  353. }
  354. .pagination li {
  355.     margin: 0 5px;
  356.     list-style: none;
  357. }
  358. .pagination li a {
  359.     text-decoration: none;
  360.     padding: 8px 12px;
  361.     border: 1px solid #FFCB00; /* Ajout de la couleur principale */
  362.     border-radius: 5px;
  363.     color: #FFCB00; /* Texte en couleur principale */
  364.     font-weight: 600;
  365.     transition: background-color 0.3s, color 0.3s;
  366. }
  367. .pagination li a:hover {
  368.     background-color: #FFCB00; /* Couleur au survol */
  369.     color: white; /* Texte en blanc au survol */
  370. }
  371. .pagination li.active a {
  372.     background-color: #FFCB00; /* Couleur principale pour l'élément actif */
  373.     color: white; /* Texte en blanc */
  374.     border: none; /* Supprimer la bordure */
  375. }
  376. .pagination li.disabled {
  377.     display: none; /* Cacher les boutons désactivés */
  378. }
  379. .shadow-custom:hover{
  380.      box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  381. }
  382.     .shadow-custom{
  383.     box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
  384. }
  385.     
  386. </style>
  387.   
  388. ";
  389.         
  390.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  391.         
  392.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  393.     }
  394.     // line 387
  395.     public function block_body($context, array $blocks = [])
  396.     {
  397.         $macros $this->macros;
  398.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  399.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  400.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  401.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  402.         // line 388
  403.         echo 
  404.  
  405. <div class=\"container\" style=\"max-width: 1230px;\">
  406.  <!--<section class=\"button\">
  407.   <div class=\"container-lg py-2\">
  408.     <button class=\"btn btn-dark btn-sm text-uppercase\" onclick=\"myFunction()\" id=\"btnValue\" type=\"button\">Dark mode</button>
  409.   </div>
  410. </section> -->        
  411. <section id=\"focus\" class=\"focus-section\">
  412.         <div class=\"container-lg py-5\">
  413.             <div class=\"container px-0\">
  414.                 <div class=\"row\">
  415.                     <div class=\"col\">
  416.                        <h1 style=\"font-size: 34px; color: black;\" class=\"title-actualites \">Offres</h1>
  417.                       <hr class=\"custom-hr-1\">
  418.                     </div>
  419.                  
  420.                 </div>
  421.             </div>
  422.             <div class=\"row row-cols-1 row-cols-md-3 g-4 mt-5 mb-2\">
  423.             ";
  424.         // line 414
  425.         $context['_parent'] = $context;
  426.         $context['_seq'] = twig_ensure_traversable((isset($context["newshome"]) || array_key_exists("newshome"$context) ? $context["newshome"] : (function () { throw new RuntimeError('Variable "newshome" does not exist.'414$this->source); })()));
  427.         foreach ($context['_seq'] as $context["_key"] => $context["news"]) {
  428.             // line 415
  429.             echo "                <div class=\"col\">
  430.                     <div class=\"card shadow-sm h-100 shadow-custom\">
  431.                         <div class=\"card-image\">
  432.                             <div class=\"hover-text\">
  433.                             <img class=\"img-article img-fluid\" 
  434.                                      src=\"/uploads/coworking/";
  435.             // line 420
  436.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["news"], "image", [], "any"falsefalsefalse420), "html"nulltrue);
  437.             echo "\"
  438.                                      class=\"card-img-top\" 
  439.                                      alt=\"image\">
  440.                                  
  441.                                 <div class=\"bottom-right-tag text-uppercase\">
  442.                               
  443.                                 ";
  444.             // line 426
  445.             if ((twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["news"], "dateFin", [], "any"falsefalsefalse426), "U") < twig_date_format_filter($this->env"now""U"))) {
  446.                 // line 427
  447.                 echo "                              Pas active
  448.                             ";
  449.             } else {
  450.                 // line 429
  451.                 echo "                               Active 
  452.                             ";
  453.             }
  454.             // line 431
  455.             echo "                                                            
  456.                                 </div>
  457.                             </div>
  458.                             <div class=\"image-overlay\"></div>
  459.                         </div>
  460.                         <div class=\"card-body\">
  461.                             <h3 class=\"card-title\">";
  462.             // line 438
  463.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["news"], "title", [], "any"falsefalsefalse438), "html"nulltrue);
  464.             echo "</h3>
  465.                             <div class=\"text-left my-2\">
  466.                                 <div class=\"sub-cat text-truncate\"><span
  467.                                         class=\"badge rounded-pill bg-category text-uppercase\">offre</span> <a
  468.                                         href=\"#\">";
  469.             // line 442
  470.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["news"], "underTitle", [], "any"falsefalsefalse442), "html"nulltrue);
  471.             echo "</a></div>
  472.                             </div>
  473.                             <p class=\"card-text\">";
  474.             // line 444
  475.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["news"], "description", [], "any"falsefalsefalse444), "html"nulltrue);
  476.             echo ".</p>
  477.                         </div>
  478.                         <div class=\"card-footer py-3\">
  479.                             <div class=\"card-footer__info\">
  480.                                 <span><i class=\"far fa-calendar-alt\"></i> ";
  481.             // line 451
  482.             echo twig_escape_filter($this->env_twig_default_filter(twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["news"], "dateDebut", [], "any"falsefalsefalse451), "d/m/Y"), "Aucune date"), "html"nulltrue);
  483.             echo "</span>
  484.                                
  485.                                 <span class=\"read-more\">
  486.                                      <span><i class=\"far fa-calendar-alt\"></i> ";
  487.             // line 454
  488.             echo twig_escape_filter($this->env_twig_default_filter(twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["news"], "dateFin", [], "any"falsefalsefalse454), "d/m/Y"), "Aucune date"), "html"nulltrue);
  489.             echo "</span>
  490.                                 </span>
  491.                             </div>
  492.                         </div>
  493.                     </div>
  494.                 </div>
  495.                  
  496.              ";
  497.         }
  498.         $_parent $context['_parent'];
  499.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['news'], $context['_parent'], $context['loop']);
  500.         $context array_intersect_key($context$_parent) + $_parent;
  501.         // line 463
  502.         echo "
  503.             </div>
  504.         </div>
  505.   
  506.    </section>
  507.     
  508.      
  509.       ";
  510.         // line 474
  511.         if ( !(null === (isset($context["newshome"]) || array_key_exists("newshome"$context) ? $context["newshome"] : (function () { throw new RuntimeError('Variable "newshome" does not exist.'474$this->source); })()))) {
  512.             // line 475
  513.             echo "        <div class=\"pagination\">
  514.     ";
  515.             // line 476
  516.             echo $this->extensions['Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension']->render($this->env, (isset($context["newshome"]) || array_key_exists("newshome"$context) ? $context["newshome"] : (function () { throw new RuntimeError('Variable "newshome" does not exist.'476$this->source); })()));
  517.             echo "
  518. </div>
  519.     ";
  520.         }
  521.         // line 479
  522.         echo 
  523.  
  524.     
  525. </div>
  526.  
  527. \t
  528. ";
  529.         
  530.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  531.         
  532.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  533.     }
  534.     // line 490
  535.     public function block_javascripts($context, array $blocks = [])
  536.     {
  537.         $macros $this->macros;
  538.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  539.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  540.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  541.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  542.         // line 491
  543.         echo "
  544. ";
  545.         // line 492
  546.         $this->displayParentBlock("javascripts"$context$blocks);
  547.         echo "
  548.  
  549.  
  550. <script src=\"https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js\" integrity=\"sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe\" crossorigin=\"anonymous\"></script>
  551. <script>
  552. /*function myFunction() {
  553.   var element = document.getElementById('focus');
  554.   element.classList.toggle(\"dark-mode\");
  555.   var x = document.getElementById(\"btnValue\");
  556.   if (x.innerHTML === \"Dark mode\") {
  557.     x.innerHTML = \"Light mode\";
  558.     x.classList.remove('btn-dark')
  559.     x.classList.toggle('btn-light')
  560.   } else {
  561.     x.innerHTML = \"Dark mode\";
  562.     x.classList.remove('btn-light')
  563.     x.classList.toggle('btn-dark')
  564.   }
  565. }*/
  566.  
  567. </script>
  568. ";
  569.         
  570.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  571.         
  572.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  573.     }
  574.     public function getTemplateName()
  575.     {
  576.         return "@Flexy/FrontBundle/Themes/CoWorking/templates/pages/offres.html.twig";
  577.     }
  578.     public function isTraitable()
  579.     {
  580.         return false;
  581.     }
  582.     public function getDebugInfo()
  583.     {
  584.         return array (  642 => 492,  639 => 491,  629 => 490,  610 => 479,  604 => 476,  601 => 475,  599 => 474,  586 => 463,  571 => 454,  565 => 451,  555 => 444,  550 => 442,  543 => 438,  534 => 431,  530 => 429,  526 => 427,  524 => 426,  515 => 420,  508 => 415,  504 => 414,  476 => 388,  466 => 387,  74 => 5,  70 => 3,  60 => 2,  37 => 1,);
  585.     }
  586.     public function getSourceContext()
  587.     {
  588.         return new Source("{% extends '@Flexy/FrontBundle/Themes/CoWorking/templates/layout.html.twig' %}
  589. {% block stylesheets %}
  590. {{ parent() }}
  591.      
  592.    
  593. <style>
  594. @import url(\"https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap\");
  595. @import url(\"https://use.fontawesome.com/releases/v5.13.0/css/all.css\");
  596. @import url(\"https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap\");
  597. :root {
  598.   /* GENERAL FONT */
  599.   --font1: \"Titillium Web\", sans-serif;
  600.   --font2: \"Roboto\", sans-serif;
  601.   /* GENERAL COLOR */
  602.   --bg-col-1: #0059b3;
  603.   --bg-col-2: #dc3545;
  604.   --bg-col-3: #fff;
  605.   --bg-col-4: #024c96;
  606.   --tx-color-1: #fff;
  607.   --tx-color-2: #000;
  608.   --tx-color-3: #0059b3;
  609.   // FOCUS START
  610.   /* READ MORE COLOR */
  611.   --tx-rm-color-1: #fff;
  612.   --bg-rm-color-1: #fff;
  613.   /* TAG BOTTOM-RIGHT COLOR */
  614.   /* FOOTER CARD COLOR */
  615.   --bg-ft-col-1: #0059b3;
  616.   --tx-ft-color-1: #fff;
  617.   // focus section
  618.   --tx-focus-section-title: #212529;
  619.  
  620.   --bg-focus-card-overlay: rgba(0, 89, 179, 0.5);
  621.   --tx-focus-hover: #fff;
  622.   --tx-focus-font-weight: 400;
  623.   --tx-focus-tag-color-1: #fff;
  624.   --bg-focus-tag-color-1: #0059b3;
  625.   --bg-focus-cat: #0059b3;
  626.   --tx-focus-cat: #fff;
  627.   --bg-focus-footer: #0059b3;
  628.   --tx-focus-footer: #fff;
  629.   --bg-focus-card: #fff;
  630.   --tx-focus-card: #000;
  631.   //button arrow & archive
  632.   --tx-button: #fff;
  633.   --bg-button: #0059b3;
  634. }
  635. /*start dark mode css*/
  636. .dark-mode {
  637.   /* GENERAL COLOR */
  638.   --bg-col-1: #121212;
  639.   --tx-color-1: #fff;
  640.   //button arrow & archive
  641.   --tx-button: #fff;
  642.   --bg-button: #272727;
  643.   --bg-button-border: #272727;
  644.   --bg-button-hover: #fff;
  645.   --tx-button-hover: #272727;
  646.   --bg-button-focus: #0f0f0f40;
  647.   //focus-section
  648.   --tx-focus-section-title: #fff;
  649.   --bg-focus-section: #121212;
  650.   --bg-focus-card-overlay: rgba(0, 0, 0, 0.5);
  651.   --tx-focus-hover: #fff;
  652.   --bg-focus-card: #272727;
  653.   --tx-focus-card: #fff;
  654.   --tx-focus-font-weight: 100;
  655.   --tx-focus-tag-color-1: #fff;
  656.   --bg-focus-tag-color-1: #272727;
  657.   --tx-focus-cat: #272727;
  658.   --bg-focus-cat: #fff;
  659.   --tx-focus-tag-a: #fff;
  660.   --bg-focus-footer: #272727;
  661.   --tx-focus-footer: #fff;
  662.   --focus-border-card: 0;
  663. }
  664. /* end dark mode css */
  665. .btn-archive {
  666.   color: var(--tx-button);
  667.   background: var(--bg-button);
  668.   border-color: var(--bg-button-border);
  669.   -webkit-transition: all 0.3s linear 0s;
  670.   transition: all 0.3s linear 0s;
  671.   &:hover {
  672.     color: var(--tx-button-hover);
  673.     background-color: var(--bg-button-hover);
  674.     border-color: var(--bg-button-hover);
  675.   }
  676.   &:focus {
  677.     -webkit-box-shadow: 0 0 0 0.25rem var(--bg-button-focus);
  678.     box-shadow: 0 0 0 0.25rem var(--bg-button-focus);
  679.   }
  680. }
  681. .shadow-custom {
  682.     box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
  683. }
  684. .focus-section {
  685.   background: var(--bg-focus-section);
  686.   font-family: var(--font1);
  687.   -webkit-transition: all 0.3s linear 0s;
  688.   transition: all 0.3s linear 0s;
  689.   .title-section {
  690.     font-weight: 700;
  691.     text-transform: uppercase;
  692.     color: var(--tx-focus-section-title);
  693.   }
  694.   .card {
  695.     font-size: 1rem;
  696.     /*border: var(--focus-border-card);*/
  697.     .card-body {
  698.       background: var(--bg-focus-card);
  699.       color: var(--tx-focus-card);
  700.       .card-text {
  701.         font-weight: var(--tx-focus-font-weight);
  702.       }
  703.     }
  704.     .card-image {
  705.       position: relative;
  706.       .image-overlay {
  707.         position: absolute;
  708.         top: 0;
  709.         bottom: 0;
  710.         left: 0;
  711.         right: 0;
  712.         height: 100%;
  713.         width: 100%;
  714.         opacity: 0;
  715.         transition: 0.5s ease;
  716.        
  717.       }
  718.       &:hover .image-overlay {
  719.         opacity: 1;
  720.       }
  721.     }
  722.     .text-img-over {
  723.       position: relative;
  724.       .overlay {
  725.         position: absolute;
  726.         top: 0;
  727.         bottom: 0;
  728.         left: 0;
  729.         right: 0;
  730.         height: 100%;
  731.         width: 100%;
  732.         opacity: 0;
  733.         transition: 0.5s ease;
  734.         background: var(--bg-focus-card-overlay);
  735.       }
  736.       &:hover .overlay {
  737.         opacity: 1;
  738.       }
  739.     }
  740.     .social-hover {
  741.       color: var(--tx-focus-hover);
  742.       font-size: 30px;
  743.       position: absolute;
  744.       top: 50%;
  745.       left: 50%;
  746.       -webkit-transform: translate(-50%, -50%);
  747.       -ms-transform: translate(-50%, -50%);
  748.       transform: translate(-50%, -50%);
  749.       text-align: center;
  750.       .fa-share-alt {
  751.         color: var(--tx-focus-hover);
  752.         &:hover {
  753.           color: var(--tx-color-1);
  754.         }
  755.       }
  756.     }
  757.     .hover-text {
  758.       position: relative;
  759.       text-align: center;
  760.       color: var(--tx-focus-hover);
  761.     }
  762.     .bottom-right-tag {
  763.       position: absolute;
  764.       bottom: 0;
  765.       right: 0;
  766.       background: #dfb150;
  767.       padding: 5px 10px 5px 10px;
  768.       border-top-left-radius: calc(0.25rem - 1px);
  769.       font-size: 0.8rem;
  770.       font-weight: 200;
  771.       color: var(--tx-focus-tag-color-1);
  772.       z-index: 1;
  773.       a {
  774.         color: var(--tx-focus-tag-color-1);
  775.         text-decoration: none;
  776.       }
  777.       a:hover {
  778.         color: var(--tx-focus-tag-color-1);
  779.         text-decoration: underline;
  780.       }
  781.     }
  782.     .sub-cat {
  783.       font-weight: 600;
  784.       font-size: 1rem;
  785.       .bg-category {
  786.         background: var(--bg-focus-cat);
  787.         color: var(--tx-focus-cat);
  788.       }
  789.       a {
  790.         color: var(--tx-focus-tag-a);
  791.       }
  792.     }
  793.     .card-title {
  794.       font-family: var(--font1);
  795.       font-weight: 600;
  796.       font-size: 1.3rem;
  797.       /* height: 73px;
  798.   overflow: hidden; */
  799.     }
  800.     .card-footer {
  801.       background: #dfb150;
  802.       color: var(--tx-focus-footer);
  803.       .card-footer__info {
  804.         font-size: 1rem;
  805.         font-weight: 300;
  806.         position: relative;
  807.       }
  808.     }
  809.     .read-more {
  810.       position: absolute;
  811.       right: 0;
  812.       font-weight: 600;
  813.     }
  814.     .read-more-1 {
  815.       text-decoration: none;
  816.       position: relative;
  817.       color: var(--tx-focus-footer);
  818.     }
  819.     .read-more-1::after {
  820.       content: \"\";
  821.       position: absolute;
  822.       left: 0;
  823.       bottom: 0;
  824.       width: 100%;
  825.       height: 2px;
  826.       background: var(--bg-rm-color-1);
  827.       transform: scaleX(0);
  828.       transform-origin: left;
  829.       transition: transform 250ms ease-in;
  830.     }
  831.     .read-more-1:hover {
  832.       color: var(--tx-focus-footer);
  833.     }
  834.     .read-more-1:hover::after {
  835.       transform: scaleX(1);
  836.       transform-origin: right;
  837.       color: var(--tx-focus-footer);
  838.     }
  839.     .read-more-2 {
  840.       text-decoration: none;
  841.       position: relative;
  842.       margin-right: 15px;
  843.       color: var(--tx-focus-footer);
  844.     }
  845.     .read-more-2::after {
  846.       content: \"\";
  847.       /* You should use \\ and not /*/
  848.       font-family: \"Font Awesome 5 Free\";
  849.       /* This is the correct font-family*/
  850.       position: absolute;
  851.       right: -18px;
  852.       bottom: 0;
  853.       color: var(--tx-focus-footer);
  854.     }
  855.     .read-more-2:hover {
  856.       color: var(--tx-focus-footer);
  857.     }
  858.     .read-more-2:hover::after {
  859.       transform: translate(3px, 0);
  860.       transition: all 0.1s ease-in;
  861.       color: var(--tx-focus-footer);
  862.     }
  863.     .read-more-3 {
  864.       text-decoration: none;
  865.       position: relative;
  866.       color: var(--tx-focus-footer);
  867.     }
  868.     .read-more-3:hover {
  869.       color: var(--tx-focus-footer);
  870.       text-decoration: underline;
  871.     }
  872.   }
  873. }
  874. .custom-hr-1{
  875.      width: 3%;
  876.     border: 3px solid #555;
  877.     margin: 4px;
  878. }
  879.  .pagination {
  880.     display: flex;
  881.     justify-content: center;
  882.     margin-top: 20px;
  883. }
  884. .pagination li {
  885.     margin: 0 5px;
  886.     list-style: none;
  887. }
  888. .pagination li a {
  889.     text-decoration: none;
  890.     padding: 8px 12px;
  891.     border: 1px solid #FFCB00; /* Ajout de la couleur principale */
  892.     border-radius: 5px;
  893.     color: #FFCB00; /* Texte en couleur principale */
  894.     font-weight: 600;
  895.     transition: background-color 0.3s, color 0.3s;
  896. }
  897. .pagination li a:hover {
  898.     background-color: #FFCB00; /* Couleur au survol */
  899.     color: white; /* Texte en blanc au survol */
  900. }
  901. .pagination li.active a {
  902.     background-color: #FFCB00; /* Couleur principale pour l'élément actif */
  903.     color: white; /* Texte en blanc */
  904.     border: none; /* Supprimer la bordure */
  905. }
  906. .pagination li.disabled {
  907.     display: none; /* Cacher les boutons désactivés */
  908. }
  909. .shadow-custom:hover{
  910.      box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  911. }
  912.     .shadow-custom{
  913.     box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
  914. }
  915.     
  916. </style>
  917.   
  918. {% endblock  %}
  919. {% block body %}
  920.  
  921.  
  922. <div class=\"container\" style=\"max-width: 1230px;\">
  923.  <!--<section class=\"button\">
  924.   <div class=\"container-lg py-2\">
  925.     <button class=\"btn btn-dark btn-sm text-uppercase\" onclick=\"myFunction()\" id=\"btnValue\" type=\"button\">Dark mode</button>
  926.   </div>
  927. </section> -->        
  928. <section id=\"focus\" class=\"focus-section\">
  929.         <div class=\"container-lg py-5\">
  930.             <div class=\"container px-0\">
  931.                 <div class=\"row\">
  932.                     <div class=\"col\">
  933.                        <h1 style=\"font-size: 34px; color: black;\" class=\"title-actualites \">Offres</h1>
  934.                       <hr class=\"custom-hr-1\">
  935.                     </div>
  936.                  
  937.                 </div>
  938.             </div>
  939.             <div class=\"row row-cols-1 row-cols-md-3 g-4 mt-5 mb-2\">
  940.             {% for news in newshome %}
  941.                 <div class=\"col\">
  942.                     <div class=\"card shadow-sm h-100 shadow-custom\">
  943.                         <div class=\"card-image\">
  944.                             <div class=\"hover-text\">
  945.                             <img class=\"img-article img-fluid\" 
  946.                                      src=\"/uploads/coworking/{{ news.image }}\"
  947.                                      class=\"card-img-top\" 
  948.                                      alt=\"image\">
  949.                                  
  950.                                 <div class=\"bottom-right-tag text-uppercase\">
  951.                               
  952.                                 {% if news.dateFin|date('U') < 'now'|date('U') %}
  953.                               Pas active
  954.                             {% else %}
  955.                                Active 
  956.                             {% endif %}
  957.                                                             
  958.                                 </div>
  959.                             </div>
  960.                             <div class=\"image-overlay\"></div>
  961.                         </div>
  962.                         <div class=\"card-body\">
  963.                             <h3 class=\"card-title\">{{ news.title }}</h3>
  964.                             <div class=\"text-left my-2\">
  965.                                 <div class=\"sub-cat text-truncate\"><span
  966.                                         class=\"badge rounded-pill bg-category text-uppercase\">offre</span> <a
  967.                                         href=\"#\">{{ news.underTitle }}</a></div>
  968.                             </div>
  969.                             <p class=\"card-text\">{{ news.description }}.</p>
  970.                         </div>
  971.                         <div class=\"card-footer py-3\">
  972.                             <div class=\"card-footer__info\">
  973.                                 <span><i class=\"far fa-calendar-alt\"></i> {{ news.dateDebut|date('d/m/Y')|default('Aucune date') }}</span>
  974.                                
  975.                                 <span class=\"read-more\">
  976.                                      <span><i class=\"far fa-calendar-alt\"></i> {{ news.dateFin|date('d/m/Y')|default('Aucune date') }}</span>
  977.                                 </span>
  978.                             </div>
  979.                         </div>
  980.                     </div>
  981.                 </div>
  982.                  
  983.              {% endfor   %}
  984.             </div>
  985.         </div>
  986.   
  987.    </section>
  988.     
  989.      
  990.       {% if newshome is not null %}
  991.         <div class=\"pagination\">
  992.     {{ knp_pagination_render(newshome) }}
  993. </div>
  994.     {% endif %}
  995.  
  996.  
  997.     
  998. </div>
  999.  
  1000. \t
  1001. {% endblock %}
  1002. {% block javascripts %}
  1003. {{ parent() }}
  1004.  
  1005.  
  1006. <script src=\"https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js\" integrity=\"sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe\" crossorigin=\"anonymous\"></script>
  1007. <script>
  1008. /*function myFunction() {
  1009.   var element = document.getElementById('focus');
  1010.   element.classList.toggle(\"dark-mode\");
  1011.   var x = document.getElementById(\"btnValue\");
  1012.   if (x.innerHTML === \"Dark mode\") {
  1013.     x.innerHTML = \"Light mode\";
  1014.     x.classList.remove('btn-dark')
  1015.     x.classList.toggle('btn-light')
  1016.   } else {
  1017.     x.innerHTML = \"Dark mode\";
  1018.     x.classList.remove('btn-light')
  1019.     x.classList.toggle('btn-dark')
  1020.   }
  1021. }*/
  1022.  
  1023. </script>
  1024. {% endblock %}
  1025. ""@Flexy/FrontBundle/Themes/CoWorking/templates/pages/offres.html.twig""/home/gebcloud/public_html/cowork.gebanalysis.cloud/src/Flexy/FrontBundle/Themes/CoWorking/templates/pages/offres.html.twig");
  1026.     }
  1027. }