templates/frontend/home/index.html.twig line 1
{% extends 'base.html.twig' %}
{% block title %}Нүүр хуудас{% endblock %}
{% block body %}
<div class="lg:w-[1280px] lg:mx-auto !mt-0">
{{ include('frontend/banner/_banner.html.twig') }}
</div>
<div class="space-y-8 mx-4 lg:w-[1280px] lg:mx-auto">
{{ include('frontend/home/_special.html.twig') }}
{% include 'frontend/board/_board.html.twig' with {'boards' : boards, title: 'board.title' | trans} %}
{% include 'frontend/board/_board.html.twig' with {'boards' : boards2, title: 'board.title2' | trans} %}
{% include 'frontend/member/_member.html.twig' with {'members': members, title: 'member.title' | trans} %}
</div>
{{ include('frontend/home/_join.html.twig') }}
<div class="space-y-8 mx-4 lg:w-[1280px] lg:mx-auto">
{% set news = [{title:'Галын дохиоллын системийг нийлүүлэгч байгууллагууд', body:'There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don\'t look even slightly believable.', image: '/images/news1.jpg', date: '2023-04-05'},{title:'Суурилуулалт хийхэд гаргадаг түгээмэл алдаа ', body:'It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.', image: '/images/news2.jpg', date: '2023-04-15'}] %}
{% set tech = [{title:'Android болон IOS системтэй гар утсыг камертай холбох', body:'Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old.', image: '/images/news3.png', date: '2023-04-03'},{title:'Байгуулага хувь хүний хэрэгцээнд тохирсон авсаархан хяналтын камерууд', body:'There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don\'t look even slightly believable.', image: '/images/news4.jpg', date: '2023-03-28'}] %}
{% if app.request.locale == 'mn' %}
<div class="grid grid-cols-2 gap-8">
{% include 'frontend/content/_list.html.twig' with {title:'menu.news'|trans, list: newsList} %}
{% include 'frontend/content/_list.html.twig' with {title:'menu.technology'|trans, list: techList} %}
</div>
{% endif %}
</div>
{% endblock %}