feat: update layout

This commit is contained in:
codytseng 2025-08-27 21:56:46 +08:00
parent f41536a793
commit 8b1c2ebe3f
30 changed files with 230 additions and 250 deletions

View file

@ -2,15 +2,18 @@ import { cn } from '@/lib/utils'
export function Titlebar({
children,
className
className,
hideBottomBorder = false
}: {
children?: React.ReactNode
className?: string
hideBottomBorder?: boolean
}) {
return (
<div
className={cn(
'sticky top-0 w-full h-12 z-40 bg-background [&_svg]:size-5 [&_svg]:shrink-0 select-none',
!hideBottomBorder && 'border-b',
className
)}
>