@daeryun/dr_components 1.1.99 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
  2. package/dist/components/common/integrate/index.d.ts +1 -1
  3. package/dist/components/common/integrate/index.jsx +2 -1
  4. package/dist/components/common/integrate/index.tsx +2 -1
  5. package/dist/components/page/Integrate/Broadcast.d.ts +1 -1
  6. package/dist/components/page/Integrate/Broadcast.tsx +1 -1
  7. package/dist/components/page/Integrate/Field.d.ts +1 -1
  8. package/dist/components/page/Integrate/Field.tsx +1 -1
  9. package/dist/components/page/Integrate/LawInfo.d.ts +1 -1
  10. package/dist/components/page/Integrate/LawInfo.tsx +1 -1
  11. package/dist/components/page/Integrate/Lawyer.d.ts +1 -1
  12. package/dist/components/page/Integrate/Lawyer.tsx +1 -1
  13. package/dist/components/page/Integrate/Map.d.ts +2 -2
  14. package/dist/components/page/Integrate/Map.jsx +198 -110
  15. package/dist/components/page/Integrate/Map.tsx +198 -197
  16. package/dist/components/page/Integrate/MenuTab.d.ts +1 -1
  17. package/dist/components/page/Integrate/MenuTab.jsx +7 -2
  18. package/dist/components/page/Integrate/MenuTab.tsx +8 -3
  19. package/dist/components/page/Integrate/Reply.d.ts +1 -1
  20. package/dist/components/page/Integrate/Reply.jsx +17 -21
  21. package/dist/components/page/Integrate/Reply.tsx +48 -55
  22. package/dist/components/page/Integrate/SearchData.d.ts +1 -1
  23. package/dist/components/page/Integrate/SearchData.jsx +53 -35
  24. package/dist/components/page/Integrate/SearchData.tsx +57 -38
  25. package/dist/components/page/Integrate/Success.d.ts +1 -1
  26. package/dist/components/page/Integrate/Success.tsx +1 -1
  27. package/dist/components/page/Integrate/Trend.d.ts +21 -0
  28. package/dist/components/page/Integrate/Trend.jsx +78 -0
  29. package/dist/components/page/Integrate/Trend.tsx +173 -0
  30. package/dist/components/page/Integrate/integrateType.d.ts +39 -35
  31. package/dist/components/page/Integrate/integrateType.js +3 -4
  32. package/dist/components/page/Integrate/integrateType.ts +44 -40
  33. package/dist/styles/globals.css +420 -407
  34. package/dist/tsconfig.tsbuildinfo +1 -1
  35. package/package.json +1 -1
@@ -22,7 +22,7 @@ const Map = (props: {
22
22
  info: number;
23
23
  broadcast: number;
24
24
  reply: number;
25
- map: number;
25
+ trend: number;
26
26
  };
27
27
  }) => {
28
28
  const router = useRouter();
@@ -32,203 +32,204 @@ const Map = (props: {
32
32
  const [allTabPage, setAllTabPage] = useState<number>(0);
33
33
  const [allTabList, setAllTabList] = useState<IMapTypes[]>([]);
34
34
 
35
- const getAllPage = () => {
36
- const itemsToAdd = 5;
35
+ // const getAllPage = () => {
36
+ // const itemsToAdd = 5;
37
+ //
38
+ // // imapList에서 잘라낼 시작 인덱스 계산
39
+ // const startIndex = allTabList.length;
40
+ // const endIndex = startIndex + itemsToAdd;
41
+ // const newItems = list.mapList.slice(startIndex, endIndex);
42
+ // const updatedList = [...allTabList, ...newItems];
43
+ // setAllTabList(updatedList);
44
+ //
45
+ // // 다음 호출 후 예상 총 개수
46
+ // const nextTotalCount = updatedList.length + itemsToAdd;
47
+ // // 현재 successList의 길이
48
+ // const currentListLength = list.mapList.length;
49
+ //
50
+ // // 다음 총 개수가 mapList 길이를 초과하면 api 호출
51
+ // // 예: mapList가 24일 때, 22 -> 26이 되면 호출
52
+ // if (nextTotalCount > currentListLength) {
53
+ // props.onMoreView();
54
+ // }
55
+ //
56
+ // // 페이지 상태 증가
57
+ // setAllTabPage(allTabPage + 1);
58
+ // };
59
+ //
60
+ // useEffect(() => {
61
+ // if (allTabList.length === 0) {
62
+ // setAllTabList(list.mapList.slice(0, 5));
63
+ // }
64
+ // }, [list.mapList]);
37
65
 
38
- // imapList에서 잘라낼 시작 인덱스 계산
39
- const startIndex = allTabList.length;
40
- const endIndex = startIndex + itemsToAdd;
41
- const newItems = list.mapList.slice(startIndex, endIndex);
42
- const updatedList = [...allTabList, ...newItems];
43
- setAllTabList(updatedList);
44
-
45
- // 다음 호출 후 예상 총 개수
46
- const nextTotalCount = updatedList.length + itemsToAdd;
47
- // 현재 successList의 길이
48
- const currentListLength = list.mapList.length;
49
-
50
- // 다음 총 개수가 mapList 길이를 초과하면 api 호출
51
- // 예: mapList가 24일 때, 22 -> 26이 되면 호출
52
- if (nextTotalCount > currentListLength) {
53
- props.onMoreView();
54
- }
55
-
56
- // 페이지 상태 증가
57
- setAllTabPage(allTabPage + 1);
58
- };
59
-
60
- useEffect(() => {
61
- if (allTabList.length === 0) {
62
- setAllTabList(list.mapList.slice(0, 5));
63
- }
64
- }, [list.mapList]);
65
-
66
- return props.tab === '전체' || props.tab === 'map' ? (
67
- //구성원 탭에서는 결과 없음
68
- tab === 'map' && props.listCount.map < 1 ? (
69
- <NoResult />
70
- ) : (
71
- <>
72
- {/*전체 탭에서는 없게*/}
73
- {props.listCount.map > 0 ? (
74
- <div className={'mb-[180px] max-sm:mb-[100px] max-xs:mb-[50px]'}>
75
- <Title
76
- title={'오시는길'}
77
- tab={tab}
78
- type={'map'}
79
- count={props.listCount.map}
80
- onClick={str => onMoreViewText(str)}
81
- />
82
- <div className={'mt-[-1.5rem] w-full'}>
83
- {(tab === '전체' ? allTabList : list.mapList).map((item, index: number) => {
84
- return (
85
- <div
86
- key={'integrate_map' + item.key}
87
- className={
88
- 'group/mapBox flex gap-[60px] border-b-[1px] border-solid border-[#DDDDDD] hover:bg-[#FCFCFC] ' +
89
- //1280px
90
- 'max-xl:gap-[0] ' +
91
- //1024px
92
- 'max-lg:flex-col max-lg:px-[40px] ' +
93
- //768px
94
- 'max-md:px-[25px] '
95
- }
96
- >
97
- <span
98
- className={
99
- 'relative w-[450px] shrink-0 px-[40px] py-[45px] ' +
100
- //1024px
101
- 'max-lg:w-full max-lg:border-b-[1px] max-lg:border-solid max-lg:border-[#DDDDDD] max-lg:px-0 max-lg:py-[40px] ' +
102
- //768px
103
- 'max-md:py-[30px] ' +
104
- //640px
105
- 'max-sm:border-0'
106
- }
107
- >
108
- <p
109
- className={
110
- 'text-[22px] font-normal leading-none tracking-[-1.2px] ' +
111
- //768px
112
- 'max-md:text-[20px]'
113
- }
114
- >
115
- {item.lawyer_text}
116
- </p>
117
- <p
118
- className={
119
- 'mt-[12px] text-[26px] font-bold leading-none tracking-[-1.4px] ' +
120
- //768px
121
- 'max-md:mt-[8px] max-md:text-[24px]'
122
- }
123
- >
124
- {searchColorText(item.title, props.search)}
125
- </p>
126
- <button
127
- className={
128
- 'mt-[40px] flex w-[250px] items-center justify-between border-[1px] border-solid border-[#0F0F0F] bg-white p-[20px] ' +
129
- //1024px
130
- 'max-lg:absolute max-lg:right-0 max-lg:top-[50%] max-lg:m-0 max-lg:w-[200px] max-lg:translate-y-[-50%] max-lg:p-[16px] ' +
131
- //768px
132
- 'max-md:w-[160px] max-md:p-[14px] ' +
133
- //640px
134
- 'max-sm:relative max-sm:mx-auto max-sm:mt-[30px] max-sm:w-[85%] max-sm:translate-y-0'
135
- }
136
- onClick={() => {
137
- void router.push('/map/' + item.key);
138
- }}
139
- aria-label={item.title + ' 자세히 보기'}
140
- >
141
- <span
142
- className={
143
- 'text-[18px] font-[600] leading-none tracking-[-1px] ' +
144
- //1024px
145
- 'max-lg:text-[16px] '
146
- }
147
- >
148
- 자세히보기
149
- </span>
150
- <Image
151
- src={'/images/integrate/window.webp'}
152
- alt={''}
153
- width={30}
154
- height={30}
155
- objectFit={'cover'}
156
- className={
157
- 'aspect-square w-[16px] ' +
158
- //1024px
159
- 'max-lg:w-[14px]'
160
- }
161
- />
162
- </button>
163
- </span>
164
- <span
165
- className={
166
- 'grow ' +
167
- //640px
168
- 'max-sm:hidden'
169
- }
170
- >
171
- <MapInfoCon
172
- locale={'ko'}
173
- title={'주소'}
174
- text={
175
- <>
176
- {item.address
177
- .replaceAll('법무법인(유한)대륜', '')
178
- .replaceAll('법무법인(유한) 대륜', '')}
179
- </>
180
- }
181
- />
182
- <MapInfoCon
183
- locale={'ko'}
184
- title={'업무시간'}
185
- text={
186
- <>
187
- {item.worktime.split(' | ').map((i, index) => (
188
- <span
189
- key={item.key + '_work_time_' + index}
190
- className={'block'}
191
- >
192
- {i}
193
- </span>
194
- ))}
195
- </>
196
- }
197
- />
198
- <MapInfoCon locale={'ko'} title={'대표번호'} text={<>{item.tel}</>} />
199
- </span>
200
- </div>
201
- );
202
- })}
203
- </div>
204
- {tab != '전체' && (
205
- <ViewMore
206
- flag={list.mapList.length != props.listCount.map}
207
- func={() => {
208
- setLoading(true);
209
- props.onMoreView();
210
- setLoading(false);
211
- }}
212
- loading={loading}
213
- totalPage={Math.ceil(props.listCount.map / 12)}
214
- nowPage={pages.mapList}
215
- />
216
- )}
217
- {tab === '전체' && (
218
- <ViewMore
219
- flag={allTabList.length != props.listCount.map}
220
- func={() => {
221
- getAllPage();
222
- }}
223
- />
224
- )}
225
- </div>
226
- ) : (
227
- <></>
228
- )}
229
- </>
230
- )
231
- ) : null;
66
+ return <></>;
67
+ // props.tab === '전체' || props.tab === 'map' ? (
68
+ // //구성원 탭에서는 결과 없음
69
+ // tab === 'map' && props.listCount.map < 1 ? (
70
+ // <NoResult />
71
+ // ) : (
72
+ // <>
73
+ // {/*전체 탭에서는 없게*/}
74
+ // {props.listCount.map > 0 ? (
75
+ // <div className={'mb-[180px] max-sm:mb-[100px] max-xs:mb-[50px]'}>
76
+ // <Title
77
+ // title={'오시는길'}
78
+ // tab={tab}
79
+ // type={'map'}
80
+ // count={props.listCount.map}
81
+ // onClick={str => onMoreViewText(str)}
82
+ // />
83
+ // <div className={'mt-[-1.5rem] w-full'}>
84
+ // {(tab === '전체' ? allTabList : list.mapList).map((item, index: number) => {
85
+ // return (
86
+ // <div
87
+ // key={'integrate_map' + item.key}
88
+ // className={
89
+ // 'group/mapBox flex gap-[60px] border-b-[1px] border-solid border-[#DDDDDD] hover:bg-[#FCFCFC] ' +
90
+ // //1280px
91
+ // 'max-xl:gap-[0] ' +
92
+ // //1024px
93
+ // 'max-lg:flex-col max-lg:px-[40px] ' +
94
+ // //768px
95
+ // 'max-md:px-[25px] '
96
+ // }
97
+ // >
98
+ // <span
99
+ // className={
100
+ // 'relative w-[450px] shrink-0 px-[40px] py-[45px] ' +
101
+ // //1024px
102
+ // 'max-lg:w-full max-lg:border-b-[1px] max-lg:border-solid max-lg:border-[#DDDDDD] max-lg:px-0 max-lg:py-[40px] ' +
103
+ // //768px
104
+ // 'max-md:py-[30px] ' +
105
+ // //640px
106
+ // 'max-sm:border-0'
107
+ // }
108
+ // >
109
+ // <p
110
+ // className={
111
+ // 'text-[22px] font-normal leading-none tracking-[-1.2px] ' +
112
+ // //768px
113
+ // 'max-md:text-[20px]'
114
+ // }
115
+ // >
116
+ // {item.lawyer_text}
117
+ // </p>
118
+ // <p
119
+ // className={
120
+ // 'mt-[12px] text-[26px] font-bold leading-none tracking-[-1.4px] ' +
121
+ // //768px
122
+ // 'max-md:mt-[8px] max-md:text-[24px]'
123
+ // }
124
+ // >
125
+ // {searchColorText(item.title, props.search)}
126
+ // </p>
127
+ // <button
128
+ // className={
129
+ // 'mt-[40px] flex w-[250px] items-center justify-between border-[1px] border-solid border-[#0F0F0F] bg-white p-[20px] ' +
130
+ // //1024px
131
+ // 'max-lg:absolute max-lg:right-0 max-lg:top-[50%] max-lg:m-0 max-lg:w-[200px] max-lg:translate-y-[-50%] max-lg:p-[16px] ' +
132
+ // //768px
133
+ // 'max-md:w-[160px] max-md:p-[14px] ' +
134
+ // //640px
135
+ // 'max-sm:relative max-sm:mx-auto max-sm:mt-[30px] max-sm:w-[85%] max-sm:translate-y-0'
136
+ // }
137
+ // onClick={() => {
138
+ // void router.push('/map/' + item.key);
139
+ // }}
140
+ // aria-label={item.title + ' 자세히 보기'}
141
+ // >
142
+ // <span
143
+ // className={
144
+ // 'text-[18px] font-[600] leading-none tracking-[-1px] ' +
145
+ // //1024px
146
+ // 'max-lg:text-[16px] '
147
+ // }
148
+ // >
149
+ // 자세히보기
150
+ // </span>
151
+ // <Image
152
+ // src={'/images/integrate/window.webp'}
153
+ // alt={''}
154
+ // width={30}
155
+ // height={30}
156
+ // objectFit={'cover'}
157
+ // className={
158
+ // 'aspect-square w-[16px] ' +
159
+ // //1024px
160
+ // 'max-lg:w-[14px]'
161
+ // }
162
+ // />
163
+ // </button>
164
+ // </span>
165
+ // <span
166
+ // className={
167
+ // 'grow ' +
168
+ // //640px
169
+ // 'max-sm:hidden'
170
+ // }
171
+ // >
172
+ // <MapInfoCon
173
+ // locale={'ko'}
174
+ // title={'주소'}
175
+ // text={
176
+ // <>
177
+ // {item.address
178
+ // .replaceAll('법무법인(유한)대륜', '')
179
+ // .replaceAll('법무법인(유한) 대륜', '')}
180
+ // </>
181
+ // }
182
+ // />
183
+ // <MapInfoCon
184
+ // locale={'ko'}
185
+ // title={'업무시간'}
186
+ // text={
187
+ // <>
188
+ // {item.worktime.split(' | ').map((i, index) => (
189
+ // <span
190
+ // key={item.key + '_work_time_' + index}
191
+ // className={'block'}
192
+ // >
193
+ // {i}
194
+ // </span>
195
+ // ))}
196
+ // </>
197
+ // }
198
+ // />
199
+ // <MapInfoCon locale={'ko'} title={'대표번호'} text={<>{item.tel}</>} />
200
+ // </span>
201
+ // </div>
202
+ // );
203
+ // })}
204
+ // </div>
205
+ // {tab != '전체' && (
206
+ // <ViewMore
207
+ // flag={list.mapList.length != props.listCount.map}
208
+ // func={() => {
209
+ // setLoading(true);
210
+ // props.onMoreView();
211
+ // setLoading(false);
212
+ // }}
213
+ // loading={loading}
214
+ // totalPage={Math.ceil(props.listCount.map / 12)}
215
+ // nowPage={pages.mapList}
216
+ // />
217
+ // )}
218
+ // {tab === '전체' && (
219
+ // <ViewMore
220
+ // flag={allTabList.length != props.listCount.map}
221
+ // func={() => {
222
+ // getAllPage();
223
+ // }}
224
+ // />
225
+ // )}
226
+ // </div>
227
+ // ) : (
228
+ // <></>
229
+ // )}
230
+ // </>
231
+ // )
232
+ // ) : null;
232
233
  };
233
234
 
234
235
  export default Map;
@@ -10,7 +10,7 @@ interface TabProps {
10
10
  info: number;
11
11
  broadcast: number;
12
12
  reply: number;
13
- map: number;
13
+ trend: number;
14
14
  };
15
15
  totalCount: number;
16
16
  }
@@ -12,9 +12,14 @@ const MenuTab = ({ search, searchDoneRef, setChoiceTabValue, totalCount, count }
12
12
  setTab(String(queryTab));
13
13
  setChoiceTabValue === null || setChoiceTabValue === void 0 ? void 0 : setChoiceTabValue(queryTab ? String(queryTab) : '전체'); // 부모에게 tab button value 넘겨주는 setState
14
14
  }, [searchParams]);
15
- return (<div className={'mb-[106px] mt-20 grid h-full w-full grid-cols-8 max-xl:grid-cols-4 max-lg:my-[60px] max-sm:my-10 max-sm:grid-cols-2'}>
15
+ return (<div className={'mb-[106px] mt-20 grid h-full w-full grid-cols-8 max-xl:grid-cols-4 max-lg:my-[60px] max-[850px]:grid-cols-2 max-sm:my-10 '}>
16
16
  {[{ tab: '전체', etab: 'All', value: '전체' }, ...tabTypes].map(item => {
17
- return (<Link ref={searchDoneRef} href={`/integrate?search=${querySearch}&tab=${item.value}`} key={item.value} className={'flex h-[62px] w-full items-center justify-center text-[20px] leading-none tracking-[-0.7px] max-3xl:text-[18px] max-md:text-[16px] max-sm:h-[40px] max-sm:text-[14px] ' +
17
+ return (<Link ref={searchDoneRef} href={`/integrate?search=${querySearch}&tab=${item.value}`} key={item.value} className={'flex h-[62px] w-full items-center justify-center text-[19px] leading-none tracking-[-0.7px] ' +
18
+ 'max-3xl:text-[18px] ' +
19
+ 'max-xl:flex-row max-xl:gap-1 ' +
20
+ 'max-[850px]:h-[50px] ' +
21
+ 'max-md:text-[16px] ' +
22
+ 'max-sm:h-[40px] max-sm:text-[14px] ' +
18
23
  (tab === item.value
19
24
  ? 'bg-[#29579C] font-[800] text-[#FFFFFF] '
20
25
  : 'border border-solid border-[#E9E9E9] bg-[#F7F7F7] font-[500] text-[#949494] ')}>
@@ -16,7 +16,7 @@ interface TabProps {
16
16
  info: number;
17
17
  broadcast: number;
18
18
  reply: number;
19
- map: number;
19
+ trend: number;
20
20
  };
21
21
  totalCount: number;
22
22
  }
@@ -36,7 +36,7 @@ const MenuTab = ({ search, searchDoneRef, setChoiceTabValue, totalCount, count }
36
36
  return (
37
37
  <div
38
38
  className={
39
- 'mb-[106px] mt-20 grid h-full w-full grid-cols-8 max-xl:grid-cols-4 max-lg:my-[60px] max-sm:my-10 max-sm:grid-cols-2'
39
+ 'mb-[106px] mt-20 grid h-full w-full grid-cols-8 max-xl:grid-cols-4 max-lg:my-[60px] max-[850px]:grid-cols-2 max-sm:my-10 '
40
40
  }
41
41
  >
42
42
  {[{ tab: '전체', etab: 'All', value: '전체' }, ...tabTypes].map(item => {
@@ -46,7 +46,12 @@ const MenuTab = ({ search, searchDoneRef, setChoiceTabValue, totalCount, count }
46
46
  href={`/integrate?search=${querySearch}&tab=${item.value}`}
47
47
  key={item.value}
48
48
  className={
49
- 'flex h-[62px] w-full items-center justify-center text-[20px] leading-none tracking-[-0.7px] max-3xl:text-[18px] max-md:text-[16px] max-sm:h-[40px] max-sm:text-[14px] ' +
49
+ 'flex h-[62px] w-full items-center justify-center text-[19px] leading-none tracking-[-0.7px] ' +
50
+ 'max-3xl:text-[18px] ' +
51
+ 'max-xl:flex-row max-xl:gap-1 ' +
52
+ 'max-[850px]:h-[50px] ' +
53
+ 'max-md:text-[16px] ' +
54
+ 'max-sm:h-[40px] max-sm:text-[14px] ' +
50
55
  (tab === item.value
51
56
  ? 'bg-[#29579C] font-[800] text-[#FFFFFF] '
52
57
  : 'border border-solid border-[#E9E9E9] bg-[#F7F7F7] font-[500] text-[#949494] ')
@@ -16,7 +16,7 @@ declare const Reply: (props: {
16
16
  info: number;
17
17
  broadcast: number;
18
18
  reply: number;
19
- map: number;
19
+ trend: number;
20
20
  };
21
21
  }) => React.JSX.Element;
22
22
  export default Reply;
@@ -41,32 +41,28 @@ const Reply = (props) => {
41
41
  <Title title={'고객후기'} tab={tab} type={'reply'} onClick={str => onMoreViewText(str)} count={listCount.reply}/>
42
42
  <div className={'mb-9 mt-8 grid gap-[18px] sm:grid-cols-2'}>
43
43
  {(tab === '전체' ? allTabList : list.replyList).map((item, index) => {
44
- return (<div key={'reply' + item.id} className={'h-[280px] border-[5px] border-solid border-[#EAEAEA] p-7 max-xs:h-[190px] max-xs:p-4 sm:p-8 '}>
45
- <Link href={(item.crime_code != props.crime_code
44
+ return (<Link href={(item.crime_code != props.crime_code
46
45
  ? 'https://www.daeryunlaw.com'
47
46
  : '') +
48
47
  '/reply/' +
49
- item.id} target={item.crime_code === props.crime_code ? '' : '_blank'}>
50
- <div className={'flex flex-col'}>
51
- <p className={'h-[70px] text-[20px] font-[800] max-xs:h-[60px] max-xs:text-[18px] sm:text-[22px]'}>
52
- <span className={'text-[#285FA7]'}>{item.etc4} </span>
53
- <br className={'block sm:hidden'}/>
54
- {item.etc5}
55
- </p>
56
- <p className={'mb-[20px] mt-[10px] line-clamp-2 h-[50px] text-[18px] text-[#555555] max-sm:mb-[40px] max-sm:mt-[20px] max-sm:text-[16px] max-xs:mb-0 max-xs:mt-[5px] max-xs:h-[40px] max-xs:text-[15px]'}>
57
- {searchColorText(item.summary
48
+ item.id} target={item.crime_code === props.crime_code ? '' : '_blank'} key={'reply' + item.id} className={'flex h-[280px] flex-col border-[5px] border-solid border-[#EAEAEA] p-7 max-xs:h-[190px] max-xs:p-4 sm:p-8 '}>
49
+ <p className={'h-[70px] text-[20px] font-[800] max-xs:h-[60px] max-xs:text-[18px] sm:text-[22px]'}>
50
+ <span className={'text-[#285FA7]'}>{item.etc4} </span>
51
+ <br className={'block sm:hidden'}/>
52
+ {item.etc5}
53
+ </p>
54
+ <p className={'mb-[20px] mt-[10px] line-clamp-2 h-[50px] text-[18px] text-[#555555] max-sm:mb-[40px] max-sm:mt-[20px] max-sm:text-[16px] max-xs:mb-0 max-xs:mt-[5px] max-xs:h-[40px] max-xs:text-[15px]'}>
55
+ {searchColorText(item.summary
58
56
  .replaceAll(/<(\/)?[a-zA-Z0-9]*(\s[a-zA-Z]*=[^>]*)?(\s)*(\/)?>/gi, '')
59
57
  .replaceAll('&nbsp;', ' '), search)}
60
- </p>
61
- <div className={'mt-6 flex items-center text-[#666666] sm:mt-8'}>
62
- <p className={'w-[20%] text-[17px] max-xl:w-[35%] max-md:w-[50%] max-sm:w-[30%] max-sm:text-[15px]'}>
63
- {dayjs(item.timestamp).format('YYYY.MM.DD')}
64
- </p>
65
- <div className={'h-[2px] w-[80%] bg-[#D8D8D8] max-xl:w-[65%] max-md:w-[50%] max-sm:w-[70%]'}></div>
66
- </div>
67
- </div>
68
- </Link>
69
- </div>);
58
+ </p>
59
+ <div className={'mt-6 flex items-center text-[#666666] sm:mt-8'}>
60
+ <p className={'w-[20%] text-[17px] max-xl:w-[35%] max-md:w-[50%] max-sm:w-[30%] max-sm:text-[15px]'}>
61
+ {dayjs(item.timestamp).format('YYYY.MM.DD')}
62
+ </p>
63
+ <div className={'h-[2px] w-[80%] bg-[#D8D8D8] max-xl:w-[65%] max-md:w-[50%] max-sm:w-[70%]'}></div>
64
+ </div>
65
+ </Link>);
70
66
  })}
71
67
  </div>
72
68
  {tab != '전체' && (<ViewMore flag={list.replyList.length != listCount.reply} loading={loading} totalPage={Math.ceil(listCount.reply / 12)} nowPage={pages.replyList} func={() => {