|
1 | 1 | import { Layout } from '@cuhacking/portal/ui/layout' |
| 2 | +import { Badge } from '@cuhacking/shared/ui/badge' |
| 3 | +import { Button } from '@cuhacking/shared/ui/button' |
| 4 | +import { Dialog, DialogContent, DialogTrigger } from '@cuhacking/shared/ui/dialog' |
| 5 | +import { GlassmorphicCard } from '@cuhacking/shared/ui/glassmorphic-card' |
| 6 | +import MultipleSelector from '@cuhacking/shared/ui/multi-select' |
| 7 | +import { Typography } from '@cuhacking/shared/ui/typography' |
| 8 | + |
| 9 | +const options = [ |
| 10 | + { label: '🔊 Ceremony', value: 'ceremony' }, |
| 11 | + { label: '💻 Workshop', value: 'workshop' }, |
| 12 | + { label: '🥂 Networking', value: 'networking' }, |
| 13 | + { label: '🎉 Social', value: 'social' }, |
| 14 | + { label: '💡 Hackathon', value: 'hackathon' }, |
| 15 | + { label: '😂 Fun', value: 'fun' }, |
| 16 | + { label: '🥑 Food', value: 'food' }, |
| 17 | + { label: '🤹 Other', value: 'other' }, |
| 18 | +] |
2 | 19 |
|
3 | 20 | export function SchedulePage() { |
4 | 21 | return ( |
5 | 22 | <Layout isCompleteProfile={false}> |
6 | | - <section className="max-w-screen-xl mx-auto grid sm:grid-cols-2 gap-5 p-5 sm:px-10 py-40 pt-20"> |
7 | | - <div> |
8 | | - Schedule Page |
| 23 | + |
| 24 | + <section className="max-w-screen-xl mx-auto p-5 sm:px-10 py-40 pt-10"> |
| 25 | + <GlassmorphicCard className="row-span-2 p-5 text-center mb-5 "> |
| 26 | + <Typography variant="h2"> |
| 27 | + SCHEDULE |
| 28 | + </Typography> |
| 29 | + </GlassmorphicCard> |
| 30 | + <div className="flex flex-col gap-5"> |
| 31 | + |
| 32 | + <div className="flex flex-row gap-3 justify-center "> |
| 33 | + <Button className="!hover:text-white cursor-pointer">Fri Mar 14th</Button> |
| 34 | + <Button className="cursor-pointer">Fri Mar 14th</Button> |
| 35 | + <Button className="cursor-pointer">Fri Mar 14th</Button> |
| 36 | + </div> |
| 37 | + <MultipleSelector isRequired={false} name="Filter" form={undefined} options={options} placeholder="filter" hidePlaceholderWhenSelected></MultipleSelector> |
| 38 | + <Event /> |
9 | 39 | </div> |
10 | 40 | </section> |
11 | 41 | </Layout> |
12 | 42 | ) |
13 | 43 | } |
| 44 | + |
| 45 | +function Event() { |
| 46 | + return ( |
| 47 | + <> |
| 48 | + <Dialog> |
| 49 | + <DialogTrigger asChild> |
| 50 | + <GlassmorphicCard className="p-4 flex flex-col sm:flex-row"> |
| 51 | + <div className="flex-grow-1"> |
| 52 | + <Typography variant="h5">Title</Typography> |
| 53 | + <Typography variant="paragraph-xs">⌛ 2:20pm - 5:30pm</Typography> |
| 54 | + <Typography variant="paragraph-xs">📍 RB 222</Typography> |
| 55 | + </div> |
| 56 | + <div className="flex-shrink-1"> |
| 57 | + <Badge variant="outline">🚽 work</Badge> |
| 58 | + </div> |
| 59 | + </GlassmorphicCard> |
| 60 | + </DialogTrigger> |
| 61 | + |
| 62 | + <DialogContent className="sm:max-w-[425px]"> |
| 63 | + hi |
| 64 | + </DialogContent> |
| 65 | + </Dialog> |
| 66 | + |
| 67 | + </> |
| 68 | + ) |
| 69 | +} |
0 commit comments