Skip to content

Commit

Permalink
Remove irrelevant data for HostGator BR
Browse files Browse the repository at this point in the history
  • Loading branch information
arunshenoy99 committed Oct 16, 2023
1 parent 9b2b28c commit 295a55b
Show file tree
Hide file tree
Showing 17 changed files with 221 additions and 196 deletions.
23 changes: 12 additions & 11 deletions src/OnboardingSPA/steps/BasicInfo/Sidebar/LearnMore/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,18 @@ const LearnMore = () => {
}
/>
<HelpPanel>
{ content.help.fullService.link && (
<ButtonWhite
text={ content.help.fullService.text }
onClick={ () =>
window.open(
content.help.fullService.link,
'_blank'
)
}
/>
) }
{ brandConfig?.views?.sidebar?.fullService?.shown !== false &&
content.help.fullService.link && (
<ButtonWhite
text={ content.help.fullService.text }
onClick={ () =>
window.open(
content.help.fullService.link,
'_blank'
)
}
/>
) }
<SupportLink
text={ content.help.support.text }
link={ content.help.support.link }
Expand Down
23 changes: 12 additions & 11 deletions src/OnboardingSPA/steps/DesignColors/Sidebar/LearnMore/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,18 @@ const LearnMore = () => {
}
/>
<HelpPanel>
{ content.help.fullService.link && (
<ButtonWhite
text={ content.help.fullService.text }
onClick={ () =>
window.open(
content.help.fullService.link,
'_blank'
)
}
/>
) }
{ brandConfig?.views?.sidebar?.fullService?.shown !== false &&
content.help.fullService.link && (
<ButtonWhite
text={ content.help.fullService.text }
onClick={ () =>
window.open(
content.help.fullService.link,
'_blank'
)
}
/>
) }
<SupportLink
text={ content.help.support.text }
link={ content.help.support.link }
Expand Down
23 changes: 12 additions & 11 deletions src/OnboardingSPA/steps/DesignFonts/Sidebar/LearnMore/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,18 @@ const LearnMore = () => {
}
/>
<HelpPanel>
{ content.help.fullService.link && (
<ButtonWhite
text={ content.help.fullService.text }
onClick={ () =>
window.open(
content.help.fullService.link,
'_blank'
)
}
/>
) }
{ brandConfig?.views?.sidebar?.fullService?.shown !== false &&
content.help.fullService.link && (
<ButtonWhite
text={ content.help.fullService.text }
onClick={ () =>
window.open(
content.help.fullService.link,
'_blank'
)
}
/>
) }
<SupportLink
text={ content.help.support.text }
link={ content.help.support.link }
Expand Down
23 changes: 12 additions & 11 deletions src/OnboardingSPA/steps/DesignHeaderMenu/Sidebar/LearnMore/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,18 @@ const LearnMore = () => {
}
/>
<HelpPanel>
{ content.help.fullService.link && (
<ButtonWhite
text={ content.help.fullService.text }
onClick={ () =>
window.open(
content.help.fullService.link,
'_blank'
)
}
/>
) }
{ brandConfig?.views?.sidebar?.fullService?.shown !== false &&
content.help.fullService.link && (
<ButtonWhite
text={ content.help.fullService.text }
onClick={ () =>
window.open(
content.help.fullService.link,
'_blank'
)
}
/>
) }
<SupportLink
text={ content.help.support.text }
link={ content.help.support.link }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,18 @@ const LearnMore = () => {
}
/>
<HelpPanel>
{ content.help.fullService.link && (
<ButtonWhite
text={ content.help.fullService.text }
onClick={ () =>
window.open(
content.help.fullService.link,
'_blank'
)
}
/>
) }
{ brandConfig?.views?.sidebar?.fullService?.shown !== false &&
content.help.fullService.link && (
<ButtonWhite
text={ content.help.fullService.text }
onClick={ () =>
window.open(
content.help.fullService.link,
'_blank'
)
}
/>
) }
<SupportLink
text={ content.help.support.text }
link={ content.help.support.link }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,17 +67,18 @@ const LearnMore = () => {
}
/>
<HelpPanel>
{ content.help.fullService.link && (
<ButtonWhite
text={ content.help.fullService.text }
onClick={ () =>
window.open(
content.help.fullService.link,
'_blank'
)
}
/>
) }
{ brandConfig?.views?.sidebar?.fullService?.shown !== false &&
content.help.fullService.link && (
<ButtonWhite
text={ content.help.fullService.text }
onClick={ () =>
window.open(
content.help.fullService.link,
'_blank'
)
}
/>
) }
<SupportLink
text={ content.help.support.text }
link={ content.help.support.link }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,17 +67,18 @@ const LearnMore = () => {
}
/>
<HelpPanel>
{ content.help.fullService.link && (
<ButtonWhite
text={ content.help.fullService.text }
onClick={ () =>
window.open(
content.help.fullService.link,
'_blank'
)
}
/>
) }
{ brandConfig?.views?.sidebar?.fullService?.shown !== false &&
content.help.fullService.link && (
<ButtonWhite
text={ content.help.fullService.text }
onClick={ () =>
window.open(
content.help.fullService.link,
'_blank'
)
}
/>
) }
<SupportLink
text={ content.help.support.text }
link={ content.help.support.link }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,17 +67,18 @@ const LearnMore = () => {
}
/>
<HelpPanel>
{ content.help.fullService.link && (
<ButtonWhite
text={ content.help.fullService.text }
onClick={ () =>
window.open(
content.help.fullService.link,
'_blank'
)
}
/>
) }
{ brandConfig?.views?.sidebar?.fullService?.shown !== false &&
content.help.fullService.link && (
<ButtonWhite
text={ content.help.fullService.text }
onClick={ () =>
window.open(
content.help.fullService.link,
'_blank'
)
}
/>
) }
<SupportLink
text={ content.help.support.text }
link={ content.help.support.link }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,17 +67,18 @@ const LearnMore = () => {
}
/>
<HelpPanel>
{ content.help.fullService.link && (
<ButtonWhite
text={ content.help.fullService.text }
onClick={ () =>
window.open(
content.help.fullService.link,
'_blank'
)
}
/>
) }
{ brandConfig?.views?.sidebar?.fullService?.shown !== false &&
content.help.fullService.link && (
<ButtonWhite
text={ content.help.fullService.text }
onClick={ () =>
window.open(
content.help.fullService.link,
'_blank'
)
}
/>
) }
<SupportLink
text={ content.help.support.text }
link={ content.help.support.link }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,17 +67,18 @@ const LearnMore = () => {
}
/>
<HelpPanel>
{ content.help.fullService.link && (
<ButtonWhite
text={ content.help.fullService.text }
onClick={ () =>
window.open(
content.help.fullService.link,
'_blank'
)
}
/>
) }
{ brandConfig?.views?.sidebar?.fullService?.shown !== false &&
content.help.fullService.link && (
<ButtonWhite
text={ content.help.fullService.text }
onClick={ () =>
window.open(
content.help.fullService.link,
'_blank'
)
}
/>
) }
<SupportLink
text={ content.help.support.text }
link={ content.help.support.link }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,18 @@ const LearnMore = () => {
}
/>
<HelpPanel>
{ content.help.fullService.link && (
<ButtonWhite
text={ content.help.fullService.text }
onClick={ () =>
window.open(
content.help.fullService.link,
'_blank'
)
}
/>
) }
{ brandConfig?.views?.sidebar?.fullService?.shown !== false &&
content.help.fullService.link && (
<ButtonWhite
text={ content.help.fullService.text }
onClick={ () =>
window.open(
content.help.fullService.link,
'_blank'
)
}
/>
) }
<SupportLink
text={ content.help.support.text }
link={ content.help.support.link }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,16 @@ const LearnMore = () => {
}
/>
<HelpPanel>
{ content.help.fullService.link && (
<ButtonWhite
text={ content.help.fullService.text }
onClick={ () =>
( window.location.href =
content.help.fullService.link )
}
/>
) }
{ brandConfig?.views?.sidebar?.fullService?.shown !== false &&
content.help.fullService.link && (
<ButtonWhite
text={ content.help.fullService.text }
onClick={ () =>
( window.location.href =
content.help.fullService.link )
}
/>
) }
<SupportLink
text={ content.help.support.text }
link={ content.help.support.link }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,17 +66,18 @@ const LearnMore = () => {
}
/>
<HelpPanel>
{ content.help.fullService.link && (
<ButtonWhite
text={ content.help.fullService.text }
onClick={ () =>
window.open(
content.help.fullService.link,
'_blank'
)
}
/>
) }
{ brandConfig?.views?.sidebar?.fullService?.shown !== false &&
content.help.fullService.link && (
<ButtonWhite
text={ content.help.fullService.text }
onClick={ () =>
window.open(
content.help.fullService.link,
'_blank'
)
}
/>
) }
<SupportLink
text={ content.help.support.text }
link={ content.help.support.link }
Expand Down
Loading

0 comments on commit 295a55b

Please sign in to comment.