Skip to content

Commit

Permalink
Merge pull request #333 from newfold-labs/update/hostgator-sidebar
Browse files Browse the repository at this point in the history
Remove irrelevant data for HostGator BR
  • Loading branch information
arunshenoy99 authored Oct 17, 2023
2 parents 9b2b28c + 2e2bd28 commit 4aebc99
Show file tree
Hide file tree
Showing 17 changed files with 226 additions and 198 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 4aebc99

Please sign in to comment.