From f9ff6b72cbf9308fc8b021be0e6ff53c33470b12 Mon Sep 17 00:00:00 2001 From: wallace Date: Fri, 29 Nov 2024 17:01:58 +0900 Subject: [PATCH] =?UTF-8?q?navbar=20=EC=9E=91=EC=97=85=EC=A4=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- image-ai/bun.lockb | Bin 192045 -> 192045 bytes image-ai/src/components/hint.tsx | 47 ++++++++++++++++++ .../src/features/editor/components/navbar.tsx | 28 ++++++++++- 3 files changed, 73 insertions(+), 2 deletions(-) create mode 100644 image-ai/src/components/hint.tsx diff --git a/image-ai/bun.lockb b/image-ai/bun.lockb index e6235a2aed92652a5f779c164be104fa8e49eaa4..38a7163cac03e0045c190f9dd0ed268ce947aede 100644 GIT binary patch delta 42 vcmZ2`hkNZE?uIRly06(8;|%o-^$ez)yk^v8XJP<@_Keqz+cRD>9c2OlH5UzK delta 42 vcmZ2`hkNZE?uIRly06)p7{Fk<$!kVkcE&hEJwrW{_Keqz+cRD>9c2OlBy { + return ( + + + + {/* asChild는 기능은 그대로 children 태그를 대신 렌더링.*/} + {children} + + +

+ {label} +

+
+
+
+ + ) +}; \ No newline at end of file diff --git a/image-ai/src/features/editor/components/navbar.tsx b/image-ai/src/features/editor/components/navbar.tsx index 6f4ade4..3b7ba1c 100644 --- a/image-ai/src/features/editor/components/navbar.tsx +++ b/image-ai/src/features/editor/components/navbar.tsx @@ -1,10 +1,12 @@ "use client"; +import {ChevronDown, MousePointerClick, Undo2} from "lucide-react"; +import {CiFileOn} from "react-icons/ci"; import {Logo} from "./logo"; +import {Hint} from "@/components/hint"; -import {ChevronDown} from "lucide-react"; -import {CiFileOn} from "react-icons/ci"; import {Button} from "@/components/ui/button"; +import {Separator} from "@/components/ui/separator"; import { DropdownMenu, DropdownMenuItem, @@ -12,6 +14,7 @@ import { DropdownMenuTrigger, } from "@/components/ui/dropdown-menu"; + export const Navbar = () => { return ( );