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 Co-authored-by: Stephan Charles <[email protected]> Co-authored-by: Amelia Hernandez <[email protected]> Co-authored-by: Markus Franz <[email protected]> Co-authored-by: Sabrina Hota <[email protected]> Co-authored-by: Nilüfer Doğan <[email protected]>
This commit is contained in:
1 parent
2f53d47578
commit
7605c9bbf4
64 files changed
+4593
-1371
No files matched your search
@@ -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>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user