Assets.html 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. {namespace v=FluidTYPO3\Vhs\ViewHelpers}
  2. <f:comment><!--
  3. Assets included with the VHS viewhelpers
  4. /!\ Warning: assets'names shall be uniques, even among styles and scripts viewhelpers!
  5. --></f:comment>
  6. <v:variable.set name="assets_dir" value="EXT:ot_templating/Resources/Public/assets/Modern" />
  7. <v:variable.set name="force_standalone" value="1" />
  8. <f:comment><!-- Fonts assets --></f:comment>
  9. <v:asset.style name="montserrat-font"
  10. path="https://fonts.googleapis.com/css?family=Montserrat:300,300i,400,500,500i,600,700,800,900|Poppins:200,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900"
  11. external="1"
  12. standalone="{force_standalone}" />
  13. <v:asset.style name="dosis-font"
  14. path="https://fonts.googleapis.com/css?family=Dosis:300,400,500,600,700,800"
  15. external="1"
  16. standalone="{force_standalone}"/>
  17. <style>
  18. @font-face {
  19. font-family: "fontawesome";
  20. src: url("/typo3conf/ext/ot_templating/Resources/Public/assets/Modern/fonts/fontawesome-webfont.ttf") format("truetype");
  21. }
  22. @font-face {
  23. font-family: "themify";
  24. src: url("/typo3conf/ext/ot_templating/Resources/Public/assets/Modern/fonts/themify.ttf") format("truetype");
  25. }
  26. @font-face {
  27. font-family: "slick";
  28. src: url("/typo3conf/ext/ot_templating/Resources/Public/assets/Modern/fonts/slick.ttf") format("truetype");
  29. }
  30. </style>
  31. <f:comment><!-- Style assets --></f:comment>
  32. <f:comment><!-- includes all plugins ; can be removed if none of those plugins are used --></f:comment>
  33. <v:asset.style name="plugins-css"
  34. path="{assets_dir}/style/plugins-css.css"
  35. standalone="{force_standalone}"/>
  36. <f:comment><!-- includes revolution stylesheets --></f:comment>
  37. <v:asset.style name="revolution-settings"
  38. path="{assets_dir}/style/revolution/settings.css"
  39. standalone="{force_standalone}"/>
  40. <f:comment><!-- includes all typography stylesheets --></f:comment>
  41. <v:asset.style name="typography"
  42. path="{assets_dir}/style/typography.css"
  43. standalone="{force_standalone}"/>
  44. <v:asset.style name="slick-css"
  45. path="{assets_dir}/style/plugins/slick.css"
  46. standalone="{force_standalone}"/>
  47. <v:asset.style name="slick-theme-css"
  48. path="{assets_dir}/style/plugins/slick-theme.css"
  49. standalone="{force_standalone}"/>
  50. <v:asset.style name="leaflet-css"
  51. path="{assets_dir}/style/plugins/leaflet.css"
  52. standalone="{force_standalone}"
  53. rewrite="0"/>
  54. <f:comment><!-- includes all shortcodes ; can be removed if none of those plugins are used --></f:comment>
  55. <v:asset.style name="shortcodes"
  56. path="{assets_dir}/style/shortcodes/shortcodes.css"
  57. standalone="{force_standalone}"/>
  58. <f:comment><!-- main stylesheet of the template --></f:comment>
  59. <v:asset.style name="style-css"
  60. path="{assets_dir}/style/style.css"
  61. standalone="1"
  62. rewrite="0"/>
  63. <f:comment><!-- variable file containing the color theme --></f:comment>
  64. <v:asset.style name="skin-css"
  65. path="{assets_dir}/style/skins/skin-blue.css"
  66. standalone="{force_standalone}"/>
  67. <f:comment><!-- responsive stylesheet of the template (mediaqueries) --></f:comment>
  68. <v:asset.style name="responsive-css"
  69. path="{assets_dir}/style/responsive.css"
  70. standalone="{force_standalone}"/>
  71. <v:asset.style name="custom-css"
  72. path="{assets_dir}/style/custom.css"
  73. standalone="{force_standalone}"/>
  74. <f:comment><!-- Script assets --></f:comment>
  75. <f:comment><!-- Defines the path of all plugin folders to allow dynamic loading --></f:comment>
  76. <script>
  77. var plugin_path = '/typo3conf/ext/ot_templating/Resources/Public/assets/Modern/script/';
  78. </script>
  79. <v:asset.script name="jquery"
  80. path="{assets_dir}/script/jquery-3.3.1.min.js"
  81. standalone="{force_standalone}"/>
  82. <f:comment><!-- includes all plugins ; can be removed if none of those plugins are used --></f:comment>
  83. <v:asset.script name="plugins-jquery"
  84. path="{assets_dir}/script/plugins-jquery.js"
  85. standalone="{force_standalone}"
  86. dependencies="jquery" />
  87. <v:asset.script name="recaptcha"
  88. path="https://www.google.com/recaptcha/api.js"
  89. external="1"
  90. standalone="{force_standalone}"
  91. dependencies="jquery"/>
  92. <v:asset.script name="jquery-tools"
  93. path="{assets_dir}/script/revolution/jquery.themepunch.tools.min.js"
  94. standalone="{force_standalone}"/>
  95. <v:asset.script name="jquery-revolution"
  96. path="{assets_dir}/script/revolution/jquery.themepunch.revolution.min.js"
  97. standalone="{force_standalone}"
  98. dependencies="jquery"/>
  99. <v:asset.script name="revolution-actions"
  100. path="{assets_dir}/script/revolution/extensions/revolution.extension.actions.min.js"
  101. standalone="{force_standalone}"
  102. dependencies="jquery"/>
  103. <v:asset.script name="revolution-carousel"
  104. path="{assets_dir}/script/revolution/extensions/revolution.extension.carousel.min.js"
  105. standalone="{force_standalone}"
  106. dependencies="jquery"/>
  107. <v:asset.script name="revolution-kenburn"
  108. path="{assets_dir}/script/revolution/extensions/revolution.extension.kenburn.min.js"
  109. standalone="{force_standalone}"
  110. dependencies="jquery"/>
  111. <v:asset.script name="revolution-layeranimation"
  112. path="{assets_dir}/script/revolution/extensions/revolution.extension.layeranimation.min.js"
  113. standalone="{force_standalone}"
  114. dependencies="jquery"/>
  115. <v:asset.script name="revolution-migration"
  116. path="{assets_dir}/script/revolution/extensions/revolution.extension.migration.min.js"
  117. standalone="{force_standalone}"
  118. dependencies="jquery"/>
  119. <v:asset.script name="revolution-parallax"
  120. path="{assets_dir}/script/revolution/extensions/revolution.extension.parallax.min.js"
  121. standalone="{force_standalone}"
  122. dependencies="jquery"/>
  123. <v:asset.script name="revolution-navigation"
  124. path="{assets_dir}/script/revolution/extensions/revolution.extension.navigation.min.js"
  125. standalone="{force_standalone}"/>
  126. <v:asset.script name="revolution-slideanims"
  127. path="{assets_dir}/script/revolution/extensions/revolution.extension.slideanims.min.js"
  128. standalone="{force_standalone}"
  129. dependencies="jquery"/>
  130. <v:asset.script name="revolution-navigation"
  131. path="{assets_dir}/script/revolution/extensions/revolution.extension.navigation.min.js"
  132. standalone="{force_standalone}"
  133. dependencies="jquery"/>
  134. <v:asset.script name="revolution-video"
  135. path="{assets_dir}/script/revolution/extensions/revolution.extension.video.min.js"
  136. standalone="{force_standalone}"
  137. dependencies="jquery"/>
  138. <v:asset.script name="revolution-custom"
  139. path="{assets_dir}/script/revolution/revolution-custom.js"
  140. standalone="{force_standalone}"
  141. dependencies="jquery"/>
  142. <v:asset.script name="slick-js"
  143. path="{assets_dir}/script/slick/slick.js"
  144. standalone="{force_standalone}"
  145. dependencies="jquery"/>
  146. <v:asset.script name="leaflet-js"
  147. path="{assets_dir}/script/leaflet/leaflet.js"
  148. standalone="{force_standalone}"
  149. dependencies="jquery"/>
  150. <v:asset.script name="custom-js"
  151. path="{assets_dir}/script/custom.js"
  152. standalone="{force_standalone}"
  153. dependencies="jquery"/>
  154. <v:asset.script name="custom-ot-js"
  155. path="{assets_dir}/script/custom-ot.js"
  156. standalone="{force_standalone}"
  157. dependencies="jquery"/>