Refactor: Update Tenant PWA headers and tabs to use Playfair Display and Tamagui components
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { TenantEvent } from '../../api';
|
||||
import { adminPath } from '../../constants';
|
||||
|
||||
export type ReadinessStep = {
|
||||
id: string;
|
||||
@@ -43,7 +42,7 @@ export function useEventReadiness(event: TenantEvent | null, t: (key: string, fa
|
||||
{
|
||||
id: 'basics',
|
||||
label: t('management:events.form.date', 'Datum & Ort'),
|
||||
description: 'Grundlage für die Gäste-Info.',
|
||||
description: t('management:readiness.steps.basicsDescription', 'Grundlage für die Gäste-Info.'),
|
||||
isComplete: hasDate && hasLocation,
|
||||
ctaLabel: t('management:events.actions.edit', 'Bearbeiten'),
|
||||
targetPath: `/mobile/events/${event.slug}/edit`,
|
||||
@@ -52,7 +51,7 @@ export function useEventReadiness(event: TenantEvent | null, t: (key: string, fa
|
||||
{
|
||||
id: 'access',
|
||||
label: t('management:invites.badge', 'QR-Codes'),
|
||||
description: 'Der Schlüssel für deine Gäste.',
|
||||
description: t('management:readiness.steps.accessDescription', 'Der Schlüssel für deine Gäste.'),
|
||||
ctaLabel: t('management:invites.actions.create', 'QR-Code erstellen'),
|
||||
isComplete: hasInvite,
|
||||
targetPath: `/mobile/events/${event.slug}/qr`,
|
||||
@@ -64,7 +63,7 @@ export function useEventReadiness(event: TenantEvent | null, t: (key: string, fa
|
||||
steps.push({
|
||||
id: 'tasks',
|
||||
label: t('management:tasks.badge', 'Fotoaufgaben'),
|
||||
description: 'Sorgt für 3x mehr Interaktion.',
|
||||
description: t('management:readiness.steps.tasksDescription', 'Sorgt für 3x mehr Interaktion.'),
|
||||
isComplete: hasTasks,
|
||||
ctaLabel: t('management:tasks.actions.assign', 'Fotoaufgaben hinzufügen'),
|
||||
targetPath: `/mobile/events/${event.slug}/tasks`,
|
||||
|
||||
Reference in New Issue
Block a user