templates/website/pages/home.html.twig line 1

Open in your IDE?
  1. {% extends 'website/base.html.twig' %}
  2. {% block title %}Home{% endblock %}
  3. {% block css %}
  4.     <style>
  5.         @property --p {
  6.             syntax: '<number>';
  7.             inherits: true;
  8.             initial-value: 1;
  9.         }
  10.         .pie {
  11.             --p: 20; /* the percentage */
  12.             --b: 22px; /* the thickness */
  13.             --c: conic-gradient(#933eff, #3e74ff); /* the color */
  14.             --w: 150px; /* the size*/
  15.             width: var(--w);
  16.             aspect-ratio: 1;
  17.             position: relative;
  18.             display: inline-grid;
  19.             margin: 5px;
  20.             place-content: center;
  21.             font-size: 25px;
  22.             font-weight: bold;
  23.             font-family: sans-serif;
  24.         }
  25.         .pie:before {
  26.             content: "";
  27.             position: absolute;
  28.             inset: 0;
  29.             background: red;
  30.             padding: var(--b);
  31.             box-sizing: border-box;
  32.             background: var(--c);
  33.             mask: linear-gradient(#0000 0 0) content-box intersect,
  34.             conic-gradient(#000 calc(var(--p) * 1%), #0000 0);
  35.         }
  36.         .pie:before,
  37.         .pie:after {
  38.             content: "";
  39.             position: absolute;
  40.             border-radius: 50% !important;
  41.         }
  42.         .animate1 {
  43.             animation: p 1.5s .3s both;
  44.             animation-iteration-count: 1;
  45.         }
  46.         .animate2 {
  47.             animation: p 1.5s .6s both;
  48.             animation-iteration-count: 1;
  49.         }
  50.         .animate3 {
  51.             animation: p 1.5s .9s both;
  52.             animation-iteration-count: 1;
  53.         }
  54.         .animate4 {
  55.             animation: p 1.5s 1.2s both;
  56.             animation-iteration-count: 1;
  57.         }
  58.         .animate5 {
  59.             animation: p 1.5s 1.5s both;
  60.             animation-iteration-count: 1;
  61.         }
  62.         .animate6 {
  63.             animation: p 1.5s 1.8s both;
  64.             animation-iteration-count: 1;
  65.         }
  66.         .no-round:before {
  67.             background-size: 0 0, auto;
  68.         }
  69.         .no-round:after {
  70.             content: none;
  71.         }
  72.         @keyframes p {
  73.             from {
  74.                 --p: 0;
  75.             }
  76.         }
  77.     </style>
  78. {% endblock %}
  79. {% block body %}
  80.     <!--==========
  81.         Start of banner section ==========-->
  82.     <section class="position-relative banner-creative bg-fit" data-jarallax='{"speed": 10}'
  83.              style="background-color: #121214;">
  84.         <div class="position-absolute" style="right: 0;
  85.                                               z-index: 0;
  86.                                               bottom: 0;
  87.                                               min-width: 100%;
  88.                                               min-height: 100%;">
  89.             <video autoplay muted loop playsinline>
  90.                 <source src="{{ asset('assets/images/background/hero-section.webm') }}" type="video/webm">
  91.                 Your browser does not support the video tag.
  92.             </video>
  93.         </div>
  94.         <div class="container overflow-hidden ">
  95.             <div class="swiper-container-animation swiper-button-pink-gradient">
  96.                 <div class="swiper-wrapper">
  97.                     <div class="swiper-slide" data-hash="slide1">
  98.                         <!--===== Start of row =====-->
  99.                         <div class="row">
  100.                             <div class="col-lg-12 text-center">
  101.                                 {# <span class="lead d-block fw-bold text-pink-gradient" #}
  102.                                 {# data-swiper-animation="fadeInUp" data-delay="1s" #}
  103.                                 {# data-duration="1s">Get To Know Me</span> #}
  104.                                 <h2 class="text-white display-2 mt-4"
  105.                                     data-swiper-animation="fadeInUp" data-delay="1s" data-duration="1s">Lets Bring Ideas
  106.                                     Into
  107.                                     Life.</h2>
  108.                                 <div class="text-center"
  109.                                      data-swiper-animation="fadeInUp" data-delay="1s" data-duration="1s">
  110.                                     <a class="btn btn-light mt-5 me-4 btn-rounded" href="#portfo_showreel"> Discover
  111.                                         more </a>
  112.                                 </div>
  113.                             </div>
  114.                         </div>
  115.                     </div>
  116.                 </div>
  117.             </div>
  118.         </div>
  119.     </section>
  120.     <section class="slice-ptb bg-black" id="portfo_showreel">
  121.         <div class="container">
  122.             <!--===== Start of row =====-->
  123.             <div class="row">
  124.                 <div class="col-lg-12">
  125.                     <h3 class="text-pink-gradient">Portfolio Showreel</h3>
  126.                 </div>
  127.             </div>
  128.             <!--===== End of row =====-->
  129.             <div class="row">
  130.                 <div class="col-lg-6 col-12 mb-lg-0 mb-4">
  131.                     <p class="text-white mt-3" style="text-align: justify">My portfolio showreel is a curated collection
  132.                         of my most engaging motion graphics, animations, and design projects. Each piece highlights my
  133.                         passion for storytelling through dynamic visuals, blending creativity and technical skill to
  134.                         bring ideas to life. This showcase reflects my dedication to crafting impactful and visually
  135.                         compelling work.</p>
  136.                 </div>
  137.                 <div class="col-lg-6 col-12 mb-lg-0 mb-4">
  138.                     <video class="rounded" controls width="100%" height="100%"
  139.                            poster="{{ asset('assets/images/background/showreel-cover.webp') }}">
  140.                         <source src="{{ asset('assets/images/background/showreel.webm') }}" type="video/webm">
  141.                     </video>
  142.                 </div>
  143.             </div>
  144.         </div>
  145.     </section>
  146.     <section class="slice-pt overflow-hidden">
  147.         <div class="container">
  148.             <div class="row justify-content-center">
  149.                 <div class="col-lg-6">
  150.                     <div class="text-center mb-5">
  151.                         <span class="text-pink-gradient">Featured Works</span>
  152.                         <h2>Have a project in mind? Let’s build it.</h2>
  153.                     </div>
  154.                 </div>
  155.             </div>
  156.             <div class="row">
  157.                 <div class="col-12">
  158.                     <div class="outside-box-right">
  159.                         <div class="swiper-container swiper-container-auto" data-slidesPerView="3"
  160.                              data-laptop-slidesPerView="2" data-tablet-slidesPerView="2" data-mobile-slidesPerView="1"
  161.                              data-spaceBetween="20" data-loop="true" data-autoplay="true" data-auto-speed="2500"
  162.                              data-disable-on-touch="false" data-dots="true" data-auto-height="false"
  163.                              data-pagination="true" data-navigation="true">
  164.                             <div class="swiper-wrapper">
  165.                                 {% set i = 1 %}
  166.                                 {% for portfolio in portfolios %}
  167.                                     <div class="swiper-slide">
  168.                                         <!--===== Start of portfolio =====-->
  169.                                         <div class="portfolio-item-stack portfolio-item-stack-light">
  170.                                             <div class="portfolio-image">
  171.                                                 <img class="img-fluid rounded"
  172.                                                      src="{{ asset(portfolio.image) }}" alt="{{ portfolio.image_alt }}">
  173.                                             </div>
  174.                                             <div class="portfolio-caption portfolio-caption-bottom">
  175.                                                 <h3>
  176.                                                     <a class="portfolio-title"
  177.                                                        href="{{ path('website.portfolio_detail',{'slug':portfolio.slug}) }}">
  178.                                                         {{ portfolio.name }}
  179.                                                     </a>
  180.                                                 </h3>
  181.                                                 <ul class="portfolio-category list-unstyled">
  182.                                                     <li>
  183.                                                         <a href="{{ path('website.portfolio') }}">{{ portfolio.category }}</a>
  184.                                                     </li>
  185.                                                 </ul>
  186.                                             </div>
  187.                                         </div>
  188.                                         <!--===== End of portfolio =====-->
  189.                                     </div>
  190.                                     {% set i = i + 1 %}
  191.                                 {% endfor %}
  192.                             </div>
  193.                         </div>
  194.                     </div>
  195.                 </div>
  196.             </div>
  197.         </div>
  198.     </section>
  199.     <section class="slice-ptb">
  200.         <div class="container">
  201.             <div class="row justify-content-center">
  202.                 <div class="col-md-6 col-12 mt-3">
  203.                     <div class="flip-box" data-min-height="400" data-flip-direction="horizontal-to-left"
  204.                          data-v_text_align="center">
  205.                         <div class="flip-box-front overlay-black-50">
  206.                             <div class="inner px-5">
  207.                                 <i class="feather icon-monitor fa-4x text-pink-gradient"></i>
  208.                                 <h4 class="text-white">Motion Design</h4>
  209.                             </div>
  210.                         </div>
  211.                         <div class="flip-box-back text-center bg-pink-gradient">
  212.                             <div class="inner p-5">
  213.                                 <p class="text-white">A collection of animations that combine creativity and
  214.                                     storytelling to bring ideas to life. From seamless transitions to eye-catching
  215.                                     visuals, these works showcase the power of motion in delivering impactful
  216.                                     narratives.</p>
  217.                                 <a href="{{ path('website.portfolio') }}" class="btn btn-light mt-5 me-4 btn-rounded">
  218.                                     View Portfolio
  219.                                 </a>
  220.                             </div>
  221.                         </div>
  222.                     </div>
  223.                 </div>
  224.                 <div class="col-md-6 col-12 mt-3">
  225.                     <div class="flip-box" data-min-height="400" data-flip-direction="horizontal-to-left"
  226.                          data-v_text_align="center">
  227.                         <div class="flip-box-front overlay-black-50">
  228.                             <div class="inner px-5">
  229.                                 <i class="feather icon-video fa-4x text-pink-gradient"></i>
  230.                                 <h4 class="text-white">Video Editing</h4>
  231.                             </div>
  232.                         </div>
  233.                         <div class="flip-box-back text-center bg-pink-gradient">
  234.                             <div class="inner p-5">
  235.                                 <p class="text-white">Showcasing the art of assembling visuals into cohesive stories.
  236.                                     This work demonstrates a focus on timing, aesthetics, and storytelling to create
  237.                                     memorable and engaging video content.</p>
  238.                                 <a href="{{ path('website.portfolio') }}" class="btn btn-light mt-5 me-4 btn-rounded">
  239.                                     View Portfolio
  240.                                 </a>
  241.                             </div>
  242.                         </div>
  243.                     </div>
  244.                 </div>
  245.                 <div class="col-md-6 col-12 mt-3">
  246.                     <div class="flip-box" data-min-height="400" data-flip-direction="horizontal-to-left"
  247.                          data-v_text_align="center">
  248.                         <div class="flip-box-front overlay-black-50">
  249.                             <div class="inner px-5">
  250.                                 <i class="feather icon-target fa-4x text-pink-gradient"></i>
  251.                                 <h4 class="text-white">Promotional Videos</h4>
  252.                             </div>
  253.                         </div>
  254.                         <div class="flip-box-back text-center bg-pink-gradient">
  255.                             <div class="inner p-5">
  256.                                 <p class="text-white">Promotional content crafted to highlight products and brands with
  257.                                     creativity and precision. These videos are designed to captivate audiences, blending
  258.                                     visuals and messaging for maximum impact.</p>
  259.                                 <a href="{{ path('website.portfolio') }}" class="btn btn-light mt-5 me-4 btn-rounded">
  260.                                     View Portfolio
  261.                                 </a>
  262.                             </div>
  263.                         </div>
  264.                     </div>
  265.                 </div>
  266.                 <div class="col-md-6 col-12 mt-3">
  267.                     <div class="flip-box" data-min-height="400" data-flip-direction="horizontal-to-left"
  268.                          data-v_text_align="center">
  269.                         <div class="flip-box-front overlay-black-50">
  270.                             <div class="inner px-5">
  271.                                 <i class="feather icon-smartphone fa-4x text-pink-gradient"></i>
  272.                                 <h4 class="text-white">UI Design</h4>
  273.                             </div>
  274.                         </div>
  275.                         <div class="flip-box-back text-center bg-pink-gradient">
  276.                             <div class="inner p-5">
  277.                                 <p class="text-white">User interfaces designed to balance aesthetics and functionality.
  278.                                     These projects emphasize intuitive navigation and visually compelling elements to
  279.                                     create engaging digital experiences.</p>
  280.                                 <a href="{{ path('website.portfolio') }}" class="btn btn-light mt-5 me-4 btn-rounded">
  281.                                     View Portfolio
  282.                                 </a>
  283.                             </div>
  284.                         </div>
  285.                     </div>
  286.                 </div>
  287.             </div>
  288.         </div>
  289.     </section>
  290.     <section id="about" class="slice-ptb overflow-hidden">
  291.         <div class="container">
  292.             <!--===== Start of row =====-->
  293.             <div class="row">
  294.                 <div class="col-lg-6 mb-lg-0 mb-5">
  295.                     <h2 class=" mt-3 mb-3">About Me</h2>
  296.                     <p style="text-align: justify">
  297.                         I’m a designer with a passion for motion graphics and digital storytelling. My journey started
  298.                         with a bachelor’s in Industrial Design, where I focused on graphic design, interior design and
  299.                         retail design, and it led me to a master’s in Digital Design, specializing in motion graphics
  300.                         and animation. I love bringing ideas to life through dynamic visuals and animation. Whether it’s
  301.                         creating engaging video content or crafting eye-catching graphics, I’m all about making designs
  302.                         that tell a story.
  303.                     </p>
  304.                 </div>
  305.                 <div class="col-lg-6 text-right">
  306.                     <div class="team-item text-center">
  307.                         <div class="team-image">
  308.                             <img width="300px" height="auto" class="rounded"
  309.                                  src="{{ asset('assets/images/background/shima-amini.jpg') }}" alt="">
  310.                             <ul class="list-unstyled team-social d-flex justify-content-center">
  311.                                 <li><a href="mail:shima.aminii1998@gmail.com"> <i class="fa fa-mail-bulk"></i> </a></li>
  312.                                 <li><a target="_blank" href="http://www.linkedin.com/in/shima-amini-harandi-36a77b216">
  313.                                         <i
  314.                                                 class="fab fa-linkedin-in"></i> </a></li>
  315.                             </ul>
  316.                         </div>
  317.                         <div class="team-caption mt-3">
  318.                             <h5 class="mb-1">Shima Amini</h5>
  319.                             <span>Motion Designer</span>
  320.                         </div>
  321.                     </div>
  322.                 </div>
  323.             </div>
  324.             <div class="row text-center mt-5">
  325.                 <h2 class="mt-3 mb-3" style="text-align: left">Skills</h2>
  326.                 <div class="col-lg-2 col-6 mt-4">
  327.                     <div class="pie animate1" style="--p:80;">Ae</div>
  328.                 </div>
  329.                 <div class="col-lg-2 col-6 mt-4">
  330.                     <div class="pie animate2" style="--p:60;">Pr</div>
  331.                 </div>
  332.                 <div class="col-lg-2 col-6 mt-4">
  333.                     <div class="pie animate3" style="--p:75;">Ps</div>
  334.                 </div>
  335.                 <div class="col-lg-2 col-6 mt-4">
  336.                     <div class="pie animate4" style="--p:75;">Ai</div>
  337.                 </div>
  338.                 <div class="col-lg-2 col-6 mt-4">
  339.                     <div class="pie animate5" style="--p:80;">Xd</div>
  340.                 </div>
  341.                 <div class="col-lg-2 col-6 mt-4">
  342.                     <div class="pie animate6" style="--p:75;">Id</div>
  343.                 </div>
  344.             </div>
  345.         </div>
  346.     </section>
  347.     <section class="slice-pt bg-black">
  348.         <div class="container">
  349.             <!--===== Start of row =====-->
  350.             <div class="row">
  351.                 <div class="col-lg-12">
  352.                     <span class="text-pink-gradient">My Workflow</span>
  353.                     <h2 class="text-white mt-3" style="text-align: justify">Every project starts with a clear and
  354.                         structured process to ensure quality and creativity. From understanding the concept to
  355.                         delivering the final piece, my workflow is designed to bring ideas to life with precision and
  356.                         originality. Each step is carefully considered to produce a polished result that aligns with the
  357.                         project goals.</h2>
  358.                 </div>
  359.             </div>
  360.             <!--===== End of row =====-->
  361.             <div class="row py-5 py-lg-8">
  362.                 <div class="col-lg-3 col-sm-6 mb-lg-0 mb-4">
  363.                     <span class="display-3">01</span>
  364.                     <h4 class="text-white mt-4">Research </h4>
  365.                     <p class="text-white my-3" style="text-align: justify-all">
  366.                         The research phase involves gathering insights, understanding the project’s goals, and exploring
  367.                         relevant trends and references to inform the design direction.
  368.                     </p>
  369.                 </div>
  370.                 <div class="col-lg-3 col-sm-6 mb-lg-0 mb-4">
  371.                     <span class="display-3">02</span>
  372.                     <h4 class="text-white mt-4">Develop</h4>
  373.                     <p class="text-white my-3" style="text-align: justify-all">During development, ideas are transformed
  374.                         into concepts, refining visuals
  375.                         and exploring various design possibilities to create a functional and creative solution.</p>
  376.                 </div>
  377.                 <div class="col-lg-3 col-sm-6 mb-sm-0 mb-4">
  378.                     <span class="display-3">03</span>
  379.                     <h4 class="text-white mt-4">Correction </h4>
  380.                     <p class="text-white my-3" style="text-align: justify-all">In the correction phase, feedback is applied
  381.                         to refine the design, making
  382.                         necessary adjustments to ensure it meets the project’s objectives and quality standards.</p>
  383.                 </div>
  384.                 <div class="col-lg-3 col-sm-6">
  385.                     <span class="display-3">04</span>
  386.                     <h4 class="text-white mt-4" style="text-align: justify">Finalize</h4>
  387.                     <p class="text-white my-3" style="text-align: justify-all">The final stage focuses on bringing everything together, preparing the
  388.                         design for presentation or delivery, ensuring a professional and cohesive result.</p>
  389.                 </div>
  390.             </div>
  391.         </div>
  392.     </section>
  393. {% endblock %}
  394. {% block js %}
  395.     <script>
  396.         $(document).ready(function() {
  397.             observerAnimation('animate1')
  398.             observerAnimation('animate2')
  399.             observerAnimation('animate3')
  400.             observerAnimation('animate4')
  401.             observerAnimation('animate5')
  402.             observerAnimation('animate6')
  403.         });
  404.         function observerAnimation(name)
  405.         {
  406.             const element = document.querySelector('.'+name);
  407.             const observer = new IntersectionObserver(entries => {
  408.                 element.classList.toggle(name, entries[0].isIntersecting);
  409.             });
  410.             observer.observe(element);
  411.         }
  412.     </script>
  413. {% endblock %}