$98 GRAYBYTE WORDPRESS FILE MANAGER $40

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/home/bravrvjk/dantho.rw/wp-content/plugins/extendify/src/Launch/lib/

HOME
Current File : /home/bravrvjk/dantho.rw/wp-content/plugins/extendify/src/Launch/lib//pages.js
import {
	ContentGathering,
	state as contentGatheringState,
} from '@launch/pages/ContentGathering';
import { HomeSelect, state as homeSelectState } from '@launch/pages/HomeSelect';
import {
	ObjectiveSelection,
	state as objectiveSelectionState,
} from '@launch/pages/ObjectiveSelection';
import {
	PagesSelect,
	state as pagesSelectState,
} from '@launch/pages/PagesSelect';
import {
	SiteInformation,
	state as siteInfoState,
} from '@launch/pages/SiteInformation';
import { SitePrep, state as sitePrepState } from '@launch/pages/SitePrep';
import {
	SiteQuestions,
	state as siteQuestionsState,
} from '@launch/pages/SiteQuestions';
import {
	SiteStructure,
	state as siteStructureState,
} from '@launch/pages/SiteStructure';
import { useUserSelectionStore } from '@launch/state/user-selections';

const showSiteQuestions = window.extSharedData?.showSiteQuestions ?? false;

// This is the default pages array
// You can add pre-fetch functions to start fetching data for the next page
// Supports both [] and single fetcher functions
const initialPagesList = {
	'website-objective': {
		component: ObjectiveSelection,
		state: objectiveSelectionState,
		condition: () => !showSiteQuestions,
	},
	'site-information': {
		component: SiteInformation,
		state: siteInfoState,
	},
	'site-prep': {
		component: SitePrep,
		state: sitePrepState,
	},
	'site-questions': {
		component: SiteQuestions,
		state: siteQuestionsState,
		condition: () => showSiteQuestions,
	},
	'site-structure': {
		component: SiteStructure,
		state: siteStructureState,
		condition: ({ siteObjective }) =>
			siteObjective !== 'landing-page' || !showSiteQuestions,
	},
	'content-fetching': {
		component: ContentGathering,
		state: contentGatheringState,
	},
	layout: {
		component: HomeSelect,
		state: homeSelectState,
	},
	'page-select': {
		component: PagesSelect,
		state: pagesSelectState,
		condition: ({ siteStructure }) => siteStructure === 'multi-page',
	},
};

export const getPages = () => {
	const { siteStructure, siteObjective } =
		useUserSelectionStore?.getState() ?? {};
	const conditionData = { siteStructure, siteObjective };

	return Object.entries(initialPagesList).filter(
		([_, page]) => !page.condition || page.condition(conditionData),
	);
};

export const pages = getPages();


Current_dir [ WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
6 Nov 2025 10.43 AM
bravrvjk / bravrvjk
0755
__tests__
--
6 Nov 2025 10.43 AM
bravrvjk / bravrvjk
0755
blocks.js
0.15 KB
27 Aug 2025 5.47 PM
bravrvjk / bravrvjk
0644
fonts-helpers.js
1.906 KB
4 Aug 2025 7.41 PM
bravrvjk / bravrvjk
0644
linkPages.js
6.398 KB
12 May 2025 4.42 PM
bravrvjk / bravrvjk
0644
logo.js
1.3 KB
12 May 2025 4.42 PM
bravrvjk / bravrvjk
0644
pages.js
2.228 KB
16 Jul 2025 7.39 PM
bravrvjk / bravrvjk
0644
preview-helpers.js
1.598 KB
4 Feb 2025 12.18 AM
bravrvjk / bravrvjk
0644
util.js
1.805 KB
12 May 2025 4.42 PM
bravrvjk / bravrvjk
0644
wp.js
10.427 KB
15 Sep 2025 11.30 PM
bravrvjk / bravrvjk
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF