feat: integrated with artifact resizable

This commit is contained in:
Henry Li
2026-01-16 21:55:31 +08:00
parent 68fbf53fb2
commit 93a231cfb1
3 changed files with 43 additions and 33 deletions

View File

@@ -122,24 +122,6 @@ export function WorkspaceBody({
);
}
export function WorkspaceFooter({
className,
children,
...props
}: React.ComponentProps<"footer">) {
return (
<footer
className={cn(
"absolute right-0 bottom-0 left-0 z-30 flex justify-center",
className,
)}
{...props}
>
{children}
</footer>
);
}
function nameOfSegment(segment: string | undefined) {
if (!segment) return "Home";
return segment[0]?.toUpperCase() + segment.slice(1);