Skip to content

Commit 6091ba7

Browse files
kevinxhadamrayaalexvuong
authored
Merge homepage fix into release-1.2.x branch (#212)
* Remove Einstein from Homepage (#208) * Hide conditionally the Einstein section * Fix Warning on Error page * Remove Einstein section * Build translations * Add git2gus config (#210) * add git2gus config Co-authored-by: Adam Raya <adamraya@users.noreply.github.com> Co-authored-by: Alex Vuong <52219283+alexvuong@users.noreply.github.com>
1 parent 2966ee4 commit 6091ba7

File tree

5 files changed

+12
-83
lines changed

5 files changed

+12
-83
lines changed

.git2gus/config.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"productTag": "a1aB0000000cf9VIAQ",
3+
"defaultBuild": "N/A",
4+
"issueTypeLabels": {
5+
"feature": "USER STORY",
6+
"regression": "BUG P1",
7+
"bug": "BUG P3"
8+
},
9+
"hideWorkItemUrl": true,
10+
"statusWhenClosed": "CLOSED"
11+
}

packages/pwa/app/components/_error/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const Error = (props) => {
3030
<Helmet>
3131
<title>{title}</title>
3232
</Helmet>
33-
<Box as="header" width="full" boxShadow="base" backgroudColor="white">
33+
<Box as="header" width="full" boxShadow="base" backgroundColor="white">
3434
<Box
3535
maxWidth="container.xxxl"
3636
marginLeft="auto"

packages/pwa/app/pages/home/index.jsx

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import Hero from '../../components/hero'
2525
import Seo from '../../components/seo'
2626
import Section from '../../components/section'
2727
import {heroFeatures, features} from './data'
28-
import RecommendedProducts from '../../components/recommended-products'
2928

3029
/**
3130
* This is the home page for Retail React App.
@@ -116,52 +115,6 @@ const Home = () => {
116115
</SimpleGrid>
117116
</Section>
118117

119-
<Section
120-
padding={4}
121-
paddingTop={16}
122-
title={intl.formatMessage({
123-
defaultMessage: 'Shop Products'
124-
})}
125-
subtitle={intl.formatMessage(
126-
{
127-
defaultMessage:
128-
'This section contains content from the catalog. {link} on how to replace it.'
129-
},
130-
{
131-
link: (
132-
<Link
133-
target="_blank"
134-
href={'https://sfdc.co/business-manager-manage-catalgos'}
135-
textDecoration={'none'}
136-
position={'relative'}
137-
_after={{
138-
position: 'absolute',
139-
content: `""`,
140-
height: '2px',
141-
bottom: '-2px',
142-
margin: '0 auto',
143-
left: 0,
144-
right: 0,
145-
background: 'gray.700'
146-
}}
147-
_hover={{textDecoration: 'none'}}
148-
>
149-
{intl.formatMessage({
150-
defaultMessage: 'Read docs'
151-
})}
152-
</Link>
153-
)
154-
}
155-
)}
156-
>
157-
<Stack pt={8} spacing={16}>
158-
<RecommendedProducts
159-
recommender={'products-in-all-categories'}
160-
marginX={{base: -4, md: -8, lg: 0}}
161-
/>
162-
</Stack>
163-
</Section>
164-
165118
<Section
166119
padding={4}
167120
paddingTop={32}

packages/pwa/app/translations/compiled/en-GB.json

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -503,20 +503,6 @@
503503
"value": "Add to cart"
504504
}
505505
],
506-
"AJlIwK": [
507-
{
508-
"type": 0,
509-
"value": "This section contains content from the catalog. "
510-
},
511-
{
512-
"type": 1,
513-
"value": "link"
514-
},
515-
{
516-
"type": 0,
517-
"value": " on how to replace it."
518-
}
519-
],
520506
"AYIKp4": [
521507
{
522508
"type": 0,
@@ -719,12 +705,6 @@
719705
"value": "Sign Out"
720706
}
721707
],
722-
"FdbYXD": [
723-
{
724-
"type": 0,
725-
"value": "Shop Products"
726-
}
727-
],
728708
"Fmc5ut": [
729709
{
730710
"type": 0,
@@ -1913,12 +1893,6 @@
19131893
"value": "Default"
19141894
}
19151895
],
1916-
"lc9tAq": [
1917-
{
1918-
"type": 0,
1919-
"value": "Read docs"
1920-
}
1921-
],
19221896
"llHgJz": [
19231897
{
19241898
"type": 0,

packages/pwa/app/translations/en-GB.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,6 @@
197197
"ADKef8": {
198198
"defaultMessage": "Add to cart"
199199
},
200-
"AJlIwK": {
201-
"defaultMessage": "This section contains content from the catalog. {link} on how to replace it."
202-
},
203200
"AYIKp4": {
204201
"defaultMessage": "Already have an account? Log in"
205202
},
@@ -282,9 +279,6 @@
282279
"F62y+K": {
283280
"defaultMessage": "Sign Out"
284281
},
285-
"FdbYXD": {
286-
"defaultMessage": "Shop Products"
287-
},
288282
"Fmc5ut": {
289283
"defaultMessage": "Continue to Shipping Method"
290284
},
@@ -832,9 +826,6 @@
832826
"lKv8ex": {
833827
"defaultMessage": "Default"
834828
},
835-
"lc9tAq": {
836-
"defaultMessage": "Read docs"
837-
},
838829
"llHgJz": {
839830
"defaultMessage": "Welcome {name},"
840831
},

0 commit comments

Comments
 (0)