<?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;
/* Block/CustomHeader.twig */
class __TwigTemplate_c0785e0f63a53c0014cc6b54523ac83d extends \Eccube\Twig\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_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Block/CustomHeader.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Block/CustomHeader.twig"));
// line 11
echo "<div class=\"ec-headerNaviRole__center\">
<p>5,000円(税込)以上の購入で送料無料</p>
</div>
<div class=\"ec-headerNaviRoles\">
<div class=\"ec-headerNaviRole__left\">
<div class=\"customLogo\">
<a href=\"";
// line 18
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "\">
<img src=\"";
// line 19
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/html/user_data/ContentImg/iseya_logo.png"), "html", null, true);
echo "\" alt=\"ショップロゴ\" class=\"Logo-img\">
</a>
</div>
<div class=\"ec-headerRole__navSP\">
";
// line 23
echo twig_include($this->env, $context, "Block/nav_sp.twig");
echo "
</div>
</div>
<div class=\"ec-headerNaviRole__right\">
<div class=\"ec-headerNaviRole__nav\">
";
// line 28
echo twig_include($this->env, $context, "Block/login.twig");
echo "
</div>
<div class=\"ec-headerRole__cart\">
";
// line 31
echo twig_include($this->env, $context, "Block/cart.twig");
echo "
</div>
</div>
<div class=\"about_SP\">
<a href=\"";
// line 35
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("user_data", ["route" => "about"]);
echo "\" class=\"about-banner\">
<div class=\"about-banner-container\">
<img src=\"/html/user_data/ContentImg/iseya_logo.png\" alt=\"パン屋ロゴ\" class=\"about-banner-logo\">
<span class=\"about-banner-text\">伊せ屋について</span>
</div>
</a>
</div>
</div>
<div class=\"search_bar\">
";
// line 47
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("block_search_product"));
echo "
</div>
<style>
.ec-headerNaviRole__center{
text-align: center;
background: #7e300b;
padding:0.5rem;
color: white;
}
.ec-cartNaviNull {
width: 300px;
}
@media (max-width: 768px) {
.ec-cartNavi {
padding: 0 4px;
}
}
</style>";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "Block/CustomHeader.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 99 => 47, 84 => 35, 77 => 31, 71 => 28, 63 => 23, 56 => 19, 52 => 18, 43 => 11,);
}
public function getSourceContext()
{
return new Source("{#
This file is part of EC-CUBE
Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
http://www.ec-cube.co.jp/
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
<div class=\"ec-headerNaviRole__center\">
<p>5,000円(税込)以上の購入で送料無料</p>
</div>
<div class=\"ec-headerNaviRoles\">
<div class=\"ec-headerNaviRole__left\">
<div class=\"customLogo\">
<a href=\"{{ url('homepage') }}\">
<img src=\"{{ asset('/html/user_data/ContentImg/iseya_logo.png') }}\" alt=\"ショップロゴ\" class=\"Logo-img\">
</a>
</div>
<div class=\"ec-headerRole__navSP\">
{{ include('Block/nav_sp.twig') }}
</div>
</div>
<div class=\"ec-headerNaviRole__right\">
<div class=\"ec-headerNaviRole__nav\">
{{ include('Block/login.twig') }}
</div>
<div class=\"ec-headerRole__cart\">
{{ include('Block/cart.twig') }}
</div>
</div>
<div class=\"about_SP\">
<a href=\"{{ url('user_data', {'route': 'about'}) }}\" class=\"about-banner\">
<div class=\"about-banner-container\">
<img src=\"/html/user_data/ContentImg/iseya_logo.png\" alt=\"パン屋ロゴ\" class=\"about-banner-logo\">
<span class=\"about-banner-text\">伊せ屋について</span>
</div>
</a>
</div>
</div>
<div class=\"search_bar\">
{{ render(path('block_search_product')) }}
</div>
<style>
.ec-headerNaviRole__center{
text-align: center;
background: #7e300b;
padding:0.5rem;
color: white;
}
.ec-cartNaviNull {
width: 300px;
}
@media (max-width: 768px) {
.ec-cartNavi {
padding: 0 4px;
}
}
</style>", "Block/CustomHeader.twig", "/home/iseyabread/www/iseya/app/template/default/Block/CustomHeader.twig");
}
}