Compare commits

..

1 commit

Author SHA1 Message Date
ce3c7598f9
feat(slot blocking): add buttons to sidebar
Some checks failed
container-scan / Container Scan (pull_request) Has been cancelled
docker-build / docker (pull_request) Has been cancelled
tests / Tests (pull_request) Has been cancelled
2025-07-01 00:08:32 +02:00
2 changed files with 4 additions and 4 deletions

View file

@ -22,7 +22,7 @@ export default function BlockedSlots() {
<div className='relative h-full flex flex-col items-center'> <div className='relative h-full flex flex-col items-center'>
{/* Heading */} {/* Heading */}
<h1 className='text-3xl font-bold mt-8 mb-4 text-center z-10'> <h1 className='text-3xl font-bold mt-8 mb-4 text-center z-10'>
My Blocked Slots My Blockers
</h1> </h1>
{/* Scrollable blocked slot list */} {/* Scrollable blocked slot list */}
@ -40,7 +40,7 @@ export default function BlockedSlots() {
) : ( ) : (
<div className='flex flex-1 flex-col items-center justify-center min-h-[300px]'> <div className='flex flex-1 flex-col items-center justify-center min-h-[300px]'>
<Label size='large' className='justify-center text-center'> <Label size='large' className='justify-center text-center'>
You don&#39;t have any blocked slots right now You don&#39;t have any blockers right now
</Label> </Label>
<RedirectButton <RedirectButton
redirectUrl='/blocker/new' redirectUrl='/blocker/new'

View file

@ -14,7 +14,7 @@ import {
SidebarMenuItem, SidebarMenuItem,
} from '@/components/custom-ui/sidebar'; } from '@/components/custom-ui/sidebar';
import { CalendarMinus, CalendarX2, ChevronDown } from 'lucide-react'; import { CalendarMinus, CalendarMinus2, ChevronDown } from 'lucide-react';
import { import {
Collapsible, Collapsible,
CollapsibleContent, CollapsibleContent,
@ -133,7 +133,7 @@ export function AppSidebar() {
href='/blocker/new' href='/blocker/new'
className='flex items-center gap-2 text-xl font-label' className='flex items-center gap-2 text-xl font-label'
> >
<CalendarX2 className='size-8' /> <CalendarMinus2 className='size-8' />
<span className='group-data-[collapsible=icon]:hidden text-nowrap whitespace-nowrap'> <span className='group-data-[collapsible=icon]:hidden text-nowrap whitespace-nowrap'>
New Blocker New Blocker
</span> </span>