node--presentation.html.twig 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to display a node.
  5. *
  6. * Available variables:
  7. * - node: The node entity with limited access to object properties and methods.
  8. * Only method names starting with "get", "has", or "is" and a few common
  9. * methods such as "id", "label", and "bundle" are available. For example:
  10. * - node.getCreatedTime() will return the node creation timestamp.
  11. * - node.hasField('field_example') returns TRUE if the node bundle includes
  12. * field_example. (This does not indicate the presence of a value in this
  13. * field.)
  14. * - node.isPublished() will return whether the node is published or not.
  15. * Calling other methods, such as node.delete(), will result in an exception.
  16. * See \Drupal\node\Entity\Node for a full list of public properties and
  17. * methods for the node object.
  18. * - label: (optional) The title of the node.
  19. * - content: All node items. Use {{ content }} to print them all,
  20. * or print a subset such as {{ content.field_example }}. Use
  21. * {{ content|without('field_example') }} to temporarily suppress the printing
  22. * of a given child element.
  23. * - author_picture: The node author user entity, rendered using the "compact"
  24. * view mode.
  25. * - metadata: Metadata for this node.
  26. * - date: (optional) Themed creation date field.
  27. * - author_name: (optional) Themed author name field.
  28. * - url: Direct URL of the current node.
  29. * - display_submitted: Whether submission information should be displayed.
  30. * - attributes: HTML attributes for the containing element.
  31. * The attributes.class element may contain one or more of the following
  32. * classes:
  33. * - node: The current template type (also known as a "theming hook").
  34. * - node--type-[type]: The current node type. For example, if the node is an
  35. * "Article" it would result in "node--type-article". Note that the machine
  36. * name will often be in a short form of the human readable label.
  37. * - node--view-mode-[view_mode]: The View Mode of the node; for example, a
  38. * teaser would result in: "node--view-mode-teaser", and
  39. * full: "node--view-mode-full".
  40. * The following are controlled through the node publishing options.
  41. * - node--promoted: Appears on nodes promoted to the front page.
  42. * - node--sticky: Appears on nodes ordered above other non-sticky nodes in
  43. * teaser listings.
  44. * - node--unpublished: Appears on unpublished nodes visible only to site
  45. * admins.
  46. * - title_attributes: Same as attributes, except applied to the main title
  47. * tag that appears in the template.
  48. * - content_attributes: Same as attributes, except applied to the main
  49. * content tag that appears in the template.
  50. * - author_attributes: Same as attributes, except applied to the author of
  51. * the node tag that appears in the template.
  52. * - title_prefix: Additional output populated by modules, intended to be
  53. * displayed in front of the main title tag that appears in the template.
  54. * - title_suffix: Additional output populated by modules, intended to be
  55. * displayed after the main title tag that appears in the template.
  56. * - view_mode: View mode; for example, "teaser" or "full".
  57. * - teaser: Flag for the teaser state. Will be true if view_mode is 'teaser'.
  58. * - page: Flag for the full page state. Will be true if view_mode is 'full'.
  59. * - readmore: Flag for more state. Will be true if the teaser content of the
  60. * node cannot hold the main body content.
  61. * - logged_in: Flag for authenticated user status. Will be true when the
  62. * current user is a logged-in member.
  63. * - is_admin: Flag for admin user status. Will be true when the current user
  64. * is an administrator.
  65. *
  66. * @see template_preprocess_node()
  67. *
  68. * @todo Remove the id attribute (or make it a class), because if that gets
  69. * rendered twice on a page this is invalid CSS for example: two lists
  70. * in different view modes.
  71. *
  72. * @ingroup themeable
  73. */
  74. #}
  75. <div class="layout">
  76. <aside id="aside-animated">
  77. <svg width="122.54536" height="1500" viewBox="0 0 32.423461 274.48454" version="1.1"
  78. id="svg1" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
  79. <defs id="defs1">
  80. <filter id="f5">
  81. <feGaussianBlur in="SourceGraphic" stdDeviation="2" />
  82. </filter>
  83. </defs>
  84. <g transform="scale(0.9)">
  85. <circle style="fill:#349a84;fill-opacity:1;stroke:none;stroke-width:0.0232253;paint-order:fill markers stroke" id="circle_vert_erable_3" class="asideDown1" cx="16.207798" cy="15.157107" r="15.890945" transform="rotate(-177.50808)" />
  86. <path style="filter:url(#f5);fill:#349a84;fill-opacity:1;stroke:none" d="M 30.414575,23.997078 C 30.341633,21.827806 29.852702,19.70489 28.850812,17.77043 22.17489,4.8805821 1.6248554,9.8541801 2.1188434,24.546451 c 0.193418,5.75285 1.588628,15.041105 6.110085,19.037701 4.4048796,3.893539 12.4165716,3.362113 16.3042286,-1.001654 3.718344,-4.173739 6.067874,-13.039679 5.881418,-18.58542 z"
  87. id="path_circle_vert_erable_3" class="asideDown2"/>
  88. <circle style="fill:#b9ce00;fill-opacity:1;stroke:none;stroke-width:0.0232253;paint-order:fill markers stroke" id="circle_vert_clair_erable_3" cx="90.091621" cy="-16.143869" r="15.890945" transform="rotate(90)" />
  89. <path style="filter:url(#f5);fill:#b9ce00;fill-opacity:1;stroke:none;stroke-width:0.837592" d="m 29.318036,78.29166 c -0.28713,1.66599 -0.86965,3.23412 -2.10196,4.64923 -0.98738,1.13385 -2.20392,2.12354 -3.70487,2.87042 -6.9722,3.4694 -16.7677896,1.26697 -19.7608496,-4.79211 -0.78557,-1.59028 -0.99029,-3.277907 -0.75119,-4.959168 0.36348,-2.555785 2.61939,-4.539343 3.35343,-7.00481 1.73601,-5.83083 2.62133,-11.81781 4.2762096,-17.66709 0.65342,-2.30955 2.18476,-5.796465 5.66197,-6.294445 3.93983,-0.56424 5.83643,3.36487 6.56082,5.674555 0.58593,1.86819 0.59903,3.8034 0.83564,5.70306 0.51429,4.12917 0.76337,8.33141 1.93444,12.39795 0.47646,1.654513 1.74598,2.952874 2.65107,4.463245 0.88578,1.478144 1.32444,3.339432 1.04529,4.959163 z" id="path_circle_vert_clair_erable_3" />
  90. <circle style="fill:#ff804d;fill-opacity:1;stroke:none;stroke-width:0.0232253;paint-order:fill markers stroke"
  91. id="circle_orange" cx="15.902803" cy="142.31837" r="15.890945" />
  92. <circle style="fill:#b9ce00;fill-opacity:1;stroke:none;stroke-width:0.0232253;paint-order:fill markers stroke"
  93. id="circle_vert_clair_erable_6" class="asideDown3" cx="16.193937" cy="199.52211" r="15.890945" transform="scale(-1)" />
  94. <path style="filter:url(#f5);fill:#b9ce00;fill-opacity:1;stroke:none" d="m 30.618377,209.86128 c -0.16719,-2.16405 -0.74796,-4.2637 -1.83301,-6.15277 -7.23004,-12.5874 -27.5444016,-6.72502 -26.4120816,7.93188 0.44336,5.739 2.241092,14.95781 6.932042,18.75404 4.5699996,3.69834 12.5510096,2.81908 16.2452596,-1.70959 3.53336,-4.33146 5.49519,-13.29117 5.06779,-18.82356 z" class="asideDown2"
  95. id="path_circle_vert_clair_erable_6" />
  96. <circle style="fill:#ff804d;fill-opacity:1;stroke:none;stroke-width:0.0232253;paint-order:fill markers stroke"
  97. id="circle_orange_5" cx="258.50674" cy="-17.245941" r="15.890945" transform="rotate(90.300272)" />
  98. <path style="filter:url(#f5);fill:#ff804d;fill-opacity:1;stroke:none" d="m 30.041771,256.3491 c -0.178539,2.16314 -0.770305,4.25972 -1.86524,6.14307 -7.295908,12.54934 -27.5792556,6.58058 -26.3701376,-8.07018 0.47343,-5.7366 2.319448,-14.94586 7.030229,-18.71746 4.5893186,-3.67434 12.5656016,-2.75326 16.2360666,1.79471 3.510612,4.34991 5.42547,13.31978 4.969082,18.84986 z"
  99. id="path_circle_orange_5" />
  100. </g>
  101. </svg>
  102. </aside>
  103. <section id="main-content-node">
  104. <div class="__img-hero">
  105. {{content.field_image}}
  106. </div>
  107. <article{{ attributes }} id="presentation">
  108. <div class="__title col-12 px-0">
  109. <h2>{{label}}</h2>
  110. </div>
  111. <div class="__wrapper row">
  112. <div class="__wrap_side col-sm-12 col-md-1 pr-0 mt-0 mb-3">
  113. {% include 'themes/custom/colloque2024/template/components/share_rs.html.twig' with { page : 'presentation' } %}
  114. </div>
  115. <div class="__wrap_content col-sm-12 col-md-8">
  116. {{content.body}}
  117. </div>
  118. <div class="__wrap_side col-sm-12 col-md-3 mt-3">
  119. {{content.field_add_participant}}
  120. <div class="notes">
  121. {{content.field_les_notes}}
  122. </div>
  123. </div>
  124. </div>
  125. </article>
  126. </section>
  127. </div>