31 lines
2.0 KiB
PHP
31 lines
2.0 KiB
PHP
<?php
|
|
/**
|
|
* Title: Podcast landing
|
|
* Slug: chrnx/podcast-landing
|
|
* Categories: chrnx-podcasts
|
|
* Description: Layered Podcast introduction with a latest conversation and empty discovery and archive regions.
|
|
* Inserter: yes
|
|
*
|
|
* @package CHRNX
|
|
*/
|
|
?>
|
|
<!-- wp:group {"tagName":"section","className":"chrnx-podcast-landing","layout":{"type":"constrained"}} -->
|
|
<section class="wp-block-group chrnx-podcast-landing">
|
|
<!-- wp:group {"className":"chrnx-character-stage","layout":{"type":"constrained"}} -->
|
|
<div class="wp-block-group chrnx-character-stage">
|
|
<!-- wp:html --><div class="chrnx-character-stage__atmosphere" aria-hidden="true"><?php echo chrnx_get_atmosphere_markup( 'podcast-frequency', 'chrnx-character-stage__frequency' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Helper returns escaped, allowlisted markup. ?></div><!-- /wp:html -->
|
|
<!-- wp:group {"className":"chrnx-character-stage__content","layout":{"type":"constrained"}} -->
|
|
<div class="wp-block-group chrnx-character-stage__content">
|
|
<!-- wp:heading {"level":2} --><h2 class="wp-block-heading"><?php echo esc_html__( 'Podcasts', 'chrnx' ); ?></h2><!-- /wp:heading -->
|
|
<!-- wp:paragraph --><p><?php echo esc_html__( 'Conversations about the work behind software, research, music, and games.', 'chrnx' ); ?></p><!-- /wp:paragraph -->
|
|
</div>
|
|
<!-- /wp:group -->
|
|
<!-- wp:html --><div class="chrnx-character-stage__art"><?php echo chrnx_get_topic_portrait_markup( 'podcasts', '', 'chrnx-podcast-landing__art chrnx-section-portrait' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Helper returns escaped, allowlisted markup. ?></div><!-- /wp:html -->
|
|
</div>
|
|
<!-- /wp:group -->
|
|
<!-- wp:chrnx/latest-podcast /-->
|
|
<!-- wp:group {"metadata":{"name":"chrnx/podcast-show-discovery"},"layout":{"type":"constrained"}} --><div class="wp-block-group"></div><!-- /wp:group -->
|
|
<!-- wp:group {"metadata":{"name":"chrnx/podcast-archive"},"layout":{"type":"constrained"}} --><div class="wp-block-group"></div><!-- /wp:group -->
|
|
</section>
|
|
<!-- /wp:group -->
|