feat: add admin raffle with confetti and top-3/staff exclusion
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
4cf09cd739
commit
4ec03410ff
14 files changed
+680
-2
No files matched your search
@@ -8,6 +8,7 @@ import { Registrations } from './views/Registrations';
|
||||
import { Sponsors } from './views/Sponsors';
|
||||
import { Schedule } from './views/Schedule';
|
||||
import { Activity } from './views/Activity';
|
||||
import { Raffle } from './views/Raffle';
|
||||
import { Events } from './views/Events';
|
||||
import { Interfaces } from './views/Interfaces';
|
||||
import { Reports } from './views/Reports';
|
||||
@@ -22,6 +23,7 @@ export type View =
|
||||
| 'sponsors'
|
||||
| 'schedule'
|
||||
| 'activity'
|
||||
| 'raffle'
|
||||
| 'events'
|
||||
| 'interfaces'
|
||||
| 'reports'
|
||||
@@ -34,6 +36,7 @@ const NAV: { id: View; label: string; ico: string }[] = [
|
||||
{ id: 'sponsors', label: 'Sponsors', ico: '🤝' },
|
||||
{ id: 'schedule', label: 'Schedule', ico: '🗓️' },
|
||||
{ id: 'activity', label: 'Activity', ico: '⚡' },
|
||||
{ id: 'raffle', label: 'Raffle', ico: '🎯' },
|
||||
{ id: 'events', label: 'Events', ico: '📅' },
|
||||
{ id: 'interfaces', label: 'Interfaces', ico: '🔌' },
|
||||
{ id: 'reports', label: 'Reports', ico: '📤' },
|
||||
@@ -104,6 +107,7 @@ function Shell() {
|
||||
{view === 'sponsors' && <Sponsors />}
|
||||
{view === 'schedule' && <Schedule />}
|
||||
{view === 'activity' && <Activity />}
|
||||
{view === 'raffle' && <Raffle />}
|
||||
{view === 'events' && <Events />}
|
||||
{view === 'interfaces' && <Interfaces />}
|
||||
{view === 'reports' && <Reports />}
|
||||
|
||||
Reference in new issue
Block a user