mirror of
https://github.com/temetro/temetro.git
synced 2026-07-26 11:58:14 +00:00
97bf9ed8cc
- Linear-inspired dark theme (app/globals.css), forced dark in layout
- Clinical sidebar (components/sidebar-02) with temetro brand
- AI chat UI (components/chat): Cursor-style input, UI-only mock replies
- Settings page (components/settings): Polar-style tabs/sections, UI only
- Route-group app shell: app/(app)/{layout,page,settings}
- shadcn (Base UI) + ai-elements component libraries
- CLAUDE.md: architecture notes + per-folder commit policy
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
17 lines
442 B
TypeScript
17 lines
442 B
TypeScript
import { cn } from "@/lib/utils";
|
|
import { NodeToolbar, Position } from "@xyflow/react";
|
|
import type { ComponentProps } from "react";
|
|
|
|
type ToolbarProps = ComponentProps<typeof NodeToolbar>;
|
|
|
|
export const Toolbar = ({ className, ...props }: ToolbarProps) => (
|
|
<NodeToolbar
|
|
className={cn(
|
|
"flex items-center gap-1 rounded-sm border bg-background p-1.5",
|
|
className
|
|
)}
|
|
position={Position.Bottom}
|
|
{...props}
|
|
/>
|
|
);
|