-
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.
Add Thank you step to 100 year plan VIP
- Loading branch information
1 parent
9359f79
commit 42ad199
Showing
3 changed files
with
38 additions
and
0 deletions.
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
32 changes: 32 additions & 0 deletions
32
...stepper/declarative-flow/internals/steps-repository/hundred-year-plan-thank-you/index.tsx
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,32 @@ | ||
import { useTranslate } from 'i18n-calypso'; | ||
import FormattedHeader from 'calypso/components/formatted-header'; | ||
import HundredYearPlanStepWrapper from '../hundred-year-plan-step-wrapper'; | ||
import type { Step } from '../../types'; | ||
|
||
import './styles.scss'; | ||
|
||
const HundredYearPlanThankYou: Step = function HundredYearPlanThankYou( { flow } ) { | ||
const translate = useTranslate(); | ||
|
||
return ( | ||
<HundredYearPlanStepWrapper | ||
stepContent={ | ||
<div> | ||
<p>TODO: Thank You content</p> | ||
</div> | ||
} | ||
formattedHeader={ | ||
<FormattedHeader | ||
brandFont | ||
headerText={ translate( 'TODO: Thank You title' ) } | ||
subHeaderText={ translate( 'TODO: Thank You header' ) } | ||
subHeaderAlign="center" | ||
/> | ||
} | ||
stepName="hundred-year-plan-setup" | ||
flowName={ flow } | ||
/> | ||
); | ||
}; | ||
|
||
export default HundredYearPlanThankYou; |
1 change: 1 addition & 0 deletions
1
...epper/declarative-flow/internals/steps-repository/hundred-year-plan-thank-you/styles.scss
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 @@ | ||
/* Comment because we cannot have empty files */ |