Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
379 changes: 221 additions & 158 deletions src/components/calendar-overview.tsx

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions src/components/calendar/calendar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
} from 'date-fns'
import { cn } from '@/lib/utils'
import { Badge } from '@/components/ui/badge'
import { CreateEventDialog } from '@/components/calendar/create-event-dialog'
import { CreateManualEventDialog } from '@/components/calendar/create-manual-event-dialog'
import { DayEventsDialog } from '@/components/calendar/day-events-dialog'
import { CalendarHeader } from '@/components/calendar/calendar-header'
import { AnimatePresence, motion } from 'framer-motion'
Expand Down Expand Up @@ -126,7 +126,7 @@ export function DisplayCalendar() {
<time
dateTime={format(day, 'yyyy-MM-dd')}
className={cn(
'ml-auto font-medium',
'font-medium',
isToday(day) &&
'bg-focusColor text-primary-foreground rounded-full w-6 h-6 flex items-center justify-center',
)}
Expand All @@ -148,7 +148,7 @@ export function DisplayCalendar() {
>
{event.startTime &&
format(parseISO(event.startTime), 'HH:mm')}{' '}
{event.subject}
{event.subject ? event.subject : '(No Name)'}
</Badge>
))}
{dayEvents.length > 2 && (
Expand All @@ -167,7 +167,7 @@ export function DisplayCalendar() {
</motion.div>
</AnimatePresence>

<CreateEventDialog
<CreateManualEventDialog
open={isCreateEventDialogOpen}
onOpenChangeAction={setIsCreateEventDialogOpen}
selectedDate={selectedDate}
Expand Down
Loading