Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Press4-444 Update Coming Soon Toggle to match Figma Designs #906

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions src/app/pages/settings/comingSoon.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@
const getStatus = () => {
return comingSoon ? (
<span className="nfd-text-[#e10001]">
{ __( 'Coming Soon', 'wp-plugin-bluehost' ) }
{ __( 'NOT LIVE', 'wp-plugin-bluehost' ) }
</span>
) : (
<span className="nfd-text-[#008112]">
{ __( 'Live', 'wp-plugin-bluehost' ) }
{ __( 'LIVE', 'wp-plugin-bluehost' ) }
</span>
);
};
Expand All @@ -86,17 +86,18 @@
return (
<Container.SettingsField
title={ getComingSoonSectionTitle() }
description={ __(

Check failure on line 89 in src/app/pages/settings/comingSoon.js

View workflow job for this annotation

GitHub Actions / ESLint

Translate function arguments must be string literals
'Still building your site? Need to make a big change?',
comingSoon ? 'Turn off your "Coming Soon" page when you are ready to launch your website.'

Check failure on line 90 in src/app/pages/settings/comingSoon.js

View workflow job for this annotation

GitHub Actions / ESLint

Replace `·` with `⏎↹↹↹↹↹`
: 'Turn on your "Coming Soon" page when you need to make major changes to your website.',

Check failure on line 91 in src/app/pages/settings/comingSoon.js

View workflow job for this annotation

GitHub Actions / ESLint

Insert `↹`
'wp-plugin-bluehost'
) }
>
<div className="nfd-flex nfd-flex-col nfd-gap-6">
<ToggleField
id="coming-soon-toggle"
label="Coming soon page"
label="Coming Soon page"
description={ __(
'Your Bluehost Coming Soon page lets you hide your site from visitors while you make the magic happen.',
'When this is enabled, a placeholder page will be displayed to your website visitors to show that your site is still under construction or undergoing significant changes.',
'wp-plugin-bluehost'
) }
checked={ comingSoon }
Expand Down
Loading