diff --git a/src/components/campaign/dashboard/HomeSearchHitRowsSkeleton.tsx b/src/components/campaign/dashboard/HomeSearchHitRowsSkeleton.tsx new file mode 100644 index 00000000..64623647 --- /dev/null +++ b/src/components/campaign/dashboard/HomeSearchHitRowsSkeleton.tsx @@ -0,0 +1,25 @@ +import { Skeleton } from '@/components/ui/skeleton' +import { HOME_SEARCH_HIT_ROW_WRAPPER_CLASS } from '@/lib/homeSearchUi' + +const HOME_SEARCH_HIT_ROW_SKELETON_PRIORITY_CLASS = 'h-4 w-4 shrink-0 rounded-sm' +const HOME_SEARCH_HIT_ROW_SKELETON_PRIMARY_CLASS = 'h-4 w-40 max-w-full' +const HOME_SEARCH_HIT_ROW_SKELETON_SECONDARY_CLASS = 'h-3 w-28 max-w-full' + +export const HomeSearchHitRowsSkeleton = ({ count = 3 }: { count?: number }) => ( +
+) diff --git a/src/components/campaign/shared/CampaignWizardShell.tsx b/src/components/campaign/shared/CampaignWizardShell.tsx index 053e6abb..ab895c24 100644 --- a/src/components/campaign/shared/CampaignWizardShell.tsx +++ b/src/components/campaign/shared/CampaignWizardShell.tsx @@ -9,12 +9,12 @@ import { type CampaignWizardChromeSkip, } from '@/components/campaign/shell/CampaignWizardChromeContext' import { CAMPAIGN_HOME } from '@/lib/campaignPaths' -import { WIZARD_STEP_PENDING_MESSAGE } from '@/lib/campaignWizardCopy' +import { WIZARD_STEP_PENDING_MESSAGE, wizardFlowChromeAriaLabel } from '@/lib/campaignWizardCopy' import { cn } from '@/lib/utils' export type CampaignWizardShellProps = { flowTitle: string - stepTitle: string + stepTitle?: string | null isEntryStep: boolean previousHref: string dismissHref?: string @@ -37,6 +37,7 @@ export const CampaignWizardShell = ({ contentAlign = 'start', children, }: CampaignWizardShellProps) => { + const hasStepTitle = stepTitle != null && stepTitle !== '' const titleRef = useRef