Skip to content

Commit

Permalink
Add Thank you step to 100 year plan VIP
Browse files Browse the repository at this point in the history
  • Loading branch information
TimBroddin committed Sep 30, 2024
1 parent 9359f79 commit 42ad199
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/landing/stepper/declarative-flow/hundred-year-plan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ const HundredYearPlanFlow: Flow = {
asyncComponent: () =>
import( './internals/steps-repository/hundred-year-plan-schedule-appointment' ),
},
{
slug: 'thank-you',
asyncComponent: () =>
import( './internals/steps-repository/hundred-year-plan-thank-you' ),
},
]
: [] ),

Expand Down
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;
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* Comment because we cannot have empty files */

0 comments on commit 42ad199

Please sign in to comment.