<title> SEO

This commit is contained in:
2024-06-10 15:20:08 +02:00
parent 30ca970825
commit 15fbea5520
4 changed files with 4 additions and 35 deletions

View File

@@ -51,7 +51,7 @@
(function($, window) {
var adjustAnchor = function() {
var $anchor = $('.sidebar_first_container'),
fixedElementHeight = 350;
fixedElementHeight = 500;
if ($anchor.length > 0) {
$('html, body').stop().animate({scrollTop: $anchor.offset().top - fixedElementHeight }, 0);
}
@@ -71,13 +71,6 @@ function scrollReaveal(){
logo : document.querySelectorAll('#logo-animated-container'),
chapeau : document.querySelectorAll('.field_body'),
paragraph: document.querySelectorAll('.field_field_textes .paragraph--type--static-parts'),
// article : document.querySelectorAll('.home #txt_present, article#presentation'),
// blocs : document.querySelectorAll('#block-colloque2024-views-block-slide-programme-block-1, #block-colloque2024-views-block-dernieres-publications-block-1, .__ressources > *'),
// p : document.querySelectorAll('article#presentation p, .letter-sort, .participant_full .content > *'),
// programme: document.querySelectorAll('.programme.container'),
// thumbnails : document.querySelectorAll('.programme .thumbnails, .views.__publications .thumbnails, .les_intervenants .thumbnails_participants'),
// node_moment : document.querySelectorAll('#moments .__title, #moments .__wrapper, #moments .__wrap_content .__content > *, #moments .__wrap_side')
}
const showUp = {
@@ -94,41 +87,16 @@ function scrollReaveal(){
easing: 'cubic-bezier(0.5, 0, 0, 1)'
}
// const showleft = {
// origin: 'left',
// delay: 100,
// duration: 600,
// distance: '50px',
// easing: 'cubic-bezier(0.5, 0, 0, 1)'
// }
console.log(nodes);
ScrollReveal().reveal(nodes.logo, Show);
// ScrollReveal().reveal(nodes.hero_participant, showleft);
ScrollReveal().reveal(nodes.chapeau, showUp);
ScrollReveal().reveal(nodes.paragraph, showUp);
// ScrollReveal().reveal(nodes.p, showUp);
// ScrollReveal().reveal(nodes.programme, showUp);
// ScrollReveal().reveal(nodes.thumbnails, showUp);
// ScrollReveal().reveal(nodes.views, showUp);
// ScrollReveal().reveal(nodes.title_participant, Show);
// ScrollReveal().reveal(nodes.node_moment, showUp);
}
$( document ).ready(function() {
// currenturl();
scrollReaveal();
// notes();
// slide();
// burger();
// replaceAny();
// select_custom();
// remove_isactive();
// hidden_morelinkMoment();
// pagination();
// Light();
});
})(jQuery);