Files
Popsu-coloque/web/themes/custom/colloque2024/template/node/node--presentation.html.twig
T
2024-05-06 14:42:22 +02:00

135 lines
8.3 KiB
Twig

{#
/**
* @file
* Default theme implementation to display a node.
*
* Available variables:
* - node: The node entity with limited access to object properties and methods.
* Only method names starting with "get", "has", or "is" and a few common
* methods such as "id", "label", and "bundle" are available. For example:
* - node.getCreatedTime() will return the node creation timestamp.
* - node.hasField('field_example') returns TRUE if the node bundle includes
* field_example. (This does not indicate the presence of a value in this
* field.)
* - node.isPublished() will return whether the node is published or not.
* Calling other methods, such as node.delete(), will result in an exception.
* See \Drupal\node\Entity\Node for a full list of public properties and
* methods for the node object.
* - label: (optional) The title of the node.
* - content: All node items. Use {{ content }} to print them all,
* or print a subset such as {{ content.field_example }}. Use
* {{ content|without('field_example') }} to temporarily suppress the printing
* of a given child element.
* - author_picture: The node author user entity, rendered using the "compact"
* view mode.
* - metadata: Metadata for this node.
* - date: (optional) Themed creation date field.
* - author_name: (optional) Themed author name field.
* - url: Direct URL of the current node.
* - display_submitted: Whether submission information should be displayed.
* - attributes: HTML attributes for the containing element.
* The attributes.class element may contain one or more of the following
* classes:
* - node: The current template type (also known as a "theming hook").
* - node--type-[type]: The current node type. For example, if the node is an
* "Article" it would result in "node--type-article". Note that the machine
* name will often be in a short form of the human readable label.
* - node--view-mode-[view_mode]: The View Mode of the node; for example, a
* teaser would result in: "node--view-mode-teaser", and
* full: "node--view-mode-full".
* The following are controlled through the node publishing options.
* - node--promoted: Appears on nodes promoted to the front page.
* - node--sticky: Appears on nodes ordered above other non-sticky nodes in
* teaser listings.
* - node--unpublished: Appears on unpublished nodes visible only to site
* admins.
* - title_attributes: Same as attributes, except applied to the main title
* tag that appears in the template.
* - content_attributes: Same as attributes, except applied to the main
* content tag that appears in the template.
* - author_attributes: Same as attributes, except applied to the author of
* the node tag that appears in the template.
* - title_prefix: Additional output populated by modules, intended to be
* displayed in front of the main title tag that appears in the template.
* - title_suffix: Additional output populated by modules, intended to be
* displayed after the main title tag that appears in the template.
* - view_mode: View mode; for example, "teaser" or "full".
* - teaser: Flag for the teaser state. Will be true if view_mode is 'teaser'.
* - page: Flag for the full page state. Will be true if view_mode is 'full'.
* - readmore: Flag for more state. Will be true if the teaser content of the
* node cannot hold the main body content.
* - logged_in: Flag for authenticated user status. Will be true when the
* current user is a logged-in member.
* - is_admin: Flag for admin user status. Will be true when the current user
* is an administrator.
*
* @see template_preprocess_node()
*
* @todo Remove the id attribute (or make it a class), because if that gets
* rendered twice on a page this is invalid CSS for example: two lists
* in different view modes.
*
* @ingroup themeable
*/
#}
<div class="layout">
<aside id="aside-animated">
<svg width="122.54536" height="1500" viewBox="0 0 32.423461 274.48454" version="1.1"
id="svg1" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<defs id="defs1">
<filter id="f5">
<feGaussianBlur in="SourceGraphic" stdDeviation="2" />
</filter>
</defs>
<g transform="scale(0.9)">
<circle style="fill:#038788;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)" />
<path style="filter:url(#f5);fill:#038788;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"
id="path_circle_vert_erable_3" class="asideDown2"/>
<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)" />
<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" />
<circle style="fill:#ff804d;fill-opacity:1;stroke:none;stroke-width:0.0232253;paint-order:fill markers stroke"
id="circle_orange" cx="15.902803" cy="142.31837" r="15.890945" />
<circle style="fill:#b9ce00;fill-opacity:1;stroke:none;stroke-width:0.0232253;paint-order:fill markers stroke"
id="circle_vert_clair_erable_6" class="asideDown3" cx="16.193937" cy="199.52211" r="15.890945" transform="scale(-1)" />
<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"
id="path_circle_vert_clair_erable_6" />
<circle style="fill:#ff804d;fill-opacity:1;stroke:none;stroke-width:0.0232253;paint-order:fill markers stroke"
id="circle_orange_5" cx="258.50674" cy="-17.245941" r="15.890945" transform="rotate(90.300272)" />
<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"
id="path_circle_orange_5" />
</g>
</svg>
</aside>
<section id="main-content-node">
<div class="__img-hero">
{{content.field_image}}
</div>
<article{{ attributes }} id="presentation">
<div class="__title col-12 px-0">
<h2>{{label}}</h2>
</div>
<div class="__wrapper row">
<div class="__wrap_side col-sm-12 col-md-1 pr-0 mt-0 mb-3">
{% include 'themes/custom/colloque2024/template/components/share_rs.html.twig' with { page : 'presentation' } %}
</div>
<div class="__wrap_content col-sm-12 col-md-8">
{{content.body}}
</div>
<div class="__wrap_side col-sm-12 col-md-3 mt-3">
{{content.field_add_participant}}
<div class="notes">
{{content.field_les_notes}}
</div>
</div>
</div>
</article>
</section>
</div>