Skip to content

Commit f4cc931

Browse files
committed
✨루시드 아이콘 라이브러리 추가 및 네비게이션 적용
1 parent fff4ede commit f4cc931

File tree

3 files changed

+25
-7
lines changed

3 files changed

+25
-7
lines changed

apps/editor/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"class-variance-authority": "^0.7.1",
1919
"immer": "^11.1.3",
2020
"json-server": "^1.0.0-beta.3",
21+
"lucide-react": "^0.563.0",
2122
"next": "15.5.9",
2223
"react": "19.1.0",
2324
"react-dom": "19.1.0",

apps/editor/src/widgets/left-sidebar/model/constants.ts

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
import { SquareIcon, FileIcon, LayoutIcon, PlusSquareIcon, WindowIcon } from '@editor/shared';
1+
import {
2+
Layers,
3+
File,
4+
PanelsTopLeft,
5+
PlusCircle,
6+
AppWindow
7+
} from 'lucide-react';
28

3-
// 정적 데이터 (컴포넌트/위젯)
49
export const STATIC_PANEL_DATA = {
510
component: {
611
title: "컴포넌트",
@@ -27,9 +32,9 @@ export const STATIC_PANEL_DATA = {
2732
};
2833

2934
export const NAV_ITEMS = [
30-
{ id: 'component', label: '컴포넌트', icon: SquareIcon },
31-
{ id: 'page', label: '페이지', icon: FileIcon },
32-
{ id: 'section', label: '섹션', icon: LayoutIcon },
33-
{ id: 'widget', label: '위젯', icon: PlusSquareIcon },
34-
{ id: 'modal', label: '모달', icon: WindowIcon },
35+
{ id: 'component', label: '컴포넌트', icon: Layers },
36+
{ id: 'page', label: '페이지', icon: File },
37+
{ id: 'section', label: '섹션', icon: PanelsTopLeft },
38+
{ id: 'widget', label: '위젯', icon: PlusCircle },
39+
{ id: 'modal', label: '모달', icon: AppWindow },
3540
] as const;

pnpm-lock.yaml

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)