feat: complete CHRNX responsive content states
This commit is contained in:
60 files changed
+1699
-22
No files matched your search
@@ -12,6 +12,13 @@ $chrnx_research_url = esc_url( 'https://arxiv.org/abs/2603.05352' );
|
||||
?>
|
||||
<!-- wp:group {"tagName":"section","className":"chrnx-about","layout":{"type":"constrained","contentSize":"70ch"}} -->
|
||||
<section class="wp-block-group chrnx-about">
|
||||
<!-- wp:group {"className":"chrnx-about__portraits","layout":{"type":"flex","flexWrap":"wrap"}} -->
|
||||
<div class="wp-block-group chrnx-about__portraits">
|
||||
<!-- wp:html --><?php echo chrnx_get_topic_portrait_markup( 'life', '', 'chrnx-section-portrait' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Helper returns escaped, allowlisted markup. ?><!-- /wp:html -->
|
||||
<!-- wp:html --><?php echo chrnx_get_topic_portrait_markup( 'literature', '', 'chrnx-section-portrait' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Helper returns escaped, allowlisted markup. ?><!-- /wp:html -->
|
||||
<!-- wp:html --><?php echo chrnx_get_topic_portrait_markup( 'gaming', '', 'chrnx-section-portrait' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Helper returns escaped, allowlisted markup. ?><!-- /wp:html -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
<!-- wp:heading {"level":2} --><h2 class="wp-block-heading"><?php echo esc_html__( 'About', 'chrnx' ); ?></h2><!-- /wp:heading -->
|
||||
<!-- wp:paragraph --><p><?php echo esc_html__( 'I work as Lead Developer @Expressive Tea, building full-stack software with JavaScript and Python. I am also an independent researcher exploring emotion modeling and game AI; my practice includes open source work and amateur data science.', 'chrnx' ); ?></p><!-- /wp:paragraph -->
|
||||
<!-- wp:paragraph --><p><?php echo esc_html__( 'I am a published researcher. My current paper is available on', 'chrnx' ); ?> <a href="<?php echo $chrnx_research_url; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Escaped at assignment. ?>" target="_blank" rel="noopener noreferrer external"><?php echo esc_html__( 'arXiv:2603.05352', 'chrnx' ); ?></a>.</p><!-- /wp:paragraph -->
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
*
|
||||
* @package CHRNX
|
||||
*/
|
||||
$chrnx_home_music_art = get_theme_file_uri( 'assets/images/the-no-names-musician-cutout.png' );
|
||||
?>
|
||||
<!-- wp:group {"tagName":"section","className":"chrnx-home-music","layout":{"type":"constrained"}} -->
|
||||
<section class="wp-block-group chrnx-home-music">
|
||||
@@ -20,7 +19,7 @@ $chrnx_home_music_art = get_theme_file_uri( 'assets/images/the-no-names-musician
|
||||
<!-- wp:paragraph --><p><?php echo esc_html__( 'Un proyecto de banda activo hecho en Sinaloa: estudio crudo, cero live.', 'chrnx' ); ?></p><!-- /wp:paragraph -->
|
||||
</div><!-- /wp:column -->
|
||||
<!-- wp:column {"verticalAlignment":"center"} --><div class="wp-block-column is-vertically-aligned-center">
|
||||
<!-- wp:html --><img class="chrnx-home-music__art" src="<?php echo esc_url( $chrnx_home_music_art ); ?>" width="1122" height="1402" loading="lazy" decoding="async" alt="<?php echo esc_attr__( 'The No Names musician portrait', 'chrnx' ); ?>"><!-- /wp:html -->
|
||||
<!-- wp:html --><?php echo chrnx_get_topic_portrait_markup( 'music', __( 'The No Names musician portrait', 'chrnx' ), 'chrnx-home-music__art' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Helper returns escaped, allowlisted markup. ?><!-- /wp:html -->
|
||||
</div><!-- /wp:column -->
|
||||
</div>
|
||||
<!-- /wp:columns -->
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
?>
|
||||
<!-- 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">
|
||||
@@ -19,5 +20,6 @@
|
||||
<!-- 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 -->
|
||||
@@ -9,7 +9,6 @@
|
||||
* @package CHRNX
|
||||
*/
|
||||
$chrnx_music_collage = get_theme_file_uri( 'assets/images/the-no-names-collage.jpeg' );
|
||||
$chrnx_music_cutout = get_theme_file_uri( 'assets/images/the-no-names-musician-cutout.png' );
|
||||
?>
|
||||
<!-- wp:group {"tagName":"section","className":"chrnx-music-landing","layout":{"type":"constrained"}} -->
|
||||
<section class="wp-block-group chrnx-music-landing">
|
||||
@@ -20,7 +19,7 @@ $chrnx_music_cutout = get_theme_file_uri( 'assets/images/the-no-names-musician-
|
||||
<!-- wp:group {"className":"chrnx-music-landing__art","layout":{"type":"flex","flexWrap":"wrap"}} -->
|
||||
<div class="wp-block-group chrnx-music-landing__art">
|
||||
<!-- wp:html --><img src="<?php echo esc_url( $chrnx_music_collage ); ?>" width="1122" height="1402" loading="lazy" decoding="async" alt="<?php echo esc_attr__( 'The No Names collage', 'chrnx' ); ?>"><!-- /wp:html -->
|
||||
<!-- wp:html --><img src="<?php echo esc_url( $chrnx_music_cutout ); ?>" width="1122" height="1402" loading="lazy" decoding="async" alt="<?php echo esc_attr__( 'The No Names musician portrait', 'chrnx' ); ?>"><!-- /wp:html -->
|
||||
<!-- wp:html --><?php echo chrnx_get_topic_portrait_markup( 'music', __( 'The No Names musician portrait', 'chrnx' ), 'chrnx-music-landing__portrait' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Helper returns escaped, allowlisted markup. ?><!-- /wp:html -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
<!-- wp:heading {"level":3} --><h3 class="wp-block-heading"><?php echo esc_html__( 'Releases in progress', 'chrnx' ); ?></h3><!-- /wp:heading -->
|
||||
|
||||
@@ -8,12 +8,11 @@
|
||||
*
|
||||
* @package CHRNX
|
||||
*/
|
||||
$chrnx_podcast_art = get_theme_file_uri( 'assets/images/alter-ego-podcasts.png' );
|
||||
?>
|
||||
<!-- wp:group {"tagName":"section","className":"chrnx-podcast-landing","layout":{"type":"constrained"}} -->
|
||||
<section class="wp-block-group chrnx-podcast-landing">
|
||||
<!-- wp:heading {"level":2} --><h2 class="wp-block-heading"><?php echo esc_html__( 'Podcasts', 'chrnx' ); ?></h2><!-- /wp:heading -->
|
||||
<!-- wp:html --><img class="chrnx-podcast-landing__art" src="<?php echo esc_url( $chrnx_podcast_art ); ?>" width="1122" height="1402" loading="lazy" decoding="async" alt="" aria-hidden="true"><!-- /wp:html -->
|
||||
<!-- wp:html --><?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. ?><!-- /wp:html -->
|
||||
<!-- 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-latest"},"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 -->
|
||||
|
||||
@@ -8,11 +8,10 @@
|
||||
*
|
||||
* @package CHRNX
|
||||
*/
|
||||
$chrnx_podcast_show_art = get_theme_file_uri( 'assets/images/alter-ego-podcasts.png' );
|
||||
?>
|
||||
<!-- wp:group {"tagName":"article","className":"chrnx-podcast-show","layout":{"type":"constrained"}} -->
|
||||
<article class="wp-block-group chrnx-podcast-show">
|
||||
<!-- wp:html --><img class="chrnx-podcast-show__art" src="<?php echo esc_url( $chrnx_podcast_show_art ); ?>" width="1122" height="1402" loading="lazy" decoding="async" alt="" aria-hidden="true"><!-- /wp:html -->
|
||||
<!-- wp:html --><?php echo chrnx_get_topic_portrait_markup( 'podcasts', '', 'chrnx-podcast-show__art chrnx-section-portrait' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Helper returns escaped, allowlisted markup. ?><!-- /wp:html -->
|
||||
<!-- wp:group {"metadata":{"name":"chrnx/show-cover"},"layout":{"type":"constrained"}} --><div class="wp-block-group"></div><!-- /wp:group -->
|
||||
<!-- wp:group {"metadata":{"name":"chrnx/show-description"},"layout":{"type":"constrained"}} --><div class="wp-block-group"></div><!-- /wp:group -->
|
||||
<!-- wp:group {"metadata":{"name":"chrnx/show-hosts"},"layout":{"type":"constrained"}} --><div class="wp-block-group"></div><!-- /wp:group -->
|
||||
|
||||
Reference in new issue
Block a user