PluginProbe
Extendify / trunk
Extendify vtrunk
3.2.1 3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 0.5.0 0.6.0 All 127 releases
extendify / src / Assist / tasks / site-builder-launcher.js

site-builder-launcher.js in Extendify trunk, at src/Assist/tasks/site-builder-launcher.js

34 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import { LaunchDemoSitesMarkup } from '@assist/tasks/images/LaunchDemoSitesMarkup';
2 import { __ } from '@wordpress/i18n';
3
4 const { launchCompleted } = window.extAssistData;
5 const { themeSlug, showLaunch, useAgentOnboarding } = window.extSharedData;
6
7 export default {
8 slug: 'site-builder-launcher',
9 title: __('Continue with site builder', 'extendify-local'),
10 description: __(
11 'Create a super-fast, beautiful, and fully customized site in minutes with our Site Launcher.',
12 'extendify-local',
13 ),
14 buttonLabels: {
15 completed: __('Add Website Details', 'extendify-local'),
16 notCompleted: __('Add Website Details', 'extendify-local'),
17 },
18 link: useAgentOnboarding
19 ? 'admin.php?page=extendify-auto-launch'
20 : 'admin.php?page=extendify-launch',
21 type: 'site-launcher-task',
22 dependencies: { plugins: [] },
23 show: () => {
24 return themeSlug === 'extendable' && !launchCompleted && showLaunch;
25 },
26 backgroundImage: null,
27 htmlBefore: () => (
28 <LaunchDemoSitesMarkup
29 className="border-gray-300 pointer-events-none relative hidden h-full min-h-56 w-full overflow-hidden rounded-t-lg border bg-gray-800 pt-5 lg:block"
30 aria-hidden="true"
31 />
32 ),
33 };
34