<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* network/auction/components/tab_navigation_component.html.twig */
class __TwigTemplate_e572003974fb0dff44406f2639a683d0ad3dd76575ddcb90ac40b6e39fa2676e extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "network/auction/components/tab_navigation_component.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "network/auction/components/tab_navigation_component.html.twig"));
// line 1
$this->extensions['App\Core\Twig\Extension\TabNavigationExtension']->addTab(["name" => "timeline", "action" => "timeline"]);
// line 2
$this->extensions['App\Core\Twig\Extension\TabNavigationExtension']->addTab(["name" => "horses", "action" => "horses"]);
// line 3
$this->extensions['App\Core\Twig\Extension\TabNavigationExtension']->addTab(["name" => "attendees", "action" => "attendees"]);
// line 4
$this->extensions['App\Core\Twig\Extension\TabNavigationExtension']->addTab(["name" => "auctionlots", "action" => "auctionlots"]);
// line 5
$this->extensions['App\Core\Twig\Extension\TabNavigationExtension']->addTab(["name" => "news", "action" => "news"]);
// line 7
echo "
";
// line 72
echo "
<section id=\"tab_navigation\"
class=\"";
// line 74
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", false, false, false, 74) && twig_get_attribute($this->env, $this->source, 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", false, false, false, 74), "color", [], "any", false, false, false, 74))) ? ("") : ("bg-primary-500"));
echo " mb-4\"
style=\"background-color: ";
// line 78
(((twig_get_attribute($this->env, $this->source, // line 76
(isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 76, $this->source); })()), "auctionhouse", [], "any", false, false, false, 76) && twig_get_attribute($this->env, $this->source, 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.', 76, $this->source); })()), "auctionhouse", [], "any", false, false, false, 76), "color", [], "any", false, false, false, 76))) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 77
(isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 77, $this->source); })()), "auctionhouse", [], "any", false, false, false, 77), "color", [], "any", false, false, false, 77), "html", null, true))) : (print ("")));
// line 79
echo ";\">
<div class=\" sm:flex-wrap sm:container sm:flex hidden w-full gap-4 p-4 ";
// line 80
echo (((twig_get_attribute($this->env, $this->source, // line 81
(isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 81, $this->source); })()), "auctionhouse", [], "any", false, false, false, 81) && twig_get_attribute($this->env, $this->source, 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.', 81, $this->source); })()), "auctionhouse", [], "any", false, false, false, 81), "color", [], "any", false, false, false, 81))) ? ("") : ("bg-primary-500"));
// line 84
echo "\"
style=\"background-color: ";
// line 88
(((twig_get_attribute($this->env, $this->source, // line 86
(isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 86, $this->source); })()), "auctionhouse", [], "any", false, false, false, 86) && twig_get_attribute($this->env, $this->source, 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.', 86, $this->source); })()), "auctionhouse", [], "any", false, false, false, 86), "color", [], "any", false, false, false, 86))) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 87
(isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 87, $this->source); })()), "auctionhouse", [], "any", false, false, false, 87), "color", [], "any", false, false, false, 87), "html", null, true))) : (print ("")));
// line 89
echo ";\"
data-controller=\"tab-navigation\">
";
// line 91
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->extensions['App\Core\Twig\Extension\TabNavigationExtension']->getTabs());
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 92
echo " ";
$context["highlighted"] = null;
// line 93
echo "
";
// line 94
if (array_key_exists("highlightedTab", $context)) {
// line 95
echo " ";
$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
$context["item"], "action", [], "any", false, false, false, 96)), ["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", false, false, false, 96)]));
// line 98
echo " ";
}
// line 99
echo "
<turbo-frame class=\"";
// line 100
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") : (""));
echo "\" target=\"tab_content\">
<a id=\"";
// line 101
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["item"], "name", [], "any", false, false, false, 101) . "-") . 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", false, false, false, 101)), "html", null, true);
echo "\"
href=\"";
// line 102
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", false, false, false, 102)), ["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", false, false, false, 102)]), "html", null, true);
echo "\"
class=\"";
// line 103
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"));
echo " \"
style=\"";
// line 110
(( ! // line 105
(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->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 106
(isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 106, $this->source); })()), "auctionhouse", [], "any", false, false, false, 106), "color", [], "any", false, false, false, 106), "r", [], "any", false, false, false, 106)) . ",") . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 107
(isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 107, $this->source); })()), "auctionhouse", [], "any", false, false, false, 107), "color", [], "any", false, false, false, 107), "g", [], "any", false, false, false, 107)) . ",") . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 109
(isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 109, $this->source); })()), "auctionhouse", [], "any", false, false, false, 109), "color", [], "any", false, false, false, 109), "b", [], "any", false, false, false, 109)) . ",0.6"), "html", null, true))) : (print ("")));
// line 111
echo "\">
";
// line 112
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", false, false, false, 112)), "html", null, true);
echo "
</a>
</turbo-frame>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 116
echo " </div>
<div>
<div class=\"block sm:hidden sticky top-20 w-screen max-w-full z-1000 ";
// line 119
echo (((twig_get_attribute($this->env, $this->source, // line 120
(isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 120, $this->source); })()), "auctionhouse", [], "any", false, false, false, 120) && twig_get_attribute($this->env, $this->source, 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.', 120, $this->source); })()), "auctionhouse", [], "any", false, false, false, 120), "color", [], "any", false, false, false, 120))) ? ("") : ("bg-primary-500"));
// line 123
echo " overflow-hidden shadow-md\"
style=\"background-color: ";
// line 127
(((twig_get_attribute($this->env, $this->source, // line 125
(isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 125, $this->source); })()), "auctionhouse", [], "any", false, false, false, 125) && twig_get_attribute($this->env, $this->source, 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.', 125, $this->source); })()), "auctionhouse", [], "any", false, false, false, 125), "color", [], "any", false, false, false, 125))) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 126
(isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 126, $this->source); })()), "auctionhouse", [], "any", false, false, false, 126), "color", [], "any", false, false, false, 126), "html", null, true))) : (print ("")));
// line 128
echo ";\">
<div data-controller=\"tab-navigation\"
data-section-navigation-active-class=\"text-white bg-black\"
data-section-navigation-inactive-class=\"text-black bg-neutral-200 \"
id=\"profile-scroll-bar\"
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\">
";
// line 134
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->extensions['App\Core\Twig\Extension\TabNavigationExtension']->getTabs());
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 135
echo " ";
$context["highlighted"] = null;
// line 136
echo " ";
if (array_key_exists("highlightedTab", $context)) {
// line 137
echo " ";
$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
$context["item"], "action", [], "any", false, false, false, 138)), ["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", false, false, false, 138)]));
// line 140
echo " ";
}
// line 141
echo "
<turbo-frame class=\" w-fit min-w-fit ";
// line 142
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") : (""));
echo "\"
target=\"tab_content\">
<a href=\"";
// line 144
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", false, false, false, 144)), ["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", false, false, false, 144)]), "html", null, true);
echo "\"
class=\"flex-none p-3 text-sm font-medium tracking-widest ";
// line 145
echo (( // line 146
(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"));
// line 149
echo " uppercase \"
style=\"";
// line 156
(( ! // line 151
(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->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 152
(isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 152, $this->source); })()), "auctionhouse", [], "any", false, false, false, 152), "color", [], "any", false, false, false, 152), "r", [], "any", false, false, false, 152)) . ",") . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 153
(isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 153, $this->source); })()), "auctionhouse", [], "any", false, false, false, 153), "color", [], "any", false, false, false, 153), "g", [], "any", false, false, false, 153)) . ",") . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 155
(isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 155, $this->source); })()), "auctionhouse", [], "any", false, false, false, 155), "color", [], "any", false, false, false, 155), "b", [], "any", false, false, false, 155)) . ",0.6"), "html", null, true))) : (print ("")));
// line 157
echo "\">
";
// line 158
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", false, false, false, 158)), "html", null, true);
echo "
</a>
</turbo-frame>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 162
echo " </div>
</div>
</div>
</section>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "network/auction/components/tab_navigation_component.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% do tab_navigation_add({ name: 'timeline', action: 'timeline' }) %}
{% do tab_navigation_add({ name: 'horses', action: 'horses' }) %}
{% do tab_navigation_add({ name: 'attendees', action: 'attendees' }) %}
{% do tab_navigation_add({ name: 'auctionlots', action: 'auctionlots' }) %}
{% do tab_navigation_add({ name: 'news', action: 'news' }) %}
{# {% do tab_navigation_add({ name: 'top-auctionlots', action: 'top_auctionlots' }) %} #}
{# <section id=\"tab_navigation\" class=\"sm:container\">
<div class=\"flex-wrap hidden w-full gap-4 my-4 sm:flex\">
{% for item in tab_navigation_get() %}
{% set highlighted = null %}
{% if highlightedTab is defined %}
{% set highlighted = highlightedTab
== path('auction_tab_navigation_' ~ item.action, { id: auction.id })
%}
{% endif %}
<turbo-frame target=\"tab_content\">
<a id=\"{{ item.name ~ '-' ~ auction.id }}\"
href=\"{{ path('auction_tab_navigation_' ~ item.action, { id: auction.id }) }}\"
class=\"{{ highlighted ? 'btn-sm btn btn-primary' : 'btn-sm btn btn-neutral' }}\"
style=\"{{
highlighted and auction.auctionhouse and auction.auctionhouse.color
? 'color:white; background-color:' ~ auction.auctionhouse.color
}}\">
{{ item.name|trans }}
</a>
</turbo-frame>
{% endfor %}
</div>
<div>
<div class=\"block sm:hidden sticky top-20 w-screen max-w-full z-1000 {{
auction.auctionhouse and auction.auctionhouse.color
? ''
: 'bg-primary-500'
}} overflow-hidden shadow-md\"
style=\"background-color: {{
auction and auction.auctionhouse.color
? auction.auctionhouse.color
: ''
}};\">
<div data-controller=\"tab-navigation\"
data-section-navigation-active-class=\"text-white bg-black\"
data-section-navigation-inactive-class=\"text-black bg-neutral-200 \"
id=\"profile-scroll-bar\"
class=\"relative inline-flex items-center w-screen gap-4 p-3 overflow-scroll sm:my-3 snap-x snap-mandatory sm:flex\">
{% for item in tab_navigation_get() %}
{% set highlighted = null %}
{% if highlightedTab is defined %}
{% set highlighted = highlightedTab
== path('auction_tab_navigation_' ~ item.action, { id: auction.id })
%}
{% endif %}
<turbo-frame class=\"py-2 w-fit min-w-fit\" target=\"tab_content\">
<a href=\"{{ path('auction_tab_navigation_' ~ item.action, { id: auction.id }) }}\"
class=\"flex-none p-3 text-sm font-medium tracking-widest {{
highlighted
? 'text-white bg-black active'
: 'text-black bg-neutral-200 inactive'
}} uppercase snap-center snap-always\">
{{ item.name|trans }}
</a>
</turbo-frame>
{% endfor %}
</div>
</div>
</div>
</section> #}
<section id=\"tab_navigation\"
class=\"{{ auction.auctionhouse and auction.auctionhouse.color ? '' : 'bg-primary-500' }} mb-4\"
style=\"background-color: {{
auction.auctionhouse and auction.auctionhouse.color
? auction.auctionhouse.color
: ''
}};\">
<div class=\" sm:flex-wrap sm:container sm:flex hidden w-full gap-4 p-4 {{
auction.auctionhouse and auction.auctionhouse.color
? ''
: 'bg-primary-500'
}}\"
style=\"background-color: {{
auction.auctionhouse and auction.auctionhouse.color
? auction.auctionhouse.color
: ''
}};\"
data-controller=\"tab-navigation\">
{% for item in tab_navigation_get() %}
{% set highlighted = null %}
{% if highlightedTab is defined %}
{% set highlighted = highlightedTab
== path('auction_tab_navigation_' ~ item.action, { id: auction.id })
%}
{% endif %}
<turbo-frame class=\"{{ not highlighted ? 'bg-white' }}\" target=\"tab_content\">
<a id=\"{{ item.name ~ '-' ~ auction.id }}\"
href=\"{{ path('auction_tab_navigation_' ~ item.action, { id: auction.id }) }}\"
class=\"{{ highlighted ? 'btn-sm btn btn-white active' : 'btn-sm btn btn-neutral' }} \"
style=\"{{
not highlighted
? 'color:white; background-color: rgba(' ~ auction.auctionhouse.color.r ~ ','
~ auction.auctionhouse.color.g
~ ','
~ auction.auctionhouse.color.b
~ ',0.6'
}}\">
{{ item.name|trans }}
</a>
</turbo-frame>
{% endfor %}
</div>
<div>
<div class=\"block sm:hidden sticky top-20 w-screen max-w-full z-1000 {{
auction.auctionhouse and auction.auctionhouse.color
? ''
: 'bg-primary-500'
}} overflow-hidden shadow-md\"
style=\"background-color: {{
auction.auctionhouse and auction.auctionhouse.color
? auction.auctionhouse.color
: ''
}};\">
<div data-controller=\"tab-navigation\"
data-section-navigation-active-class=\"text-white bg-black\"
data-section-navigation-inactive-class=\"text-black bg-neutral-200 \"
id=\"profile-scroll-bar\"
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\">
{% for item in tab_navigation_get() %}
{% set highlighted = null %}
{% if highlightedTab is defined %}
{% set highlighted = highlightedTab
== path('auction_tab_navigation_' ~ item.action, { id: auction.id })
%}
{% endif %}
<turbo-frame class=\" w-fit min-w-fit {{ not highlighted ? 'bg-white' }}\"
target=\"tab_content\">
<a href=\"{{ path('auction_tab_navigation_' ~ item.action, { id: auction.id }) }}\"
class=\"flex-none p-3 text-sm font-medium tracking-widest {{
highlighted
? 'btn-sm btn btn-white active'
: 'btn-sm btn btn-neutral inactive'
}} uppercase \"
style=\"{{
not highlighted
? 'color:white; background-color: rgba(' ~ auction.auctionhouse.color.r ~ ','
~ auction.auctionhouse.color.g
~ ','
~ auction.auctionhouse.color.b
~ ',0.6'
}}\">
{{ item.name|trans }}
</a>
</turbo-frame>
{% endfor %}
</div>
</div>
</div>
</section>
", "network/auction/components/tab_navigation_component.html.twig", "/var/www/vhosts/3forone.ch/httpdocs/abowire/templates/network/auction/components/tab_navigation_component.html.twig");
}
}