/templates/homepage/homepage.html.twig

https://bitbucket.org/vnada/izvor · Twig Template · 130 lines · 128 code · 2 blank · 0 comment · 0 complexity · c232139fd042627191eda0eb11c2276e MD5 · raw file

  1. {% extends 'base.html.twig' %}
  2. {% block stylesheets %}
  3. <link rel="stylesheet" href="{{ asset('css/homepage/homepage.css') }}">
  4. {% endblock %}
  5. {% block body %}
  6. <div id ="homepage">
  7. <section id="scene" data-pointer-events="true" data-x-origin="0.5" data-y-origin="0.5" data-scalar-y="75.0" data-scalar-x="25.0" data-friction-x="0.05" data-friction-y="0.05">
  8. <div id="video-container">
  9. <video id="video-panel" playsinline autoplay muted loop>
  10. <source src="{{ asset('assets/homepage/video/video.mp4') }}" type="video/mp4">
  11. </video>
  12. </div>
  13. <div id="logo"><img src="{{ asset('assets/homepage/logo/logo.png') }}"></div>
  14. <div id="about" onclick="openAbout()">ABOUT</div>
  15. <div id="about-panel" onclick="closeAbout()">
  16. <div id="about-info">
  17. <img src="{{ asset('assets/gallery/about/bio.png') }}">
  18. </div>
  19. </div>
  20. <div id="contact" onclick="openContact()">CONTACT</div>
  21. <div id="contact-panel" onclick="closeContact()">
  22. <div id="contact-info">
  23. <div>Cluj-Napoca</div>
  24. <div>Romania</div>
  25. <div>+40 743 817 652</div>
  26. <div><a href="mailto:Izvorcollective@outlook.com">studio@izvor.co</a></div>
  27. <div><a href="https://www.instagram.com/rehydrateregularly">Instagram</a></div>
  28. <div><a href="https://www.facebook.com/rehydrateregularly/">Facebook</a></div>
  29. </div>
  30. </div>
  31. <div id="work" onclick="openWork()">WORK</div>
  32. <div id="work-panel" onclick="closeWork()">
  33. <div class="layer main" data-depth="1.0">
  34. <div class="col">
  35. <a href="{{ path('into-the-night') }}">
  36. <div class="hover">
  37. <div class="pad align-bottom">
  38. <h2>Into The Night</h2>
  39. </div>
  40. </div>
  41. <div class="bg-img" style="background-image:url({{ asset('assets/gallery/thumbnails/into-the-night-thumbnail.jpg') }})"></div>
  42. </a>
  43. </div>
  44. <div class="col">
  45. <a href="{{ path('rehydrate-regularly') }}">
  46. <div class="hover">
  47. <div class="pad align-bottom">
  48. <h2>Rehydrate Regularly</h2>
  49. </div>
  50. </div>
  51. <div class="bg-img" style="background-image:url({{ asset('assets/gallery/thumbnails/rehydrate-regularly-thumbnail.jpg') }})"></div>
  52. </a>
  53. </div>
  54. <div class="col">
  55. <a href="{{ path('corporate-design') }}">
  56. <div class="hover">
  57. <div class="pad align-bottom">
  58. <h2>Corporate Design & Illustration</h2>
  59. </div>
  60. </div>
  61. <div class="bg-img" style="background-image:url({{ asset('assets/gallery/thumbnails/corporate-design-thumbnail.jpg') }})"></div>
  62. </a>
  63. </div>
  64. <div class="col">
  65. <a href="{{ path('elso') }}">
  66. <div class="hover">
  67. <div class="pad align-bottom">
  68. <h2>Elso</h2>
  69. </div>
  70. </div>
  71. <div class="bg-img" style="background-image:url({{ asset('assets/gallery/thumbnails/elso-thumbnail.jpg') }})"></div>
  72. </a>
  73. </div>
  74. <div class="col">
  75. <a href="{{ path('vartofit') }}">
  76. <div class="hover">
  77. <div class="pad align-bottom">
  78. <h2>Vartofit</h2>
  79. </div>
  80. </div>
  81. <div class="bg-img" style="background-image:url({{ asset('assets/gallery/thumbnails/vartofit-thumbnail.jpg') }})"></div>
  82. </a>
  83. </div>
  84. <div class="col">
  85. <a href="{{ path('oddo-desk') }}">
  86. <div class="hover">
  87. <div class="pad align-bottom">
  88. <h2>ODDO Desk</h2>
  89. </div>
  90. </div>
  91. <div class="bg-img" style="background-image:url({{ asset('assets/gallery/thumbnails/oddo-desk-thumbnail.jpg') }})"></div>
  92. </a>
  93. </div>
  94. <div class="col">
  95. <a href="{{ path('logofolio') }}">
  96. <div class="hover">
  97. <div class="pad align-bottom">
  98. <h2>Logofolio</h2>
  99. </div>
  100. </div>
  101. <div class="bg-img" style="background-image:url({{ asset('assets/gallery/thumbnails/logofolio-thumbnail.jpg') }})"></div>
  102. </a>
  103. </div>
  104. <div class="col">
  105. <a href="{{ path('illustration') }}">
  106. <div class="hover">
  107. <div class="pad align-bottom">
  108. <h2>Illustration</h2>
  109. </div>
  110. </div>
  111. <div class="bg-img" style="background-image:url({{ asset('assets/gallery/thumbnails/illustration-thumbnail.jpg') }})"></div>
  112. </a>
  113. </div>
  114. <div class="col">
  115. <a href="{{ path('authentic-spirit') }}">
  116. <div class="hover">
  117. <div class="pad align-bottom">
  118. <h2>Authentic Spirit</h2>
  119. </div>
  120. </div>
  121. <div class="bg-img" style="background-image:url({{ asset('assets/gallery/thumbnails/authentic-spirit-thumbnail.jpg') }})"></div>
  122. </a>
  123. </div>
  124. </div>
  125. </div>
  126. </section>
  127. </div>
  128. {% endblock %}