Compare commits
No commits in common. "7b9a44840c98b6aa299cf811c4ced7946a0d422e" and "7cb95c47de6d07e2fca4c9dbb6f7d623c5cb163b" have entirely different histories.
7b9a44840c
...
7cb95c47de
|
|
@ -177,12 +177,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
.focus-point-modification-pannel {
|
||||
.homegrade-blocks-focus-point-bullet {
|
||||
@apply rounded-full w-10 h-10 text-white font-bold flex items-center justify-center;
|
||||
}
|
||||
}
|
||||
|
||||
.edit-question-button {
|
||||
@apply text-white py-2 px-4 mt-3 block w-fit rounded-full;
|
||||
background-color: #e04d42;
|
||||
|
|
|
|||
|
|
@ -1,15 +1,11 @@
|
|||
.homegrade-blocks-focused-schema {
|
||||
figure.picture-container {
|
||||
/* @apply overflow-x-hidden; */
|
||||
@apply overflow-x-hidden;
|
||||
img {
|
||||
@apply rounded-3xl;
|
||||
}
|
||||
}
|
||||
figcaption {
|
||||
.legend,
|
||||
.description {
|
||||
@apply !text-base !text-neutral-600 font-medium;
|
||||
}
|
||||
ol {
|
||||
@apply xl:grid grid-cols-2;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
.homegrade-blocks-staff-list {
|
||||
@apply max-w-screen-xl py-8;
|
||||
@apply max-w-screen-xl py-8;
|
||||
&__title {
|
||||
@apply homegrade-title homegrade-title--secondary-small !mt-0;
|
||||
}
|
||||
|
|
@ -9,20 +9,8 @@
|
|||
.section_titling + &__staff-list {
|
||||
@apply pt-0;
|
||||
}
|
||||
|
||||
.section-titling--has-no-subtitle {
|
||||
@apply pb-0;
|
||||
}
|
||||
|
||||
&__staff-list {
|
||||
@apply grid md:grid-cols-2 gap-x-6 gap-y-16 pt-16 list-none;
|
||||
&--grid-4 {
|
||||
@apply xl:grid-cols-4;
|
||||
}
|
||||
&--grid-3 {
|
||||
@apply xl:grid-cols-3;
|
||||
}
|
||||
|
||||
@apply grid md:grid-cols-2 xl:grid-cols-4 gap-x-6 gap-y-16 pt-16 list-none;
|
||||
li {
|
||||
&:before {
|
||||
content: none !important;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
window.addEventListener('DOMContentLoaded', (event) => {
|
||||
console.log(ajaxSiteConfig);
|
||||
const button = document.getElementById('load-more-brochures');
|
||||
button.addEventListener('click', ajaxSubmit);
|
||||
let offset = 1;
|
||||
|
|
@ -22,6 +23,7 @@ window.addEventListener('DOMContentLoaded', (event) => {
|
|||
},
|
||||
complete: function (response) {
|
||||
if (response.responseJSON.data) {
|
||||
console.log(response.responseJSON);
|
||||
offset += 1;
|
||||
const container = document.querySelector('.brochures-grid'); // Replace this with the actual container element
|
||||
container.innerHTML += response.responseJSON.data; // Append the new content
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ export default function menuInit() {
|
|||
const footerSubmenuCloseBtns = footer.querySelectorAll('.menu-item__submenu-close');
|
||||
|
||||
function isSubmenuOpen() {
|
||||
// console.log(header.querySelector('.sub-menu--open') !== null);
|
||||
return (
|
||||
header.querySelector('.sub-menu--open') !== null ||
|
||||
footer.querySelector('.sub-menu--open') !== null
|
||||
|
|
@ -35,6 +36,8 @@ export default function menuInit() {
|
|||
// Vérifiez si l'élément actuel est un menu-renovateur--footer
|
||||
|
||||
if (currentElement.classList.contains('menu-renovateur--footer')) {
|
||||
console.log(`FOUND IT !`);
|
||||
|
||||
return true; // Si trouvé, retournez true
|
||||
}
|
||||
// Arrêtez la boucle si l'élément actuel est null (pas plus de parents)
|
||||
|
|
@ -290,6 +293,7 @@ export default function menuInit() {
|
|||
// Button Text Content
|
||||
let textContent = mobileMenuToggle.querySelector('span.text-content');
|
||||
textContent.textContent = mobileMenuToggle.getAttribute('data-text-open');
|
||||
// console.log(test.textContent);
|
||||
|
||||
// CLOSING #RENOVATEUR
|
||||
renovateurNavListContainer.removeAttribute('opened');
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ export default function NotificationsInit() {
|
|||
notifications.forEach((notification) => {
|
||||
const notificationClose = notification.querySelector('.notification__close');
|
||||
const notificationId = notification.getAttribute('data-notification-id');
|
||||
console.log(notificationId);
|
||||
|
||||
notificationClose.addEventListener('click', () => {
|
||||
notification.classList.add('notification--dismissed');
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ function initBullet(focusPoint) {
|
|||
focusPointPopupContainer.style.top = `${focusPointPosition.y}%`;
|
||||
focusPointPopupContainer.appendChild(focusPointPopupTitle);
|
||||
|
||||
// console.log(focusPointPosition);
|
||||
|
||||
// focusPointPopupContainer.style.left = `${focusPoint.getAttribute}px`;
|
||||
// focusPoint.appendChild(focusPointPopupContainer);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
<?php
|
||||
$videoUrl = get_field('url');
|
||||
write_log($videoUrl);
|
||||
if ($videoUrl) {
|
||||
wp_redirect($videoUrl);
|
||||
exit();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user