Compare commits

..

3 Commits

Author SHA1 Message Date
Nonimart
56e313c5a9 FEATURE potmizing component colors variants
All checks were successful
continuous-integration/drone/push Build is passing
2025-06-18 16:28:20 +02:00
Nonimart
c985af534a REFACTOR revue-header to more genral post-header 2025-06-18 16:28:01 +02:00
Nonimart
79bc9a260c REFACTOR revue-header to more genral post-header 2025-06-18 16:27:51 +02:00
4 changed files with 11 additions and 4 deletions

View File

@ -1,6 +1,14 @@
.content-meta {
@apply flex !items-center justify-between gap-2;
&__revue-issue {
@apply bg-carhop-green-700 text-white !px-3 !py-2 font-normal h-fit;
@apply !px-3 !py-2 font-semibold h-fit;
@apply bg-carhop-green-700 text-white;
&--white {
@apply bg-white !text-carhop-green-700;
}
/* &--primary {
@apply bg-carhop-green-700 text-white;
} */
}
}

View File

@ -2,8 +2,7 @@
<div class="page--single-articles" data-revue-id="<?php echo get_the_ID(); ?>">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php get_template_part('template-parts/revues/revue-header'); ?>
<?php get_template_part('template-parts/post-header'); ?>
<div class="content-wrapper">
<div class="sidebar">

View File

@ -10,7 +10,7 @@ $articles = get_field('articles', $current_issue->ID);
<div class="page--single-revue" data-revue-id="<?php echo get_the_ID(); ?>">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php get_template_part('template-parts/revues/revue-header'); ?>
<?php get_template_part('template-parts/post-header'); ?>
<div class="content-wrapper">