templates/client/default/home.html.twig line 1

Open in your IDE?
  1. {% extends '/client/common/base.html.twig' %}
  2. {% block title %}Home{% endblock %}
  3. {% block body %}
  4. <section class="uk-cover-container" tm-header-transparent="dark" uk-height-viewport="offset-top: true; offset-bottom: 25">
  5.     <video src="{{ asset('/assets/video/intro.mp4') }}" loop muted playsinline uk-video="autoplay: inview" uk-cover></video>
  6. </div>
  7. <section class="uk-section-muted uk-section uk-section-medium" uk-scrollspy="target: [uk-scrollspy-class]; cls: uk-animation-slide-bottom-medium; delay: 100;">
  8.     <div class="uk-container uk-container-small">
  9.         <h1 class="uk-h1 uk-text-center">
  10.             <b class="uk-text-emphasis">YOUR</b> determination and <b class="uk-text-emphasis">OUR</b> courses <br>will make you the <b class="uk-text-emphasis">ONLY</b> choice for your
  11.         </h1>
  12.     </div>
  13. </section>
  14. <section class="uk-section-default uk-section uk-section-large" uk-scrollspy="target: [uk-scrollspy-class]; cls: uk-animation-fade; delay: 100;">
  15.     <div class="uk-container">
  16.         <div class="tm-grid-expand uk-child-width-1-1 uk-grid-margin" uk-grid uk-height-match="target: .uk-card">
  17.             <div>
  18.                 <h2 class="uk-h1 uk-position-relative uk-text-center" style="z-index: 1;">
  19.                     This Is How Learning With Us Looks Like
  20.                 </h2>
  21.                 <div class="uk-position-relative uk-margin-large uk-text-center" style="z-index: 1;">
  22.                     <div class="uk-child-width-1-1 uk-child-width-1-2@s uk-child-width-1-4@m uk-grid-match" uk-grid="parallax: 100;">
  23.                         <div>
  24.                             <a class="uk-card uk-card-default uk-card-hover uk-card-body uk-margin-remove-first-child uk-link-toggle uk-display-block" href="#" uk-scrollspy-class="uk-animation-fade">
  25.                                 <img width="68" class="uk-text-emphasis" alt uk-svg src="/assets/icons/glasses.svg">
  26.                                 <h3 class="uk-h4 uk-margin-top uk-margin-remove-bottom uk-text-bold uk-text-primary">Take Your Time</h3>
  27.                                 <div class="uk-margin-top uk-text-small">Enjoy learning on your own pace, in your own space.</div>
  28.                             </a>
  29.                         </div>
  30.                         <div>
  31.                             <a class="uk-card uk-card-default uk-card-hover uk-card-body uk-margin-remove-first-child uk-link-toggle uk-display-block" href="#" uk-scrollspy-class="uk-animation-fade">
  32.                                 <img width="68" class="uk-text-emphasis" alt uk-svg src="/assets/icons/stamp.svg">
  33.                                 <h3 class="uk-h4 uk-margin-top uk-margin-remove-bottom uk-text-bold uk-text-primary">Expert Guidance</h3>
  34.                                 <div class="uk-margin-top uk-text-small">Learn from our certified trainers who offer multiple learning tools and techniques.</div>
  35.                             </a>
  36.                         </div>
  37.                         <div>
  38.                             <a class="uk-card uk-card-default uk-card-hover uk-card-body uk-margin-remove-first-child uk-link-toggle uk-display-block" href="#" uk-scrollspy-class="uk-animation-fade">
  39.                                 <img width="68" class="uk-text-emphasis" alt uk-svg src="/assets/icons/medal-award.svg">
  40.                                 <h3 class="uk-h4 uk-margin-top uk-margin-remove-bottom uk-text-bold uk-text-primary">Certification</h3>
  41.                                 <div class="uk-margin-top uk-text-small">At the end of each course you will receive a certificate of completion, signed by the instructor.</div>
  42.                             </a>
  43.                         </div>
  44.                         <div>
  45.                             <a class="uk-card uk-card-default uk-card-hover uk-card-body uk-margin-remove-first-child uk-link-toggle uk-display-block" href="#" uk-scrollspy-class="uk-animation-fade">
  46.                                 <img width="68" class="uk-text-emphasis" alt uk-svg src="/assets/icons/star.svg">
  47.                                 <h3 class="uk-h4 uk-margin-top uk-margin-remove-bottom uk-text-bold uk-text-primary">Top Material</h3>
  48.                                 <div class="uk-margin-top uk-text-small">Using the newest material for a holistic approach in our always up-to-date courses.</div>
  49.                             </a>
  50.                         </div>
  51.                         <div>
  52.                             <a class="uk-card uk-card-default uk-card-hover uk-card-body uk-margin-remove-first-child uk-link-toggle uk-display-block" href="#" uk-scrollspy-class="uk-animation-fade">
  53.                                 <img width="68" class="uk-text-emphasis" alt uk-svg src="/assets/icons/support.svg">
  54.                                 <h3 class="uk-h4 uk-margin-top uk-margin-remove-bottom uk-text-bold uk-text-primary">Support</h3>
  55.                                 <div class="uk-margin-top uk-text-small">For a great learning experience, asking questions and requesting feedback is encouraged.</div>
  56.                             </a>
  57.                         </div>
  58.                         <div>
  59.                             <a class="uk-card uk-card-default uk-card-hover uk-card-body uk-margin-remove-first-child uk-link-toggle uk-display-block" href="#" uk-scrollspy-class="uk-animation-fade">
  60.                                 <img width="68" class="uk-text-emphasis" alt uk-svg src="/assets/icons/diamond.svg">
  61.                                 <h3 class="uk-h4 uk-margin-top uk-margin-remove-bottom uk-text-bold uk-text-primary">Quality Learning</h3>
  62.                                 <div class="uk-margin-top uk-text-small">Content and audiovisual material of the highest quality.</div>
  63.                             </a>
  64.                         </div>
  65.                         <div>
  66.                             <a class="uk-card uk-card-default uk-card-hover uk-card-body uk-margin-remove-first-child uk-link-toggle uk-display-block" href="#" uk-scrollspy-class="uk-animation-fade">
  67.                                 <img width="68" class="uk-text-emphasis" alt uk-svg src="/assets/icons/light-bulb.svg">
  68.                                 <h3 class="uk-h4 uk-margin-top uk-margin-remove-bottom uk-text-bold uk-text-primary">Industry Professionals</h3>
  69.                                 <div class="uk-margin-top uk-text-small">All of our instructors are charismatic professionals in their field.</div>
  70.                             </a>
  71.                         </div>
  72.                         <div>
  73.                             <a class="uk-card uk-card-default uk-card-hover uk-card-body uk-margin-remove-first-child uk-link-toggle uk-display-block" href="#" uk-scrollspy-class="uk-animation-fade">
  74.                                 <img width="68" class="uk-text-emphasis" alt uk-svg src="/assets/icons/worldwide.svg">
  75.                                 <h3 class="uk-h4 uk-margin-top uk-margin-remove-bottom uk-text-bold uk-text-primary">Recognition</h3>
  76.                                 <div class="uk-margin-top uk-text-small">You can use your globally recognized certificates to get your dream job.</div>
  77.                             </a>
  78.                         </div>
  79.                     </div>
  80.                 </div>
  81.             </div>
  82.         </div>
  83.     </div>
  84. </section>
  85. <section id="career-paths" class="uk-section-default uk-section uk-section-large uk-background-primary uk-light">
  86.     <div class="uk-margin-large uk-container">
  87.         <div class="uk-grid" uk-grid="">
  88.             <div class="uk-width-3-4@m">
  89.                 <h2 class="uk-text-left@m uk-text-center">Reach Your Goals With our Career Paths <br class="uk-visible@s">Trusted by Many Training Experts</h2>
  90.             </div>
  91.             <div class="uk-grid-item-match uk-flex-middle uk-width-1-4@m">
  92.                 <div class="uk-panel uk-width-1-1">
  93.                     <div class="uk-margin uk-text-right@m uk-text-center">
  94.                         <a class="uk-button uk-button-primary" href="{{ path('client_career_path_list') }}">View All</a>
  95.                     </div>
  96.                 </div>
  97.             </div>
  98.         </div>
  99.     </div>
  100.     <div class="tm-grid-expand uk-child-width-1-1 uk-grid-margin uk-grid uk-grid-stack" uk-grid="">
  101.         <div class="uk-first-column">
  102.             <div uk-slider class="uk-margin-large uk-margin-remove-bottom uk-text-center uk-slider uk-slider-container">
  103.                 <div class="uk-position-relative">
  104.                     <ul class="uk-slider-items uk-grid uk-grid-small uk-grid-match">
  105.                         {% for cpath in latestCareerPaths %}
  106.                         <li class="uk-active" tabindex="-1">
  107.                             <div class="uk-grid-item-match uk-light">
  108.                                 <a class="uk-cover-container uk-transition-toggle uk-display-block uk-link-toggle" href="{{ path('client_career_path_view', {'slug': cpath.slug}) }}">
  109.                                     <picture>
  110.                                         <source srcset="{{ vich_uploader_asset(cpath.imageIntro, 'imageFile') | imagine_filter('careerpath_list_webp') }}" type="image/webp">
  111.                                         <source srcset="{{ vich_uploader_asset(cpath.imageIntro, 'imageFile') | imagine_filter('careerpath_list') }}" type="image/jpeg">
  112.                                         <img src="{{ vich_uploader_asset(cpath.imageIntro, 'imageFile') | imagine_filter('careerpath_list') }}" alt="{{ cpath.title }}">
  113.                                     </picture>
  114.                                     <div class="uk-position-bottom-center">
  115.                                         <div class="uk-panel uk-padding-large uk-margin-remove-first-child">
  116.                                             <div class="uk-h1">{{ cpath.title }}</div>
  117.                                             <div class="uk-margin-xlarge-top uk-transition-fade">
  118.                                                 <div class="uk-button uk-button-default">View Path</div>
  119.                                             </div>
  120.                                         </div>
  121.                                     </div>
  122.                                 </a>
  123.                             </div>
  124.                         </li>
  125.                         {% endfor %}
  126.                     </ul>
  127.                     <div class="uk-visible@s">
  128.                         <a class="el-slidenav uk-position-medium uk-position-center-left uk-icon uk-slidenav-previous uk-slidenav" href="#" uk-slidenav-previous="" uk-slider-item="previous"><svg width="14" height="24" viewBox="0 0 14 24" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.4" points="12.775,1 1.225,12 12.775,23 "></polyline></svg></a>
  129.                         <a class="el-slidenav uk-position-medium uk-position-center-right uk-icon uk-slidenav-next uk-slidenav" href="#" uk-slidenav-next="" uk-slider-item="next"><svg width="14" height="24" viewBox="0 0 14 24" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.4" points="1.225,23 12.775,12 1.225,1 "></polyline></svg></a>
  130.                     </div>
  131.                 </div>
  132.             </div>
  133.         </div>
  134.     </div>
  135. </section>
  136. <section id="latest-courses" class="uk-section-default uk-section uk-section-large" uk-scrollspy="target: [uk-scrollspy-class]; cls: uk-animation-fade; delay: 100;">
  137.     <div class="uk-container uk-container-large">
  138.         <div>
  139.             <h2 class="uk-h1 uk-text-center">Train Yourself With<br class="uk-visible@s"> Our Latest Courses</h2>
  140.         </div>
  141.         <div class="uk-child-width-1-1 uk-grid-margin uk-grid-stack" uk-grid="" uk-height-match="target: .uk-card">
  142.             <div>
  143.                 <div class="uk-position-relative uk-margin">
  144.                     <div class="uk-child-width-1-1 uk-child-width-1-3@m uk-grid-match" uk-grid="">
  145.                         {% for course in latestCourses %}
  146.                         <div>
  147.                             <div class="uk-margin-auto uk-width-large uk-card uk-card-default uk-card-large uk-margin-remove-first-child uk-scrollspy-inview " uk-scrollspy-class="" style="">
  148.                                 <div class="uk-card-media-top">
  149.                                     <picture>
  150.                                         <source srcset="{{ vich_uploader_asset(course.imageIntro, 'imageFile') | imagine_filter('blog_large_webp') }}" type="image/webp">
  151.                                         <source srcset="{{ vich_uploader_asset(course.imageIntro, 'imageFile') | imagine_filter('blog_large') }}" type="image/jpeg">
  152.                                         <img src="{{ vich_uploader_asset(course.imageIntro, 'imageFile') | imagine_filter('blog_large') }}" alt="{{ course.title }}">
  153.                                     </picture>
  154.                                 </div>
  155.                                 <div class="uk-card-body uk-margin-remove-first-child">
  156.                                     <h3 class="uk-h2 uk-margin-top uk-margin-remove-bottom">
  157.                                         {{ course.title }}
  158.                                     </h3>
  159.                                     <div class="uk-panel uk-margin-top">{{ course.intro|striptags|u.truncate(100) }}</div>
  160.                                     <div class="uk-margin-medium-top">
  161.                                         <a href="{{ path('client_course_view', {'slug': course.slug}) }}" class="uk-button uk-button-default uk-button-large">View Course</a>
  162.                                     </div>
  163.                                 </div>
  164.                             </div>
  165.                         </div>
  166.                         {% endfor %}
  167.                     </div>
  168.                 </div>
  169.             </div>
  170.         </div>
  171.     </div>
  172. </section>
  173. <section id="latest-news" class="uk-section-muted uk-section uk-section-large" uk-scrollspy="target: [uk-scrollspy-class]; cls: uk-animation-fade; delay: false;">
  174.     <div class="uk-container">
  175.         <div class="tm-grid-expand uk-child-width-1-1 uk-grid-margin" uk-grid>
  176.             <div>
  177.                 <h2 class="uk-h1 uk-text-center">Latest News</h2>
  178.                 <div class="uk-panel uk-text-lead uk-margin uk-width-xlarge uk-margin-auto uk-text-center">
  179.                     Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut.
  180.                 </div>
  181.                 <div class="uk-margin uk-text-center">
  182.                     <a class="uk-button uk-button-text" href="{{ path('client_blog_article_list') }}">Visit Our Blog</a>
  183.                 </div>
  184.                 <div class="uk-position-relative uk-margin-large uk-margin-remove-bottom uk-text-center" style="z-index: 1;">
  185.                     <div class="uk-child-width-1-1 uk-child-width-1-2@s uk-child-width-1-3@m uk-grid-match" uk-grid>
  186.                         {% for article in latestArticles %}
  187.                         <div>
  188.                             <div class="uk-card uk-card-default uk-card-hover uk-margin-remove-first-child uk-link-toggle uk-display-block" uk-scrollspy-class>
  189.                                 <div class="uk-card-media-top">
  190.                                     <a href="{{ path('client_blog_article_view', {'slug': article.slug}) }}">
  191.                                         <picture>
  192.                                             <source srcset="{{ vich_uploader_asset(article.imageIntro, 'imageFile') | imagine_filter('blog_list_webp') }}" type="image/webp">
  193.                                             <source srcset="{{ vich_uploader_asset(article.imageIntro, 'imageFile') | imagine_filter('blog_list') }}" type="image/jpeg">
  194.                                             <img src="{{ vich_uploader_asset(article.imageFull, 'imageFile') | imagine_filter('blog_list') }}" alt="{{ article.title }}">
  195.                                         </picture>
  196.                                     </a>
  197.                                 </div>
  198.                                 <div class="uk-card-body uk-margin-remove-first-child">
  199.                                     <div class="uk-text-muted">
  200.                                         {% for category in article.blogCategories %}
  201.                                             <a class="uk-link uk-link-reset" href="{{ path('client_blog_category_article_list', {'slug': category.slug }) }}">{{ category.title }}</a>{% if not (loop.last) %}, {% endif %}
  202.                                         {% endfor %}
  203.                                     </div>
  204.                                     <div class="uk-text-meta">{{ article.createdAt|date("d/m/Y") }}</div>
  205.                                     <h3 class="uk-h4 uk-margin-top uk-margin-remove-bottom">
  206.                                         <a class="uk-link-reset" href="{{ path('client_blog_article_view', {'slug': article.slug}) }}"><span class="uk-text-emphasis">{{ article.title }}</span></a>
  207.                                     </h3>
  208.                                     <div class="uk-margin-top">
  209.                                         <div class="uk-margin">
  210.                                             {{ article.introText|raw|striptags|slice(0, 180) }}
  211.                                         </div>
  212.                                         <a class="uk-button uk-button-primary" href="{{ path('client_blog_article_view', {'slug': article.slug}) }}">{{ 'Read more...'|trans }}</a>
  213.                                     </div>
  214.                                 </div>
  215.                             </div>
  216.                         </div>
  217.                         {% endfor %}
  218.                     </div>
  219.                 </div>
  220.             </div>
  221.         </div>
  222.     </div>
  223. </section>
  224. {% endblock %}