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