-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds My Home card for DIFM Lite in-progress sites (#56313)
- Loading branch information
Showing
3 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
client/my-sites/customer-home/cards/tasks/difm-lite-in-progress/index.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import { useTranslate } from 'i18n-calypso'; | ||
import React from 'react'; | ||
import builderReferral from 'calypso/assets/images/illustrations/builder-referral.svg'; | ||
import { TASK_DIFM_LITE_IN_PROGRESS } from 'calypso/my-sites/customer-home/cards/constants'; | ||
import Task from 'calypso/my-sites/customer-home/cards/tasks/task'; | ||
|
||
const DIFMLiteInProgress = () => { | ||
const translate = useTranslate(); | ||
|
||
return ( | ||
<Task | ||
title={ translate( 'Hang on! Our experts are building your site.' ) } | ||
description={ translate( | ||
'Our Built By WordPress.com team will be in touch with you when your site is ready to be transferred to your account and launched.' | ||
) } | ||
illustration={ builderReferral } | ||
taskId={ TASK_DIFM_LITE_IN_PROGRESS } | ||
showSkip={ false } | ||
hasAction={ false } | ||
/> | ||
); | ||
}; | ||
|
||
export default DIFMLiteInProgress; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters