Compare commits

..

3 Commits

Author SHA1 Message Date
Antoine M
4251de3660 FEEDBACK Refining aspects
All checks were successful
continuous-integration/drone/push Build is passing
2025-10-15 09:53:31 +02:00
Antoine M
b6942a8f61 RESPONSIVE FIX for bugs or aspect problems 2025-10-15 09:53:19 +02:00
Antoine M
0272e701c6 FEATURE Handling sitemap styles 2025-10-15 09:52:43 +02:00
8 changed files with 87 additions and 40 deletions

View File

@ -58,6 +58,8 @@
@import './blocks/gallery.css'; @import './blocks/gallery.css';
@import './blocks/content-card.css'; @import './blocks/content-card.css';
@import './blocks/card-grid.css'; @import './blocks/card-grid.css';
@import './blocks/sitemap.css';
/* ########### LIBS ############ */ /* ########### LIBS ############ */
@import './libs/swiper.css'; @import './libs/swiper.css';

View File

@ -34,6 +34,7 @@ a[target='_blank'] {
@apply flex items-center; @apply flex items-center;
transition: transform 0.3s ease-out; transition: transform 0.3s ease-out;
&:after { &:after {
flex-shrink: 0;
transition: transform 0.3s ease-out; transition: transform 0.3s ease-out;
@apply content-[''] w-10 h-10 ml-2 inline-block; @apply content-[''] w-10 h-10 ml-2 inline-block;
background-image: url('../resources/img/carhop-fleche-lien-externe-full--outline-green.svg'); background-image: url('../resources/img/carhop-fleche-lien-externe-full--outline-green.svg');

View File

@ -31,7 +31,7 @@
} }
&__content { &__content {
@apply max-w-3xl; @apply max-w-3xl relative;
p { p {
@apply text-neutral-600 max-w-xl mb-2; @apply text-neutral-600 max-w-xl mb-2;
} }
@ -54,7 +54,7 @@
} }
&__cover { &__cover {
@apply object-contain; @apply object-contain relative;
min-width: 0; min-width: 0;
flex-shrink: 1; flex-shrink: 1;
max-width: 100%; /* Empêche de dépasser son conteneur */ max-width: 100%; /* Empêche de dépasser son conteneur */

View File

@ -139,8 +139,9 @@
z-index: 0; z-index: 0;
/* opacity: 0.5; */ /* opacity: 0.5; */
top: 100px; top: 100px;
height: calc(100% - 150px);
@screen lg { @screen lg {
height: calc(100% - 150px);
transform: translateY(100px) translateX(-50%) perspective(800px) skewX(1deg) transform: translateY(100px) translateX(-50%) perspective(800px) skewX(1deg)
rotateZ(-2deg) rotateY(-4deg) scaleX(1.98); rotateZ(-2deg) rotateY(-4deg) scaleX(1.98);
} }

View File

@ -11,7 +11,7 @@
@apply mb-16; @apply mb-16;
} }
.swiper-actions-wrapper { .swiper-actions-wrapper {
@apply md:flex justify-between items-center gap-4; @apply flex flex-col md:flex-row md:justify-between md:items-center gap-4 gap-y-8;
#discover-all-revues { #discover-all-revues {
@apply internal-link-with-icon; @apply internal-link-with-icon;

View File

@ -1,5 +1,32 @@
.sitemap { .sitemap {
@apply bg-primary-light; h1.sitemap__title,
h2,
h3 {
color: var(---content-box-text-color) !important;
}
h1.sitemap__title {
@apply text-center uppercase tracking-widest mb-32;
}
h2.website-title {
@apply mb-4 !font-semibold !tracking-widest;
}
h3.menu-title {
@apply font-normal uppercase tracking-widest text-4xl;
}
ul {
@apply mt-12 grid md:grid-cols-2 lg:grid-cols-3 gap-12;
li {
@apply list-none text-center;
a {
@apply flex flex-col items-center justify-center underline underline-offset-4;
}
}
}
.website-menu-list {
@apply mb-32;
}
} }
.sitemap__inner { .sitemap__inner {

View File

@ -58,7 +58,13 @@ footer {
} }
} }
.credits { .socials {
a {
@apply block;
}
}
ul.credits {
@apply w-full grid gap-y-12 gap-x-8 lg:gap-x-12 grid-cols-1 md:grid-cols-2; /* Mobile-first: 1 column */ @apply w-full grid gap-y-12 gap-x-8 lg:gap-x-12 grid-cols-1 md:grid-cols-2; /* Mobile-first: 1 column */
@screen lg { @screen lg {
@ -67,14 +73,19 @@ footer {
grid-template-rows: repeat(2, auto); grid-template-rows: repeat(2, auto);
grid-template-columns: repeat(4, 1fr); grid-template-columns: repeat(4, 1fr);
> :first-child { /* > :first-child {
grid-row: span 2; grid-row: span 2;
} } */
}
h3 {
@apply nunito;
} }
} }
.socials {
a { ul.mentions {
@apply block; @apply w-full grid gap-y-6 gap-x-8 lg:gap-x-12 grid-cols-1 md:grid-cols-2 pt-12;
@screen lg {
grid-template-columns: repeat(4, 1fr);
} }
} }
@ -92,19 +103,17 @@ footer {
filter: brightness(1.3); filter: brightness(1.3);
} }
} }
ul {
@apply w-full flex flex-col lg:flex-row flex-wrap gap-x-4 justify-between pt-12; li {
li { @apply text-primary;
@apply text-primary; }
} li.deligraph_credit {
li.deligraph_credit { @apply flex gap-x-1 items-center;
@apply flex gap-x-1 items-center; img {
img { transition: all 0.5s;
transition: all 0.5s; @apply w-5 h-5 filter-primary;
@apply w-5 h-5 filter-primary; animation: fade-in-out 3.5s linear infinite;
animation: fade-in-out 3.5s linear infinite; /* scale: 1.2; */
/* scale: 1.2; */
}
} }
} }
} }

View File

@ -29,6 +29,15 @@
<a href="tel:+3267485861">+32 67 48 58 61</a> <a href="tel:+3267485861">+32 67 48 58 61</a>
</p> </p>
</li> </li>
<li class="activity-report">
<h3 class="section-title">Rapport dactivité</h3>
<p>
<a href="mailto:info@carhop.be">info@carhop.be</a>
</p>
<p>
<a href="tel:+3267485861">+32 67 48 58 61</a>
</p>
</li>
<li class="siege-social"> <li class="siege-social">
<h3 class="section-title">siège social et d'activités </h3> <h3 class="section-title">siège social et d'activités </h3>
@ -67,20 +76,18 @@
</li> </li>
</ul> </ul>
<div class="mentions"> <ul class="mentions">
<ul> <li>
<li> <a href="<?php echo get_the_permalink(606); ?>" target="_self"><?php echo __('Plan du site', "carhop") ?></a>
<a href="<?php echo get_the_permalink(606); ?>" target="_self"><?php echo __('Plan du site', "carhop") ?></a> </li>
</li> <li>
<li> <a href="<?php echo get_the_permalink(606); ?>" target="_self"><?php echo __('Politique de confidentialité', "carhop") ?></a>
<a href="<?php echo get_the_permalink(606); ?>" target="_self"><?php echo __('Politique de confidentialité', "carhop") ?></a> </li>
</li> <li>
<li> <p>Accessibilité : conforme</a>
<p>Acessibilité : conforme</a> </li>
</li> <li class="deligraph_credit">
<li class="deligraph_credit"> Concocté avec <img src="<?php echo get_template_directory_uri(); ?>/resources/img/icons/carhop-soutenir.svg" alt="amour" /> par <a href="https://deligraph.com/" target="_blank" class="no-external-icon">Deligraph</a>
Concocté avec <img src="<?php echo get_template_directory_uri(); ?>/resources/img/icons/carhop-soutenir.svg" alt="amour" /> par <a href="https://www.deligraph.be" target="_blank" class="no-external-icon">Deligraph</a> </li>
</li>
</ul> </ul>
</div>