favicon
This commit is contained in:
@@ -36,7 +36,7 @@ eval("\nfunction setLogoContainerSize() {\n let svgContainer = document.query
|
||||
\**********************************************/
|
||||
/***/ (() => {
|
||||
|
||||
eval("/**\n * @file\n * quartiers_de_demain behaviors.\n */\n (function (Drupal) {\n\n 'use strict';\n \n Drupal.behaviors.quartiers_de_demain = {\n attach: function (context, settings) {\n console.log('It works!');\n }\n };\n } (Drupal));\n\n \n jQuery(document).ready(function($){\n\n $('.open-block').click(function(){\n $(this).toggleClass('opened');\n\n $('.header_nav_container').toggleClass('display-nav-opened');\n \n if(mobile == true){\n $(\"body\").css(\"overflow\",\"hidden\");\n }\n\n });\n \n // Hide the header_nav_container when a link inside it is clicked\n $('.header_nav_container li').click(function() {\n $('.header_nav_container').fadeOut();\n });\n\n\n\n//////////// agrandissement du shema\n\n $('#paragraph-id--9 img').click(function() {\n $(this).toggleClass('zoom_in');\n });\n\n\n});\n\n\n// /////////////////\n//// ancre dans texte au click parragraphe correspondant arrive en dessous du header \n\n\n(function($, window) {\n var adjustAnchor = function() {\n var $anchor = $('.sidebar_first_container'),\n fixedElementHeight = 350;\n if ($anchor.length > 0) {\n $('html, body').stop().animate({scrollTop: $anchor.offset().top - fixedElementHeight }, 0);\n }\n };\n\n $(window).on('hashchange', function() {\n adjustAnchor();\n });\n\n\n\n\n\nfunction scrollReaveal(){\n\n const nodes = {\n logo : document.querySelectorAll('#logo-animated-container'),\n chapeau : document.querySelectorAll('.field_body'),\n paragraph: document.querySelectorAll('.field_field_textes .paragraph--type--static-parts'),\n // article : document.querySelectorAll('.home #txt_present, article#presentation'),\n // blocs : document.querySelectorAll('#block-colloque2024-views-block-slide-programme-block-1, #block-colloque2024-views-block-dernieres-publications-block-1, .__ressources > *'), \n // p : document.querySelectorAll('article#presentation p, .letter-sort, .participant_full .content > *'),\n // programme: document.querySelectorAll('.programme.container'),\n // thumbnails : document.querySelectorAll('.programme .thumbnails, .views.__publications .thumbnails, .les_intervenants .thumbnails_participants'),\n // node_moment : document.querySelectorAll('#moments .__title, #moments .__wrapper, #moments .__wrap_content .__content > *, #moments .__wrap_side')\n\n }\n\n const showUp = {\n origin: 'bottom',\n delay: 100,\n duration: 1000,\n distance: '50px',\n easing: 'cubic-bezier(0.5, 0, 0, 1)'\n }\n\n const Show = {\n delay: 100,\n duration: 600,\n easing: 'cubic-bezier(0.5, 0, 0, 1)'\n }\n\n // const showleft = {\n // origin: 'left',\n // delay: 100,\n // duration: 600,\n // distance: '50px',\n // easing: 'cubic-bezier(0.5, 0, 0, 1)'\n // }\n\n console.log(nodes);\n\n ScrollReveal().reveal(nodes.logo, Show);\n // ScrollReveal().reveal(nodes.hero_participant, showleft);\n ScrollReveal().reveal(nodes.chapeau, showUp);\n ScrollReveal().reveal(nodes.paragraph, showUp);\n // ScrollReveal().reveal(nodes.p, showUp);\n // ScrollReveal().reveal(nodes.programme, showUp);\n // ScrollReveal().reveal(nodes.thumbnails, showUp);\n // ScrollReveal().reveal(nodes.views, showUp);\n // ScrollReveal().reveal(nodes.title_participant, Show);\n // ScrollReveal().reveal(nodes.node_moment, showUp);\n}\n\n\n$( document ).ready(function() {\n // currenturl();\n scrollReaveal();\n // notes();\n // slide();\n // burger();\n // replaceAny();\n // select_custom();\n // remove_isactive();\n // hidden_morelinkMoment();\n // pagination();\n // Light();\n});\n\n})(jQuery);\n\n//# sourceURL=webpack://quartiers_de_demain/./src/assets/js/quartiers_de_demain.js?");
|
||||
eval("/**\n * @file\n * quartiers_de_demain behaviors.\n */\n (function (Drupal) {\n\n 'use strict';\n \n Drupal.behaviors.quartiers_de_demain = {\n attach: function (context, settings) {\n console.log('It works!');\n }\n };\n } (Drupal));\n\n \n jQuery(document).ready(function($){\n\n $('.open-block').click(function(){\n $(this).toggleClass('opened');\n\n $('.header_nav_container').toggleClass('display-nav-opened');\n \n if(mobile == true){\n $(\"body\").css(\"overflow\",\"hidden\");\n }\n\n });\n \n // Hide the header_nav_container when a link inside it is clicked\n $('.header_nav_container li').click(function() {\n $('.header_nav_container').fadeOut();\n });\n\n\n\n//////////// agrandissement du shema\n\n $('#paragraph-id--9 img').click(function() {\n $(this).toggleClass('zoom_in');\n });\n\n\n});\n\n\n// /////////////////\n//// ancre dans texte au click parragraphe correspondant arrive en dessous du header \n\n\n(function($, window) {\n var adjustAnchor = function() {\n var $anchor = $('.sidebar_first_container'),\n fixedElementHeight = 350;\n if ($anchor.length > 0) {\n $('html, body').stop().animate({scrollTop: $anchor.offset().top - fixedElementHeight }, 0);\n }\n };\n\n $(window).on('hashchange', function() {\n adjustAnchor();\n });\n\n\n//////////////////////////////////////////// smooth apparition des textes\n\n\nfunction scrollReaveal(){\n\n const nodes = {\n logo : document.querySelectorAll('#logo-animated-container'),\n chapeau : document.querySelectorAll('.field_body'),\n paragraph: document.querySelectorAll('.field_field_textes .paragraph--type--static-parts'),\n // article : document.querySelectorAll('.home #txt_present, article#presentation'),\n // blocs : document.querySelectorAll('#block-colloque2024-views-block-slide-programme-block-1, #block-colloque2024-views-block-dernieres-publications-block-1, .__ressources > *'), \n // p : document.querySelectorAll('article#presentation p, .letter-sort, .participant_full .content > *'),\n // programme: document.querySelectorAll('.programme.container'),\n // thumbnails : document.querySelectorAll('.programme .thumbnails, .views.__publications .thumbnails, .les_intervenants .thumbnails_participants'),\n // node_moment : document.querySelectorAll('#moments .__title, #moments .__wrapper, #moments .__wrap_content .__content > *, #moments .__wrap_side')\n\n }\n\n const showUp = {\n origin: 'bottom',\n delay: 100,\n duration: 1000,\n distance: '50px',\n easing: 'cubic-bezier(0.5, 0, 0, 1)'\n }\n\n const Show = {\n delay: 100,\n duration: 600,\n easing: 'cubic-bezier(0.5, 0, 0, 1)'\n }\n\n // const showleft = {\n // origin: 'left',\n // delay: 100,\n // duration: 600,\n // distance: '50px',\n // easing: 'cubic-bezier(0.5, 0, 0, 1)'\n // }\n\n console.log(nodes);\n\n ScrollReveal().reveal(nodes.logo, Show);\n // ScrollReveal().reveal(nodes.hero_participant, showleft);\n ScrollReveal().reveal(nodes.chapeau, showUp);\n ScrollReveal().reveal(nodes.paragraph, showUp);\n // ScrollReveal().reveal(nodes.p, showUp);\n // ScrollReveal().reveal(nodes.programme, showUp);\n // ScrollReveal().reveal(nodes.thumbnails, showUp);\n // ScrollReveal().reveal(nodes.views, showUp);\n // ScrollReveal().reveal(nodes.title_participant, Show);\n // ScrollReveal().reveal(nodes.node_moment, showUp);\n}\n\n\n$( document ).ready(function() {\n // currenturl();\n scrollReaveal();\n // notes();\n // slide();\n // burger();\n // replaceAny();\n // select_custom();\n // remove_isactive();\n // hidden_morelinkMoment();\n // pagination();\n // Light();\n});\n\n})(jQuery);\n\n//# sourceURL=webpack://quartiers_de_demain/./src/assets/js/quartiers_de_demain.js?");
|
||||
|
||||
/***/ })
|
||||
|
||||
|
@@ -62,7 +62,7 @@
|
||||
});
|
||||
|
||||
|
||||
|
||||
//////////////////////////////////////////// smooth apparition des textes
|
||||
|
||||
|
||||
function scrollReaveal(){
|
||||
|
@@ -33,6 +33,16 @@
|
||||
<css-placeholder token="{{ placeholder_token }}">
|
||||
<js-placeholder token="{{ placeholder_token }}">
|
||||
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
||||
<link rel="manifest" href="/site.webmanifest">
|
||||
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
|
||||
<meta name="msapplication-TileColor" content="#ffffff">
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
|
||||
|
||||
</head>
|
||||
<body{{ attributes }}>
|
||||
{#
|
||||
|
Reference in New Issue
Block a user