title = "Baş sahypa"
url = "/"
layout = "default"
description = "Baş sahypa. Türkmenistanyň biržasy."
is_hidden = 0

[viewBag]
localeTitle[en] = "Home page"
localeTitle[ru] = "Главная страница"
localeUrl[en] = "/"
localeUrl[ru] = "/"

[session]
security = "all"
redirect = "vojti"

[offers]
perPage = 8
sortOrder = "desc"

[categories]
active = 1
slug = "{{ :slug }}"
renderFeatures = "with_images"

[blogPosts]
pageNumber = "{{ :page }}"
postsPerPage = 3
noPostsMessage = "No posts found"
sortOrder = "published_at desc"
categoryPage = 404
postPage = "news_post"

[sliders sliders3]
sliderCode = "banner_above_footer"
sliderType = "banner_above_footer"
==
{% put styles %}
<link rel="stylesheet" href="{{['assets/css/slick-theme.css','assets/css/slick.css']|theme}}">
{% endput %}



<!--Intro  ============================================================= -->
<section class="intro">
    <div class="auto_container">
        <div class="intro_wrap">

            {% partial 'slider' %}

            
            
            
        </div>
    </div>
</section>
<!--Intro  end ========================================================= -->

<!--News ============================================================= -->
<section class="news">
    <div class="auto_container">
        <div class="news_wrap">
            <div class="news_row">
                <h3 class="main_title">
                    {{ 'site.last_news'|_ }}
                </h3>

                <a href="{{'novosti'|page}}" class="all_news">
                    {{ 'site.all_news'|_ }}
                </a>
            </div>

            <div class="news_box">
                
                {% set posts = blogPosts.posts %}

                {% for post in posts %}

                    <div class="news_box-item wow fadeInUp" data-wow-duration=".5s"
                        {% if loop.index > 4 %}
                            {% if loop.index - 3 < 10 %}
                                data-wow-delay=".{{ loop.index - 3 }}s"
                            {% else %}
                                data-wow-delay="{{ (loop.index - 3) / 10 }}s"
                            {% endif %}
                        {% else %}
                            {% if loop.index < 10 %}
                                data-wow-delay=".{{ loop.index }}s"
                            {% else %}
                                data-wow-delay="{{ loop.index / 10 }}s"
                            {% endif %}
                        {% endif %}
                    >
                        <div class="news_box-item-photo">
                            <img src="{{ post.featured_images[0].thumb(467,300,{'mode':'crop'}) }}" alt="news-photo">

                            <a href="{{ post.url }}" class="news_link">
                                <img src="{{ 'assets/images/svg/news_arrow.svg'|theme }}" alt="arrow-icon">
                            </a>
                        </div>

                        <a href="{{ post.url }}" class="news_box-item-title">
                            {{ post.title }}
                        </a>
                        <p class="news_box-item-date">
                            {{ post.published_at|date('d.m.Y') }}
                        </p>
                        <p class="news_box-item-txt">
                            {{ post.excerpt }}
                        </p>
                    </div>

                {% endfor %}
            </div>
        </div>
    </div>
</section>
<!--News end ========================================================= -->

<!--Intro ============================================================= -->
<section class="category_block">
    <div class="auto_container">
        <div class="category_wrap">
            <h3 class="main_title">
                {{ 'site.categories'|_ }}
            </h3>
            
            {% component 'categories' %}

        </div>
    </div>
</section>
<!--Intro end ========================================================= -->

<!--Product  ============================================================= -->
<section class="product">
    <div class="auto_container">
        <div class="product_wrap">
            <div class="product_head">
                <div class="product_title">
                    {{ 'page.new_prods'|_ }}
                </div>
                <div class="sort_by">
                    <div class="sort_icon">
                        <svg id="inline" data-name="Иконка (Стиль 2)" xmlns="http://www.w3.org/2000/svg"
                             class="icon" viewBox="0 0 40 40">
                            <path id="Иконка_Стиль_2_2" data-name="Иконка (Стиль 2)"
                                  d="M-177-64a2,2,0,0,1-2-2v-6a2,2,0,0,1,2-2h22a2,2,0,0,1,2,2v6a2,2,0,0,1-2,2Zm-14,0a2,2,0,0,1-2-2v-6a2,2,0,0,1,2-2h6a2,2,0,0,1,2,2v6a2,2,0,0,1-2,2Zm14-15a2,2,0,0,1-2-2v-6a2,2,0,0,1,2-2h22a2,2,0,0,1,2,2v6a2,2,0,0,1-2,2Zm-14,0a2,2,0,0,1-2-2v-6a2,2,0,0,1,2-2h6a2,2,0,0,1,2,2v6a2,2,0,0,1-2,2Zm14-15a2,2,0,0,1-2-2v-6a2,2,0,0,1,2-2h22a2,2,0,0,1,2,2v6a2,2,0,0,1-2,2Zm-14,0a2,2,0,0,1-2-2v-6a2,2,0,0,1,2-2h6a2,2,0,0,1,2,2v6a2,2,0,0,1-2,2Z"
                                  transform="translate(193 104)" fill="#003197" />
                        </svg>
                    </div>
                    <div class="sort_icon">
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" id="card" class="icon active">
                            <path id="Иконка_Стиль_1_" data-name="Иконка (Стиль 1)"
                                  d="M-169-64a2,2,0,0,1-2-2V-80a2,2,0,0,1,2-2h14a2,2,0,0,1,2,2v14a2,2,0,0,1-2,2Zm-22,0a2,2,0,0,1-2-2V-80a2,2,0,0,1,2-2h14a2,2,0,0,1,2,2v14a2,2,0,0,1-2,2Zm22-22a2,2,0,0,1-2-2v-14a2,2,0,0,1,2-2h14a2,2,0,0,1,2,2v14a2,2,0,0,1-2,2Zm-22,0a2,2,0,0,1-2-2v-14a2,2,0,0,1,2-2h14a2,2,0,0,1,2,2v14a2,2,0,0,1-2,2Z"
                                  transform="translate(193 104)" fill="#003197" />
                        </svg>
                    </div>
                </div>
            </div>
            <div class="inline_head">
                <div class="inline_item">
                    {{ 'page.prod_id'|_ }} №:
                </div>
                <div class="inline_item">
                    {{ 'page.prod_img'|_ }}
                </div>
                <div class="inline_item">
                    {{ 'page.prod_title'|_ }}
                </div>
                <div class="inline_item">
                    {{ 'page.prod_amount'|_ }}
                </div>
                <div class="inline_item">
                    {{ 'page.prod_price'|_ }}
                </div>
                <div class="inline_item">
                    {{ 'page.prod_finishdate'|_ }}
                </div>
            </div>
            {% component 'offers' %}
        </div>
    </div>
</section>
<!--Product  end ========================================================= -->

{% component 'sliders3' %}

{% put scripts %}
<script src="{{['assets/js/slick.js','assets/js/slider.js']|theme}}"></script>
{% endput %}