Skip to content
This repository was archived by the owner on Jan 2, 2026. It is now read-only.

Commit 3d06f65

Browse files
Revert "✨ Feat: 약품 상세정보 페이지 연동 (#10)" (#11)
This reverts commit ec12ad0.
1 parent ec12ad0 commit 3d06f65

File tree

5 files changed

+159
-397
lines changed

5 files changed

+159
-397
lines changed

src/app/drugs/[id]/page.js

Lines changed: 0 additions & 261 deletions
This file was deleted.

src/app/search/name/page.js

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/components/NoImage.js

Lines changed: 6 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,21 @@
1-
const NoImage = ({ className = "" }) => {
1+
const NoImage = () => {
22
return (
3-
<div className={`w-full h-full bg-gray-100 rounded-lg flex items-center justify-center ${className}`}>
3+
<div className="w-full h-full bg-gray-100 rounded-lg flex items-center justify-center">
44
<div className="text-center">
55
<svg
6-
className="mx-auto h-12 w-12 text-gray-400"
6+
className="mx-auto h-8 w-8 text-gray-400"
77
fill="none"
88
viewBox="0 0 24 24"
99
stroke="currentColor"
10-
xmlns="http://www.w3.org/2000/svg"
1110
>
12-
{/* 약병 몸체 */}
13-
<rect
14-
x="7"
15-
y="8"
16-
width="10"
17-
height="12"
18-
rx="1"
19-
strokeWidth="1.5"
20-
stroke="#9CA3AF"
21-
fill="none"
22-
/>
23-
24-
{/* 약병 뚜껑 */}
25-
<path
26-
d="M8 8v-2c0-0.6 0.4-1 1-1h6c0.6 0 1 0.4 1 1v2"
27-
strokeWidth="1.5"
28-
stroke="#9CA3AF"
29-
fill="none"
30-
/>
31-
32-
{/* 약병 라벨 */}
33-
{/* <rect
34-
x="8"
35-
y="10"
36-
width="8"
37-
height="4"
38-
rx="0.5"
39-
strokeWidth="1"
40-
stroke="#9CA3AF"
41-
fill="none"
42-
/> */}
43-
44-
{/* X 표시 - 우측 하단으로 이동 및 크기 확대 */}
4511
<path
4612
strokeLinecap="round"
4713
strokeLinejoin="round"
48-
strokeWidth="2"
49-
d="M19 15L13 21M13 15l6 6"
50-
stroke="#EF4444"
14+
strokeWidth={2}
15+
d="M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"
5116
/>
5217
</svg>
53-
<p className="mt-1 text-xs text-gray-500">약품 이미지 없음</p>
18+
<p className="mt-1 text-xs text-gray-500">No Image</p>
5419
</div>
5520
</div>
5621
);

0 commit comments

Comments
 (0)