<?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;
/* main/default/index.html.twig */
class __TwigTemplate_b7c41b6a7dd9a5eee1187fdf983d147f extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'description' => [$this, 'block_description'],
'content' => [$this, 'block_content'],
'body_js' => [$this, 'block_body_js'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "main_base.html.twig";
}
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", "main/default/index.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "main/default/index.html.twig"));
$this->parent = $this->loadTemplate("main_base.html.twig", "main/default/index.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 2
public function block_title($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(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["baslik"]) || array_key_exists("baslik", $context) ? $context["baslik"] : (function () { throw new RuntimeError('Variable "baslik" does not exist.', 2, $this->source); })()), "title", [], "any", false, false, false, 2), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 3
public function block_description($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(), "block", "description"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["baslik"]) || array_key_exists("baslik", $context) ? $context["baslik"] : (function () { throw new RuntimeError('Variable "baslik" does not exist.', 3, $this->source); })()), "description", [], "any", false, false, false, 3), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 5
public function block_content($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(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 6
echo "
<style>
.navbar__section-links__wrapper a {
color: #718677 !important;
}
.navbar__section-links__wrapper :not(.HOME) {
opacity: 0.4;
}
.navbar__section-search__and__onlinecatalog-online-text {
font-weight: 700;
}
.ham__menu-line {
background-color: #8a9f90 !important;
}
.navbar__section-logo__wrapper a h1 {
color: #44504e;
}
.navbar__section-search__and__onlinecatalog-search-text {
color: #949195;
}
.navbar__section-search__and__onlinecatalog-online-border, .navbar__section-search__and__onlinecatalog-search-border {
background-color: #94919591;
}
.navbar__section-links__wrapper a {
color: #949195;
}
.navbar__section-search__and__onlinecatalog-online-text {
color: #8a9f9091;
}
.navbar__section-search__and__onlinecatalog-online-text span {
color: #8a9f9091;
}
canvas {
background-position: 80% 50%;
}
.navbar__section {
border-bottom: 0px;
}
body {
/* overflow-x: hidden; */
}
.navbar__image {
background: #f5f5f5;
z-index: 20 !important;
background-position: center;
background-size: cover;
box-shadow: rgb(255 255 255 / 56%) 0px 22px 70px 4px;
position: fixed;
height: 195px;
top: 0;
right: 0;
left: 0;
bottom: 0;
transition: all 0.5s;
}
.navbar__section-links__wrapper {
z-index: 10;
}
.navbar__section {
z-index: 10001;
}
.navbar__section-container {
z-index: 10001;
overflow-x: hidden;
background-color: transparent !important;
border-bottom: 0px !important
}
.header__section {
margin-top: 183px;
}
.navbar__section-search__and__onlinecatalog-search-icon {
fill: #949195;
}
@media only screen and (max-width: 800px) {
.navbar__image {
height: 100px !important;
}
}
</style>
<style>
";
// line 109
echo " ";
// line 110
echo "
";
// line 112
echo " ";
// line 113
echo " ";
// line 114
echo " ";
// line 115
echo " ";
// line 116
echo " ";
// line 117
echo " ";
// line 118
echo "
";
// line 120
echo " ";
// line 121
echo " ";
// line 122
echo " ";
// line 123
echo " ";
// line 124
echo " ";
// line 125
echo " ";
// line 126
echo " ";
// line 127
echo "
";
// line 129
echo " ";
// line 130
echo " ";
// line 131
echo " ";
// line 132
echo " ";
// line 133
echo " ";
// line 134
echo " ";
// line 135
echo " ";
// line 136
echo " ";
// line 137
echo "
";
// line 140
echo " ";
// line 141
echo " ";
// line 142
echo " ";
// line 143
echo " ";
// line 144
echo " ";
// line 145
echo " ";
// line 146
echo " ";
// line 147
echo " ";
// line 148
echo " ";
// line 149
echo " ";
// line 150
echo "
";
// line 152
echo " ";
// line 153
echo " ";
// line 154
echo " ";
// line 155
echo " ";
// line 156
echo " ";
// line 157
echo " ";
// line 158
echo " ";
// line 159
echo " ";
// line 160
echo " ";
// line 161
echo " ";
// line 162
echo " ";
// line 163
echo " ";
// line 164
echo " ";
// line 165
echo " ";
// line 166
echo " ";
// line 167
echo " ";
// line 168
echo " ";
// line 169
echo " ";
// line 170
echo " ";
// line 171
echo " ";
// line 172
echo " ";
// line 173
echo " ";
// line 174
echo " ";
// line 175
echo " ";
// line 176
echo " ";
// line 177
echo " ";
// line 178
echo " ";
// line 179
echo " ";
// line 180
echo " ";
// line 181
echo " ";
// line 182
echo " ";
// line 183
echo " ";
// line 184
echo " ";
// line 185
echo " ";
// line 186
echo " ";
// line 187
echo " ";
// line 188
echo " ";
// line 189
echo " ";
// line 190
echo " ";
// line 191
echo " ";
// line 192
echo " ";
// line 193
echo " ";
// line 194
echo " ";
// line 195
echo " ";
// line 196
echo " ";
// line 197
echo " ";
// line 198
echo " ";
// line 199
echo " ";
// line 200
echo " ";
// line 201
echo " ";
// line 202
echo " ";
// line 203
echo " ";
// line 204
echo " ";
// line 205
echo " ";
// line 206
echo "
";
// line 208
echo " ";
// line 209
echo " ";
// line 210
echo " ";
// line 211
echo " ";
// line 212
echo " ";
// line 213
echo " ";
// line 214
echo " ";
// line 215
echo "
";
// line 217
echo " ";
// line 218
echo " ";
// line 219
echo " ";
// line 220
echo " ";
// line 221
echo " ";
// line 222
echo " ";
// line 223
echo " ";
// line 224
echo "
";
// line 226
echo " ";
// line 227
echo " ";
// line 228
echo " ";
// line 229
echo " ";
// line 230
echo " ";
// line 231
echo " ";
// line 232
echo " ";
// line 233
echo " ";
// line 234
echo " ";
// line 235
echo "
";
// line 237
echo " ";
// line 238
echo " ";
// line 239
echo " ";
// line 240
echo " ";
// line 241
echo " ";
// line 242
echo " ";
// line 243
echo " ";
// line 244
echo " ";
// line 245
echo " ";
// line 246
echo " ";
// line 247
echo " ";
// line 248
echo " ";
// line 249
echo " ";
// line 250
echo " ";
// line 251
echo " ";
// line 252
echo " ";
// line 253
echo " ";
// line 254
echo " ";
// line 255
echo " ";
// line 256
echo " ";
// line 257
echo " ";
// line 258
echo " ";
// line 259
echo " ";
// line 260
echo " ";
// line 261
echo " ";
// line 262
echo " ";
// line 263
echo " ";
// line 264
echo " ";
// line 265
echo " ";
// line 266
echo " ";
// line 267
echo " ";
// line 268
echo " ";
// line 269
echo " ";
// line 270
echo " ";
// line 271
echo " ";
// line 272
echo " ";
// line 273
echo " ";
// line 274
echo " ";
// line 275
echo " ";
// line 276
echo " ";
// line 277
echo " ";
// line 278
echo " ";
// line 279
echo " ";
// line 280
echo " ";
// line 281
echo " ";
// line 282
echo " ";
// line 283
echo " ";
// line 284
echo " ";
// line 285
echo " ";
// line 286
echo " ";
// line 287
echo " ";
// line 288
echo " ";
// line 289
echo " ";
// line 290
echo " ";
// line 291
echo " ";
// line 292
echo " ";
// line 293
echo " ";
// line 294
echo " ";
// line 295
echo " ";
// line 296
echo " ";
// line 297
echo " ";
// line 298
echo " ";
// line 299
echo " ";
// line 300
echo " ";
// line 301
echo " ";
// line 302
echo " ";
// line 303
echo " ";
// line 304
echo " ";
// line 305
echo " ";
// line 306
echo " ";
// line 307
echo " ";
// line 308
echo " ";
// line 309
echo " ";
// line 310
echo " ";
// line 311
echo " ";
// line 312
echo " ";
// line 313
echo " ";
// line 314
echo " ";
// line 315
echo " ";
// line 316
echo " ";
// line 317
echo " ";
// line 318
echo " ";
// line 319
echo " ";
// line 320
echo " ";
// line 321
echo " ";
// line 322
echo " ";
// line 323
echo " ";
echo "</style>
<div id=\"mainpage\">
";
// line 326
$this->loadTemplate("main/default/loader.html.twig", "main/default/index.html.twig", 326)->display($context);
// line 327
echo " ";
$this->loadTemplate("main/default/cookie.html.twig", "main/default/index.html.twig", 327)->display($context);
// line 328
echo " <div class=\"main-container\">
<header class=\"header__section swiper headerSwiper\">
<div class=\"swiper-wrapper mainSliderWrapper\">
";
// line 331
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["entities"]) || array_key_exists("entities", $context) ? $context["entities"] : (function () { throw new RuntimeError('Variable "entities" does not exist.', 331, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["entityx"]) {
// line 332
echo " <div class=\"swiper-slide swiper-slide-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 332), "html", null, true);
echo "\">
";
// line 333
if (twig_get_attribute($this->env, $this->source, $context["entityx"], "sResim", [], "any", false, false, false, 333)) {
// line 334
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/anasayfa/anasayfaSlider/slider/" . twig_get_attribute($this->env, $this->source, $context["entityx"], "sResim", [], "any", false, false, false, 334))), "html", null, true);
echo "\"
alt=\"header__photo\">
";
}
// line 337
echo " <div class=\"header__section-slider-title-wrapper\">
<div class=\"header__section-slider-title\">";
// line 338
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["entityx"], "baslik", [], "any", false, false, false, 338), "html", null, true);
echo "</div>
<svg xmlns=\"http://www.w3.org/2000/svg\" id=\"elefante__text\" data-name=\"katman 1\"
viewBox=\"0 0 610.42 243.91\">
<defs>
<style>
.cls-1 {
fill: none;
}
</style>
</defs>
<g xmlns=\"http://www.w3.org/2000/svg\">
<path class=\"full__path\"
d=\"M4.49,115.42l47.21-30.2c.94-.6,1.52-3.06,.41-3.08-8.05-.08-32.04,5.12-49.96,37.2C.87,121.65,.06,124.24,0,126.89c-.72,36.03,132.03-58.33,172.49-107.47,1.99,1.89-18.33-19.89-91,184,0,0,.75,5.78,5.38-5.11\"/>
<path class=\"full__path\"
d=\"M141.49,115.42l47.21-30.2c.94-.6,1.52-3.06,.41-3.08-8.05-.08-32.04,5.12-49.96,37.2-1.29,2.31-2.1,4.9-2.15,7.55,0,0-4.51,28.53,82.67-13.83\"/>
<path class=\"full__path\"
d=\"M269.08,43.23l7.8-22.64c.11-.31-.33-.51-.49-.23l-100.15,168.69c-4.47,7.53-7.82,15.68-9.95,24.18l-2.71,9.83c-.22,.86,.1,1.75,.72,2.53,1.97,2.48,5.83,2.28,7.79-.21l9.41-11.97s24.01-33.79,24.38-60.66c.06-4.13-1.25-8.22-4.03-11.27-11.32-12.43-37.35-7.07-37.35-7.07l113.25-19.49\"/>
<path class=\"full__path\"
d=\"M309.49,111.42s-13.59-13.25-41.3,10.88c-11.7,10.12-5.96,13.99-5.96,13.99,0,0,3.26,8.13,55.26-30.87,6-3-8,16-4,25,4.64,7.53,16.25,3.78,25.21-.71,6.72-3.37,12.62-8.17,17.38-13.99l24.49-29.94c.11-.14,.32,.02,.22,.17l-46.3,68.48s42-56,64-62c52-18-69,95,50,22\"/>
<path class=\"full__path\"
d=\"M515.22,21.86L525.35,.42c.16-.33-.31-.59-.51-.29l-160.64,240.96c-1.01,1.52,.6,3.4,2.26,2.64l5.85-2.7\"/>
<path class=\"full__path\"
d=\"M468.49,115.42l47.21-30.2c.94-.6,1.52-3.06,.41-3.08-8.05-.08-32.04,5.12-49.96,37.2-1.29,2.31-2.1,4.9-2.15,7.55,0,0-4.51,28.53,82.67-13.83\"/>
<path class=\"full__path\"
d=\"M610.39,42.56s8.1-47.14-235.9,17.86c-25,6-9,11-9,11\"/>
</g>
</svg>
</div>
</div>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['entityx'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 369
echo " </div>
</header>
<section class=\"company__information__section\">
<div class=\"company__information__section-about__company\">
<div class=\"company__information__section-about__company-img__section\">
";
// line 376
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_sort_filter($this->env, twig_array_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["bolumler"]) || array_key_exists("bolumler", $context) ? $context["bolumler"] : (function () { throw new RuntimeError('Variable "bolumler" does not exist.', 376, $this->source); })()), 0, [], "array", false, false, false, 376), "anasayfaBolum", [], "any", false, false, false, 376), "resimler", [], "any", false, false, false, 376), function ($__r__) use ($context, $macros) { $context["r"] = $__r__; return (twig_get_attribute($this->env, $this->source, (isset($context["r"]) || array_key_exists("r", $context) ? $context["r"] : (function () { throw new RuntimeError('Variable "r" does not exist.', 376, $this->source); })()), "del", [], "any", false, false, false, 376) == 0); }), function ($__a__, $__b__) use ($context, $macros) { $context["a"] = $__a__; $context["b"] = $__b__; return (twig_get_attribute($this->env, $this->source, (isset($context["a"]) || array_key_exists("a", $context) ? $context["a"] : (function () { throw new RuntimeError('Variable "a" does not exist.', 376, $this->source); })()), "sira", [], "any", false, false, false, 376) > twig_get_attribute($this->env, $this->source, (isset($context["b"]) || array_key_exists("b", $context) ? $context["b"] : (function () { throw new RuntimeError('Variable "b" does not exist.', 376, $this->source); })()), "sira", [], "any", false, false, false, 376)); }));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["resim"]) {
// line 377
echo " <img class=\"company__information__section-about__company-img__section-img ";
if (twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 377)) {
echo "lastactive";
}
echo "\"
src=\"";
// line 378
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/anasayfa/" . twig_get_attribute($this->env, $this->source, $context["resim"], "resim", [], "any", false, false, false, 378))), "html", null, true);
echo "\" alt=\"about-company-main-image\">
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['resim'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 380
echo " </div>
<div class=\"company__information__section-about__company-text__section\">
<div class=\"company__information__section-about__company-text__section-photos\">
<img src=\"";
// line 383
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/ayarlar/referans/" . twig_get_attribute($this->env, $this->source, (isset($context["ayarlar"]) || array_key_exists("ayarlar", $context) ? $context["ayarlar"] : (function () { throw new RuntimeError('Variable "ayarlar" does not exist.', 383, $this->source); })()), "referans", [], "any", false, false, false, 383))), "html", null, true);
echo "\"
alt=\"references-logo\">
</div>
<h3>";
// line 386
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["bolumler"]) || array_key_exists("bolumler", $context) ? $context["bolumler"] : (function () { throw new RuntimeError('Variable "bolumler" does not exist.', 386, $this->source); })()), 0, [], "array", false, false, false, 386), "baslik", [], "any", false, false, false, 386);
echo "</h3>
<button class=\"company__information__section-about__company-text__section-button\">
<a href=\"";
// line 389
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["bolumler"]) || array_key_exists("bolumler", $context) ? $context["bolumler"] : (function () { throw new RuntimeError('Variable "bolumler" does not exist.', 389, $this->source); })()), 0, [], "array", false, false, false, 389), "altBaslik", [], "any", false, false, false, 389);
echo "\"><h5>EXPLORE</h5>
<img src=\"";
// line 390
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/main/images/main-page/right-arrow.svg "), "html", null, true);
echo "\"
alt=\"right-arrow\">
</a>
</button>
</div>
</div>
<div class=\"company__information__section-about__company__clauses-section\">
";
// line 397
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["uretim"]) || array_key_exists("uretim", $context) ? $context["uretim"] : (function () { throw new RuntimeError('Variable "uretim" does not exist.', 397, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["production"]) {
// line 398
echo " <a class=\"company__information__section-about__company__clauses__wrapper\" href=\"\">
<div class=\"company__information__section-about__company__clauses \">
<span>0";
// line 400
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 400), "html", null, true);
echo "</span>
";
// line 401
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["production"], "diller", [], "any", false, false, false, 401));
foreach ($context['_seq'] as $context["_key"] => $context["entityx"]) {
// line 402
echo " <h3>";
echo twig_get_attribute($this->env, $this->source, $context["entityx"], "baslik", [], "any", false, false, false, 402);
echo "</h3>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['entityx'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 404
echo "
";
// line 406
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["production"], "diller", [], "any", false, false, false, 406));
foreach ($context['_seq'] as $context["_key"] => $context["entityx"]) {
echo " <p>";
echo twig_get_attribute($this->env, $this->source, $context["entityx"], "metin", [], "any", false, false, false, 406);
echo "</p> ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['entityx'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 407
echo " <div class=\"company__information__section-about__company__clauses-mousetracker\"><img
src=\"";
// line 408
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/main/images/main-page/right-arrow.svg"), "html", null, true);
echo "\"
alt=\"right-arrow\"></div>
</div>
</a>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['production'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 415
echo " </div>
<div class=\"company__information__section-about__company__clauses-section__responsive swiper productionSwiper\">
<div class=\"swiper-wrapper\">
<a href=\"<?php echo \$baseUrl?>production#weaving\"
class=\"company__information__section-about__company__clauses__wrapper__responsive swiper-slide\">
<div class=\"company__information__section-about__company__clauses__responsive\">
<span>01.</span>
<h3>Weaving</h3>
<p>Our focus is to meticulously weave our fabrics using the highest quality Turkish
cotton on traditional looms, combining them with unique patterns and textures that
tell a story. Woven with Turkish cotton, our fabrics aim to provide a top-tier
experience in terms of quality, durability, and aesthetics. This special weaving
technique reflects our commitment to creating high-quality and distinctive textile
products by bringing together the heritage of the past with the present.
</p>
<div class=\"company__information__section-about__company__clauses-mousetracker\"><img
src=\"assets/main-page/right-arrow.svg\" alt=\"right-arrow\"></div>
</div>
</a>
<a href=\"<?php echo \$baseUrl?>production#confection\"
class=\"company__information__section-about__company__clauses__wrapper__responsive swiper-slide\">
<div class=\"company__information__section-about__company__clauses__responsive\">
<span>02.</span>
<h3>Confection</h3>
<p>The fabrics we attentively produce undergo a transformation into stylish and timeless
products in the hands of artisans, blending both traditional and modern techniques.
Each stitch comes to life with careful attention in a simple narrative, bringing
forth an elegant charm adorned with graceful details. Throughout this process,
design, measurements, stitching, and enchanting touches give our products their
final form.
</p>
<div class=\"company__information__section-about__company__clauses-mousetracker\"><img
src=\"assets/main-page/right-arrow.svg\" alt=\"right-arrow\"></div>
</div>
</a>
<a href=\"<?php echo \$baseUrl?>production#embroidery\"
class=\"company__information__section-about__company__clauses__wrapper__responsive swiper-slide\">
<div class=\"company__information__section-about__company__clauses__responsive\">
<span>03.</span>
<h3>Embroidery</h3>
<p>In our workshop, we can bring to life special designs adorned with various embroidery
techniques. We stand out with our creativity in the art of embroidery, bringing
unique embellishments that cater to every taste onto our high-quality fabrics.
</p>
<div class=\"company__information__section-about__company__clauses-mousetracker\"><img
src=\"assets/main-page/right-arrow.svg\" alt=\"right-arrow\"></div>
</div>
</a>
<a href=\"<?php echo \$baseUrl?>production#print\"
class=\"company__information__section-about__company__clauses__wrapper__responsive swiper-slide\">
<div class=\"company__information__section-about__company__clauses__responsive\">
<span>04.</span>
<h3>Print</h3>
<p>We create unique designs by using various printing techniques on our products.
Different printing methods add diversity and uniqueness to our products.
</p>
<div class=\"company__information__section-about__company__clauses-mousetracker\"><img
src=\"assets/main-page/right-arrow.svg\" alt=\"right-arrow\"></div>
</div>
</a>
</div>
<div class=\"company__information__section-about__company__clauses-section__responsive-button__next\">
</div>
<div class=\"company__information__section-about__company__clauses-section__responsive-button__prev\">
</div>
</div>
</section>
<section class=\"about__our__products__section\">
<div class=\"about__our__products__section-woman__img\">
";
// line 484
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["urunKategorileriResim"]) || array_key_exists("urunKategorileriResim", $context) ? $context["urunKategorileriResim"] : (function () { throw new RuntimeError('Variable "urunKategorileriResim" does not exist.', 484, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["imageOne"]) {
// line 485
echo " <img class=\"about__our__products__section-woman__img-img\"
src=\"";
// line 486
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/urunkategorileri/banner/" . twig_get_attribute($this->env, $this->source, $context["imageOne"], "resim", [], "any", false, false, false, 486))), "html", null, true);
echo "\">
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['imageOne'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 488
echo " </div>
<div class=\"about__our__products__section-title__section\">
<h4>BROWSE COLLECTION</h4>
<div class=\"about__our__products__section-title__section-clickable\">
";
// line 492
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["urunkategorileri"]) || array_key_exists("urunkategorileri", $context) ? $context["urunkategorileri"] : (function () { throw new RuntimeError('Variable "urunkategorileri" does not exist.', 492, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["indexr"]) {
// line 493
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["indexr"], "diller", [], "any", false, false, false, 493));
foreach ($context['_seq'] as $context["_key"] => $context["index"]) {
// line 494
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_main_urun_gruplari_detay", ["code" => twig_get_attribute($this->env, $this->source, $context["indexr"], "code", [], "any", false, false, false, 494)]), "html", null, true);
echo "\"><button>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["index"], "baslik", [], "any", false, false, false, 494), "html", null, true);
echo "</button></a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['index'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 497
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['indexr'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 498
echo " </div>
</div>
<div class=\"about__our__products__section-cotton__img\">
";
// line 501
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["urunKategorileriResim2"]) || array_key_exists("urunKategorileriResim2", $context) ? $context["urunKategorileriResim2"] : (function () { throw new RuntimeError('Variable "urunKategorileriResim2" does not exist.', 501, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["imageOne"]) {
// line 502
echo " <img class=\"about__our__products__section-cotton__img-img\"
src=\"";
// line 503
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/urunkategorileri/banner/" . twig_get_attribute($this->env, $this->source, $context["imageOne"], "resim", [], "any", false, false, false, 503))), "html", null, true);
echo "\"></img>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['imageOne'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 505
echo " </div>
</section>
<div class=\"video__main__sectionr\">
<div class=\"video__main__section\">
<section class=\"video__section video__section-items__wrapper\">
<div class=\"video__section-items__wrapper\">
";
// line 512
echo twig_get_attribute($this->env, $this->source, (isset($context["ayarlar"]) || array_key_exists("ayarlar", $context) ? $context["ayarlar"] : (function () { throw new RuntimeError('Variable "ayarlar" does not exist.', 512, $this->source); })()), "video", [], "any", false, false, false, 512);
echo "
<button class=\"video__section-items__wrapper-button gizle\">
</button>
</div>
</section>
</div>
</div>
<!-- <section class=\"gallery__section__wgsap\">
<div class=\"gallery__section__wgsap-square\"></div>
<div class=\"gallery__section__wgsap-square2\"></div>
</section> -->
<section class=\"gallery__section\">
<div class=\"gallery__section-top__middle__section\">
<div class=\"gallery__section__photos-main__wrapper\">
";
// line 528
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_sort_filter($this->env, twig_array_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["bolumler"]) || array_key_exists("bolumler", $context) ? $context["bolumler"] : (function () { throw new RuntimeError('Variable "bolumler" does not exist.', 528, $this->source); })()), 1, [], "array", false, false, false, 528), "anasayfaBolum", [], "any", false, false, false, 528), "resimler", [], "any", false, false, false, 528), function ($__r__) use ($context, $macros) { $context["r"] = $__r__; return (twig_get_attribute($this->env, $this->source, (isset($context["r"]) || array_key_exists("r", $context) ? $context["r"] : (function () { throw new RuntimeError('Variable "r" does not exist.', 528, $this->source); })()), "del", [], "any", false, false, false, 528) == 0); }), function ($__a__, $__b__) use ($context, $macros) { $context["a"] = $__a__; $context["b"] = $__b__; return (twig_get_attribute($this->env, $this->source, (isset($context["a"]) || array_key_exists("a", $context) ? $context["a"] : (function () { throw new RuntimeError('Variable "a" does not exist.', 528, $this->source); })()), "sira", [], "any", false, false, false, 528) > twig_get_attribute($this->env, $this->source, (isset($context["b"]) || array_key_exists("b", $context) ? $context["b"] : (function () { throw new RuntimeError('Variable "b" does not exist.', 528, $this->source); })()), "sira", [], "any", false, false, false, 528)); }));
foreach ($context['_seq'] as $context["_key"] => $context["entity"]) {
// line 529
echo " <div class=\"gallery__section__photos-wrapper\">
<div class=\"gallery__section__photos\"
style=\"background-image: url(";
// line 531
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/anasayfa/" . twig_get_attribute($this->env, $this->source, $context["entity"], "resim", [], "any", false, false, false, 531))), "html", null, true);
echo ");\"></div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['entity'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 534
echo " </div>
</div>
<div class=\"gallery__section-bottom\">
<div class=\"gallery__section-bottom-followus\">
<div class=\"gallery__section-bottom-followus-text\">
<h4>SOCIAL MEDIA</h4>
<h3><a href=\"";
// line 540
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["bolumler"]) || array_key_exists("bolumler", $context) ? $context["bolumler"] : (function () { throw new RuntimeError('Variable "bolumler" does not exist.', 540, $this->source); })()), 2, [], "array", false, false, false, 540), "altBaslik", [], "any", false, false, false, 540), "html", null, true);
echo "\">";
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["bolumler"]) || array_key_exists("bolumler", $context) ? $context["bolumler"] : (function () { throw new RuntimeError('Variable "bolumler" does not exist.', 540, $this->source); })()), 2, [], "array", false, false, false, 540), "baslik", [], "any", false, false, false, 540);
echo "</a></h3>
<p>";
// line 542
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["bolumler"]) || array_key_exists("bolumler", $context) ? $context["bolumler"] : (function () { throw new RuntimeError('Variable "bolumler" does not exist.', 542, $this->source); })()), 2, [], "array", false, false, false, 542), "metin", [], "any", false, false, false, 542);
echo "
</p>
<a href=\"";
// line 544
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["bolumler"]) || array_key_exists("bolumler", $context) ? $context["bolumler"] : (function () { throw new RuntimeError('Variable "bolumler" does not exist.', 544, $this->source); })()), 2, [], "array", false, false, false, 544), "altBaslik", [], "any", false, false, false, 544), "html", null, true);
echo "\">
<button><h5>FOLLOW US</h5>
<img src=\"";
// line 546
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/main/images/main-page/right-arrow.svg"), "html", null, true);
echo "\"
alt=\"right-arrow\"></button>
</a>
</div>
";
// line 550
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_slice($this->env, twig_sort_filter($this->env, twig_array_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["bolumler"]) || array_key_exists("bolumler", $context) ? $context["bolumler"] : (function () { throw new RuntimeError('Variable "bolumler" does not exist.', 550, $this->source); })()), 2, [], "array", false, false, false, 550), "anasayfaBolum", [], "any", false, false, false, 550), "resimler", [], "any", false, false, false, 550), function ($__r__) use ($context, $macros) { $context["r"] = $__r__; return (twig_get_attribute($this->env, $this->source, (isset($context["r"]) || array_key_exists("r", $context) ? $context["r"] : (function () { throw new RuntimeError('Variable "r" does not exist.', 550, $this->source); })()), "del", [], "any", false, false, false, 550) == 0); }), function ($__a__, $__b__) use ($context, $macros) { $context["a"] = $__a__; $context["b"] = $__b__; return (twig_get_attribute($this->env, $this->source, (isset($context["a"]) || array_key_exists("a", $context) ? $context["a"] : (function () { throw new RuntimeError('Variable "a" does not exist.', 550, $this->source); })()), "sira", [], "any", false, false, false, 550) > twig_get_attribute($this->env, $this->source, (isset($context["b"]) || array_key_exists("b", $context) ? $context["b"] : (function () { throw new RuntimeError('Variable "b" does not exist.', 550, $this->source); })()), "sira", [], "any", false, false, false, 550)); }), 0, 1));
foreach ($context['_seq'] as $context["_key"] => $context["entity"]) {
// line 551
echo " <div class=\"gallery__section-bottom-followus-photo\">
<img src=\"";
// line 552
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/anasayfa/" . twig_get_attribute($this->env, $this->source, $context["entity"], "resim", [], "any", false, false, false, 552))), "html", null, true);
echo "\" alt=\"\">
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['entity'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 555
echo "
</div>
<div class=\"gallery__section-bottom-right\"> ";
// line 557
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_slice($this->env, twig_sort_filter($this->env, twig_array_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["bolumler"]) || array_key_exists("bolumler", $context) ? $context["bolumler"] : (function () { throw new RuntimeError('Variable "bolumler" does not exist.', 557, $this->source); })()), 2, [], "array", false, false, false, 557), "anasayfaBolum", [], "any", false, false, false, 557), "resimler", [], "any", false, false, false, 557), function ($__r__) use ($context, $macros) { $context["r"] = $__r__; return (twig_get_attribute($this->env, $this->source, (isset($context["r"]) || array_key_exists("r", $context) ? $context["r"] : (function () { throw new RuntimeError('Variable "r" does not exist.', 557, $this->source); })()), "del", [], "any", false, false, false, 557) == 0); }), function ($__a__, $__b__) use ($context, $macros) { $context["a"] = $__a__; $context["b"] = $__b__; return (twig_get_attribute($this->env, $this->source, (isset($context["a"]) || array_key_exists("a", $context) ? $context["a"] : (function () { throw new RuntimeError('Variable "a" does not exist.', 557, $this->source); })()), "sira", [], "any", false, false, false, 557) > twig_get_attribute($this->env, $this->source, (isset($context["b"]) || array_key_exists("b", $context) ? $context["b"] : (function () { throw new RuntimeError('Variable "b" does not exist.', 557, $this->source); })()), "sira", [], "any", false, false, false, 557)); }), 1, 1));
foreach ($context['_seq'] as $context["_key"] => $context["entity"]) {
// line 558
echo "
<div class=\"gallery__section__middle__right__photo-2\"><img
src=\"";
// line 560
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/anasayfa/" . twig_get_attribute($this->env, $this->source, $context["entity"], "resim", [], "any", false, false, false, 560))), "html", null, true);
echo "\"
alt=\"gallery__section__middle__right__photo-2\"></div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['entity'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 562
echo " </div>
</div>
</section>
</div>
";
// line 566
$this->loadTemplate("main/default/new-catalogue.html.twig", "main/default/index.html.twig", 566)->display($context);
// line 567
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 568
public function block_body_js($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(), "block", "body_js"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_js"));
// line 569
echo " ";
$this->loadTemplate("main/default/scripts.html.twig", "main/default/index.html.twig", 569)->display($context);
// line 570
echo " <script>
const checkAndOpenClick = (param) => {
if (window.innerWidth >= 1200) {
switch (param) {
case 1:
window.location.href = \"<?php echo \$baseUrl?>products\";
break;
case 2:
window.location.href = \"<?php echo \$baseUrl?>products\";
break;
case 3:
window.location.href = \"<?php echo \$baseUrl?>products\";
break;
case 4:
window.location.href = \"<?php echo \$baseUrl?>products\";
break;
}
}
}
const mainPageProductionSection = document.querySelectorAll(\".company__information__section-about__company__clauses__wrapper\");
const mainPageProductionSectionClauses = document.querySelectorAll(\".company__information__section-about__company__clauses\");
const mainPageProductionSectionImg = document.querySelectorAll(\".company__information__section-about__company-img__section-img\");
const mainPageProductionSectionImgMain = document.querySelector(\".company__information__section-about__company-img__section-img-main\");
const mainPageProductionSectionWrapper = document.querySelector(\".company__information__section-about__company__clauses-section\");
const lastIndex = mainPageProductionSectionImg.length - 1;
const lastEl = mainPageProductionSectionImg[lastIndex]
mainPageProductionSection.forEach((item, index) => {
item.addEventListener(\"mouseover\", () => {
mainPageProductionSectionImg[index].classList.add(\"active\");
mainPageProductionSection.forEach((otherItem, otherIndex) => {
if (otherIndex !== index) {
mainPageProductionSectionImg[otherIndex].classList.remove(\"active\")
lastEl.classList.remove(\"lastactive\")
}
})
})
mainPageProductionSectionClauses.forEach((item, index) => {
item.addEventListener(\"mouseout\", () => {
console.log(\"hallo\")
lastEl.classList.add(\"lastactive\")
mainPageProductionSectionImg.forEach((item, index) => {
item.classList.remove(\"active\");
})
})
})
})
</script>
<script>
var productionSwiper = new Swiper(\".productionSwiper\", {
loop: true,
autoplay: {
delay: 4000,
disableOnInteraction: false,
},
navigation: {
nextEl: \".company__information__section-about__company__clauses-section__responsive-button__next\",
prevEl: \".company__information__section-about__company__clauses-section__responsive-button__prev\",
},
});
document.addEventListener('DOMContentLoaded', function () {
const swiperText = new Swiper(\".headerText\", {
// Diğer Swiper ayarları...
centeredSlides: true,
loop: true,
autoplay: {
delay: 7000,
disableOnInteraction: false,
},
scrollbar: {
el: \".swiper-scrollbar\",
hide: true,
},
navigation: {
nextEl: \".header-swiper-button-next\",
},
on: {
init: function () {
let isFirstSlideChange = true;
// Swiper nesnesi oluşturulduktan sonra slideChange olayını dinle
this.on('slideChange', function () {
if (isFirstSlideChange) {
// Düzeltme burada
const currentIndex = this.realIndex;
// Bayrağı kapat
isFirstSlideChange = false;
}
// Düzeltme burada
});
}
},
});
const addClassToPath = (path) => {
path.classList.add(\"active\");
}
const swiper = new Swiper(\".headerSwiper\", {
// Diğer Swiper ayarları...
centeredSlides: true,
loop: true,
autoplay: {
delay: 7000,
disableOnInteraction: false,
},
scrollbar: {
el: \".swiper-scrollbar\",
hide: true,
},
navigation: {
nextEl: \".header-swiper-button-next\",
},
on: {
autoplayStart: function () {
},
slideChange: function () {
const slides = document.querySelectorAll(\".header__section .swiper-wrapper .swiper-slide\");
slides.forEach((item) => {
if (!item.classList.contains(\"swiper-slide-active\")) {
const itemPaths = item.querySelectorAll(\".header__section-slider-title-wrapper svg g .full__path\")
itemPaths.forEach((path) => {
path.classList.remove(\"active\");
})
}
})
/*
animPaths.forEach((path) => {
path.classList.remove(\"active\");
}) */
setTimeout(() => {
const sliderImgActive = document.querySelector(\".header__section .swiper-wrapper .swiper-slide-active img\");
sliderImgActive.style.filter = \"blur(0)\";
sliderImgActive.style.transform = \"scale(1)\";
}, 500);
setTimeout(() => {
const animPaths = document.querySelectorAll(\".header__section .swiper-wrapper .swiper-slide-active .header__section-slider-title-wrapper svg g .full__path\");
animPaths.forEach((path, index) => {
setTimeout(() => {
addClassToPath(path);
}, index * 500);
})
}, 600)
}
},
controller: {
control: \".headerText\", // Görüntü Slider'ını kontrol et
},
simulateTouch: true,
});
var animPaths = document.querySelectorAll('.full__path');
const sliderImg = document.querySelectorAll(\".header__section .swiper-wrapper .swiper-slide img\");
swiper.on('touchMove', function () {
sliderImg.forEach((item) => {
item.style.filter = \"blur(4px)\";
item.style.transform = \"scale(1.3)\";
})
animPaths.forEach((path) => {
path.classList.remove(\"active\");
})
});
swiper.on(\"touchEnd\", () => {
})
})
</script>
<script>
document.addEventListener(\"DOMContentLoaded\", function () {
const animPaths = document.querySelectorAll(\".header__section .swiper-wrapper .swiper-slide-active .header__section-slider-title-wrapper svg g .full__path\");
setTimeout(() => {
const sliderImgActive = document.querySelector(\".header__section .swiper-wrapper .swiper-slide-active img\");
sliderImgActive.style.filter = \"blur(0)\";
sliderImgActive.style.transform = \"scale(1)\";
}, 800)
animPaths.forEach((path) => {
path.classList.remove(\"active\");
})
const addClassToPath = (path) => {
path.classList.add(\"active\");
}
setTimeout(() => {
animPaths.forEach((path, index) => {
setTimeout(() => {
addClassToPath(path);
}, index * 500);
})
}, 600)
})
document.addEventListener(\"DOMContentLoaded\", function() {
var firstAnchor = document.querySelector('.about__our__products__section-title__section-clickable a');
if (firstAnchor) {
var buttonInsideAnchor = firstAnchor.querySelector('button');
if (buttonInsideAnchor) {
buttonInsideAnchor.classList.add('active');
}
}
var firstWomanImg = document.querySelector('.about__our__products__section-woman__img img');
if (firstWomanImg) {
firstWomanImg.classList.add('active');
}
var firstCottonImg = document.querySelector('.about__our__products__section-cotton__img img');
if (firstCottonImg) {
firstCottonImg.classList.add('active');
}
});
</script>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "main/default/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1167 => 570, 1164 => 569, 1154 => 568, 1144 => 567, 1142 => 566, 1136 => 562, 1127 => 560, 1123 => 558, 1119 => 557, 1115 => 555, 1106 => 552, 1103 => 551, 1099 => 550, 1092 => 546, 1087 => 544, 1082 => 542, 1075 => 540, 1067 => 534, 1058 => 531, 1054 => 529, 1050 => 528, 1031 => 512, 1022 => 505, 1014 => 503, 1011 => 502, 1007 => 501, 1002 => 498, 996 => 497, 984 => 494, 979 => 493, 975 => 492, 969 => 488, 961 => 486, 958 => 485, 954 => 484, 883 => 415, 862 => 408, 859 => 407, 848 => 406, 844 => 404, 835 => 402, 831 => 401, 827 => 400, 823 => 398, 806 => 397, 796 => 390, 792 => 389, 786 => 386, 780 => 383, 775 => 380, 759 => 378, 752 => 377, 735 => 376, 726 => 369, 681 => 338, 678 => 337, 671 => 334, 669 => 333, 664 => 332, 647 => 331, 642 => 328, 639 => 327, 637 => 326, 631 => 323, 629 => 322, 627 => 321, 625 => 320, 623 => 319, 621 => 318, 619 => 317, 617 => 316, 615 => 315, 613 => 314, 611 => 313, 609 => 312, 607 => 311, 605 => 310, 603 => 309, 601 => 308, 599 => 307, 597 => 306, 595 => 305, 593 => 304, 591 => 303, 589 => 302, 587 => 301, 585 => 300, 583 => 299, 581 => 298, 579 => 297, 577 => 296, 575 => 295, 573 => 294, 571 => 293, 569 => 292, 567 => 291, 565 => 290, 563 => 289, 561 => 288, 559 => 287, 557 => 286, 555 => 285, 553 => 284, 551 => 283, 549 => 282, 547 => 281, 545 => 280, 543 => 279, 541 => 278, 539 => 277, 537 => 276, 535 => 275, 533 => 274, 531 => 273, 529 => 272, 527 => 271, 525 => 270, 523 => 269, 521 => 268, 519 => 267, 517 => 266, 515 => 265, 513 => 264, 511 => 263, 509 => 262, 507 => 261, 505 => 260, 503 => 259, 501 => 258, 499 => 257, 497 => 256, 495 => 255, 493 => 254, 491 => 253, 489 => 252, 487 => 251, 485 => 250, 483 => 249, 481 => 248, 479 => 247, 477 => 246, 475 => 245, 473 => 244, 471 => 243, 469 => 242, 467 => 241, 465 => 240, 463 => 239, 461 => 238, 459 => 237, 456 => 235, 454 => 234, 452 => 233, 450 => 232, 448 => 231, 446 => 230, 444 => 229, 442 => 228, 440 => 227, 438 => 226, 435 => 224, 433 => 223, 431 => 222, 429 => 221, 427 => 220, 425 => 219, 423 => 218, 421 => 217, 418 => 215, 416 => 214, 414 => 213, 412 => 212, 410 => 211, 408 => 210, 406 => 209, 404 => 208, 401 => 206, 399 => 205, 397 => 204, 395 => 203, 393 => 202, 391 => 201, 389 => 200, 387 => 199, 385 => 198, 383 => 197, 381 => 196, 379 => 195, 377 => 194, 375 => 193, 373 => 192, 371 => 191, 369 => 190, 367 => 189, 365 => 188, 363 => 187, 361 => 186, 359 => 185, 357 => 184, 355 => 183, 353 => 182, 351 => 181, 349 => 180, 347 => 179, 345 => 178, 343 => 177, 341 => 176, 339 => 175, 337 => 174, 335 => 173, 333 => 172, 331 => 171, 329 => 170, 327 => 169, 325 => 168, 323 => 167, 321 => 166, 319 => 165, 317 => 164, 315 => 163, 313 => 162, 311 => 161, 309 => 160, 307 => 159, 305 => 158, 303 => 157, 301 => 156, 299 => 155, 297 => 154, 295 => 153, 293 => 152, 290 => 150, 288 => 149, 286 => 148, 284 => 147, 282 => 146, 280 => 145, 278 => 144, 276 => 143, 274 => 142, 272 => 141, 270 => 140, 266 => 137, 264 => 136, 262 => 135, 260 => 134, 258 => 133, 256 => 132, 254 => 131, 252 => 130, 250 => 129, 247 => 127, 245 => 126, 243 => 125, 241 => 124, 239 => 123, 237 => 122, 235 => 121, 233 => 120, 230 => 118, 228 => 117, 226 => 116, 224 => 115, 222 => 114, 220 => 113, 218 => 112, 215 => 110, 213 => 109, 109 => 6, 99 => 5, 80 => 3, 61 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'main_base.html.twig' %}
{% block title %}{{ baslik.title }}{% endblock %}
{% block description %}{{ baslik.description }}{% endblock %}
{% block content %}
<style>
.navbar__section-links__wrapper a {
color: #718677 !important;
}
.navbar__section-links__wrapper :not(.HOME) {
opacity: 0.4;
}
.navbar__section-search__and__onlinecatalog-online-text {
font-weight: 700;
}
.ham__menu-line {
background-color: #8a9f90 !important;
}
.navbar__section-logo__wrapper a h1 {
color: #44504e;
}
.navbar__section-search__and__onlinecatalog-search-text {
color: #949195;
}
.navbar__section-search__and__onlinecatalog-online-border, .navbar__section-search__and__onlinecatalog-search-border {
background-color: #94919591;
}
.navbar__section-links__wrapper a {
color: #949195;
}
.navbar__section-search__and__onlinecatalog-online-text {
color: #8a9f9091;
}
.navbar__section-search__and__onlinecatalog-online-text span {
color: #8a9f9091;
}
canvas {
background-position: 80% 50%;
}
.navbar__section {
border-bottom: 0px;
}
body {
/* overflow-x: hidden; */
}
.navbar__image {
background: #f5f5f5;
z-index: 20 !important;
background-position: center;
background-size: cover;
box-shadow: rgb(255 255 255 / 56%) 0px 22px 70px 4px;
position: fixed;
height: 195px;
top: 0;
right: 0;
left: 0;
bottom: 0;
transition: all 0.5s;
}
.navbar__section-links__wrapper {
z-index: 10;
}
.navbar__section {
z-index: 10001;
}
.navbar__section-container {
z-index: 10001;
overflow-x: hidden;
background-color: transparent !important;
border-bottom: 0px !important
}
.header__section {
margin-top: 183px;
}
.navbar__section-search__and__onlinecatalog-search-icon {
fill: #949195;
}
@media only screen and (max-width: 800px) {
.navbar__image {
height: 100px !important;
}
}
</style>
<style>
{# <div class=\"intro\">#}
{# <div class=\"intro-left\">#}
{# <div class=\"intro-left-box\">#}
{# <img src=\"{{ asset('assets/main/images/followUs.png') }}\" alt=\"\">#}
{# <div class=\"intro-left-text\">#}
{# <a href=\"https://www.instagram.com/elefantevita/\"><span class=\"follow-us-text\">{{ 'bizitakipedin'|trans }}</span></a>#}
{# </div>#}
{# </div>#}
{# </div>#}
{# <div class=\"intro-left-mid\">#}
{# <div class=\"intro-left-mid-svg\">#}
{# <div class=\"svg-box\">#}
{# <!-- İğne -->#}
{# <img class=\"igne\" src=\"{{ asset('assets/main/images/igne.svg') }}\" alt=\"\">#}
{# <!-- İp -->#}
{# <svg version=\"1.1\" id=\"ip-svg\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"#}
{# viewBox=\"0 0 100 300\" style=\"enable-background:new 0 0 100 300;\" xml:space=\"preserve\">#}
{# <path d=\"M13.1,89.9C19.7,71.9,36.9,38.2,60.2,53c4.9,3.2,8.6,7.7,12.1,12.3c15.1,19.8,20.6,46.3,14.9,70.6#}
{# c-1.6,6.9-3.8,14.1-7.3,20.3c-6.4,9.9-19.3,26.9-32.6,24.9c-6.4-1.1-10.6-6.8-13.1-12.3c-3.3-7.5-1.3-17,4.4-22.8#}
{# c5.9-5.8,15.5-7.1,22.7-3c13.8,9.6,22,34.9,21.5,51.2c-0.1,7.5-1.9,15.1-5.7,21.6c6.9-13.4,5.4-29.5,0.5-43.3#}
{# c-3.6-9.7-9-21-17.7-26.9c-7.5-4.1-18.2-0.9-21.7,7c-2.2,4.6-2.8,10.1-0.6,14.8c1.4,3,3.5,6.1,6.1,8.1#}
{# c11.4,8.2,26.4-11.6,32.1-20.2c0.7-1.1,1.5-2.2,2-3.4c8.6-18.7,10.4-40.6,4.4-60.3c-3.2-10.5-8.6-20.4-15.5-29#}
{# C43.7,33.8,22.3,68.4,13.1,89.9L13.1,89.9z\"/>#}
{# </svg>#}
{# </div>#}
{# </div>#}
{# <img src=\"{{ asset('assets/main/images/elefante1.png') }}\" class=\"intro-left-content-img\" alt=\"Elefante\">#}
{# <div class=\"intro-left-mid-line-wrapper\">#}
{# <div class=\"intro-left-mid-line\">#}
{# <span>NEW</span>#}
{# <span>2023</span>#}
{# </div>#}
{# <div class=\"intro-left-mid-line-1\">#}
{# <span>DNTL - 8</span>#}
{# </div>#}
{# </div>#}
{# </div>#}
{# <div class=\"intro-right\">#}
{# <div class=\"intro-right-frame intro-right-frame-top\"></div>#}
{# <div class=\"intro-right-frame intro-right-frame-mid-top\"></div>#}
{# <div class=\"intro-right-frame intro-right-frame-image\"><img src=\"{{ asset('assets/main/images/elefante-frame.svg') }}\" alt=\"\"></div>#}
{# <div class=\"intro-right-frame intro-right-frame-mid-down\"></div>#}
{# <div class=\"intro-right-frame intro-right-frame-down\"></div>#}
{# <div class=\"mainSwiper-text-content\">#}
{# <p class=\"animatetext-mainswiper\" data-aos=\"fade-up\" data-aos-duration=\"500\" data-aos-easing=\"linear\">{{ bolumler[0].metin|raw }}</p>#}
{# </div>#}
{# <div class=\"swiper mainSwiper\">#}
{# <div class=\"swiper-wrapper\">#}
{# {% for resim in bolumler[0].anasayfaBolum.resimler|filter(r => r.del == 0)|sort((a,b) => a.sira > b.sira) %}#}
{# <div class=\"swiper-slide\"><img src=\"{{ asset('uploads/anasayfa/' ~ resim.resim) }}\" alt=\"\"></div>#}
{# {% endfor %}#}
{# </div>#}
{# </div>#}
{# <div class=\"intro-right-indicators\">#}
{# <div class=\"intro-right-indicators-prev swiper-button-prev\"><i class=\"fas fa-long-arrow-left\"></i></div>#}
{# <div class=\"intro-right-indicators-next swiper-button-next\"><i class=\"fas fa-long-arrow-right\"></i>#}
{# </div>#}
{# </div>#}
{# </div>#}
{# </div>#}
{# <div class=\"cotton-svg\">#}
{# <img src=\"{{ asset('assets/main/images/cotton.svg') }}\" alt=\"\">#}
{# </div>#}
{# <div class=\"cotton-svg-1\">#}
{# <img src=\"{{ asset('assets/main/images/cotton.svg') }}\" alt=\"\">#}
{# </div>#}
{# <div class=\"cotton-svg-2\">#}
{# <img src=\"{{ asset('assets/main/images/cotton.svg') }}\" alt=\"\">#}
{# </div>#}
{# <div id=\"main\">#}
{# <div class=\"home-textiles\">#}
{# <div class=\"intro-left-box-count\"><span>01</span></div>#}
{# <h1 class=\"main-header\">{{ 'anasayfa.evtekstili'|trans }}</h1>#}
{# <hr class=\"main-header-line\">#}
{# <div class=\"ev-tekstili-content\">#}
{# <div class=\"ev-tekstili\" data-aos=\"fade-up\" data-aos-duration=\"400\" data-aos-delay=\"300\">#}
{# <h2>{{ bolumler[1].baslik }}</h2>#}
{# {{ bolumler[1].metin|raw }}#}
{# </div>#}
{# <div class=\"ev-tekstili\" data-aos=\"fade-up\" data-aos-duration=\"400\" data-aos-delay=\"500\">#}
{# <h2>{{ bolumler[2].baslik }}</h2>#}
{# {{ bolumler[2].metin|raw }}#}
{# </div>#}
{# <div class=\"ev-tekstili\" data-aos=\"fade-up\" data-aos-duration=\"400\" data-aos-delay=\"700\">#}
{# <h2>{{ bolumler[3].baslik }}</h2>#}
{# {{ bolumler[3].metin|raw }}#}
{# </div>#}
{# </div>#}
{# <button class=\"global-btn\" data-aos=\"fade-zoom-in\" data-aos-duration=\"400\" data-aos-delay=\"900\"><a#}
{# href=\"{{ path('app_main_hakkimizda') }}\">{{ 'anasayfa.inceleyin'|trans }}</a></button>#}
{# </div>#}
{# <div class=\"home-collection\">#}
{# <div class=\"home-collection-video\">#}
{# <div class=\"home-collection-video-content\">#}
{# <video id=\"collection-video\" class=\"collection-video\" muted=\"\" loop=\"\">#}
{# <source src=\"{{ asset('assets/main/videos/elefante.mp4') }}\" type=\"video/mp4\">#}
{# Your browser does not support the video tag.#}
{# </video>#}
{# <div class=\"collection-video-bg\"></div>#}
{# </div>#}
{# <div class=\"home-collection-video-image\" data-aos=\"fade-zoom-in\" data-aos-duration=\"500\" data-aos-easing=\"linear\">#}
{# <img src=\"{{ asset('assets/main/images/homeCollection.png') }}\" alt=\"\">#}
{# </div>#}
{# </div>#}
{# <div class=\"home-collection-image\"><img src=\"{{ asset('assets/main/images/ip-2.webp') }}\" alt=\"\"></div>#}
{# </div>#}
{# <div class=\"production\">#}
{# <div class=\"production-content\">#}
{# <div class=\"production-image\">#}
{# <div class=\"swiper productionSwiper\">#}
{# <div class=\"swiper-wrapper\">#}
{# <div class=\"swiper-slide\"><img src=\"{{ asset('uploads/anasayfa/' ~ bolumler[5].anasayfaBolum.resimler|filter(r => r.del == 0)|first.resim) }}\" alt=\"\"></div>#}
{# <div class=\"swiper-slide\"><img src=\"{{ asset('uploads/anasayfa/' ~ bolumler[6].anasayfaBolum.resimler|filter(r => r.del == 0)|first.resim) }}\" alt=\"\"></div>#}
{# <div class=\"swiper-slide\"><img src=\"{{ asset('uploads/anasayfa/' ~ bolumler[7].anasayfaBolum.resimler|filter(r => r.del == 0)|first.resim) }}\" alt=\"\"></div>#}
{# <div class=\"swiper-slide\"><img src=\"{{ asset('uploads/anasayfa/' ~ bolumler[8].anasayfaBolum.resimler|filter(r => r.del == 0)|first.resim) }}\" alt=\"\"></div>#}
{# </div>#}
{# </div>#}
{# </div>#}
{# <div class=\"production-content-text\">#}
{# <div class=\"production-header\" data-aos=\"fade-left\" data-aos-duration=\"600\" data-aos-delay=\"300\">{{ bolumler[4].baslik }}</div>#}
{# <div class=\"production-text\" data-aos=\"fade-left\" data-aos-duration=\"600\" data-aos-delay=\"400\">#}
{# {{ bolumler[4].metin|raw }}#}
{# </div>#}
{# <button data-aos=\"fade-left\" data-aos-duration=\"600\" data-aos-delay=\"500\" class=\"global-btn\"><a#}
{# href=\"{{ path('app_main_uretim') }}\">{{ 'anasayfa.uretimbloglerimiz'|trans }}</a></button>#}
{# </div>#}
{# </div>#}
{# </div>#}
{# <div class=\"production-items-wrapper\">#}
{# <div class=\"production-items\">#}
{# <div class=\"production-item\" data-aos=\"fade-up\" data-aos-duration=\"300\" data-aos-easing=\"linear\" data-aos-delay=\"300\">#}
{# <div class=\"production-item-number\">01.</div>#}
{# <div class=\"production-item-header\">{{ bolumler[5].baslik }}</div>#}
{# <div class=\"production-item-text\">{{ bolumler[5].metin|raw }}</div>#}
{# <div class=\"production-item-bg\"></div>#}
{# </div>#}
{# <div class=\"production-item\" data-aos=\"fade-up\" data-aos-duration=\"300\" data-aos-easing=\"linear\" data-aos-delay=\"500\">#}
{# <div class=\"production-item-number\">02.</div>#}
{# <div class=\"production-item-header\">{{ bolumler[6].baslik }}</div>#}
{# <div class=\"production-item-text\">{{ bolumler[6].metin|raw }}</div>#}
{# <div class=\"production-item-bg\"></div>#}
{# </div>#}
{# <div class=\"production-item\" data-aos=\"fade-up\" data-aos-duration=\"300\" data-aos-easing=\"linear\" data-aos-delay=\"700\">#}
{# <div class=\"production-item-number\">03.</div>#}
{# <div class=\"production-item-header\">{{ bolumler[7].baslik }}</div>#}
{# <div class=\"production-item-text\">{{ bolumler[7].metin|raw }}</div>#}
{# <div class=\"production-item-bg\"></div>#}
{# </div>#}
{# <div class=\"production-item\" data-aos=\"fade-up\" data-aos-duration=\"300\" data-aos-easing=\"linear\" data-aos-delay=\"900\">#}
{# <div class=\"production-item-number\">04.</div>#}
{# <div class=\"production-item-header\">{{ bolumler[8].baslik }}</div>#}
{# <div class=\"production-item-text\">{{ bolumler[8].metin|raw }}</div>#}
{# <div class=\"production-item-bg\"></div>#}
{# </div>#}
{# </div>#}
{# </div>#}
{# <div class=\"duvet-cover\">#}
{# <div class=\"duvet-cover-content\">#}
{# <div class=\"duvet-cover-header\" data-aos=\"fade-right\" data-aos-duration=\"600\" data-aos-delay=\"300\">#}
{# {{ bolumler[9].baslik }}#}
{# </div>#}
{# <div class=\"duver-cover-text\" data-aos=\"fade-right\" data-aos-duration=\"600\" data-aos-delay=\"400\">#}
{# {{ bolumler[9].metin|raw }}#}
{# </div>#}
{# <div class=\"duvet-cover-btn\" data-aos=\"fade-right\" data-aos-duration=\"600\" data-aos-delay=\"500\">#}
{# <button class=\"global-btn\"><a href=\"#\">{{ 'anasayfa.urungruplari'|trans }}</a></button>#}
{# </div>#}
{# </div>#}
{# <div class=\"duvet-cover-images\">#}
{# <div class=\"duvet-cover-image-1\">#}
{# <div class=\"swiper duvetCoverSwiper1\">#}
{# <div class=\"swiper-wrapper\">#}
{# <div class=\"swiper-slide\"><img src=\"{{ asset('uploads/anasayfa/' ~ bolumler[9].anasayfaBolum.resimler|filter(r => r.del == 0)|first.resim) }}\" alt=\"\"></div>#}
{# </div>#}
{# </div>#}
{# </div>#}
{# <div class=\"duvet-cover-image-2\">#}
{# <div class=\"swiper duvetCoverSwiper2\">#}
{# <div class=\"swiper-wrapper\">#}
{# {% for resim in bolumler[9].anasayfaBolum.resimler|filter(r => r.del == 0)|sort((a,b) => a.sira > b.sira) %}#}
{# {% if loop.index != 1 %}#}
{# <div class=\"swiper-slide\"><img src=\"{{ asset('uploads/anasayfa/' ~ resim.resim) }}\" alt=\"\"></div>#}
{# {% endif %}#}
{# {% endfor %}#}
{# </div>#}
{# </div>#}
{# </div>#}
{# </div>#}
{# </div>#}
{# <div class=\"communication\">#}
{# <div class=\"communication-box\">#}
{# <img src=\"{{ asset('assets/main/images/irtibat.webp') }}\" alt=\"\">#}
{# <div class=\"communication-box-content\">#}
{# <div class=\"communication-box-content-header\" data-aos=\"fade-down\" data-aos-duration=\"600\" data-aos-delay=\"500\">{{ 'anasayfa.irtibatagecin'|trans }}</div>#}
{# <div class=\"communication-box-content-text\" data-aos=\"fade-down\" data-aos-duration=\"600\" data-aos-delay=\"500\">#}
{# {{ 'anasayfa.irtibataltmetin'|trans }}#}
{# </div>#}
{# <div class=\"communication-box-content-email\" data-aos=\"fade-down\" data-aos-duration=\"600\" data-aos-delay=\"500\">E-Posta : {{ adresler[0].email }}</div>#}
{# <div class=\"communication-box-content-number\" data-aos=\"fade-down\" data-aos-duration=\"600\" data-aos-delay=\"500\">{{ adresler[0].telefonlar|first.telefon }}</div>#}
{# <div class=\"communication-box-content-button\" data-aos=\"fade-down\" data-aos-duration=\"600\" data-aos-delay=\"500\">#}
{# <button class=\"global-btn\"><a href=\"{{ adresler[0].harita }}\" target=\"_blank\">{{ 'anasayfa.haritadagoruntule'|trans }}</a></button>#}
{# </div>#}
{# </div>#}
{# </div>#}
{# </div>#}
{# </div> #}</style>
<div id=\"mainpage\">
{% include 'main/default/loader.html.twig' %}
{% include 'main/default/cookie.html.twig' %}
<div class=\"main-container\">
<header class=\"header__section swiper headerSwiper\">
<div class=\"swiper-wrapper mainSliderWrapper\">
{% for entityx in entities %}
<div class=\"swiper-slide swiper-slide-{{ loop.index }}\">
{% if entityx.sResim %}
<img src=\"{{ asset('uploads/anasayfa/anasayfaSlider/slider/' ~ entityx.sResim) }}\"
alt=\"header__photo\">
{% endif %}
<div class=\"header__section-slider-title-wrapper\">
<div class=\"header__section-slider-title\">{{ entityx.baslik }}</div>
<svg xmlns=\"http://www.w3.org/2000/svg\" id=\"elefante__text\" data-name=\"katman 1\"
viewBox=\"0 0 610.42 243.91\">
<defs>
<style>
.cls-1 {
fill: none;
}
</style>
</defs>
<g xmlns=\"http://www.w3.org/2000/svg\">
<path class=\"full__path\"
d=\"M4.49,115.42l47.21-30.2c.94-.6,1.52-3.06,.41-3.08-8.05-.08-32.04,5.12-49.96,37.2C.87,121.65,.06,124.24,0,126.89c-.72,36.03,132.03-58.33,172.49-107.47,1.99,1.89-18.33-19.89-91,184,0,0,.75,5.78,5.38-5.11\"/>
<path class=\"full__path\"
d=\"M141.49,115.42l47.21-30.2c.94-.6,1.52-3.06,.41-3.08-8.05-.08-32.04,5.12-49.96,37.2-1.29,2.31-2.1,4.9-2.15,7.55,0,0-4.51,28.53,82.67-13.83\"/>
<path class=\"full__path\"
d=\"M269.08,43.23l7.8-22.64c.11-.31-.33-.51-.49-.23l-100.15,168.69c-4.47,7.53-7.82,15.68-9.95,24.18l-2.71,9.83c-.22,.86,.1,1.75,.72,2.53,1.97,2.48,5.83,2.28,7.79-.21l9.41-11.97s24.01-33.79,24.38-60.66c.06-4.13-1.25-8.22-4.03-11.27-11.32-12.43-37.35-7.07-37.35-7.07l113.25-19.49\"/>
<path class=\"full__path\"
d=\"M309.49,111.42s-13.59-13.25-41.3,10.88c-11.7,10.12-5.96,13.99-5.96,13.99,0,0,3.26,8.13,55.26-30.87,6-3-8,16-4,25,4.64,7.53,16.25,3.78,25.21-.71,6.72-3.37,12.62-8.17,17.38-13.99l24.49-29.94c.11-.14,.32,.02,.22,.17l-46.3,68.48s42-56,64-62c52-18-69,95,50,22\"/>
<path class=\"full__path\"
d=\"M515.22,21.86L525.35,.42c.16-.33-.31-.59-.51-.29l-160.64,240.96c-1.01,1.52,.6,3.4,2.26,2.64l5.85-2.7\"/>
<path class=\"full__path\"
d=\"M468.49,115.42l47.21-30.2c.94-.6,1.52-3.06,.41-3.08-8.05-.08-32.04,5.12-49.96,37.2-1.29,2.31-2.1,4.9-2.15,7.55,0,0-4.51,28.53,82.67-13.83\"/>
<path class=\"full__path\"
d=\"M610.39,42.56s8.1-47.14-235.9,17.86c-25,6-9,11-9,11\"/>
</g>
</svg>
</div>
</div>
{% endfor %}
</div>
</header>
<section class=\"company__information__section\">
<div class=\"company__information__section-about__company\">
<div class=\"company__information__section-about__company-img__section\">
{% for resim in bolumler[0].anasayfaBolum.resimler|filter(r => r.del == 0)|sort((a,b) => a.sira > b.sira) %}
<img class=\"company__information__section-about__company-img__section-img {% if loop.last %}lastactive{% endif %}\"
src=\"{{ asset('uploads/anasayfa/' ~ resim.resim) }}\" alt=\"about-company-main-image\">
{% endfor %}
</div>
<div class=\"company__information__section-about__company-text__section\">
<div class=\"company__information__section-about__company-text__section-photos\">
<img src=\"{{ asset('uploads/ayarlar/referans/' ~ ayarlar.referans) }}\"
alt=\"references-logo\">
</div>
<h3>{{ bolumler[0].baslik|raw }}</h3>
<button class=\"company__information__section-about__company-text__section-button\">
<a href=\"{{ bolumler[0].altBaslik|raw }}\"><h5>EXPLORE</h5>
<img src=\"{{ asset('assets/main/images/main-page/right-arrow.svg ') }}\"
alt=\"right-arrow\">
</a>
</button>
</div>
</div>
<div class=\"company__information__section-about__company__clauses-section\">
{% for production in uretim %}
<a class=\"company__information__section-about__company__clauses__wrapper\" href=\"\">
<div class=\"company__information__section-about__company__clauses \">
<span>0{{ loop.index }}</span>
{% for entityx in production.diller %}
<h3>{{ entityx.baslik|raw }}</h3>
{% endfor %}
{% for entityx in production.diller %} <p>{{ entityx.metin|raw }}</p> {% endfor %}
<div class=\"company__information__section-about__company__clauses-mousetracker\"><img
src=\"{{ asset('assets/main/images/main-page/right-arrow.svg') }}\"
alt=\"right-arrow\"></div>
</div>
</a>
{% endfor %}
</div>
<div class=\"company__information__section-about__company__clauses-section__responsive swiper productionSwiper\">
<div class=\"swiper-wrapper\">
<a href=\"<?php echo \$baseUrl?>production#weaving\"
class=\"company__information__section-about__company__clauses__wrapper__responsive swiper-slide\">
<div class=\"company__information__section-about__company__clauses__responsive\">
<span>01.</span>
<h3>Weaving</h3>
<p>Our focus is to meticulously weave our fabrics using the highest quality Turkish
cotton on traditional looms, combining them with unique patterns and textures that
tell a story. Woven with Turkish cotton, our fabrics aim to provide a top-tier
experience in terms of quality, durability, and aesthetics. This special weaving
technique reflects our commitment to creating high-quality and distinctive textile
products by bringing together the heritage of the past with the present.
</p>
<div class=\"company__information__section-about__company__clauses-mousetracker\"><img
src=\"assets/main-page/right-arrow.svg\" alt=\"right-arrow\"></div>
</div>
</a>
<a href=\"<?php echo \$baseUrl?>production#confection\"
class=\"company__information__section-about__company__clauses__wrapper__responsive swiper-slide\">
<div class=\"company__information__section-about__company__clauses__responsive\">
<span>02.</span>
<h3>Confection</h3>
<p>The fabrics we attentively produce undergo a transformation into stylish and timeless
products in the hands of artisans, blending both traditional and modern techniques.
Each stitch comes to life with careful attention in a simple narrative, bringing
forth an elegant charm adorned with graceful details. Throughout this process,
design, measurements, stitching, and enchanting touches give our products their
final form.
</p>
<div class=\"company__information__section-about__company__clauses-mousetracker\"><img
src=\"assets/main-page/right-arrow.svg\" alt=\"right-arrow\"></div>
</div>
</a>
<a href=\"<?php echo \$baseUrl?>production#embroidery\"
class=\"company__information__section-about__company__clauses__wrapper__responsive swiper-slide\">
<div class=\"company__information__section-about__company__clauses__responsive\">
<span>03.</span>
<h3>Embroidery</h3>
<p>In our workshop, we can bring to life special designs adorned with various embroidery
techniques. We stand out with our creativity in the art of embroidery, bringing
unique embellishments that cater to every taste onto our high-quality fabrics.
</p>
<div class=\"company__information__section-about__company__clauses-mousetracker\"><img
src=\"assets/main-page/right-arrow.svg\" alt=\"right-arrow\"></div>
</div>
</a>
<a href=\"<?php echo \$baseUrl?>production#print\"
class=\"company__information__section-about__company__clauses__wrapper__responsive swiper-slide\">
<div class=\"company__information__section-about__company__clauses__responsive\">
<span>04.</span>
<h3>Print</h3>
<p>We create unique designs by using various printing techniques on our products.
Different printing methods add diversity and uniqueness to our products.
</p>
<div class=\"company__information__section-about__company__clauses-mousetracker\"><img
src=\"assets/main-page/right-arrow.svg\" alt=\"right-arrow\"></div>
</div>
</a>
</div>
<div class=\"company__information__section-about__company__clauses-section__responsive-button__next\">
</div>
<div class=\"company__information__section-about__company__clauses-section__responsive-button__prev\">
</div>
</div>
</section>
<section class=\"about__our__products__section\">
<div class=\"about__our__products__section-woman__img\">
{% for imageOne in urunKategorileriResim %}
<img class=\"about__our__products__section-woman__img-img\"
src=\"{{ asset('uploads/urunkategorileri/banner/' ~ imageOne.resim) }}\">
{% endfor %}
</div>
<div class=\"about__our__products__section-title__section\">
<h4>BROWSE COLLECTION</h4>
<div class=\"about__our__products__section-title__section-clickable\">
{% for indexr in urunkategorileri %}
{% for index in indexr.diller %}
<a href=\"{{ path('app_main_urun_gruplari_detay',{'code': indexr.code }) }}\"><button>{{ index.baslik }}</button></a>
{% endfor %}
{% endfor %}
</div>
</div>
<div class=\"about__our__products__section-cotton__img\">
{% for imageOne in urunKategorileriResim2 %}
<img class=\"about__our__products__section-cotton__img-img\"
src=\"{{ asset('uploads/urunkategorileri/banner/' ~ imageOne.resim) }}\"></img>
{% endfor %}
</div>
</section>
<div class=\"video__main__sectionr\">
<div class=\"video__main__section\">
<section class=\"video__section video__section-items__wrapper\">
<div class=\"video__section-items__wrapper\">
{{ ayarlar.video|raw }}
<button class=\"video__section-items__wrapper-button gizle\">
</button>
</div>
</section>
</div>
</div>
<!-- <section class=\"gallery__section__wgsap\">
<div class=\"gallery__section__wgsap-square\"></div>
<div class=\"gallery__section__wgsap-square2\"></div>
</section> -->
<section class=\"gallery__section\">
<div class=\"gallery__section-top__middle__section\">
<div class=\"gallery__section__photos-main__wrapper\">
{% for entity in bolumler[1].anasayfaBolum.resimler|filter(r => r.del == 0)|sort((a,b) => a.sira > b.sira) %}
<div class=\"gallery__section__photos-wrapper\">
<div class=\"gallery__section__photos\"
style=\"background-image: url({{ asset('uploads/anasayfa/' ~ entity.resim) }});\"></div>
</div>
{% endfor %}
</div>
</div>
<div class=\"gallery__section-bottom\">
<div class=\"gallery__section-bottom-followus\">
<div class=\"gallery__section-bottom-followus-text\">
<h4>SOCIAL MEDIA</h4>
<h3><a href=\"{{ bolumler[2].altBaslik }}\">{{ bolumler[2].baslik|raw }}</a></h3>
<p>{{ bolumler[2].metin|raw }}
</p>
<a href=\"{{ bolumler[2].altBaslik }}\">
<button><h5>FOLLOW US</h5>
<img src=\"{{ asset('assets/main/images/main-page/right-arrow.svg') }}\"
alt=\"right-arrow\"></button>
</a>
</div>
{% for entity in bolumler[2].anasayfaBolum.resimler|filter(r => r.del == 0)|sort((a,b) => a.sira > b.sira)|slice(0, 1) %}
<div class=\"gallery__section-bottom-followus-photo\">
<img src=\"{{ asset('uploads/anasayfa/' ~ entity.resim) }}\" alt=\"\">
</div>
{% endfor %}
</div>
<div class=\"gallery__section-bottom-right\"> {% for entity in bolumler[2].anasayfaBolum.resimler|filter(r => r.del == 0)|sort((a,b) => a.sira > b.sira)|slice(1, 1) %}
<div class=\"gallery__section__middle__right__photo-2\"><img
src=\"{{ asset('uploads/anasayfa/' ~ entity.resim) }}\"
alt=\"gallery__section__middle__right__photo-2\"></div>
{% endfor %} </div>
</div>
</section>
</div>
{% include 'main/default/new-catalogue.html.twig' %}
{% endblock %}
{% block body_js %}
{% include 'main/default/scripts.html.twig' %}
<script>
const checkAndOpenClick = (param) => {
if (window.innerWidth >= 1200) {
switch (param) {
case 1:
window.location.href = \"<?php echo \$baseUrl?>products\";
break;
case 2:
window.location.href = \"<?php echo \$baseUrl?>products\";
break;
case 3:
window.location.href = \"<?php echo \$baseUrl?>products\";
break;
case 4:
window.location.href = \"<?php echo \$baseUrl?>products\";
break;
}
}
}
const mainPageProductionSection = document.querySelectorAll(\".company__information__section-about__company__clauses__wrapper\");
const mainPageProductionSectionClauses = document.querySelectorAll(\".company__information__section-about__company__clauses\");
const mainPageProductionSectionImg = document.querySelectorAll(\".company__information__section-about__company-img__section-img\");
const mainPageProductionSectionImgMain = document.querySelector(\".company__information__section-about__company-img__section-img-main\");
const mainPageProductionSectionWrapper = document.querySelector(\".company__information__section-about__company__clauses-section\");
const lastIndex = mainPageProductionSectionImg.length - 1;
const lastEl = mainPageProductionSectionImg[lastIndex]
mainPageProductionSection.forEach((item, index) => {
item.addEventListener(\"mouseover\", () => {
mainPageProductionSectionImg[index].classList.add(\"active\");
mainPageProductionSection.forEach((otherItem, otherIndex) => {
if (otherIndex !== index) {
mainPageProductionSectionImg[otherIndex].classList.remove(\"active\")
lastEl.classList.remove(\"lastactive\")
}
})
})
mainPageProductionSectionClauses.forEach((item, index) => {
item.addEventListener(\"mouseout\", () => {
console.log(\"hallo\")
lastEl.classList.add(\"lastactive\")
mainPageProductionSectionImg.forEach((item, index) => {
item.classList.remove(\"active\");
})
})
})
})
</script>
<script>
var productionSwiper = new Swiper(\".productionSwiper\", {
loop: true,
autoplay: {
delay: 4000,
disableOnInteraction: false,
},
navigation: {
nextEl: \".company__information__section-about__company__clauses-section__responsive-button__next\",
prevEl: \".company__information__section-about__company__clauses-section__responsive-button__prev\",
},
});
document.addEventListener('DOMContentLoaded', function () {
const swiperText = new Swiper(\".headerText\", {
// Diğer Swiper ayarları...
centeredSlides: true,
loop: true,
autoplay: {
delay: 7000,
disableOnInteraction: false,
},
scrollbar: {
el: \".swiper-scrollbar\",
hide: true,
},
navigation: {
nextEl: \".header-swiper-button-next\",
},
on: {
init: function () {
let isFirstSlideChange = true;
// Swiper nesnesi oluşturulduktan sonra slideChange olayını dinle
this.on('slideChange', function () {
if (isFirstSlideChange) {
// Düzeltme burada
const currentIndex = this.realIndex;
// Bayrağı kapat
isFirstSlideChange = false;
}
// Düzeltme burada
});
}
},
});
const addClassToPath = (path) => {
path.classList.add(\"active\");
}
const swiper = new Swiper(\".headerSwiper\", {
// Diğer Swiper ayarları...
centeredSlides: true,
loop: true,
autoplay: {
delay: 7000,
disableOnInteraction: false,
},
scrollbar: {
el: \".swiper-scrollbar\",
hide: true,
},
navigation: {
nextEl: \".header-swiper-button-next\",
},
on: {
autoplayStart: function () {
},
slideChange: function () {
const slides = document.querySelectorAll(\".header__section .swiper-wrapper .swiper-slide\");
slides.forEach((item) => {
if (!item.classList.contains(\"swiper-slide-active\")) {
const itemPaths = item.querySelectorAll(\".header__section-slider-title-wrapper svg g .full__path\")
itemPaths.forEach((path) => {
path.classList.remove(\"active\");
})
}
})
/*
animPaths.forEach((path) => {
path.classList.remove(\"active\");
}) */
setTimeout(() => {
const sliderImgActive = document.querySelector(\".header__section .swiper-wrapper .swiper-slide-active img\");
sliderImgActive.style.filter = \"blur(0)\";
sliderImgActive.style.transform = \"scale(1)\";
}, 500);
setTimeout(() => {
const animPaths = document.querySelectorAll(\".header__section .swiper-wrapper .swiper-slide-active .header__section-slider-title-wrapper svg g .full__path\");
animPaths.forEach((path, index) => {
setTimeout(() => {
addClassToPath(path);
}, index * 500);
})
}, 600)
}
},
controller: {
control: \".headerText\", // Görüntü Slider'ını kontrol et
},
simulateTouch: true,
});
var animPaths = document.querySelectorAll('.full__path');
const sliderImg = document.querySelectorAll(\".header__section .swiper-wrapper .swiper-slide img\");
swiper.on('touchMove', function () {
sliderImg.forEach((item) => {
item.style.filter = \"blur(4px)\";
item.style.transform = \"scale(1.3)\";
})
animPaths.forEach((path) => {
path.classList.remove(\"active\");
})
});
swiper.on(\"touchEnd\", () => {
})
})
</script>
<script>
document.addEventListener(\"DOMContentLoaded\", function () {
const animPaths = document.querySelectorAll(\".header__section .swiper-wrapper .swiper-slide-active .header__section-slider-title-wrapper svg g .full__path\");
setTimeout(() => {
const sliderImgActive = document.querySelector(\".header__section .swiper-wrapper .swiper-slide-active img\");
sliderImgActive.style.filter = \"blur(0)\";
sliderImgActive.style.transform = \"scale(1)\";
}, 800)
animPaths.forEach((path) => {
path.classList.remove(\"active\");
})
const addClassToPath = (path) => {
path.classList.add(\"active\");
}
setTimeout(() => {
animPaths.forEach((path, index) => {
setTimeout(() => {
addClassToPath(path);
}, index * 500);
})
}, 600)
})
document.addEventListener(\"DOMContentLoaded\", function() {
var firstAnchor = document.querySelector('.about__our__products__section-title__section-clickable a');
if (firstAnchor) {
var buttonInsideAnchor = firstAnchor.querySelector('button');
if (buttonInsideAnchor) {
buttonInsideAnchor.classList.add('active');
}
}
var firstWomanImg = document.querySelector('.about__our__products__section-woman__img img');
if (firstWomanImg) {
firstWomanImg.classList.add('active');
}
var firstCottonImg = document.querySelector('.about__our__products__section-cotton__img img');
if (firstCottonImg) {
firstCottonImg.classList.add('active');
}
});
</script>
</div>
{% endblock %}", "main/default/index.html.twig", "/home/technoon/public_html/elefante/templates/main/default/index.html.twig");
}
}