Compare commits

..
3 Commits
Author SHA1 Message Date
Keith Solomon b4fb3b051b 🐞 fix: Add switch to show back link on single post pages
Deploy to Dreamhost (dev) / build (push) Successful in 32s
Sync TODOs with Issues / sync_todos (push) Successful in 6s
2026-07-05 16:39:46 -05:00
Keith Solomon 6c78d23512 🐞 fix: Add parameters for icon sizing 2026-07-05 16:39:26 -05:00
Keith Solomon 5e08b78d62 🐞 fix: Adjust card background 2026-07-05 16:39:08 -05:00
4 changed files with 33 additions and 12 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
.post-list__img { border-bottom: 0; } .post-list__img { border-bottom: 0; }
.post-list__details { .post-list__details {
background: color-mix(in oklch, var(--color-cwc-blue-03) 80%, white); background: color-mix(in oklch, var(--color-cwc-blue-03) 60%, white);
color: var(--color-cwc-blue-01); color: var(--color-cwc-blue-01);
} }
+6 -1
View File
@@ -1,4 +1,9 @@
<svg width="11" height="19" viewBox="0 0 11 19" fill="none" xmlns="http://www.w3.org/2000/svg"> <?php
$width = $args['width'] ?? '11';
$height = $args['height'] ?? '19';
?>
<svg width="<?php echo esc_attr( $width ); ?>" height="<?php echo esc_attr( $height ); ?>" viewBox="0 0 11 19" fill="none" xmlns="http://www.w3.org/2000/svg">
<title>Next</title> <title>Next</title>
<path d="M1.5 17.5L9.5 9.5L1.5 1.5" stroke="#F26B53" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/> <path d="M1.5 17.5L9.5 9.5L1.5 1.5" stroke="#F26B53" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 250 B

After

Width:  |  Height:  |  Size: 392 B

+6 -1
View File
@@ -1,4 +1,9 @@
<svg width="11" height="19" viewBox="0 0 11 19" fill="none" xmlns="http://www.w3.org/2000/svg"> <?php
$width = $args['width'] ?? '11';
$height = $args['height'] ?? '19';
?>
<svg width="<?php echo esc_attr( $width ); ?>" height="<?php echo esc_attr( $height ); ?>" viewBox="0 0 11 19" fill="none" xmlns="http://www.w3.org/2000/svg">
<title>Previous</title> <title>Previous</title>
<path d="M9.5 1.5L1.5 9.5L9.5 17.5" stroke="#F26B53" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/> <path d="M9.5 1.5L1.5 9.5L9.5 17.5" stroke="#F26B53" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 254 B

After

Width:  |  Height:  |  Size: 396 B

+12 -1
View File
@@ -31,7 +31,10 @@ $wrapperStyle = $bgColor ? 'background-color: ' . esc_attr( $bgColor ) . ';' : '
<?php Breadcrumbs::render(); ?> <?php Breadcrumbs::render(); ?>
</div> --> </div> -->
<?php if ( $heading ) : ?> <?php
if ( ! is_single() ) :
if ( $heading ) :
?>
<h1 class="page-hero__heading flex-0"> <h1 class="page-hero__heading flex-0">
<?php echo wp_kses_post( $heading ); ?><em>.</em> <?php echo wp_kses_post( $heading ); ?><em>.</em>
</h1> </h1>
@@ -41,6 +44,14 @@ $wrapperStyle = $bgColor ? 'background-color: ' . esc_attr( $bgColor ) . ';' : '
<div class="page-hero__intro grow text-18px pt-3"> <div class="page-hero__intro grow text-18px pt-3">
<?php echo wp_kses_post( $intro ); ?> <?php echo wp_kses_post( $intro ); ?>
</div> </div>
<?php
endif;
else :
?>
<a href="<?php echo esc_url( get_permalink( get_option( 'page_for_posts' ) ) ); ?>" class="page-hero__back-link flex items-center gap-2 text-20px font-bold text-cwc-blue-03! hover:text-cwc-blue-01!">
<span class=""><?php get_template_part( 'views/icons/prev', null, array( 'width' => 7, 'height' => 12 ) ); // phpcs:ignore ?></span>
<span>Back</span>
</a>
<?php endif; ?> <?php endif; ?>
</div> </div>
</div> </div>