feat: 完成代码编写

This commit is contained in:
2025-08-08 23:07:54 -07:00
parent aead2ff68f
commit 2ee4121308
25 changed files with 222 additions and 70 deletions
+3 -3
View File
@@ -2,7 +2,7 @@
import { Slot } from '@radix-ui/react-slot';
import { VariantProps, cva } from 'class-variance-authority';
import { PanelLeft } from 'lucide-react';
import Image from 'next/image';
import * as React from 'react';
import { Button } from '@workspace/airo-ui/components/button';
@@ -270,14 +270,14 @@ const SidebarTrigger = React.forwardRef<
data-sidebar='trigger'
variant='ghost'
size='icon'
className={cn('h-7 w-7', className)}
className={cn('size-14', className)}
onClick={(event) => {
onClick?.(event);
toggleSidebar();
}}
{...props}
>
<PanelLeft />
<Image src={'list.png'} width={61} height={61} unoptimized />
<span className='sr-only'>Toggle Sidebar</span>
</Button>
);