Skip to content

Commit

Permalink
Merge pull request #335 from newfold-labs/update/hostgator-sidebar
Browse files Browse the repository at this point in the history
Conditionally render skeleton
  • Loading branch information
arunshenoy99 authored Oct 17, 2023
2 parents c1aeef9 + bfd3bd8 commit d6d6f86
Show file tree
Hide file tree
Showing 10 changed files with 61 additions and 35 deletions.
2 changes: 1 addition & 1 deletion build/1.11.3/310.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/1.11.3/onboarding.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-preferences', 'wp-primitives', 'wp-style-engine', 'wp-url'), 'version' => '1056bb463217718dd502');
<?php return array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-preferences', 'wp-primitives', 'wp-style-engine', 'wp-url'), 'version' => '16764c644aebe345f1cf');
48 changes: 24 additions & 24 deletions build/1.11.3/onboarding.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion languages/wp-module-onboarding-pt_BR-nfd-onboarding.json

Large diffs are not rendered by default.

Binary file modified languages/wp-module-onboarding-pt_BR.mo
Binary file not shown.
11 changes: 11 additions & 0 deletions languages/wp-module-onboarding-pt_BR.po
Original file line number Diff line number Diff line change
Expand Up @@ -1755,6 +1755,13 @@ msgstr "Publicar"
msgid "Footer"
msgstr "Rodapé"

#: build/1.11.3/onboarding.js:3
msgid "We can offer free, exclusive solutions and apply our expert experience if we know how you sell."
msgstr "Podemos oferecer soluções gratuitas e exclusivas e aplicar nossa experiência especializada se soubermos como você vende."

#: build/1.11.3/onboarding.js:1
msgid "Whether this is where the magic happens or the mail goes, tell us where your business is located."
msgstr "Quer seja aqui que a magia acontece ou o correio vai, diga-nos onde está localizada a sua empresa."
#: build/1.11.3/465.js:5
msgid "ALWAYS COUNT ON OUR TEAM"
msgstr "CONTE SEMPRE COM O NOSSO TIME"
Expand All @@ -1766,3 +1773,7 @@ msgstr "24h por dia / 7 dias por semana"
#: build/1.11.3/465.js:5
msgid "From beginner to advanced, you have a partner to trust. Our support works when you work. Also count on various help materials on YouTube, blog and Knowledge Base."
msgstr "Do iniciante ao avançado, você tem um parceiro em quem confiar. Nosso suporte trabalha quando você trabalha. Conte também com diversos materiais de ajuda na Youtube, blog e Base de conhecimento."

#: build/1.11.3/onboarding.js:3
msgid "Go from multiple sizes to multiple locations to multiple online channels"
msgstr "Vá de vários tamanhos para vários locais e vários canais on-line"
8 changes: 8 additions & 0 deletions languages/wp-module-onboarding.pot
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,10 @@ msgstr ""
msgid "Street Address"
msgstr ""

#: build/1.11.3/onboarding.js:1
msgid "Whether this is where the magic happens or the mail goes, tell us where your business is located."
msgstr ""

#: build/1.11.3/onboarding.js:1
msgid "Whether it’s a storefront or a PO Box, we’re proud to help you connect your real-world and online businesses"
msgstr ""
Expand Down Expand Up @@ -827,6 +831,10 @@ msgstr ""
msgid "Products Info"
msgstr ""

#: build/1.11.3/onboarding.js:3
msgid "We can offer free, exclusive solutions and apply our expert experience if we know how you sell."
msgstr ""

#: build/1.11.3/onboarding.js:3
msgid "Go from multiple sizes to multiple locations to multiple online channels"
msgstr ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,17 @@ const SidebarSkeleton = () => {
/>

<div className="sidebar-skeleton-footer-buttons">
<div className="sidebar-skeleton-footer-buttons-button-1">
<Animate
type={ 'shine-placeholder' }
className="shimmer-1 sidebar-skeleton-footer-buttons-button-2"
/>
</div>
{ ( brandConfig?.views?.sidebar?.fullService?.shown !==
false ||
brandConfig?.views?.sidebar?.experts?.shown !==
false ) && (
<div className="sidebar-skeleton-footer-buttons-button-1">
<Animate
type={ 'shine-placeholder' }
className="shimmer-1 sidebar-skeleton-footer-buttons-button-2"
/>
</div>
) }
<Animate
type={ 'shine-placeholder' }
className="shimmer-1 sidebar-skeleton-footer-buttons-button-3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ const getContents = (
introduction: {
heading: __( 'Street Address', 'wp-module-onboarding' ),
subheading: __(
'Whether this is where the magic happens or the mail goes, tell us where your business is located.'
'Whether this is where the magic happens or the mail goes, tell us where your business is located.',
'wp-module-onboarding'
),
icon: store,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ const getContents = (
introduction: {
heading: __( 'Products Info', 'wp-module-onboarding' ),
subheading: __(
'We can offer free, exclusive solutions and apply our expert experience if we know how you sell.'
'We can offer free, exclusive solutions and apply our expert experience if we know how you sell.',
'wp-module-onboarding'
),
icon: box,
},
Expand Down

0 comments on commit d6d6f86

Please sign in to comment.