Skip to content

Commit 4935ea8

Browse files
committed
PD-298 Replace welcome page headings dashicons with emoji.
1 parent ad32ecc commit 4935ea8

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

Diff for: php/views/welcome.php

+3-12
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,7 @@ class="csp-link-<?php echo esc_attr( $link_name ); ?>">
7777
</div>
7878

7979
<section class="csp-section-changes">
80-
<h1>
81-
<span class="dashicons dashicons-pressthis"></span>
82-
<?php esc_html_e( 'Latest news', 'code-snippets' ); ?>
83-
</h1>
80+
<h1>📰 <?php esc_html_e( 'Latest news', 'code-snippets' ); ?></h1>
8481
<div class="csp-cards">
8582
<a class="csp-card" href="<?php echo esc_url( $hero['follow_url'] ); ?>" target="_blank"
8683
title="<?php esc_html_e( 'Read more', 'code-snippets' ); ?>">
@@ -146,10 +143,7 @@ class="csp-link-<?php echo esc_attr( $link_name ); ?>">
146143
</section>
147144

148145
<section class="csp-section-articles csp-section-links">
149-
<h1>
150-
<span class="dashicons dashicons-sos"></span>
151-
<?php esc_html_e( 'Helpful articles', 'code-snippets' ); ?>
152-
</h1>
146+
<h1>🛟 <?php esc_html_e( 'Helpful articles', 'code-snippets' ); ?></h1>
153147
<div class="csp-cards">
154148
<?php foreach ( $this->get_remote_items( 'features' ) as $feature ) { ?>
155149
<a class="csp-card"
@@ -173,10 +167,7 @@ class="csp-link-<?php echo esc_attr( $link_name ); ?>">
173167
</section>
174168

175169
<section class="csp-section-links csp-section-partners">
176-
<h1>
177-
<span class="dashicons dashicons-products"></span>
178-
<?php esc_html_e( 'Partners and apps', 'code-snippets' ); ?>
179-
</h1>
170+
<h1>🚀 <?php esc_html_e( 'Partners and apps', 'code-snippets' ); ?></h1>
180171
<div class="csp-cards">
181172
<?php foreach ( $this->get_remote_items( 'partners' ) as $partner ) { ?>
182173
<a class="csp-card"

0 commit comments

Comments
 (0)