PHP 8.2.31
Preview: Dashboard.jsx Size: 870 B
/home/nshryvcy/radiantskinclinics.org/wp-content/plugins/extendify_old/src/HelpCenter/pages/Dashboard.jsx

import { useRouter } from '@help-center/hooks/useRouter';
import { AIChatDashboard } from '@help-center/pages/AIChat';
import { KnowledgeBaseDashboard } from '@help-center/pages/KnowledgeBase';
import { ToursDashboard } from '@help-center/pages/Tours';
import { __ } from '@wordpress/i18n';

export const Dashboard = () => {
	const { navigateTo } = useRouter();
	return (
		<div className="mx-auto flex w-full max-w-md flex-col gap-3 rounded-2xl p-4">
			<KnowledgeBaseDashboard onOpen={() => navigateTo('knowledge-base')} />
			<ToursDashboard
				onOpen={() => navigateTo('tours')}
				classes="hidden md:block"
			/>
			{window.extSharedData?.showChat && (
				<AIChatDashboard onOpen={() => navigateTo('ai-chat')} />
			)}
		</div>
	);
};

export const routes = [
	{
		slug: 'dashboard',
		title: __('Help Center', 'extendify-local'),
		component: Dashboard,
	},
];

Directory Contents

Dirs: 0 × Files: 4

Name Size Perms Modified Actions
5.17 KB lrw-r--r-- 2026-02-19 03:27:14
Edit Download
870 B lrw-r--r-- 2026-02-19 03:27:14
Edit Download
2.53 KB lrw-r--r-- 2026-02-19 03:27:14
Edit Download
3.63 KB lrw-r--r-- 2026-02-19 03:27:14
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).