Redesign Phases 3-6: multi-event model, APPE Admin, Convivo App behaviors, APPE branding

- Phase 3: new migration 20260824000000_redesign.sql (contacts/events/registrations/sponsors, slot types, session speakers + feedback/material), seed rewrite
- Phase 4: APPE Admin rebrand + Contacts/Registrations/Sponsors/Schedule/Activity/Events views
- Phase 5: Convivo App (24h login, 5s polling, QR type badge, red dot, speaker material)
- Phase 6: APPE favicon + PWA icons for both apps
- Docs: schema/rpcs/rls/seed/screens/api-client/admin-app/architecture/next-steps/README/roadmap updated
This commit is contained in:
Lago committed 2026-08-23 02:53:16 +02:00
1 parent 5adb5785aa
commit 22f5f1d317
64 files changed
+4593 -1371

No files matched your search

+24 -3
View File
@@ -79,7 +79,28 @@ export function QrImage({ value, size = 180 }: { value: string; size?: number })
);
}
/** Small colored badge for a role. */
export function RoleBadge({ role }: { role: string }) {
return <span className={`pill pill-${role}`}>{role}</span>;
/** Small colored badge for a registration / sponsor type. */
export function TypeBadge({ type }: { type: string }) {
return <span className={`pill pill-${type}`}>{type.replace('_', ' ')}</span>;
}
/** A small on/off toggle switch. */
export function Toggle({
checked,
onChange,
label,
}: {
checked: boolean;
onChange: (v: boolean) => void;
label?: string;
}) {
return (
<label className="toggle" title={label}>
<input type="checkbox" checked={checked} onChange={(e) => onChange(e.target.checked)} />
<span className="track">
<span className="knob" />
</span>
{label && <span className="toggle-lbl">{label}</span>}
</label>
);
}