feat: add magic-link admin login and speaker materials portal
This commit is contained in:
1 parent
3adc0fd58f
commit
8d8d3ae4b8
28 files changed
+1623
-232
No files matched your search
@@ -13,6 +13,8 @@ import { EventFeedback } from './screens/EventFeedback';
|
||||
import { QrImage, Spinner } from './components/ui';
|
||||
import { getMyConnections } from './lib/api';
|
||||
import { usePolling } from './lib/usePolling';
|
||||
import { isSpeakerPortal } from './lib/speakerPortal';
|
||||
import { SpeakerPortal } from './screens/SpeakerPortal';
|
||||
|
||||
type Tab = 'home' | 'agenda' | 'scan' | 'connections' | 'profile' | 'leaderboard';
|
||||
const TABS: { id: Tab; ico: string; label: string }[] = [
|
||||
@@ -186,6 +188,7 @@ function Shell() {
|
||||
}
|
||||
|
||||
export default function App() {
|
||||
if (isSpeakerPortal) return <SpeakerPortal />;
|
||||
return (
|
||||
<ToastProvider>
|
||||
<AuthProvider>
|
||||
|
||||
Reference in new issue
Block a user