File tree Expand file tree Collapse file tree 4 files changed +91
-0
lines changed
Expand file tree Collapse file tree 4 files changed +91
-0
lines changed Original file line number Diff line number Diff line change 1+ import { SearchInput } from "../../components/Search/SearchInput" ;
2+ import AddLinkInput from "../../components/Link/AddLinkInput" ;
3+ import Container from "@/components/Layout/Container" ;
4+ import FolderTag from "../../components/FolderTag" ;
5+ import CardsLayout from "@/components/Layout/CardsLayout" ;
6+ import CardItem from "@/components/CardItem" ;
7+ import Image from "next/image" ;
8+
9+ const LinkPage = ( ) => {
10+ return (
11+ < >
12+ < div className = "bg-gray100 w-full h-[219px] flex justify-center items-center" >
13+ < AddLinkInput folderId = { 697 } />
14+ </ div >
15+ < main className = "mt-[40px]" >
16+ < Container >
17+ < SearchInput />
18+ < div className = "flex justify-between mt-[40px]" >
19+ < FolderTag list = { list } />
20+ < button className = "w-[79px] h-[19px] text-purple100" >
21+ 폴더 추가 +
22+ </ button >
23+ </ div >
24+ < div className = "flex justify-between items-center mt-[24px]" >
25+ < h1 className = "text-2xl " > 유용한 글</ h1 >
26+ < div className = "w-[192px] h-[18px] flex justify-between gap-[12px] text-gray400" >
27+ < button className = "flex items-center gap-[4px]" >
28+ < Image
29+ width = { 18 }
30+ height = { 18 }
31+ src = "/icons/share.svg"
32+ alt = "share button"
33+ />
34+ < span > 공유</ span >
35+ </ button >
36+ < button className = "flex items-center gap-[4px]" >
37+ < Image
38+ width = { 18 }
39+ height = { 18 }
40+ src = "/icons/pen.svg"
41+ alt = "share button"
42+ />
43+ < span > 수정</ span >
44+ </ button >
45+ < button className = "flex items-center gap-[4px]" >
46+ < Image
47+ width = { 18 }
48+ height = { 18 }
49+ src = "/icons/delete.svg"
50+ alt = "delete button"
51+ />
52+ < span > 삭제</ span >
53+ </ button >
54+ </ div >
55+ </ div >
56+ < CardsLayout >
57+ { list . map ( ( link ) => (
58+ < CardItem key = { link . id } info = { link } />
59+ ) ) }
60+ </ CardsLayout >
61+ </ Container >
62+ </ main >
63+ </ >
64+ ) ;
65+ } ;
66+
67+ export default LinkPage ;
You can’t perform that action at this time.
0 commit comments