Skip to content

Commit

Permalink
resolve hard-coded strings/links
Browse files Browse the repository at this point in the history
  • Loading branch information
richtabor committed Aug 1, 2024
1 parent 37e8137 commit 710eda1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion patterns/newsletter-landing-page-dark.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<!-- /wp:paragraph -->

<!-- wp:paragraph {"align":"center"} -->
<p class="has-text-align-center">By <a href="https://twitter.com/richard_tabor" target="_blank" rel="noreferrer noopener">Rich Tabor</a> · <a href="https://rich.blog/shaping-wordpress-001/" target="_blank">Read it first <strong>→</strong></a></p>
<p class="has-text-align-center"><?php echo esc_html__( 'By', 'kanso' ); ?> <a href="#">Rich Tabor</a> · <a href="#"><?php echo esc_html__( 'Read it first', 'kanso' ); ?> <strong>→</strong></a></p>
<!-- /wp:paragraph -->

<!-- wp:spacer {"height":"var:preset|spacing|10"} -->
Expand Down
2 changes: 1 addition & 1 deletion patterns/newsletter-landing-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<!-- /wp:paragraph -->

<!-- wp:paragraph {"align":"center"} -->
<p class="has-text-align-center">By <a href="https://twitter.com/richard_tabor" target="_blank" rel="noreferrer noopener">Rich Tabor</a> · <a href="https://rich.blog/shaping-wordpress-001/" target="_blank">Read it first <strong>→</strong></a></p>
<p class="has-text-align-center"><?php echo esc_html__( 'By', 'kanso' ); ?> <a href="#">Rich Tabor</a> · <a href="#"><?php echo esc_html__( 'Read it first', 'kanso' ); ?> <strong>→</strong></a></p>
<!-- /wp:paragraph -->

<!-- wp:spacer {"height":"var:preset|spacing|10"} -->
Expand Down
6 changes: 3 additions & 3 deletions patterns/page-home.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
<!-- wp:group {"metadata":{"name":"Cards"},"style":{"spacing":{"blockGap":"var:preset|spacing|10"}},"layout":{"type":"grid","columnCount":null,"minimumColumnWidth":"12rem"}} -->
<div class="wp-block-group"><!-- wp:group {"metadata":{"name":"Card"},"style":{"spacing":{"padding":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20","left":"var:preset|spacing|20","right":"var:preset|spacing|20"},"blockGap":"0"},"layout":{"selfStretch":"fill","flexSize":null}},"className":"is-style-section-3","layout":{"type":"flex","orientation":"vertical","flexWrap":"nowrap"}} -->
<div class="wp-block-group is-style-section-3" style="padding-top:var(--wp--preset--spacing--20);padding-right:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)"><!-- wp:paragraph {"className":"no-underline","fontSize":"small"} -->
<p class="no-underline has-small-font-size"><a href="https://rich.blog/shaping-wordpress"><?php echo esc_html__( 'Shaping WordPress', 'kanso' ); ?></a></p>
<p class="no-underline has-small-font-size"><a href="#"><?php echo esc_html__( 'Shaping WordPress', 'kanso' ); ?></a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"style":{"typography":{"fontSize":"13px"}},"className":"is-style-text-subtitle"} -->
Expand All @@ -115,7 +115,7 @@

<!-- wp:group {"metadata":{"name":"Card"},"style":{"spacing":{"padding":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20","left":"var:preset|spacing|20","right":"var:preset|spacing|20"},"blockGap":"0"},"layout":{"selfStretch":"fill","flexSize":null}},"className":"is-style-section-3","layout":{"type":"flex","orientation":"vertical","flexWrap":"nowrap"}} -->
<div class="wp-block-group is-style-section-3" style="padding-top:var(--wp--preset--spacing--20);padding-right:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)"><!-- wp:paragraph {"className":"no-underline","fontSize":"small"} -->
<p class="no-underline has-small-font-size"><a href="https://rich.blog"><?php echo esc_html__( 'Rich\'s Blog', 'kanso' ); ?></a></p>
<p class="no-underline has-small-font-size"><a href="#"><?php echo esc_html__( 'Rich\'s Blog', 'kanso' ); ?></a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"style":{"typography":{"fontSize":"13px"}},"className":"is-style-text-subtitle"} -->
Expand All @@ -135,7 +135,7 @@

<!-- wp:group {"metadata":{"name":"Card"},"style":{"spacing":{"padding":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20","left":"var:preset|spacing|20","right":"var:preset|spacing|20"},"blockGap":"0"},"layout":{"selfStretch":"fill","flexSize":null}},"className":"is-style-section-3","layout":{"type":"flex","orientation":"vertical","flexWrap":"nowrap"}} -->
<div class="wp-block-group is-style-section-3" style="padding-top:var(--wp--preset--spacing--20);padding-right:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)"><!-- wp:paragraph {"className":"no-underline","fontSize":"small"} -->
<p class="no-underline has-small-font-size"><a href="https://rich.blog/shaping-wordpress"><?php echo esc_html__( 'Shaping WordPress', 'kanso' ); ?></a></p>
<p class="no-underline has-small-font-size"><a href="#"><?php echo esc_html__( 'Shaping WordPress', 'kanso' ); ?></a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"style":{"typography":{"fontSize":"13px"}},"className":"is-style-text-subtitle"} -->
Expand Down

0 comments on commit 710eda1

Please sign in to comment.