Add contextual help links to admin pages

This commit is contained in:
Codex Agent
2026-01-23 09:18:46 +01:00
parent 53a90fec33
commit 35f28fd48d
8 changed files with 80 additions and 4 deletions

View File

@@ -18,6 +18,7 @@ import toast from 'react-hot-toast';
import { adminPath } from '../constants';
import { useBackNavigation } from './hooks/useBackNavigation';
import { ADMIN_GRADIENTS, useAdminTheme } from './theme';
import { ContextHelpLink } from './components/ContextHelpLink';
import { extractBrandingForm, type BrandingFormValues } from '../lib/brandingForm';
import { DEFAULT_EVENT_BRANDING } from '@/guest/context/EventBrandingContext';
import { getContrastingTextColor, relativeLuminance } from '@/guest/lib/color';
@@ -560,6 +561,10 @@ export default function MobileBrandingPage() {
</MobileCard>
) : null}
<XStack justifyContent="flex-end">
<ContextHelpLink slug="event-prep-checklist" />
</XStack>
<MobileCard space="$2">
<XStack space="$2">
<TabButton label={t('events.branding.titleShort', 'Branding')} active={activeTab === 'branding'} onPress={() => setActiveTab('branding')} />