Skip to content

Commit

Permalink
Merge pull request #2711 from woocommerce/tweak/wc-v2-brand
Browse files Browse the repository at this point in the history
Replace WooCommerce logo with Woo 2.0 Brand
  • Loading branch information
eason9487 authored Feb 3, 2025
2 parents 6cecf07 + e93c658 commit 3387a91
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 22 deletions.
11 changes: 5 additions & 6 deletions js/src/images/get-started/img-free-listings.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 38 additions & 3 deletions js/src/images/logo/woocommerce-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 3 additions & 5 deletions js/src/pages/product-feed/submission-success-guide/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,19 @@ const EVENT_NAME = 'gla_modal_closed';

const image = (
<div className="gla-submission-success-guide__logo-block">
<div className="gla-submission-success-guide__logo-item">
<div className="gla-submission-success-guide__logo-item gla-submission-success-guide__logo-item--woocommerce">
<img
src={ wooLogoURL }
alt={ __( 'WooCommerce Logo', 'google-listings-and-ads' ) }
width="145"
height="31"
width="187.5"
/>
</div>
<div className="gla-submission-success-guide__logo-separator-line" />
<div className="gla-submission-success-guide__logo-item">
<img
src={ googleLogoURL }
alt={ __( 'Google Logo', 'google-listings-and-ads' ) }
width="106"
height="36"
width="85"
/>
</div>
</div>
Expand Down
14 changes: 6 additions & 8 deletions js/src/pages/product-feed/submission-success-guide/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -102,21 +102,19 @@
}

&__logo-item {
flex: 1;
margin-bottom: 0;

// Clear the 4px space gap for SVG
line-height: 0;
&:first-child {
text-align: right;

&--woocommerce {
padding-bottom: 6px;
}
}

&__logo-separator-line {
width: $border-width;
height: 63px;
margin: 0 28px;
background-color: $gray-600;
height: 42px;
margin: 0 22px;
background-color: #dcdcde;
}

&__space_holder {
Expand Down

0 comments on commit 3387a91

Please sign in to comment.