File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import bluehostLogoUrl from '@/assets/bluehost-logo.svg';
55import { OnboardingEvent , sendOnboardingEvent } from '@/utils/analytics/hiive' ;
66import { ACTION_ONBOARDING_STARTED } from '@/utils/analytics/hiive/constants' ;
77import { disableComingSoon } from '@/utils/api' ;
8+ import { fetchBlueprints } from '@/utils/blueprints' ;
89import SiteCreatorCard from './SiteCreatorCard' ;
910import MigrationCard from './MigrationCard' ;
1011
@@ -18,6 +19,9 @@ const ForkStep = () => {
1819 }
1920 ) ;
2021
22+ // Proactively fetch the blueprints.
23+ fetchBlueprints ( ) ;
24+
2125 useEffect ( ( ) => {
2226 // Analytics: Onboarding started event
2327 sendOnboardingEvent (
@@ -73,7 +77,7 @@ const ForkStep = () => {
7377
7478 { ( canMigrateSite || migrationFallbackUrl ) && (
7579 < >
76- < span className = "!nfd-text-lg nfd-text-content-primarynfd -font-medium" >
80+ < span className = "!nfd-text-lg nfd-text-content-primary nfd -font-medium" >
7781 { __ ( 'Or' , 'wp-module-onboarding' ) }
7882 </ span >
7983 < MigrationCard
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ import { LogoStep } from './Logo';
44import { GeneratingStep } from './Generating' ;
55import { PreviewsStep } from './Previews' ;
66import { CanvasStep } from './Canvas' ;
7+ import { BlueprintsStep } from './Blueprints' ;
8+ import { BlueprintCanvasStep } from './BlueprintCanvas' ;
79import { MigrationStep } from './Migration' ;
810
911const STEPS = {
@@ -43,6 +45,18 @@ const STEPS = {
4345 isRequired : true ,
4446 Component : CanvasStep ,
4547 } ,
48+ blueprints : {
49+ path : '/blueprints' ,
50+ order : 70 ,
51+ isRequired : false ,
52+ Component : BlueprintsStep ,
53+ } ,
54+ blueprintCanvas : {
55+ path : '/blueprints-canvas' ,
56+ order : 80 ,
57+ isRequired : false ,
58+ Component : BlueprintCanvasStep ,
59+ } ,
4660 migration : {
4761 path : '/migration' ,
4862 order : 90 ,
@@ -59,5 +73,7 @@ export {
5973 GeneratingStep ,
6074 PreviewsStep ,
6175 CanvasStep ,
76+ BlueprintsStep ,
77+ BlueprintCanvasStep ,
6278 MigrationStep ,
6379} ;
You can’t perform that action at this time.
0 commit comments