{% extends 'siteBase.html.twig' %}
{# Sayfa İstekleri #}
{% set sBoyutlar = 'slider'|ayarlar|split('X') %}
{% set sliders = ''|site_sliders %}
{% block dil %}{{ app.session.get('dil')['kisa'] }}{% endblock %} {# tr or en #}
{% block title %}{{ 'title'|ayarlar(app.session.get('dil')['id']) }}{% endblock %}
{% block keywords %}{{ 'keywords'|ayarlar(app.session.get('dil')['id']) }}{% endblock %}
{% block description %}{{ 'description'|ayarlar(app.session.get('dil')['id']) }}{% endblock %}
{% block title2 %}{{ 'title'|ayarlar(app.session.get('dil')['id']) }}{% endblock %}
{% block description2 %}{{ 'description'|ayarlar(app.session.get('dil')['id']) }}{% endblock %}
{% block image_alt %}{{ 'title'|ayarlar(app.session.get('dil')['id']) }}{% endblock %}
{% block title3 %}{{ 'title'|ayarlar(app.session.get('dil')['id']) }}{% endblock %}
{% block description3 %}{{ 'description'|ayarlar(app.session.get('dil')['id']) }}{% endblock %}
{% block image %}{{ 'siteYolu'|ayarlar~'storage/logo.webp' }}{% endblock %}
{% block image2 %}{{ 'siteYolu'|ayarlar~'storage/logo.webp' }}{% endblock %}
{% block body %}
{# -- Slider : "sliders" adında bir dizide döndürülmektedir. Dizinin "baslik, aciklama, resim" değişkenleri bulunuyor. Bu bilgiler ile kodlamayınız. -- #}
<!-- Hero Section Start -->
<div class="hero hero-slider-layout">
<div class="swiper">
<div class="swiper-wrapper">
{% for slider in sliders %}
<!-- Hero Slide Start -->
<div class="swiper-slide">
<div class="hero-slide">
<!-- Slider Image Start -->
<div class="hero-slider-image">
<img src="/storage/{{ slider.resim }}" alt="">
</div>
<!-- Slider Image End -->
<div class="container">
<div class="row">
<div class="col-lg-8">
<!-- Hero Content Start -->
<div class="hero-content">
<!-- Section Title Start -->
<div class="section-title dark-section">
<h3 class="wow fadeInUp">{{ 'siteAdi'|ayarlar }}</h3>
<h1 class="text-anime-style-3" data-cursor="-opaque">{{slider.baslik|default('') }}</h1>
<p class="wow fadeInUp" data-wow-delay="0.2s">{{slider.aciklama|default('') }}</p>
</div>
<!-- Section Title End -->
<!-- Hero Buttons Start -->
<div class="hero-btn wow fadeInUp" data-wow-delay="0.4s">
<a href="/{{ veriler[4][0].seo }}" class="btn-default">{{ veriler[4][0].adi }}</a>
<a href="{{iletisimLink}}" class="btn-default btn-highlighted">Bize Ulaşın</a>
</div>
<!-- Hero Buttons End -->
</div>
<!-- Hero Content End -->
</div>
</div>
</div>
</div>
</div>
<!-- Hero Slide End -->
{% endfor %}
</div>
<div class="hero-pagination"></div>
</div>
</div>
<!-- Hero Section End -->
<!-- About Us Section Start -->
<div class="about-us">
<div class="container">
<div class="row align-items-center">
<div class="col-lg-6">
<!-- About Us Image Start -->
<div class="about-us-image">
<!-- About Image Start -->
<div class="about-image">
<figure class="image-anime reveal">
{{ veriler[3][1][0]['resim']|imgOlustur(600,10,'cover')|raw }}
</figure>
</div>
<!-- About Image End -->
<!-- About Customer Box Start -->
<div class="about-customer-box">
<h2><span class="counter">92</span>%</h2>
<p>Mutlu Müşteri</p>
</div>
<!-- About Customer Box End -->
</div>
<!-- About Us Image End -->
</div>
<div class="col-lg-6">
<div class="about-us-content">
<!-- Section Title Start -->
<div class="section-title">
<h3 class="wow fadeInUp">{{ 'siteAdi'|ayarlar }}</h3>
<h2 class="text-anime-style-3" data-cursor="-opaque">{{ veriler[3][1][0]['baslik'] }}</h2>
{% set metin = veriler[3][1][0]['metin']|split('.') %}
<p class="wow fadeInUp" data-wow-delay="0.2s">
{% for key,mm in metin %}
{% if key<4 %}
{{ mm|html_entity_decode|raw }}.
{% endif %}
{% endfor %}
</p>
<p class="wow fadeInUp" data-wow-delay="0.2s">
{% for key,mm in metin %}
{% if key>=4 and key<8 %}
{{ mm|html_entity_decode|raw }}.
{% endif %}
{% endfor %}
</p>
</div>
<!-- Section Title End -->
<!-- About Us Button Start -->
<div class="about-us-btn wow fadeInUp" data-wow-delay="0.8s">
<a href="/{{ veriler[3][0].seo }}" class="btn-default">Daha Fazla</a>
</div>
<!-- About Us Button End -->
</div>
</div>
</div>
</div>
</div>
<!-- About Us Section End -->
{#
-- Site Sayfa Verileri : "veriler[4]" adında bir dizi döndürülüyor. 0. elemanı sayfa bilgilerini içerir. 1 elemanı dizidir. Ve sayfa içeriğini döndürür. Bu bilgilere göre kodlama yapınız.
-- Modül alanları : seourl, sayfabaşlığı, anahtarkelimeler, sayfaaçıklaması, adı, metin, resim
** Resimleri çekerken sadece "ornek.jpg|imgOlustur(100,10,'cover')" filtresini kullanmalısın. Bu filtre şu özelliğe sahitir; "ornek.jpg|imgOlustur(yükseklik,radius,'cover/contain')"
----------------------------------------------------
#}
<!-- Work Gallery Section Start -->
<div class="work-gallery">
<div class="container">
<div class="row section-row align-items-center">
<div class="col-lg-6">
<!-- Section Title Start -->
<div class="section-title">
<h3 class="wow fadeInUp">{{ 'siteAdi'|ayarlar }}</h3>
<h2 class="text-anime-style-3" data-cursor="-opaque">{{ veriler[4][0].adi }}</h2>
</div>
<!-- Section Title End -->
</div>
<div class="col-lg-6">
<!-- Section Title Content Start -->
<div class="section-title-content">
<p class="wow fadeInUp" data-wow-delay="0.2s">Özel bakım paketlerimizle güzellik yolculuğunuza başlayın.</p>
</div>
<!-- Section Title Content End -->
</div>
</div>
<div class="row">
{% for hh in veriler[4][1] %}
<div class="col-lg-4 col-md-6">
<!-- Work Gallery Item Start -->
<div class="work-gallery-item wow fadeInUp">
<div class="work-gallery-img">
<a href="{{ hh.link }}" data-cursor-text="İncele">
<figure class="image-anime">
{{ hh.resim|imgOlustur(500,10,'cover')|raw }}
</figure>
</a>
</div>
<div class="work-gallery-content">
<h3><a href="{{ hh.link }}">{{ hh.adi|html_entity_decode|raw }}</a></h3>
</div>
</div>
<!-- Work Gallery Item End -->
</div>
{% endfor %}
</div>
</div>
</div>
<!-- Work Gallery Section End -->
{% endblock %}
{% block javascripts %}{% endblock %}