Update graphic to WCS banner design

This commit is contained in:
Paul Dechov 2018-02-16 18:07:04 -05:00
parent 5d71521d6a
commit b8c57576e6
4 changed files with 32 additions and 6 deletions

View File

@ -813,11 +813,21 @@ h3.jetpack-reasons {
font-size: 14px; font-size: 14px;
} }
.jetpack-logo { .jetpack-logo, .wcs-notice {
display: block; display: block;
margin: 1.75em auto 2em auto; margin: 1.75em auto 2em auto;
max-height: 175px; max-height: 175px;
} }
.activate-splash {
.jetpack-logo {
width: 170px;
margin-bottom: 0;
}
.wcs-notice {
margin-top: 1em;
padding-left: 57px;
}
}
.step { .step {
text-align: center; text-align: center;

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

View File

@ -1713,11 +1713,27 @@ class WC_Admin_Setup_Wizard {
?> ?>
<h1><?php echo esc_html( $title ); ?></h1> <h1><?php echo esc_html( $title ); ?></h1>
<p><?php echo esc_html( $description ); ?></p> <p><?php echo esc_html( $description ); ?></p>
<img
class="jetpack-logo" <?php if ( $jetpack_connected ) : ?>
src="<?php echo esc_url( WC()->plugin_url() . '/assets/images/jetpack_vertical_logo.png' ); ?>" <div class="activate-splash">
alt="Jetpack logo" <img
/> class="jetpack-logo"
src="<?php echo esc_url( WC()->plugin_url() . '/assets/images/jetpack_horizontal_logo.png' ); ?>"
alt="Jetpack logo"
/>
<img
class="wcs-notice"
src="<?php echo esc_url( WC()->plugin_url() . '/assets/images/wcs-notice.png' ); ?>"
/>
</div>
<?php else : ?>
<img
class="jetpack-logo"
src="<?php echo esc_url( WC()->plugin_url() . '/assets/images/jetpack_vertical_logo.png' ); ?>"
alt="Jetpack logo"
/>
<?php endif; ?>
<?php if ( $has_jetpack_error ) : ?> <?php if ( $has_jetpack_error ) : ?>
<p class="wc-setup-actions step"> <p class="wc-setup-actions step">
<a <a