Files
chrnx-dev-wp/patterns/home-projects.php
T

26 lines
1.7 KiB
PHP

<?php
/**
* Title: Home projects
* Slug: chrnx/home-projects
* Categories: chrnx-home, chrnx-projects
* Description: Selected areas of public work without fabricated metrics or links.
* Inserter: yes
*
* @package CHRNX
*/
?>
<!-- wp:group {"tagName":"section","className":"chrnx-home-projects","layout":{"type":"constrained"}} -->
<section class="wp-block-group chrnx-home-projects">
<!-- wp:html --><?php echo chrnx_get_topic_portrait_markup( 'code', '', 'chrnx-section-portrait' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Helper returns escaped, allowlisted markup. ?><!-- /wp:html -->
<!-- wp:heading --><h2 class="wp-block-heading"><?php echo esc_html__( 'Selected work', 'chrnx' ); ?></h2><!-- /wp:heading -->
<!-- wp:columns -->
<div class="wp-block-columns">
<!-- wp:column --><div class="wp-block-column"><!-- wp:heading {"level":3} --><h3 class="wp-block-heading"><?php echo esc_html__( 'Expressive Tea', 'chrnx' ); ?></h3><!-- /wp:heading --></div><!-- /wp:column -->
<!-- wp:column --><div class="wp-block-column"><!-- wp:heading {"level":3} --><h3 class="wp-block-heading"><?php echo esc_html__( 'Ailed', 'chrnx' ); ?></h3><!-- /wp:heading --></div><!-- /wp:column -->
<!-- wp:column --><div class="wp-block-column"><!-- wp:heading {"level":3} --><h3 class="wp-block-heading"><?php echo esc_html__( 'Published research', 'chrnx' ); ?></h3><!-- /wp:heading --></div><!-- /wp:column -->
</div>
<!-- /wp:columns -->
<!-- wp:html --><?php echo chrnx_get_topic_portrait_markup( 'research', '', 'chrnx-section-portrait chrnx-section-portrait--secondary' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Helper returns escaped, allowlisted markup. ?><!-- /wp:html -->
</section>
<!-- /wp:group -->