refactor(guest): retire legacy guest app and move shared modules
This commit is contained in:
@@ -21,8 +21,8 @@ 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';
|
||||
import { DEFAULT_EVENT_BRANDING } from '@/shared/guest/context/EventBrandingContext';
|
||||
import { getContrastingTextColor, relativeLuminance } from '@/shared/guest/lib/color';
|
||||
|
||||
const BRANDING_FORM_DEFAULTS = {
|
||||
primary: DEFAULT_EVENT_BRANDING.primaryColor,
|
||||
|
||||
@@ -22,7 +22,7 @@ import { useBackNavigation } from './hooks/useBackNavigation';
|
||||
import { useAdminTheme } from './theme';
|
||||
import i18n from '../i18n';
|
||||
import { extractBrandingForm, type BrandingFormValues } from '../lib/brandingForm';
|
||||
import { DEFAULT_EVENT_BRANDING } from '@/guest/context/EventBrandingContext';
|
||||
import { DEFAULT_EVENT_BRANDING } from '@/shared/guest/context/EventBrandingContext';
|
||||
|
||||
type ProfileFormState = {
|
||||
name: string;
|
||||
|
||||
Reference in New Issue
Block a user