Skip to content

Commit

Permalink
Rename ContentBlock to Quote in customer quotes card
Browse files Browse the repository at this point in the history
  • Loading branch information
ianlin committed Apr 28, 2022
1 parent c673732 commit 6404822
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions js/src/get-started-page/customer-quotes-card/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
import './index.scss';
import quoteImageURL from './img-quote.svg';

const ContentBlock = ( { content, name } ) => {
const Quote = ( { quote, name } ) => {
return (
<FlexBlock>
<img
Expand All @@ -29,7 +29,7 @@ const ContentBlock = ( { content, name } ) => {
className="gla-get-started-customer-quotes-card__content"
variant="body"
>
{ content }
{ quote }
</Text>
<Text className="gla-get-started-customer-quotes-card__name">
{ name }
Expand All @@ -53,15 +53,15 @@ const CustomerQuotesCard = () => {
</Text>
</CardHeader>
<Flex gap={ 0 }>
<ContentBlock
content={ __(
<Quote
quote={ __(
'Thank you Google and WooCommerce for creating this app. It’s so simple to use and connect your products to Merchant Center.',
'google-listings-and-ads'
) }
name={ __( 'joshualukewhite', 'google-listings-and-ads' ) }
/>
<ContentBlock
content={ __(
<Quote
quote={ __(
'It does everything smoothly. Perfect and must need add-on from WooCommerce. Some things are just “essentials”.',
'google-listings-and-ads'
) }
Expand Down

0 comments on commit 6404822

Please sign in to comment.