Compare commits

..

3 Commits

Author SHA1 Message Date
Antoine M
be5249236a FEATURE Optimizing swiper css aspect and behaviour
All checks were successful
continuous-integration/drone/push Build is passing
2025-06-18 16:26:49 +02:00
Antoine M
adc4dc64da FIX Correcting pictures path 2025-06-12 08:46:23 +02:00
Antoine M
0788538a99 REOGARGANISATION Moving files into specific icon folders 2025-06-12 08:45:51 +02:00
6 changed files with 19 additions and 9 deletions

View File

@ -6,20 +6,27 @@
--swiper-theme-color: var(
--wp--preset--color--primary
) !important;
--swiper-pagination-color: var(
--color-primary
) !important;
--swiper-pagination-color: transparent !important;
--swiper-pagination-bullet-inactive-color: transparent !important;
}
.swiper-pagination {
@apply h-fit flex gap-12 !static mt-12;
@apply h-fit flex gap-12 !static;
top: unset !important;
bottom: 0px !important;
z-index: 100 !important;
}
.swiper-pagination-bullet {
@apply bg-primary w-full;
@apply bg-transparent w-full !py-6 relative;
&:after {
@apply content-[''] bg-primary w-full absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2;
height: 2px;
}
}
.swiper-pagination-fraction {
@apply !text-primary font-semibold;
}
.swiper-controls {
@ -34,3 +41,6 @@
}
}
}
.swiper-wrapper {
@apply mb-4;
}

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 592 B

After

Width:  |  Height:  |  Size: 592 B

View File

Before

Width:  |  Height:  |  Size: 591 B

After

Width:  |  Height:  |  Size: 591 B

View File

Before

Width:  |  Height:  |  Size: 598 B

After

Width:  |  Height:  |  Size: 598 B

View File

@ -4,16 +4,16 @@
<div class="branding">
<div class="branding__shapes">
<div class="shape square">
<img src="<?php echo get_template_directory_uri(); ?>/resources/img/icon-collections.svg" alt="Carhop">
<img src="<?php echo get_template_directory_uri(); ?>/resources/img/icons/icon-collections.svg" alt="Carhop">
</div>
<div class="shape circle">
<img src="<?php echo get_template_directory_uri(); ?>/resources/img/icon-publications.svg" alt="Carhop">
<img src="<?php echo get_template_directory_uri(); ?>/resources/img/icons/icon-publications.svg" alt="Carhop">
</div>
<div class="shape rectangle-rotated">
<img src="<?php echo get_template_directory_uri(); ?>/resources/img/icon-activites.svg" alt="Carhop">
<img src="<?php echo get_template_directory_uri(); ?>/resources/img/icons/icon-activites.svg" alt="Carhop">
</div>
<div class="shape rectangle-vertical">
<img src="<?php echo get_template_directory_uri(); ?>/resources/img/icon-dbmob.svg" alt="Carhop">
<img src="<?php echo get_template_directory_uri(); ?>/resources/img/icons/icon-dbmob.svg" alt="Carhop">
</div>
</div>
<img class="website-title" src="<?php echo get_template_directory_uri(); ?>/resources/img/carhop-textual-logo.svg" alt="Carhop">