var/cache/dev/twig/ce/ce0c78950dd7d8ece796a83dc8bfa494eb0379db69aa090cc84f32f12227eb1e.php line 60

Open in your IDE?
  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. /* network/auction/components/tab_navigation_component.html.twig */
  14. class __TwigTemplate_e572003974fb0dff44406f2639a683d0ad3dd76575ddcb90ac40b6e39fa2676e 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->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""network/auction/components/tab_navigation_component.html.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""network/auction/components/tab_navigation_component.html.twig"));
  33.         // line 1
  34.         $this->extensions['App\Core\Twig\Extension\TabNavigationExtension']->addTab(["name" => "timeline""action" => "timeline"]);
  35.         // line 2
  36.         $this->extensions['App\Core\Twig\Extension\TabNavigationExtension']->addTab(["name" => "horses""action" => "horses"]);
  37.         // line 3
  38.         $this->extensions['App\Core\Twig\Extension\TabNavigationExtension']->addTab(["name" => "attendees""action" => "attendees"]);
  39.         // line 4
  40.         $this->extensions['App\Core\Twig\Extension\TabNavigationExtension']->addTab(["name" => "auctionlots""action" => "auctionlots"]);
  41.         // line 5
  42.         $this->extensions['App\Core\Twig\Extension\TabNavigationExtension']->addTab(["name" => "news""action" => "news"]);
  43.         // line 7
  44.         echo "
  45. ";
  46.         // line 72
  47.         echo "
  48. <section id=\"tab_navigation\"
  49.   class=\"";
  50.         // line 74
  51.         echo (((twig_get_attribute($this->env$this->source, (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'74$this->source); })()), "auctionhouse", [], "any"falsefalsefalse74) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'74$this->source); })()), "auctionhouse", [], "any"falsefalsefalse74), "color", [], "any"falsefalsefalse74))) ? ("") : ("bg-primary-500"));
  52.         echo " mb-4\"
  53.   style=\"background-color: ";
  54.         // line 78
  55.         (((twig_get_attribute($this->env$this->source,         // line 76
  56. (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'76$this->source); })()), "auctionhouse", [], "any"falsefalsefalse76) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'76$this->source); })()), "auctionhouse", [], "any"falsefalsefalse76), "color", [], "any"falsefalsefalse76))) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 77
  57. (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'77$this->source); })()), "auctionhouse", [], "any"falsefalsefalse77), "color", [], "any"falsefalsefalse77), "html"nulltrue))) : (print ("")));
  58.         // line 79
  59.         echo ";\">
  60.   <div class=\" sm:flex-wrap sm:container sm:flex hidden w-full gap-4 p-4 ";
  61.         // line 80
  62.         echo (((twig_get_attribute($this->env$this->source,         // line 81
  63. (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'81$this->source); })()), "auctionhouse", [], "any"falsefalsefalse81) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'81$this->source); })()), "auctionhouse", [], "any"falsefalsefalse81), "color", [], "any"falsefalsefalse81))) ? ("") : ("bg-primary-500"));
  64.         // line 84
  65.         echo "\"
  66.     style=\"background-color: ";
  67.         // line 88
  68.         (((twig_get_attribute($this->env$this->source,         // line 86
  69. (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'86$this->source); })()), "auctionhouse", [], "any"falsefalsefalse86) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'86$this->source); })()), "auctionhouse", [], "any"falsefalsefalse86), "color", [], "any"falsefalsefalse86))) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 87
  70. (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'87$this->source); })()), "auctionhouse", [], "any"falsefalsefalse87), "color", [], "any"falsefalsefalse87), "html"nulltrue))) : (print ("")));
  71.         // line 89
  72.         echo ";\"
  73.     data-controller=\"tab-navigation\">
  74.     ";
  75.         // line 91
  76.         $context['_parent'] = $context;
  77.         $context['_seq'] = twig_ensure_traversable($this->extensions['App\Core\Twig\Extension\TabNavigationExtension']->getTabs());
  78.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  79.             // line 92
  80.             echo "      ";
  81.             $context["highlighted"] = null;
  82.             // line 93
  83.             echo "
  84.       ";
  85.             // line 94
  86.             if (array_key_exists("highlightedTab"$context)) {
  87.                 // line 95
  88.                 echo "        ";
  89.                 $context["highlighted"] = ((isset($context["highlightedTab"]) || array_key_exists("highlightedTab"$context) ? $context["highlightedTab"] : (function () { throw new RuntimeError('Variable "highlightedTab" does not exist.'95$this->source); })()) == $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(("auction_tab_navigation_" twig_get_attribute($this->env$this->source,                 // line 96
  90. $context["item"], "action", [], "any"falsefalsefalse96)), ["id" => twig_get_attribute($this->env$this->source, (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'96$this->source); })()), "id", [], "any"falsefalsefalse96)]));
  91.                 // line 98
  92.                 echo "      ";
  93.             }
  94.             // line 99
  95.             echo "
  96.       <turbo-frame class=\"";
  97.             // line 100
  98.             echo (( !(isset($context["highlighted"]) || array_key_exists("highlighted"$context) ? $context["highlighted"] : (function () { throw new RuntimeError('Variable "highlighted" does not exist.'100$this->source); })())) ? ("bg-white") : (""));
  99.             echo "\" target=\"tab_content\">
  100.         <a id=\"";
  101.             // line 101
  102.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["item"], "name", [], "any"falsefalsefalse101) . "-") . twig_get_attribute($this->env$this->source, (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'101$this->source); })()), "id", [], "any"falsefalsefalse101)), "html"nulltrue);
  103.             echo "\"
  104.           href=\"";
  105.             // line 102
  106.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(("auction_tab_navigation_" twig_get_attribute($this->env$this->source$context["item"], "action", [], "any"falsefalsefalse102)), ["id" => twig_get_attribute($this->env$this->source, (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'102$this->source); })()), "id", [], "any"falsefalsefalse102)]), "html"nulltrue);
  107.             echo "\"
  108.           class=\"";
  109.             // line 103
  110.             echo (((isset($context["highlighted"]) || array_key_exists("highlighted"$context) ? $context["highlighted"] : (function () { throw new RuntimeError('Variable "highlighted" does not exist.'103$this->source); })())) ? ("btn-sm btn btn-white active") : ("btn-sm btn btn-neutral"));
  111.             echo " \"
  112.           style=\"";
  113.             // line 110
  114.             (( !            // line 105
  115. (isset($context["highlighted"]) || array_key_exists("highlighted"$context) ? $context["highlighted"] : (function () { throw new RuntimeError('Variable "highlighted" does not exist.'105$this->source); })())) ? (print (twig_escape_filter($this->env, (((((("color:white;  background-color: rgba(" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 106
  116. (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'106$this->source); })()), "auctionhouse", [], "any"falsefalsefalse106), "color", [], "any"falsefalsefalse106), "r", [], "any"falsefalsefalse106)) . ",") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 107
  117. (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'107$this->source); })()), "auctionhouse", [], "any"falsefalsefalse107), "color", [], "any"falsefalsefalse107), "g", [], "any"falsefalsefalse107)) . ",") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 109
  118. (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'109$this->source); })()), "auctionhouse", [], "any"falsefalsefalse109), "color", [], "any"falsefalsefalse109), "b", [], "any"falsefalsefalse109)) . ",0.6"), "html"nulltrue))) : (print ("")));
  119.             // line 111
  120.             echo "\">
  121.           ";
  122.             // line 112
  123.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["item"], "name", [], "any"falsefalsefalse112)), "html"nulltrue);
  124.             echo "
  125.         </a>
  126.       </turbo-frame>
  127.     ";
  128.         }
  129.         $_parent $context['_parent'];
  130.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  131.         $context array_intersect_key($context$_parent) + $_parent;
  132.         // line 116
  133.         echo "  </div>
  134.   <div>
  135.     <div class=\"block sm:hidden sticky top-20 w-screen max-w-full z-1000  ";
  136.         // line 119
  137.         echo (((twig_get_attribute($this->env$this->source,         // line 120
  138. (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'120$this->source); })()), "auctionhouse", [], "any"falsefalsefalse120) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'120$this->source); })()), "auctionhouse", [], "any"falsefalsefalse120), "color", [], "any"falsefalsefalse120))) ? ("") : ("bg-primary-500"));
  139.         // line 123
  140.         echo " overflow-hidden shadow-md\"
  141.       style=\"background-color: ";
  142.         // line 127
  143.         (((twig_get_attribute($this->env$this->source,         // line 125
  144. (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'125$this->source); })()), "auctionhouse", [], "any"falsefalsefalse125) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'125$this->source); })()), "auctionhouse", [], "any"falsefalsefalse125), "color", [], "any"falsefalsefalse125))) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 126
  145. (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'126$this->source); })()), "auctionhouse", [], "any"falsefalsefalse126), "color", [], "any"falsefalsefalse126), "html"nulltrue))) : (print ("")));
  146.         // line 128
  147.         echo ";\">
  148.       <div data-controller=\"tab-navigation\"
  149.         data-section-navigation-active-class=\"text-white bg-black\"
  150.         data-section-navigation-inactive-class=\"text-black bg-neutral-200 \"
  151.         id=\"profile-scroll-bar\"
  152.         class=\"relative inline-flex items-center w-screen gap-4 p-3 mx-1 overflow-scroll sm:my-3 snap-x snap-mandatory sm:flex\">
  153.         ";
  154.         // line 134
  155.         $context['_parent'] = $context;
  156.         $context['_seq'] = twig_ensure_traversable($this->extensions['App\Core\Twig\Extension\TabNavigationExtension']->getTabs());
  157.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  158.             // line 135
  159.             echo "          ";
  160.             $context["highlighted"] = null;
  161.             // line 136
  162.             echo "          ";
  163.             if (array_key_exists("highlightedTab"$context)) {
  164.                 // line 137
  165.                 echo "            ";
  166.                 $context["highlighted"] = ((isset($context["highlightedTab"]) || array_key_exists("highlightedTab"$context) ? $context["highlightedTab"] : (function () { throw new RuntimeError('Variable "highlightedTab" does not exist.'137$this->source); })()) == $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(("auction_tab_navigation_" twig_get_attribute($this->env$this->source,                 // line 138
  167. $context["item"], "action", [], "any"falsefalsefalse138)), ["id" => twig_get_attribute($this->env$this->source, (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'138$this->source); })()), "id", [], "any"falsefalsefalse138)]));
  168.                 // line 140
  169.                 echo "          ";
  170.             }
  171.             // line 141
  172.             echo "
  173.           <turbo-frame class=\" w-fit min-w-fit ";
  174.             // line 142
  175.             echo (( !(isset($context["highlighted"]) || array_key_exists("highlighted"$context) ? $context["highlighted"] : (function () { throw new RuntimeError('Variable "highlighted" does not exist.'142$this->source); })())) ? ("bg-white") : (""));
  176.             echo "\"
  177.             target=\"tab_content\">
  178.             <a href=\"";
  179.             // line 144
  180.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(("auction_tab_navigation_" twig_get_attribute($this->env$this->source$context["item"], "action", [], "any"falsefalsefalse144)), ["id" => twig_get_attribute($this->env$this->source, (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'144$this->source); })()), "id", [], "any"falsefalsefalse144)]), "html"nulltrue);
  181.             echo "\"
  182.               class=\"flex-none p-3 text-sm font-medium tracking-widest ";
  183.             // line 145
  184.             echo ((            // line 146
  185. (isset($context["highlighted"]) || array_key_exists("highlighted"$context) ? $context["highlighted"] : (function () { throw new RuntimeError('Variable "highlighted" does not exist.'146$this->source); })())) ? ("btn-sm btn btn-white active") : ("btn-sm btn btn-neutral inactive"));
  186.             // line 149
  187.             echo " uppercase \"
  188.               style=\"";
  189.             // line 156
  190.             (( !            // line 151
  191. (isset($context["highlighted"]) || array_key_exists("highlighted"$context) ? $context["highlighted"] : (function () { throw new RuntimeError('Variable "highlighted" does not exist.'151$this->source); })())) ? (print (twig_escape_filter($this->env, (((((("color:white;  background-color: rgba(" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 152
  192. (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'152$this->source); })()), "auctionhouse", [], "any"falsefalsefalse152), "color", [], "any"falsefalsefalse152), "r", [], "any"falsefalsefalse152)) . ",") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 153
  193. (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'153$this->source); })()), "auctionhouse", [], "any"falsefalsefalse153), "color", [], "any"falsefalsefalse153), "g", [], "any"falsefalsefalse153)) . ",") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 155
  194. (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'155$this->source); })()), "auctionhouse", [], "any"falsefalsefalse155), "color", [], "any"falsefalsefalse155), "b", [], "any"falsefalsefalse155)) . ",0.6"), "html"nulltrue))) : (print ("")));
  195.             // line 157
  196.             echo "\">
  197.               ";
  198.             // line 158
  199.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["item"], "name", [], "any"falsefalsefalse158)), "html"nulltrue);
  200.             echo "
  201.             </a>
  202.           </turbo-frame>
  203.         ";
  204.         }
  205.         $_parent $context['_parent'];
  206.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  207.         $context array_intersect_key($context$_parent) + $_parent;
  208.         // line 162
  209.         echo "      </div>
  210.     </div>
  211.   </div>
  212. </section>
  213. ";
  214.         
  215.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  216.         
  217.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  218.     }
  219.     public function getTemplateName()
  220.     {
  221.         return "network/auction/components/tab_navigation_component.html.twig";
  222.     }
  223.     public function isTraitable()
  224.     {
  225.         return false;
  226.     }
  227.     public function getDebugInfo()
  228.     {
  229.         return array (  219 => 162,  209 => 158,  206 => 157,  204 => 155,  203 => 153,  202 => 152,  201 => 151,  200 => 156,  197 => 149,  195 => 146,  194 => 145,  190 => 144,  185 => 142,  182 => 141,  179 => 140,  177 => 138,  175 => 137,  172 => 136,  169 => 135,  165 => 134,  157 => 128,  155 => 126,  154 => 125,  153 => 127,  150 => 123,  148 => 120,  147 => 119,  142 => 116,  132 => 112,  129 => 111,  127 => 109,  126 => 107,  125 => 106,  124 => 105,  123 => 110,  119 => 103,  115 => 102,  111 => 101,  107 => 100,  104 => 99,  101 => 98,  99 => 96,  97 => 95,  95 => 94,  92 => 93,  89 => 92,  85 => 91,  81 => 89,  79 => 87,  78 => 86,  77 => 88,  74 => 84,  72 => 81,  71 => 80,  68 => 79,  66 => 77,  65 => 76,  64 => 78,  60 => 74,  56 => 72,  53 => 7,  51 => 5,  49 => 4,  47 => 3,  45 => 2,  43 => 1,);
  230.     }
  231.     public function getSourceContext()
  232.     {
  233.         return new Source("{% do tab_navigation_add({ name: 'timeline', action: 'timeline' }) %}
  234. {% do tab_navigation_add({ name: 'horses', action: 'horses' }) %}
  235. {% do tab_navigation_add({ name: 'attendees', action: 'attendees' }) %}
  236. {% do tab_navigation_add({ name: 'auctionlots', action: 'auctionlots' }) %}
  237. {% do tab_navigation_add({ name: 'news', action: 'news' }) %}
  238. {# {% do tab_navigation_add({ name: 'top-auctionlots', action: 'top_auctionlots' }) %} #}
  239. {# <section id=\"tab_navigation\" class=\"sm:container\">
  240.   <div class=\"flex-wrap hidden w-full gap-4 my-4 sm:flex\">
  241.     {% for item in tab_navigation_get() %}
  242.       {% set highlighted = null %}
  243.       {% if highlightedTab is defined %}
  244.         {% set highlighted = highlightedTab
  245.           == path('auction_tab_navigation_' ~ item.action, { id: auction.id })
  246.         %}
  247.       {% endif %}
  248.       <turbo-frame target=\"tab_content\">
  249.         <a id=\"{{ item.name ~ '-' ~ auction.id }}\"
  250.           href=\"{{ path('auction_tab_navigation_' ~ item.action, { id: auction.id }) }}\"
  251.           class=\"{{ highlighted ? 'btn-sm btn btn-primary' : 'btn-sm btn btn-neutral' }}\"
  252.           style=\"{{
  253.           highlighted and auction.auctionhouse and auction.auctionhouse.color
  254.             ? 'color:white; background-color:' ~ auction.auctionhouse.color
  255.           }}\">
  256.           {{ item.name|trans }}
  257.         </a>
  258.       </turbo-frame>
  259.     {% endfor %}
  260.   </div>
  261.   <div>
  262.     <div class=\"block sm:hidden sticky top-20 w-screen max-w-full z-1000 {{
  263.       auction.auctionhouse and auction.auctionhouse.color
  264.         ? ''
  265.         : 'bg-primary-500'
  266.       }} overflow-hidden shadow-md\"
  267.       style=\"background-color: {{
  268.       auction and auction.auctionhouse.color
  269.         ? auction.auctionhouse.color
  270.         : ''
  271.       }};\">
  272.       <div data-controller=\"tab-navigation\"
  273.         data-section-navigation-active-class=\"text-white bg-black\"
  274.         data-section-navigation-inactive-class=\"text-black bg-neutral-200 \"
  275.         id=\"profile-scroll-bar\"
  276.         class=\"relative inline-flex items-center w-screen gap-4 p-3 overflow-scroll sm:my-3 snap-x snap-mandatory sm:flex\">
  277.         {% for item in tab_navigation_get() %}
  278.           {% set highlighted = null %}
  279.           {% if highlightedTab is defined %}
  280.             {% set highlighted = highlightedTab
  281.               == path('auction_tab_navigation_' ~ item.action, { id: auction.id })
  282.             %}
  283.           {% endif %}
  284.           <turbo-frame class=\"py-2 w-fit min-w-fit\" target=\"tab_content\">
  285.             <a href=\"{{ path('auction_tab_navigation_' ~ item.action, { id: auction.id }) }}\"
  286.               class=\"flex-none p-3 text-sm font-medium tracking-widest {{
  287.               highlighted
  288.                 ? 'text-white bg-black active'
  289.                 : 'text-black bg-neutral-200 inactive'
  290.               }} uppercase  snap-center snap-always\">
  291.               {{ item.name|trans }}
  292.             </a>
  293.           </turbo-frame>
  294.         {% endfor %}
  295.       </div>
  296.     </div>
  297.   </div>
  298. </section> #}
  299. <section id=\"tab_navigation\"
  300.   class=\"{{ auction.auctionhouse and auction.auctionhouse.color ? '' : 'bg-primary-500' }} mb-4\"
  301.   style=\"background-color: {{
  302.   auction.auctionhouse and auction.auctionhouse.color
  303.     ? auction.auctionhouse.color
  304.     : ''
  305.   }};\">
  306.   <div class=\" sm:flex-wrap sm:container sm:flex hidden w-full gap-4 p-4 {{
  307.     auction.auctionhouse and auction.auctionhouse.color
  308.       ? ''
  309.       : 'bg-primary-500'
  310.     }}\"
  311.     style=\"background-color: {{
  312.     auction.auctionhouse and auction.auctionhouse.color
  313.       ? auction.auctionhouse.color
  314.       : ''
  315.     }};\"
  316.     data-controller=\"tab-navigation\">
  317.     {% for item in tab_navigation_get() %}
  318.       {% set highlighted = null %}
  319.       {% if highlightedTab is defined %}
  320.         {% set highlighted = highlightedTab
  321.           == path('auction_tab_navigation_' ~ item.action, { id: auction.id })
  322.         %}
  323.       {% endif %}
  324.       <turbo-frame class=\"{{ not highlighted ? 'bg-white' }}\" target=\"tab_content\">
  325.         <a id=\"{{ item.name ~ '-' ~ auction.id }}\"
  326.           href=\"{{ path('auction_tab_navigation_' ~ item.action, { id: auction.id }) }}\"
  327.           class=\"{{ highlighted ? 'btn-sm btn btn-white active' : 'btn-sm btn btn-neutral' }} \"
  328.           style=\"{{
  329.           not highlighted
  330.             ? 'color:white;  background-color: rgba(' ~ auction.auctionhouse.color.r ~ ','
  331.               ~ auction.auctionhouse.color.g
  332.               ~ ','
  333.               ~ auction.auctionhouse.color.b
  334.               ~ ',0.6'
  335.           }}\">
  336.           {{ item.name|trans }}
  337.         </a>
  338.       </turbo-frame>
  339.     {% endfor %}
  340.   </div>
  341.   <div>
  342.     <div class=\"block sm:hidden sticky top-20 w-screen max-w-full z-1000  {{
  343.       auction.auctionhouse and auction.auctionhouse.color
  344.         ? ''
  345.         : 'bg-primary-500'
  346.       }} overflow-hidden shadow-md\"
  347.       style=\"background-color: {{
  348.       auction.auctionhouse and auction.auctionhouse.color
  349.         ? auction.auctionhouse.color
  350.         : ''
  351.       }};\">
  352.       <div data-controller=\"tab-navigation\"
  353.         data-section-navigation-active-class=\"text-white bg-black\"
  354.         data-section-navigation-inactive-class=\"text-black bg-neutral-200 \"
  355.         id=\"profile-scroll-bar\"
  356.         class=\"relative inline-flex items-center w-screen gap-4 p-3 mx-1 overflow-scroll sm:my-3 snap-x snap-mandatory sm:flex\">
  357.         {% for item in tab_navigation_get() %}
  358.           {% set highlighted = null %}
  359.           {% if highlightedTab is defined %}
  360.             {% set highlighted = highlightedTab
  361.               == path('auction_tab_navigation_' ~ item.action, { id: auction.id })
  362.             %}
  363.           {% endif %}
  364.           <turbo-frame class=\" w-fit min-w-fit {{ not highlighted ? 'bg-white' }}\"
  365.             target=\"tab_content\">
  366.             <a href=\"{{ path('auction_tab_navigation_' ~ item.action, { id: auction.id }) }}\"
  367.               class=\"flex-none p-3 text-sm font-medium tracking-widest {{
  368.               highlighted
  369.                 ? 'btn-sm btn btn-white active'
  370.                 : 'btn-sm btn btn-neutral inactive'
  371.               }} uppercase \"
  372.               style=\"{{
  373.               not highlighted
  374.                 ? 'color:white;  background-color: rgba(' ~ auction.auctionhouse.color.r ~ ','
  375.                   ~ auction.auctionhouse.color.g
  376.                   ~ ','
  377.                   ~ auction.auctionhouse.color.b
  378.                   ~ ',0.6'
  379.               }}\">
  380.               {{ item.name|trans }}
  381.             </a>
  382.           </turbo-frame>
  383.         {% endfor %}
  384.       </div>
  385.     </div>
  386.   </div>
  387. </section>
  388. ""network/auction/components/tab_navigation_component.html.twig""/var/www/vhosts/3forone.ch/httpdocs/abowire/templates/network/auction/components/tab_navigation_component.html.twig");
  389.     }
  390. }