Compare commits

...

3 Commits

Author SHA1 Message Date
Nonimart
1886840c70 FINAL MERGE V2 (from antoine-merge branch)
Some checks failed
continuous-integration/drone/push Build is failing
2025-08-05 14:53:21 +02:00
Nonimart
b64b82ab9f UPLOAD Introducing pictures 2025-08-04 11:28:25 +02:00
Nonimart
1a1f1c6e9b stashing 2025-08-04 11:24:36 +02:00
60 changed files with 480 additions and 198 deletions

View File

@ -1,3 +1,6 @@
<?php
switch_to_blog(1);
?>
<?php get_template_part('template-components/footer/page-scroller'); ?>
</main>
@ -67,8 +70,14 @@
$localizedSiteMapPage = apply_filters('wpml_object_id', 5699, 'page', TRUE);
?>
<?php
switch_to_blog(2);
$home_url_metiers_patrimoine = get_home_url();
restore_current_blog();
?>
<a class="cta cta--button cta--outline metiers-patrimoine-btn" href="<?php echo $home_url_metiers_patrimoine ?>"><?php echo __('Artisans du patrimoine', 'homegrade') ?></a>
<a class="cta cta--button cta--outline" href="<?php echo get_the_permalink($localizedSiteMapPage) ?>">
<a class="cta cta--button cta--outline sitemap-btn" href="<?php echo get_the_permalink($localizedSiteMapPage) ?>">
<?php echo get_the_title($localizedSiteMapPage) ?>
</a>
<div class="social-networks">
@ -83,10 +92,11 @@
</div>
</div>
<ul class="site-footer__partenaires">
<h4 class="content-intertitle"><?php echo __('Nos partenaires', 'metiers-patrimoine-theme') ?></h4>
<?php $partenaires = get_field('footer_partenaires', 'term_' . $footer_locale_location_ID)['partenaires']; ?>
<?php foreach ($partenaires as $partenaire) : ?>
<li>
@ -97,13 +107,6 @@
<?php endforeach; ?>
</ul>
<div class="site-footer__metiers-patrimoine">
<?php $metiers_patrimoine = get_field('footer_metiers_du_patirmoine', 'term_' . $footer_locale_location_ID); ?>
<h4 class="content-intertitle"><?php echo $metiers_patrimoine['title'] ?> </h4>
<p><?php echo $metiers_patrimoine['text'] ?> </p>
<a class="cta cta cta--primary cta--button" href="<?php echo $metiers_patrimoine['cta_url'] ?> " target="_blank"><?php echo $metiers_patrimoine['cta_text'] ?></a>
</div>
@ -124,7 +127,7 @@
<path class="cls-1" d="m804.05,123.44c-25.5-54.3-74.5-96-131.6-113.7-56.2-17.5-118.7-11-170.3,17.2-35,19.2-61.9,49.6-89.7,77.6-6.6-6.6-13.2-13.2-19.8-19.8-12-12-23.7-24.7-36.9-35.4C301.75,5.54,229.25-10.56,161.75,6.94,98.25,23.44,43.75,69.54,17.85,129.94c-24,56-23.7,119.1.3,175,12.7,29.7,32.5,54.3,55.1,76.9l52.8,52.8c26.8,26.8,53.6,53.5,80.3,80.3,28.1,28.1,56.2,56.2,84.3,84.3,21.5,21.5,43.1,43.1,64.7,64.7,12.7,12.7,26.3,30.2,44.4,34.9,17,4.4,34.7-.5,47.4-12.3l.6-.6.5-.5,26.9-26.9,67.2-67.2,84.2-84.2,78.4-78.4,49.9-49.9c2.8-2.8,5.7-5.6,8.5-8.5,21.3-21.7,37.5-47.6,48.2-76,20.9-55.2,17.4-117.8-7.5-170.9Z" />
</g>
</svg>
</span> by<a href="https://deligraph.com/" target="_blank"> Deligraph</a>
</span> by<a href="https://deligraph.com/" target="_blank">Deligraph</a>
</p>
</div>
</div>
@ -135,7 +138,6 @@
$localizedConditionsGenerales = apply_filters('wpml_object_id', 3504, 'page', TRUE);
$localizedPolitiqueConfidentialite = apply_filters('wpml_object_id', 3, 'page', TRUE);
$localizedDeclarationAccessibilite = apply_filters('wpml_object_id', 3506, 'page', TRUE);
?>
<li class="legal-credits__legal-page-link">
@ -159,8 +161,11 @@
</div>
<?php wp_footer(); ?>
<?php
restore_current_blog();
?>
<?php wp_footer(); ?>
</body>

0
front-page.php Executable file → Normal file
View File

View File

@ -10,15 +10,15 @@
</head>
<?php $currentLanguage = apply_filters('wpml_current_language', null); ?>
<?php
switch_to_blog(1);
?>
<body <?php body_class("homegrade-frontend-page ") ?> current-language="<?php echo $currentLanguage ?? "" ?>">
<?php
do_action('tailpress_site_before');
global $post;
?>
<div id="page-<?php echo $post->post_name ?? "" ?>" class="min-h-screen flex flex-col ">
<div class="skiplinks" aria-label="<?php echo __('Accès rapide', 'homegrade-theme__texte-fonctionnel') ?>">
@ -31,21 +31,21 @@
<?php do_action('tailpress_header'); ?>
<header id="main-header">
<!-- MENU MOBILE -->
<?php
get_template_part('template-components/header/mobile-brand');
?>
<?php get_template_part('template-components/header/mobile-brand'); ?>
<!-- MENU HOMEGRADE -->
<?php get_template_part('template-components/header/menu-homegrade'); ?>
<?php get_template_part('template-components/header/menu-renovateur'); ?>
<!-- SEARCH MODULE -->
<?php get_template_part('template-components/header/search-module'); ?>
</header>
<?php do_action('tailpress_content_start'); ?>
<main id="content" class="site-content flex-grow">
<?php
restore_current_blog();
?>

View File

@ -7,15 +7,14 @@
function register_theme_settings_option_page()
{
$current_blog_id = get_current_blog_id();
// Check function exists.
if (function_exists('acf_add_options_page')) {
if (function_exists('acf_add_options_page') && $current_blog_id === 1) {
// Register options page.
$homegrade_option_page = acf_add_options_page(array(
'page_title' => __('Paramètres & Outils', 'homegrade-theme__texte-backoffice'),
'menu_title' => __('Paramètres', 'homegrade-theme__texte-backoffice'),
'menu_slug' => 'theme-general-settings',
'capability' => 'activate_plugins',
'redirect' => false,

0
includes/errorlog.php Executable file → Normal file
View File

View File

@ -4,6 +4,7 @@
* Theme setup.
*/
function tailpress_setup()
{
@ -61,7 +62,7 @@ function homegrade_enqueue_scripts()
wp_enqueue_script('gsap', get_template_directory_uri() . '/assets/gsap/gsap.min.js', array(), $theme->get('Version'));
wp_enqueue_script('swiperjs', get_template_directory_uri() . '/assets/swiper/swiper-bundle_11.min.js', array(), $theme->get('Version'));
wp_enqueue_style('swipercss', get_template_directory_uri() . '/assets/swiper/swiper-bundle.min.css', array(), $theme->get('Version'));
wp_enqueue_style('tailpress', tailpress_asset('css/app.css'), array(), $theme->get('Version'));
wp_enqueue_style('homegrade-main-css', get_template_directory_uri() . '/css/app.css', array(), $theme->get('Version'));
// #PASSING TRANSLATIONS
wp_register_script('main-app-js', get_template_directory_uri() . '/js/app.js', array('gsap', 'jquery'), $theme->get('Version'));
@ -89,6 +90,15 @@ add_action('wp_enqueue_scripts', 'homegrade_enqueue_scripts');
Enqueue Theme assets 🡒 Back
-----------------------------------------------------------*/
add_action('enqueue_block_editor_assets', 'homegrade_enqueue_scripts');
function homegrade_enqueue_back_scripts()
{
wp_enqueue_script('metiers-theme-editor-js', get_stylesheet_directory_uri() . '/js/editor.js', array(), $theme->get('Version'));
}
add_action('enqueue_block_editor_assets', 'homegrade_enqueue_scripts');
// ALSO SEE add_editor_style('css/editor-style.css') line 41

0
includes/logos.php Executable file → Normal file
View File

View File

@ -16,38 +16,83 @@ function wrap_parent_menu_item_buttons($output, $item, $depth, $args)
$output = '<h6 class="page-group-title">' . $item->title . '</h6>';
}
// #### MENU RENOVATEUR
// if ($args->theme_location === "renovateur") {
// $page_icon = get_field('page_icon', $item->object_id);
// if (in_array('menu-item-has-children', $item->classes, true)) {
// $output = '<button type="button" class="footer__submenu-toggle" aria-expanded="false" aria-controls="sub-menu-' . $item->ID . '">' . $item->title . '</button>';
// }
// // #### ICONE DE PAGE FOR TOP LEVEL MENU ITEMS
// if (isset($page_icon['url'])) {
// $icon = '<img class="page_icon" src="' . $page_icon['url'] . '" alt=""/>';
// $link = $output;
// $output = $icon . $link;
// }
// // #### TAXONOMY : GET ICON & INFOS ABOUT TAX
// if ($item->type === "taxonomy") {
// $term = get_term_by('id', $item->object_id, 'thematiques');
// $cover = get_field('taxonomy_pictures', "thematiques_" . $item->object_id);
// $output = '<a class="lol" href="' . $item->url . '">';
// $output .= '<img class="thematique-icon" src="' . $cover['icon']['url'] . '"/>';
// $output .= '<h6>' . $item->title . "</h6>";
// $output .= '<p>' . $term->description . "</p>";
// $output .= "</a>";
// }
// }
return $output;
}
add_filter('walker_nav_menu_start_el', 'wrap_parent_menu_item_buttons', 10, 4);
/* -----------------------------------------------------------
Hide Page presse from homegrade top-menu but not footer
-----------------------------------------------------------*/
function metiers_patrimoine_filter_menu_items($items, $args)
{
// ID de l'élément de menu à masquer
$isMenuHomegradeInFooter = $args->menu_class === 'menu-homegrade--footer';
foreach ($items as $key => $item) {
$isPagePresse = $item->object_id == "2784" || $item->object_id == "4973";
if ($isPagePresse && !$isMenuHomegradeInFooter) {
unset($items[$key]);
}
}
return $items;
}
add_filter('wp_nav_menu_objects', 'metiers_patrimoine_filter_menu_items', 10, 2);
/* -----------------------------------------------------------
PASS CUSTOM WPML NAV SWITCHER TO MENU
-----------------------------------------------------------*/
add_filter('wp_nav_menu_items', 'add_custom_item_to_menu', 10, 2);
function add_custom_item_to_menu($items, $args)
{
$isMenuHomegradeInFooter = $args->menu_class === 'menu-homegrade--footer';
// restore_current_blog();
if ($args->theme_location === 'homegrade' && !$isMenuHomegradeInFooter) {
/* BOUTON METIERS DU PATRIMOINE */
switch_to_blog(2);
// $home_url_metiers_patrimoine = get_home_url();
$home_url_metiers_patrimoine = get_the_permalink(43);
restore_current_blog();
$items .= '<li id="menu-item-artisan-du-patrimoine" class="menu-item menu-item-type-post_type menu-item-object-page menu-navlink ">';
$items .= '<a href="' . $home_url_metiers_patrimoine . '">';
$items .= __('Artisans du patrimoine', 'homegrade');
$items .= '</a>';
$items .= '</li>';
/* WPML NAV SWITCHER */
ob_start();
restore_current_blog();
// do_action('wpml_language_switcher', array('flags' => false, 'translated' => false, 'link_current' => true));
do_action('wpml_add_language_selector');
switch_to_blog(1);
$wpmlnav = ob_get_clean();
$items .= '<li class="menu-item menu-item-type-post_type menu-item-object-page menu-navlink">';
$items .= $wpmlnav;
$items .= '</li>';
}
// switch_to_blog(1);
return $items;
}

View File

@ -1,6 +1,4 @@
<?php
// Change Defaults Posts to "News" in menu bar
function cp_change_post_object()
{
@ -44,6 +42,10 @@ add_action('admin_menu', 'change_menu_icon');
// #### POST TYPES
function create_posttype()
{
if (get_current_blog_id() != 1) {
return;
}
// **** CONSEILS
register_post_type(
'conseils',

View File

@ -42,9 +42,14 @@ function undo_create_term($term_id, $tt_id, $taxonomy)
REGISTER TAXONOMIES
--------------------*/
function homegrade_add_custom_taxonomies()
function homegrade_add_homegrade_custom_taxonomies()
{
$current_blog_id = get_current_blog_id();
// write_log("Current blog ID: " . $current_blog_id);
// if ($current_blog_id !== 1) {
// return; // Skip if not on the main site
// }
// ————— Thématiques —————
register_taxonomy('thematiques', ['questions', 'conseils', 'brochures', 'fiches-infos', 'videos-webinaires'], array(
@ -104,7 +109,6 @@ function homegrade_add_custom_taxonomies()
'name' => ' Général',
'slug' => 'general',
],
));
// ————— mots-clés —————
@ -131,7 +135,7 @@ function homegrade_add_custom_taxonomies()
));
}
add_action('init', 'homegrade_add_custom_taxonomies', 0);
add_action('init', 'homegrade_add_homegrade_custom_taxonomies', 0);
/* -----------------------
HIDE THEMATIQUE METABOX

0
includes/wysiwyg.php Executable file → Normal file
View File

View File

@ -1,15 +1,10 @@
{
"name": "tailpress",
"name": "Homegrade_Theme",
"version": "3.0.0",
"description": "Boilerplate WordPress theme with Tailwind CSS.",
"author": "Jeffrey van Rossum",
"repository": {
"type": "git",
"url": "https://github.com/jeffreyvr/tailpress"
},
"theme_uri": "https://github.com/jeffreyvr/tailpress",
"author_uri": "https://vanrossum.dev",
"text_domain": "tailpress",
"description": "Homegrade Theme",
"author": "Deligraph — Antoine Martinon",
"author_uri": "https://deligraph.be/",
"text_domain": "homegrade-theme",
"license": "MIT",
"scripts": {
"production:css-app": "cross-env NODE_ENV=development tailwindcss -i ./resources/css/app.css -o ./css/app.css --postcss --minify",

View File

@ -225,6 +225,7 @@
}
}
// Maybe Refactor ?
ol {
@apply list-decimal list-inside;

View File

@ -31,8 +31,10 @@
@import './components/thematiques-faq-filters.css';
@import './components/checkboxes.css';
@import './components/search-results.css';
@import './components/side-card.css';
@import './components/accordeons.css';
@import './components/page-scroller.css';
@import './components/informative-message.css';
@import './components/previous-next-posts.css';
@import './components/forms/field-order-publications.css';
@import './components/forms/field-homegrade-rating.css';
@ -121,6 +123,7 @@
@import './blocks/page-card.css';
@import './blocks/lightbox-gallery.css';
@import './blocks/explainer-screen.css';
@import './blocks/cta-slim.css';
/* Home */
@import './blocks/home-header.css';

View File

@ -26,7 +26,7 @@ main
a[target='_blank']:not([href*='homegrade\.local']):not([href*='homegrade\.brussels']):not(
:has(img)
) {
&:not(.cta--primary, .cta--secondary, .cta--button, .wp-block-button__link) {
&:not(.cta--primary, .cta--secondary, .cta--button, .share-link, .wp-block-button__link) {
@apply inline items-center;
@apply px-2 py-1 first-letter:text-primary underline font-bold relative rounded-md;

0
resources/css/blocks/aides-financieres.css Executable file → Normal file
View File

View File

@ -1,5 +1,5 @@
.block-content-page-header {
@apply py-8 md:py-16 flex gap-12 justify-between mx-auto;
@apply py-8 md:py-16 lg:flex gap-12 justify-between mx-auto;
.section_titling {
@apply px-0 !mb-1;
@ -44,3 +44,9 @@
margin-bottom: unset;
}
}
.block-content-page-header {
.homegrade-blocks-cta-slim + .homegrade-blocks-shortcuts {
@apply mt-12;
}
}

View File

@ -0,0 +1,14 @@
.homegrade-blocks-cta-slim {
@apply flex items-center font-bold pt-2 w-fit rounded-md;
&:after {
@apply ml-2;
transition: transform 0.2s ease-in-out;
/* @apply content-[''] w-4 h-4 bg-green-400 inline-block; */
content: url('../resources/img/graphic-assets/chevron-next.svg');
}
&:hover:after {
@apply translate-x-1;
transition: transform 0.2s ease-in-out;
/* @apply translate-x-2; */
}
}

0
resources/css/blocks/demarches-administratives.css Executable file → Normal file
View File

0
resources/css/blocks/home-header.css Executable file → Normal file
View File

View File

@ -1,11 +1,31 @@
.lightbox-gallery {
@apply grid sm:grid-cols-2 lg:grid-cols-3 gap-6;
img {
@apply h-full w-full object-cover max-h-80;
@apply h-full w-full object-cover max-h-80 rounded-lg;
}
&__picture {
@apply pointer-events-none;
}
&__trigger {
@apply block relative;
cursor: zoom-in;
/* content: url('../resources/img/graphic-assets/icone-external-link-purple.svg'); */
&:after {
transition: all 0.3s ease;
content: '';
@apply bg-contain bg-center w-16 h-16 top-1/2 right-1/2 absolute z-40 content-[''];
@apply opacity-0;
transform: translateY(10px);
translate: 50% -50%;
background-image: url('../resources/img/graphic-assets/icone-focus-galerie.svg');
}
&:hover:after {
transform: translateY(0px);
@apply opacity-100;
}
}
}
.lightbox {
@ -56,20 +76,22 @@
}
}
&__container {
@apply relative flex justify-center items-center bg-white;
@apply relative flex justify-center items-center bg-white rounded-xl;
width: 90%;
height: fit-content;
min-height: 90vh;
@apply my-4 mx-auto;
}
&__current-picture {
img {
@apply h-full w-full max-w-xl;
@apply h-full w-full max-w-xl rounded-lg;
max-height: 60vh;
}
}
&__current-picture-description {
@apply text-center text-neutral-800 pt-2;
}
}
@keyframes lightboxIn {

0
resources/css/blocks/show-thematiques.css Executable file → Normal file
View File

View File

@ -21,6 +21,9 @@
@apply bg-primary text-white
hover:bg-primary-hover;
}
&--patrimoine {
@apply !bg-patrimoine-sante-securite !text-white;
}
&--white {
@apply bg-white text-secondary
hover:bg-primary-hover;

View File

@ -1,6 +1,7 @@
form:not(.metabox-location-side):not(.metabox-location-normal):not(
.metabox-location-advanced,
.search-module__search-form
.search-module__search-form,
.metier-patrimoine-searchform
) {
--secondary: #df1e1e;
--secondary-darker: #bd1515;

View File

@ -0,0 +1,6 @@
.informative-message {
@apply bg-primary text-white p-8 col-span-4 rounded-3xl flex justify-center;
img {
@apply mr-2;
}
}

View File

@ -2,6 +2,7 @@
.previous-next-parcours,
.previous-next-questions {
@apply grid md:grid-cols-2 gap-x-6 gap-y-3 mx-auto max-w-screen-xl !px-6 xl:px-24 my-16;
&__previous,
&__next {
@apply flex gap-4 bg-white rounded-lg shadowed !py-4 px-6 items-center;
@ -12,6 +13,10 @@
@apply -translate-y-1 !bg-white;
}
}
&__post-thumbnail {
@apply w-20 h-20 object-cover rounded-lg;
}
&__previous {
@apply text-left justify-end;
&:after {

View File

@ -0,0 +1,22 @@
.side-card {
@apply py-4 px-6 w-fit bg-white shadowed text-neutral-900
font-bold rounded-2xl flex items-center justify-center my-5 gap-6;
transition: transform 0.3s;
&__title {
@apply leading-snug;
}
&__icon {
@apply w-16 h-16;
}
&:after {
@apply content-[''] w-3 h-3 block bg-no-repeat bg-center bg-contain mt-1 ml-4;
background-image: url('../resources/img/pictogrammes/Homegrade_back_icon.svg');
rotate: 180deg;
}
&:hover {
@apply translate-x-2;
}
}

View File

@ -38,15 +38,32 @@
}
.extra_details {
@apply flex flex-wrap items-center justify-between;
@apply flex flex-wrap items-center justify-between gap-4;
.sitemap-btn,
.metiers-patrimoine-btn {
@apply !py-3 !px-5;
}
.metiers-patrimoine-btn {
@apply flex items-center justify-center;
&::before {
@apply w-6 h-6 mr-2 block bg-contain bg-center bg-no-repeat content-[''];
background-image: url('../resources/img/pictogrammes/Homegrade_artisans-patrimoine.svg');
}
}
.social-networks {
@apply flex gap-4;
@apply flex gap-4 ml-auto;
}
}
}
&__partenaires {
@apply flex flex-wrap col-span-4 md:col-span-2 justify-center items-center gap-12;
@apply flex flex-wrap col-span-4 justify-center items-center gap-x-12;
.content-intertitle {
@apply w-full text-center;
}
a img {
@apply inline-block;
}

View File

@ -1,8 +1,7 @@
/* Handling background page scroll */
body:has(header .menu-renovateur .sub-menu--open) {
@media screen and (max-width: 960px) {
@apply overflow-hidden;
@media screen and (max-width: 960px) {
/* FIXING BUG ON SAFARI */
.menu-renovateur__mobile-menu-toggle,
main {

View File

@ -9,8 +9,8 @@
h-fit
py-2
px-4
pl-10
md:pl-24
lg:pl-0
xl:pl-24
xl:px-8
2xl:px-32
my-0;
@ -61,7 +61,7 @@
&__navlist {
@apply w-full
max-w-screen-2xl mx-auto lg:flex justify-center pr-0;
max-w-screen-2xl mx-auto lg:flex justify-center items-center pr-0;
/* Highlight using list element */
li.current-page-parent > a,
@ -74,6 +74,7 @@
text-center
rounded-xl;
@apply w-fit lg:mx-0;
line-height: 1;
button,
a {
@ -96,6 +97,23 @@
outline-offset: 8px;
}
&#menu-item-artisan-du-patrimoine {
@apply bg-white text-sm text-neutral-900 font-bold rounded-full mr-1
2xl:mr-8 mt-4 lg:mt-0;
transition: all 0.3s ease-out;
&:focus-within,
&:hover {
@apply text-primary translate-x-1;
}
a {
@apply flex items-center justify-center !py-1;
}
a:before {
@apply w-6 h-6 mr-2 bg-contain bg-center bg-no-repeat content-[''];
background-image: url('../resources/img/pictogrammes/Homegrade_artisans-patrimoine.svg');
}
}
/* IF SUBMENU CHILD */
.menu-item__submenu-toggle {
@apply pr-4;
@ -118,6 +136,12 @@
transform: translateY(20%) rotate(225deg);
}
}
/* .wpml-ls-legacy-list-horizontal {
@apply p-0;
}
.wpml-ls {
@apply !p-0;
} */
}
/* &__burger-menu-toggle {
@apply lg:hidden
@ -182,11 +206,64 @@
@apply hidden;
}
}
.wpml-ls-item-nl {
@apply xl:ml-8;
/* .wpml-ls-legacy-list-horizontal {
@apply p-0;
} */
.wpml-ls {
@apply !p-0;
}
/* .wpml-ls-item-nl {
@apply xl:ml-8;
} */
.wpml-ls-legacy-dropdown-click {
@apply !w-fit mt-4 lg:mt-0;
/* margin-left: -10px !important; */
ul {
@apply border-none lg:!px-2;
}
ul.wpml-ls-sub-menu {
@apply !pb-2 bg-primary static lg:absolute;
@media screen and (max-width: 960px) {
@apply !visible;
}
}
a {
@apply !bg-transparent !text-white border-none;
}
a:hover {
@apply rounded-lg font-bold;
background-color: rgba(255, 255, 255, 0.1) !important;
}
a.wpml-ls-item-toggle {
@apply lg:!px-5;
}
a.wpml-ls-item-toggle:after {
@apply !content-none lg:!content-[''];
right: 0px;
display: inline-block;
transition: all 0.3s ease-out;
border: unset;
border-bottom: 2px solid white;
border-right: 2px solid white;
height: 8px;
width: 8px;
/* margin-left: 10px;
margin-left: 20px; */
transform: rotate(45deg);
}
}
.wpml-ls-item {
@apply px-1 inline-block mb-3 lg:mb-0;
@apply bg-transparent text-white;
}
/* OLD LANGUAGE SELECTOR LOOK */
/* .wpml-ls-item {
@apply !px-1 inline-block mb-3 lg:mb-0;
a {
@apply !rounded-full h-10 w-10 border-2 border-white p-0 !flex justify-center items-center font-semibold text-sm;
@ -197,15 +274,15 @@
a:hover {
@apply !bg-white text-primary font-bold;
}
}
.wpml-ls-current-language {
} */
/* .wpml-ls-current-language {
a {
@apply bg-white text-primary font-bold;
}
a:focus-visible {
@apply !bg-white text-primary font-bold;
}
}
} */
}
.menu-homegrade--footer {

View File

@ -82,7 +82,7 @@ header#main-header {
}
}
@media screen and (max-width: 1024px) {
@media screen and (max-width: 960px) {
.menu-renovateur:not([opened]) {
@apply h-0 opacity-0;
transition: all 0.3s ease-in-out;

View File

@ -3,8 +3,9 @@
px-4
xl:px-8
relative
flex
flex-wrap
lg:flex
flex-nowrap
xl:flex-wrap
items-center
justify-between
lg:justify-center
@ -23,6 +24,7 @@
@apply order-1
mr-2
md:mr-12
lg:mr-0
xl:mr-auto
w-[140px]
md:w-[190px]
@ -35,13 +37,10 @@
@apply !opacity-90 rounded-md;
}
}
/* &__main-elements {
@apply w-full bg-red-200 flex justify-between items-center;
} */
&__navlist {
@apply w-fit
md:pl-14
xl:pl-14
lg:mx-auto
lg:flex
justify-center;
@ -169,7 +168,7 @@
}
&__submenu-toggle,
> a {
@apply p-6 rounded-3xl
@apply lg:p-4 xl:p-6 rounded-3xl
flex
items-center;
}
@ -305,7 +304,7 @@
.menu-item {
&__submenu-toggle,
> a {
@apply p-3;
@apply p-1 xl:p-3;
}
}
}

View File

@ -5,15 +5,20 @@
.conseils_wrapper {
@apply lg:flex gap-x-8 max-w-screen-2xl mx-auto pb-12;
aside {
@apply lg:sticky
left-0
h-fit
lg:max-w-md
top-4;
}
.chapter_index {
@apply bg-gray
w-full
lg:max-w-md
p-8
h-fit
lg:sticky
left-0
top-4
mb-4
/* lg:sticky */
rounded-2xl;
&__title {

0
resources/img/demo-img/chauffage.jpg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 116 KiB

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -0,0 +1,12 @@
<svg id="Groupe_10951" data-name="Groupe 10951" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="41" height="41" viewBox="0 0 41 41">
<defs>
<clipPath id="clip-path">
<rect id="Rectangle_3875" data-name="Rectangle 3875" width="41" height="41" fill="none"/>
</clipPath>
</defs>
<g id="Groupe_10949" data-name="Groupe 10949" clip-path="url(#clip-path)">
<path id="Tracé_44192" data-name="Tracé 44192" d="M20.354,0A20.354,20.354,0,1,1,0,20.354,20.354,20.354,0,0,1,20.354,0" fill="#2f0154"/>
<path id="Ellipse_2522" data-name="Ellipse 2522" d="M3.916-1A4.916,4.916,0,1,1-1,3.916,4.921,4.921,0,0,1,3.916-1Zm0,8.3a3.38,3.38,0,1,0-3.38-3.38A3.383,3.383,0,0,0,3.916,7.3Z" transform="translate(15.478 15.616)" fill="#fff"/>
<path id="Ligne_7504" data-name="Ligne 7504" d="M3.255,4.023A.766.766,0,0,1,2.712,3.8L-.775.311a.768.768,0,0,1,0-1.086.768.768,0,0,1,1.086,0L3.8,2.712a.768.768,0,0,1-.543,1.311Z" transform="translate(22.967 22.836)" fill="#fff"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 670 B

View File

@ -1,75 +1,55 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="renolution-primes" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 247.37 335.2">
<svg id="renolution-primes" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 223.89 323.88">
<defs>
<style>
.cls-1 {
fill: url(#Dégradé_sans_nom_11-3);
}
.cls-1, .cls-2, .cls-3, .cls-4 {
.cls-1, .cls-2 {
stroke-width: 0px;
}
.cls-5 {
.cls-3 {
fill: #fff;
}
.cls-5, .cls-6 {
.cls-3, .cls-4 {
stroke: #000;
stroke-linecap: round;
stroke-linejoin: round;
stroke-width: 2px;
}
.cls-3 {
fill: url(#Dégradé_sans_nom_11-2);
}
.cls-4 {
.cls-2 {
fill: url(#Dégradé_sans_nom_11);
}
.cls-6 {
.cls-4 {
fill: none;
}
</style>
<linearGradient id="Dégradé_sans_nom_11" data-name="Dégradé sans nom 11" x1="-5717.86" y1="-104.98" x2="-5716.78" y2="-106.12" gradientTransform="translate(-85206.48 -17519.94) rotate(-169.4) scale(15.26 15.2)" gradientUnits="userSpaceOnUse">
<linearGradient id="Dégradé_sans_nom_11" data-name="Dégradé sans nom 11" x1="156.55" y1="6.44" x2="96.61" y2="49.84" gradientTransform="translate(34.23 119.5) rotate(-30) skewX(-30)" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#f3281d"/>
<stop offset="1" stop-color="#fe766f"/>
</linearGradient>
<linearGradient id="Dégradé_sans_nom_11-2" data-name="Dégradé sans nom 11" x1="-5712.77" y1="-100.18" x2="-5711.22" y2="-101.81" gradientTransform="translate(-86319.6 -10446.66) rotate(-174.12) scale(15.26 15.2)" xlink:href="#Dégradé_sans_nom_11"/>
<linearGradient id="Dégradé_sans_nom_11-3" data-name="Dégradé sans nom 11" x1="156.55" y1="17.77" x2="96.61" y2="61.16" gradientTransform="translate(34.23 117.75) rotate(-30) skewX(-30)" xlink:href="#Dégradé_sans_nom_11"/>
</defs>
<g id="Groupe_5560" data-name="Groupe 5560">
<g id="Groupe_5557" data-name="Groupe 5557">
<path id="Tracé_23834" data-name="Tracé 23834" class="cls-4" d="m233.24,96.7l-1.82.35c-.23.04-.38.27-.34.5.02.12.09.22.19.28l1.57.98c2.17,1.36,3.68,3.55,4.17,6.06l.35,1.82c.05.23.27.38.5.34.11-.02.22-.09.28-.19l.99-1.57c1.36-2.16,3.57-3.66,6.08-4.14l1.82-.35c.23-.04.38-.27.34-.5-.02-.12-.09-.22-.19-.28l-1.57-.99c-2.17-1.36-3.68-3.55-4.17-6.06l-.35-1.82c-.05-.23-.27-.38-.5-.34-.11.02-.22.09-.28.19l-.99,1.57c-1.36,2.16-3.56,3.66-6.07,4.14Z"/>
</g>
</g>
<g id="Groupe_5560-2" data-name="Groupe 5560">
<g id="Groupe_5557-2" data-name="Groupe 5557">
<path id="Tracé_23834-2" data-name="Tracé 23834" class="cls-3" d="m203.36,9.3l-2.56.71c-.32.09-.51.42-.42.75.05.16.16.3.31.38l2.36,1.22c3.25,1.68,5.66,4.63,6.65,8.15l.72,2.55c.09.32.43.51.75.42.16-.05.3-.16.37-.3l1.22-2.35c1.69-3.24,4.65-5.64,8.18-6.62l2.55-.71c.32-.09.51-.42.42-.75-.05-.16-.16-.3-.31-.38l-2.36-1.22c-3.25-1.68-5.66-4.63-6.65-8.15l-.71-2.55c-.09-.32-.43-.51-.75-.42-.16.05-.3.16-.37.3l-1.22,2.35c-1.69,3.24-4.65,5.64-8.17,6.62Z"/>
<g>
<polygon class="cls-3" points="8.06 262.47 112.64 322.88 112.64 204.34 60.35 108.7 8.06 143.97 8.06 262.47"/>
<polygon class="cls-3" points="112.64 322.88 217.22 263.31 217.22 143.97 112.64 204.34 112.64 322.88"/>
<polygon class="cls-3" points="222.89 145.24 166.82 42.68 54.67 107.43 110.75 209.99 222.89 145.24"/>
<polygon class="cls-3" points="54.67 107.43 1 143.97 8.06 143.97 56.71 111.15 54.67 107.43"/>
</g>
<polygon class="cls-1" points="99.81 144.19 107.72 156.63 183.15 116.01 175.13 103.23 99.81 144.19"/>
<g>
<polygon class="cls-3" points="161.61 29.38 161.61 76.8 105.87 104.49 105.87 61.48 161.61 29.38"/>
<path class="cls-3" d="m159.06,33.87l6.29,3.9-47.27,28.3c-1.26-.14-3.57-.45-5.99-1.05-.89-.22-1.98-.53-2.92-1.46-.34-.34-.57-.67-.71-.9,16.87-9.6,33.73-19.19,50.6-28.79Z"/>
<path class="cls-3" d="m105.37,62.89v76.11c.99,1.92,3,5.04,6.52,6.23,3.5,1.18,7.01.14,8.97-1,17.61-10.24,35.21-20.48,52.82-30.73V36.11l-53.65,31.06c-.66.32-5.06,2.35-9.7.24-2.89-1.32-4.39-3.56-4.95-4.51Z"/>
<line class="cls-4" x1="120.86" y1="144.23" x2="120.86" y2="67.17"/>
<path class="cls-3" d="m173.67,36.11l-2.53-1.81c-17.45,10.18-34.91,20.36-52.36,30.54-1.62.5-4.42,1.05-7.31-.08-1.18-.46-2.94-1.15-3.16-2.57-.19-1.27.89-2.74,2.7-3.61,16.86-9.73,33.73-19.46,50.59-29.19-.75-.48-1.49-.95-2.24-1.43-17.09,9.83-34.17,19.66-51.26,29.48-.78.49-2.81,1.88-2.99,3.96-.28,3.22,4.06,5.73,6.87,6.52,3.64,1.04,6.82-.2,8.04-.75,17.88-10.35,35.76-20.71,53.65-31.06Z"/>
</g>
<g>
<polygon class="cls-5" points="8.06 273.8 112.64 334.2 112.64 215.67 60.35 120.03 8.06 155.29 8.06 273.8"/>
<polygon class="cls-5" points="112.64 334.2 217.22 274.64 217.22 155.29 112.64 215.67 112.64 334.2"/>
<polygon class="cls-5" points="222.89 156.57 166.82 54.01 54.67 118.75 110.75 221.31 222.89 156.57"/>
<polygon class="cls-5" points="54.67 118.75 1 155.29 8.06 155.29 56.71 122.48 54.67 118.75"/>
<polygon class="cls-3" points="118.39 60.39 155.9 38.74 155.9 1 118.39 22.66 118.39 60.39"/>
<line class="cls-4" x1="150.32" y1="12.79" x2="123.97" y2="28"/>
<line class="cls-4" x1="150.32" y1="21.04" x2="123.97" y2="36.26"/>
<line class="cls-4" x1="150.32" y1="29.3" x2="123.97" y2="44.51"/>
<line class="cls-4" x1="150.32" y1="37.56" x2="123.97" y2="52.77"/>
</g>
<polygon class="cls-2" points="99.81 155.52 107.72 167.96 183.15 127.34 175.13 114.56 99.81 155.52"/>
<g>
<polygon class="cls-5" points="161.61 40.71 161.61 88.13 105.87 115.82 105.87 72.8 161.61 40.71"/>
<path class="cls-5" d="m159.06,45.2l6.29,3.9-47.27,28.3c-1.26-.14-3.57-.45-5.99-1.05-.89-.22-1.98-.53-2.92-1.46-.34-.34-.57-.67-.71-.9,16.87-9.6,33.73-19.19,50.6-28.79Z"/>
<path class="cls-5" d="m105.37,74.22v76.11c.99,1.92,3,5.04,6.52,6.23,3.5,1.18,7.01.14,8.97-1,17.61-10.24,35.21-20.48,52.82-30.73V47.44l-53.65,31.06c-.66.32-5.06,2.35-9.7.24-2.89-1.32-4.39-3.56-4.95-4.51Z"/>
<line class="cls-6" x1="120.86" y1="155.56" x2="120.86" y2="78.5"/>
<path class="cls-5" d="m173.67,47.44l-2.53-1.81c-17.45,10.18-34.91,20.36-52.36,30.54-1.62.5-4.42,1.05-7.31-.08-1.18-.46-2.94-1.15-3.16-2.57-.19-1.27.89-2.74,2.7-3.61,16.86-9.73,33.73-19.46,50.59-29.19-.75-.48-1.49-.95-2.24-1.43-17.09,9.83-34.17,19.66-51.26,29.48-.78.49-2.81,1.88-2.99,3.96-.28,3.22,4.06,5.73,6.87,6.52,3.64,1.04,6.82-.2,8.04-.75,17.88-10.35,35.76-20.71,53.65-31.06Z"/>
</g>
<g>
<polygon class="cls-5" points="118.39 71.72 155.9 50.07 155.9 12.33 118.39 33.98 118.39 71.72"/>
<line class="cls-6" x1="150.32" y1="24.11" x2="123.97" y2="39.33"/>
<line class="cls-6" x1="150.32" y1="32.37" x2="123.97" y2="47.58"/>
<line class="cls-6" x1="150.32" y1="40.63" x2="123.97" y2="55.84"/>
<line class="cls-6" x1="150.32" y1="48.88" x2="123.97" y2="64.1"/>
</g>
<polygon class="cls-1" points="165.6 88.63 131.03 108.58 131.03 97.66 165.6 77.7 165.6 88.63"/>
<polygon class="cls-2" points="165.6 77.3 131.03 97.26 131.03 86.33 165.6 66.37 165.6 77.3"/>
</svg>

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8"?><svg id="artisans-patrimoine" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 32.9 32.93"><defs><style>.cls-1{fill:url(#Dégradé_sans_nom_2);stroke-width:0px;}.cls-2{fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}</style><linearGradient id="Dégradé_sans_nom_2" x1="0" y1="23.83" x2="15.76" y2="23.83" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#f3281d"/><stop offset="1" stop-color="#fe766f"/></linearGradient></defs><polyline class="cls-2" points="5.47 16.62 25.9 1 31.9 7.01 28.3 7.01 28.3 10.61 24.7 10.61 24.7 14.22 21.09 14.22 21.09 17.82 17.49 17.82 17.49 21.42 13.88 21.42 13.88 25.03"/><path class="cls-1" d="M15.56,25.75L4.75,14.94c-.24-.24-.62-.27-.89-.06l-2.04,1.53c-1.85,1.39-2.37,3.94-1.2,5.94l5.42,9.3c.41.7,1.1,1.16,1.9,1.26.11.01.23.02.34.02.68,0,1.33-.27,1.82-.76l5.46-5.46c.27-.27.27-.69,0-.96Z"/><line class="cls-2" x1="4.66" y1="21.09" x2="8.69" y2="26.56"/></svg>

After

Width:  |  Height:  |  Size: 1021 B

View File

@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="6.235" height="9.001" viewBox="0 0 6.235 9.001">
<path id="Tracé_38214" data-name="Tracé 38214" d="M104.818,76.33l3.829-3.094-3.829-3.094" transform="translate(109.647 77.736) rotate(180)" fill="none" stroke="#8b2ff7" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
</svg>

After

Width:  |  Height:  |  Size: 342 B

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

@ -1,4 +1,4 @@
import editorInit from './editor';
import editorInit from './editor-shortcode';
import menuInit from './menus';
import SchemaBulletPointsInit from './schema-bullet-points';
import taxonomyThematiqueFaqInit from './taxonomy-thematique-(faq)';
@ -29,5 +29,4 @@ window.addEventListener('DOMContentLoaded', (event) => {
// NOTIFICATIONS
notificationsInit();
LightBoxSingle.init();
});

View File

@ -140,6 +140,7 @@ export default function menuInit() {
HANDLE SEARCH
-----------------------------------------------------------*/
function isSearchOpen() {
if (!searchModule) return null;
// IF CLOSED
if (
searchModule.getAttribute('mobile-closed') != null &&

View File

@ -6,7 +6,6 @@
<input class="search-module__search-form__input" type="text" name="s" id="search" value="<?php the_search_query(); ?>" placeholder="<?php echo __('Rechercher dans le site. Taper vos mots-clés ici', 'homegrade-theme__texte-fonctionnel') ?>" />
<button type="submit">
<span><?php echo __('Rechercher', 'homegrade-theme__texte-fonctionnel') ?></span>
<img class="search_icon" src='<?php echo get_template_directory_uri() ?>/resources/img/graphic-assets/search-icon.svg' alt=''>

View File

@ -68,7 +68,6 @@ get_header();
$relatedBrochuresPosts = get_posts($queryArgs);
$relatedBrochure = get_field('brochure_pdf', $relatedBrochuresPosts[0]->ID) ?? null;
$hasManualDocument = get_field('manual_source_document') ?? null;
$manualSrcDocument = get_field('manual_document_link');
@ -82,27 +81,27 @@ get_header();
'ctaUrl' => $relatedDocumentUrl,
'ctaTitle' => $relatedDocumentCtaTitle,
'hasInfoCapsule' => true,
)); ?>
));
?>
<?php /* -------
CONSEIL
---------------*/ ?>
<div class=" conseils_wrapper">
<!-- CHAPTER INDEX -->
<aside class="chapter_index">
<?php if ($chapterBlockIndex) : ?>
<div class="chapter_index__titling">
<div class="icon">
<img src="<?php echo get_template_directory_uri() . '/resources/img/graphic-assets/icon-feather-menu.svg' ?>" alt="">
</div>
<h2 class="chapter_index__title"> <?php echo __("Dans ce conseil", "homegrade-theme__texte-fonctionnel") ?> </h2>
</div>
<ul class="chapter_index__list">
<div class="chapter_index__position-indicator"></div>
<?php foreach ($chapterBlockIndex as $chapter) : ?>
<li class="chapter_index__link"><a href="<?php echo $chapter['anchor'] ?>"><?php echo $chapter['title'] ?></a></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
<aside>
<?php if ($chapterBlockIndex) {
get_template_part('template-components/post-conseils/chapter-index', null, array(
'chapterBlockIndex' => $chapterBlockIndex,
));
} ?>
<?php
if ($mainThematique->term_id == 59 || $mainThematique->term_id == 32) {
get_template_part('template-components/post-conseils/find-artisan', null, array());
}
?>
</aside>
<!-- ARTICLE -->
@ -116,10 +115,5 @@ get_header();
<?php endwhile; ?>
<?php endif; ?>
<?php
get_footer();

0
style-login.css Executable file → Normal file
View File

View File

@ -3,7 +3,7 @@ Theme Name: Homegrade_Theme
Author: Deligraph
Author URI: https://deligraph.com/
Version: 1.0.0
Text Domain: homegrade-theme__texte-fonctionnel
Text Domain: metiers-du-patrimoine
Language: French
Test
*/

View File

@ -77,7 +77,7 @@ module.exports = {
md: '782px',
lg: tailpress.theme('settings.layout.contentSize', theme),
xl: tailpress.theme('settings.layout.wideSize', theme),
'2xl': '1440px',
'2xl': '1441px',
},
},
plugins: [tailpress.tailwind],

View File

@ -3,18 +3,17 @@
?>
<nav class="menu-homegrade menu-homegrade--header" closed>
<!-- <div class="menu-homegrade__wrapper-container"> -->
<?php
wp_nav_menu(
array(
$args = array(
'container' => 'false',
'theme_location' => 'homegrade',
'li_class' => 'menu-navlink',
'fallback_cb' => false,
'menu_class' => 'menu-homegrade-header menu-homegrade__navlist',
'menu_id' => 'menu-homegrade-navlist',
);
wp_nav_menu($args);
?>
)
); ?>
</nav>

View File

@ -1,4 +1,6 @@
<?php
switch_to_blog(1);
$menu_name = 'renovateur';
$locations = get_nav_menu_locations();
$menu = wp_get_nav_menu_object($locations[$menu_name]);
@ -153,7 +155,7 @@ $logoSRC = wp_get_attachment_image_src($logoID, 'full');
</div>
</a>
<?php else : ?>
<a href="<?php echo get_permalink($taxonomyRelatedPost->ID) ?>">
<a href="<?php echo "#" ?>">
<?php if ($cover) : ?>
<img class="sub-menu__navlist__thematique-icon" src="<?php echo $cover['icon']['url'] ?>" alt="">
<?php endif; ?>
@ -217,3 +219,7 @@ $logoSRC = wp_get_attachment_image_src($logoID, 'full');
?>
</div>
</div>
<?php
restore_current_blog();
?>

View File

@ -1,4 +1,5 @@
<?php
switch_to_blog(1);
$logoID = get_theme_mod('custom_logo');
$logoSRC = wp_get_attachment_image_src($logoID, 'full');
?>
@ -37,3 +38,8 @@ $logoSRC = wp_get_attachment_image_src($logoID, 'full');
// get_template_part('template-components/header/search-module');
?>
</nav>
<?php
restore_current_blog();
?>

View File

@ -1,5 +1,5 @@
<?php
// switch_to_blog(1);
?>
<div id="search-module" class="search-module" mobile-closed aria-hidden role="search">
<div class="search-module__wrapper-container">
@ -16,7 +16,6 @@
$suggestions_posts = new WP_Query($args);
?>
<ul class="search-module__suggestions__navlist">
<?php foreach ($suggestions_posts->posts as $post) : ?>
<li class="suggestion-item">
<a href="<?php echo get_the_permalink($post->ID) ?>"><?php echo $post->post_title ?></a>
@ -27,3 +26,7 @@
</div>
</div>
<?php
// restore_current_blog();
?>

View File

@ -0,0 +1,9 @@
<?php
$message = $args['message'];
if (!$message) return;
?>
<div class="informative-message">
<img src='<?php echo get_template_directory_uri() ?>/resources/img/pictogrammes/icone-info.svg' alt=''>
<p><?php echo $message ?></p>
</div>

View File

@ -0,0 +1,18 @@
<?php
$chapterBlockIndex = $args["chapterBlockIndex"];
?>
<div class="chapter_index">
<div class="chapter_index__titling">
<div class="icon">
<img src="<?php echo get_template_directory_uri() . '/resources/img/graphic-assets/icon-feather-menu.svg' ?>" alt="">
</div>
<h2 class="chapter_index__title"> <?php echo __("Dans ce conseil", "homegrade-theme__texte-fonctionnel") ?> </h2>
</div>
<ul class="chapter_index__list">
<div class="chapter_index__position-indicator"></div>
<?php foreach ($chapterBlockIndex as $chapter) : ?>
<li class="chapter_index__link"><a href="<?php echo $chapter['anchor'] ?>"><?php echo $chapter['title'] ?></a></li>
<?php endforeach; ?>
</ul>
</div>

View File

@ -0,0 +1,10 @@
<?php
// get network site 2 home url
$networkArtisan = get_blog_details(2);
$networkArtisanHomeUrl = isset($networkArtisan->home) ? $networkArtisan->home : '';
?>
<a href="<?php echo $networkArtisanHomeUrl ?>" class="side-card">
<img class="side-card__icon" src="<?php echo get_template_directory_uri() . '/resources/img/pictogrammes/Homegrade_chercher-entreprise.svg' ?>" alt=''>
<p class="side-card__title"> <?php echo __("Trouver un artisan du patrimoine pour réaliser vos rénovations", "metiers-patrimoine-theme") ?></p>
</a>

View File

@ -22,6 +22,7 @@
.share-button a {
@apply bg-primary !block w-8 h-8 rounded-full p-4 relative;
transition: transform 0.3s ease-in-out;
&:before {
@apply absolute w-3 h-3 bg-contain bg-center bg-no-repeat;
width: 25px;