@daeryun/dr_components 0.5.85 → 0.5.87

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 (75) hide show
  1. package/dist/asset/images/SearchBar/search.webp +0 -0
  2. package/dist/asset/images/faq/Ellipse.webp +0 -0
  3. package/dist/asset/images/faq/cal.webp +0 -0
  4. package/dist/asset/images/faq/check.webp +0 -0
  5. package/dist/asset/images/faq/down.webp +0 -0
  6. package/dist/asset/images/faq/eye.webp +0 -0
  7. package/dist/asset/images/faq/plus.webp +0 -0
  8. package/dist/asset/images/faq/right.webp +0 -0
  9. package/dist/asset/images/faq/vector_blu.svg +3 -0
  10. package/dist/asset/images/faq/vector_stroke.svg +3 -0
  11. package/dist/asset/images/seo/left.webp +0 -0
  12. package/dist/asset/images/seo/right.webp +0 -0
  13. package/dist/asset/images/seo/secConsulting/choice_call.webp +0 -0
  14. package/dist/asset/images/seo/secConsulting/choice_kakao.webp +0 -0
  15. package/dist/asset/images/seo/secConsulting/online.svg +36 -0
  16. package/dist/asset/images/seo/successCase/dia_dot.svg +3 -0
  17. package/dist/asset/images/seo/successCase/right_arrow.svg +4 -0
  18. package/dist/asset/images/seo/successCase/up_right.svg +3 -0
  19. package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
  20. package/dist/components/SearchBar/SearchBar.d.ts +16 -0
  21. package/dist/components/SearchBar/SearchBar.jsx +90 -0
  22. package/dist/components/SearchBar/SearchBar.stories.d.ts +6 -0
  23. package/dist/components/SearchBar/SearchBar.stories.jsx +21 -0
  24. package/dist/components/SearchBar/SearchBar.stories.tsx +28 -0
  25. package/dist/components/SearchBar/SearchBar.tsx +173 -0
  26. package/dist/components/Seo/FieldCase.d.ts +5 -0
  27. package/dist/components/Seo/FieldCase.jsx +48 -0
  28. package/dist/components/Seo/FieldCase.tsx +85 -0
  29. package/dist/components/Seo/Lawyer.d.ts +5 -0
  30. package/dist/components/Seo/Lawyer.jsx +66 -0
  31. package/dist/components/Seo/Lawyer.tsx +148 -0
  32. package/dist/components/Seo/SeoConsulting.d.ts +6 -0
  33. package/dist/components/Seo/SeoConsulting.jsx +173 -0
  34. package/dist/components/Seo/SeoConsulting.tsx +272 -0
  35. package/dist/components/Seo/SuccessCase.d.ts +6 -0
  36. package/dist/components/Seo/SuccessCase.jsx +57 -0
  37. package/dist/components/Seo/SuccessCase.tsx +95 -0
  38. package/dist/components/Seo/right_arrow.svg +4 -0
  39. package/dist/components/TuiViewer/TuiViewer.d.ts +3 -0
  40. package/dist/components/TuiViewer/TuiViewer.jsx +7 -0
  41. package/dist/components/TuiViewer/TuiViewer.tsx +14 -0
  42. package/dist/components/common/types/faq/index.d.ts +11 -0
  43. package/dist/components/common/types/faq/index.js +1 -0
  44. package/dist/components/common/types/faq/index.ts +11 -0
  45. package/dist/components/common/types/seo/index.d.ts +27 -0
  46. package/dist/components/common/types/seo/index.js +1 -0
  47. package/dist/components/common/types/seo/index.ts +29 -0
  48. package/dist/components/index.js +1 -0
  49. package/dist/components/index.ts +1 -3
  50. package/dist/components/page/Faq/Detail/FaqDetail.d.ts +22 -0
  51. package/dist/components/page/Faq/Detail/FaqDetail.jsx +136 -0
  52. package/dist/components/page/Faq/Detail/FaqDetail.tsx +277 -0
  53. package/dist/components/page/Faq/Detail/FaqList.stories.d.ts +6 -0
  54. package/dist/components/page/Faq/Detail/FaqList.stories.jsx +187 -0
  55. package/dist/components/page/Faq/Detail/FaqList.stories.tsx +208 -0
  56. package/dist/components/page/Faq/FaqList.d.ts +23 -0
  57. package/dist/components/page/Faq/FaqList.jsx +99 -0
  58. package/dist/components/page/Faq/FaqList.stories.d.ts +6 -0
  59. package/dist/components/page/Faq/FaqList.stories.jsx +76 -0
  60. package/dist/components/page/Faq/FaqList.stories.tsx +93 -0
  61. package/dist/components/page/Faq/FaqList.tsx +197 -0
  62. package/dist/components/page/Faq/GroupList.d.ts +9 -0
  63. package/dist/components/page/Faq/GroupList.jsx +30 -0
  64. package/dist/components/page/Faq/GroupList.tsx +57 -0
  65. package/dist/components/page/Faq/GroupSelectBox.d.ts +9 -0
  66. package/dist/components/page/Faq/GroupSelectBox.jsx +67 -0
  67. package/dist/components/page/Faq/GroupSelectBox.tsx +117 -0
  68. package/dist/components/page/index.d.ts +2 -0
  69. package/dist/components/page/index.js +2 -0
  70. package/dist/components/page/index.ts +2 -0
  71. package/dist/lib/categoryMenuName.js +7 -1
  72. package/dist/lib/categoryMenuName.ts +5 -1
  73. package/dist/styles/globals.css +1080 -2
  74. package/dist/tsconfig.tsbuildinfo +1 -1
  75. package/package.json +1 -1
@@ -0,0 +1,173 @@
1
+ import Link from 'next/link';
2
+ import React from 'react';
3
+ import Image from 'next/image';
4
+ import * as gtag from '../../lib/gtag';
5
+ import CallImg from '../../asset/images/seo/secConsulting/choice_call.webp';
6
+ import KakaoImg from '../../asset/images/seo/secConsulting/choice_kakao.webp';
7
+ import OnlineImg from '../../asset/images/seo/secConsulting/online.svg';
8
+ const SeoConsulting = ({ tel, customTitle }) => {
9
+ const TelClick = () => {
10
+ gtag.event({
11
+ action: 'contents_tel',
12
+ category: 'consult',
13
+ label: '컨텐츠 내 전화버튼',
14
+ value: '1'
15
+ });
16
+ };
17
+ const kakaoClick = () => {
18
+ gtag.event({
19
+ action: 'contents_kakao',
20
+ category: 'consult',
21
+ label: '컨텐츠 내 카톡버튼',
22
+ value: '1'
23
+ });
24
+ };
25
+ const onlineClick = () => {
26
+ gtag.event({
27
+ action: 'contents_online',
28
+ category: 'consult',
29
+ label: '컨텐츠 내 온라인버튼',
30
+ value: '1'
31
+ });
32
+ };
33
+ return (<div className={'flex items-center justify-between gap-[50px] border-[1px] border-solid border-[#D0D0D0] px-[25px] py-[24px] ' +
34
+ //1024px
35
+ 'max-lg:gap-[30px] ' +
36
+ //900px
37
+ 'max-md2:flex-col max-md2:items-start'}>
38
+ <span>
39
+ <p className={'text-[34px] font-bold leading-[1.25] tracking-[-0.96px] ' +
40
+ //1500px
41
+ 'max-3xl:text-[30px] ' +
42
+ //640px
43
+ 'max-sm:text-[26px] '}>
44
+ {customTitle ? customTitle : process.env.NEXT_PUBLIC_KEYWORD}변호사{' '}
45
+ <br className={'max-md2:hidden max-2sm:block'}/> 법률상담예약
46
+ </p>
47
+ <p className={'text-[20px] max-3xl:text-[18px] 3xl:max-w-[430px] ' +
48
+ 'mt-[26px] break-keep leading-[1.25] tracking-[-0.8px] text-[#4B4B4B] ' +
49
+ //640px
50
+ 'max-sm:text-[16px]'}>
51
+ 모든 상담은 전문변호사가 사건 검토를 마친 뒤 <br className={'max-md2:hidden max-2sm:block'}/>
52
+ <b>전문적으로 진행하기에 예약제로 실시됩니다. </b>
53
+ <br />
54
+ <br className={'max-md2:hidden max-2sm:block'}/> 가급적 빠른 상담 예약을 권유드리며,
55
+ <br className={'max-md2:hidden max-2sm:block'}/> 예약 시간 준수를 부탁드립니다.
56
+ <br /> 만족스러운 상담을 위해 최선을 다하겠습니다.
57
+ </p>
58
+ </span>
59
+ <span className={'grid max-w-[540px] flex-1 grid-cols-2 ' +
60
+ //900px
61
+ 'max-md2:w-full max-md2:max-w-[unset] ' +
62
+ //640px
63
+ 'max-sm:grid-cols-3 '}>
64
+ <Link href={`tel:${tel}`} className={'col-span-2 flex h-[150px] w-full items-center justify-between bg-[#F8FDFF] px-[25px] ' +
65
+ //640px
66
+ 'max-sm:col-span-1 max-sm:flex-col max-sm:px-0 max-sm:py-[30px] ' +
67
+ //480px
68
+ 'max-xs:h-[130px] max-xs:py-[20px]'} onClick={() => {
69
+ TelClick();
70
+ }}>
71
+ <span>
72
+ <p className={'text-[24px] font-bold tracking-[-0.8px] ' +
73
+ //640px
74
+ 'max-sm:text-[20px] ' +
75
+ //520px
76
+ 'max-2sm:text-[18px] ' +
77
+ //480px
78
+ 'max-xs:mt-[10px] max-xs:text-[16px]'}>
79
+ 전화예약
80
+ </p>
81
+ <p className={'mt-[4px] text-[16px] leading-[1.25] tracking-[-1.1px] ' +
82
+ //640px
83
+ 'max-sm:hidden '}>
84
+ 365일 24시간 상담과
85
+ <br className="2sm:hidden"/> 긴급대응 가능
86
+ </p>
87
+ </span>
88
+ <Image src={CallImg} alt={''} width={116} height={116} className={'aspect-square w-[60px] max-w-[60px] ' +
89
+ //1500px
90
+ 'max-4xl:w-[14%] ' +
91
+ //640px
92
+ 'max-sm:w-[50px] ' +
93
+ //480px
94
+ 'max-xs:w-[40px]'}/>
95
+ </Link>
96
+ <Link href="https://pf.kakao.com/_xgxoTlK/chat" target="_blank" className={' flex h-[150px] w-full items-start justify-between bg-[#FFFEF2] px-[25px] py-[30px] ' +
97
+ //640px
98
+ 'max-sm:col-span-1 max-sm:flex-col max-sm:items-center max-sm:px-0 max-sm:py-[30px] ' +
99
+ //480px
100
+ 'max-xs:h-[130px] max-xs:py-[20px]'} onClick={() => {
101
+ kakaoClick();
102
+ }}>
103
+ <span className={'flex h-full flex-col justify-between ' +
104
+ //640px
105
+ 'max-sm:h-fit '}>
106
+ <p className={'text-[20px] font-bold tracking-[-0.8px] ' +
107
+ //640px
108
+ 'max-sm:text-[20px] ' +
109
+ //520px
110
+ 'max-2sm:text-[18px] ' +
111
+ //480px
112
+ 'max-xs:mt-[10px] max-xs:text-[16px]'}>
113
+ 카톡예약
114
+ </p>
115
+ <span className={' text-[16px] leading-[1.25] tracking-[-1.1px] text-[#454545] ' +
116
+ //640px
117
+ 'max-sm:hidden '}>
118
+ <p className={'after:inline-block after:h-[17px] after:w-[17px] after:content-[""] ' +
119
+ 'after:bg-[url("/images/new_choice/channel.webp")] after:bg-contain after:bg-no-repeat ' +
120
+ 'after:ml-[5px] after:translate-y-[2px] ' +
121
+ //325px
122
+ 'max-3xs:after:h-[14px] max-3xs:after:w-[14px]'}>
123
+ 카카오톡채널
124
+ </p>
125
+ <p> 법무법인 대륜 변호사</p>
126
+ </span>
127
+ </span>
128
+ <Image src={KakaoImg} alt={''} width={116} height={116} className={'aspect-square w-[60px] max-w-[60px] ' +
129
+ //1500px
130
+ 'max-4xl:w-[25%] ' +
131
+ //640px
132
+ 'max-sm:w-[50px] ' +
133
+ //480px
134
+ 'max-xs:w-[40px]'}/>
135
+ </Link>
136
+ <Link href="/choice" className={'flex h-[150px] w-full items-start justify-between bg-[#FAFAFA] px-[25px] py-[30px] ' +
137
+ //640px
138
+ 'max-sm:col-span-1 max-sm:flex-col max-sm:items-center max-sm:px-0 max-sm:py-[30px] ' +
139
+ //480px
140
+ 'max-xs:h-[130px] max-xs:py-[20px]'} onClick={() => {
141
+ onlineClick();
142
+ }}>
143
+ <span className={'flex h-full flex-col justify-between ' +
144
+ //640px
145
+ 'max-sm:h-fit '}>
146
+ <p className={'text-[20px] font-bold tracking-[-0.8px] ' +
147
+ //640px
148
+ 'max-sm:text-[20px] ' +
149
+ //520px
150
+ 'max-2sm:text-[18px] ' +
151
+ //480px
152
+ 'max-xs:mt-[10px] max-xs:text-[16px]'}>
153
+ 온라인예약
154
+ </p>
155
+ <p className={'mt-[4px] text-[16px] leading-[1.25] tracking-[-1.1px] ' +
156
+ //640px
157
+ 'max-sm:hidden '}>
158
+ 맞춤 법률서비스를
159
+ <br /> 제공합니다.
160
+ </p>
161
+ </span>
162
+ <OnlineImg className={'aspect-square w-[60px] max-w-[60px] ' +
163
+ //1500px
164
+ 'max-4xl:w-[25%] ' +
165
+ //640px
166
+ 'max-sm:w-[50px] ' +
167
+ //480px
168
+ 'max-xs:w-[40px]'}/>
169
+ </Link>
170
+ </span>
171
+ </div>);
172
+ };
173
+ export default SeoConsulting;
@@ -0,0 +1,272 @@
1
+ import Link from 'next/link';
2
+ import React from 'react';
3
+ import Image from 'next/image';
4
+ import * as gtag from '../../lib/gtag';
5
+
6
+ import CallImg from '../../asset/images/seo/secConsulting/choice_call.webp';
7
+ import KakaoImg from '../../asset/images/seo/secConsulting/choice_kakao.webp';
8
+ import OnlineImg from '../../asset/images/seo/secConsulting/online.svg';
9
+
10
+ const SeoConsulting = ({ tel, customTitle }: { tel: string; customTitle?: string }) => {
11
+ const TelClick = () => {
12
+ gtag.event({
13
+ action: 'contents_tel',
14
+ category: 'consult',
15
+ label: '컨텐츠 내 전화버튼',
16
+ value: '1'
17
+ });
18
+ };
19
+
20
+ const kakaoClick = () => {
21
+ gtag.event({
22
+ action: 'contents_kakao',
23
+ category: 'consult',
24
+ label: '컨텐츠 내 카톡버튼',
25
+ value: '1'
26
+ });
27
+ };
28
+
29
+ const onlineClick = () => {
30
+ gtag.event({
31
+ action: 'contents_online',
32
+ category: 'consult',
33
+ label: '컨텐츠 내 온라인버튼',
34
+ value: '1'
35
+ });
36
+ };
37
+
38
+ return (
39
+ <div
40
+ className={
41
+ 'flex items-center justify-between gap-[50px] border-[1px] border-solid border-[#D0D0D0] px-[25px] py-[24px] ' +
42
+ //1024px
43
+ 'max-lg:gap-[30px] ' +
44
+ //900px
45
+ 'max-md2:flex-col max-md2:items-start'
46
+ }
47
+ >
48
+ <span>
49
+ <p
50
+ className={
51
+ 'text-[34px] font-bold leading-[1.25] tracking-[-0.96px] ' +
52
+ //1500px
53
+ 'max-3xl:text-[30px] ' +
54
+ //640px
55
+ 'max-sm:text-[26px] '
56
+ }
57
+ >
58
+ {customTitle ? customTitle : process.env.NEXT_PUBLIC_KEYWORD}변호사{' '}
59
+ <br className={'max-md2:hidden max-2sm:block'} /> 법률상담예약
60
+ </p>
61
+ <p
62
+ className={
63
+ 'text-[20px] max-3xl:text-[18px] 3xl:max-w-[430px] ' +
64
+ 'mt-[26px] break-keep leading-[1.25] tracking-[-0.8px] text-[#4B4B4B] ' +
65
+ //640px
66
+ 'max-sm:text-[16px]'
67
+ }
68
+ >
69
+ 모든 상담은 전문변호사가 사건 검토를 마친 뒤 <br className={'max-md2:hidden max-2sm:block'} />
70
+ <b>전문적으로 진행하기에 예약제로 실시됩니다. </b>
71
+ <br />
72
+ <br className={'max-md2:hidden max-2sm:block'} /> 가급적 빠른 상담 예약을 권유드리며,
73
+ <br className={'max-md2:hidden max-2sm:block'} /> 예약 시간 준수를 부탁드립니다.
74
+ <br /> 만족스러운 상담을 위해 최선을 다하겠습니다.
75
+ </p>
76
+ </span>
77
+ <span
78
+ className={
79
+ 'grid max-w-[540px] flex-1 grid-cols-2 ' +
80
+ //900px
81
+ 'max-md2:w-full max-md2:max-w-[unset] ' +
82
+ //640px
83
+ 'max-sm:grid-cols-3 '
84
+ }
85
+ >
86
+ <Link
87
+ href={`tel:${tel}`}
88
+ className={
89
+ 'col-span-2 flex h-[150px] w-full items-center justify-between bg-[#F8FDFF] px-[25px] ' +
90
+ //640px
91
+ 'max-sm:col-span-1 max-sm:flex-col max-sm:px-0 max-sm:py-[30px] ' +
92
+ //480px
93
+ 'max-xs:h-[130px] max-xs:py-[20px]'
94
+ }
95
+ onClick={() => {
96
+ TelClick();
97
+ }}
98
+ >
99
+ <span>
100
+ <p
101
+ className={
102
+ 'text-[24px] font-bold tracking-[-0.8px] ' +
103
+ //640px
104
+ 'max-sm:text-[20px] ' +
105
+ //520px
106
+ 'max-2sm:text-[18px] ' +
107
+ //480px
108
+ 'max-xs:mt-[10px] max-xs:text-[16px]'
109
+ }
110
+ >
111
+ 전화예약
112
+ </p>
113
+ <p
114
+ className={
115
+ 'mt-[4px] text-[16px] leading-[1.25] tracking-[-1.1px] ' +
116
+ //640px
117
+ 'max-sm:hidden '
118
+ }
119
+ >
120
+ 365일 24시간 상담과
121
+ <br className="2sm:hidden" /> 긴급대응 가능
122
+ </p>
123
+ </span>
124
+ <Image
125
+ src={CallImg}
126
+ alt={''}
127
+ width={116}
128
+ height={116}
129
+ className={
130
+ 'aspect-square w-[60px] max-w-[60px] ' +
131
+ //1500px
132
+ 'max-4xl:w-[14%] ' +
133
+ //640px
134
+ 'max-sm:w-[50px] ' +
135
+ //480px
136
+ 'max-xs:w-[40px]'
137
+ }
138
+ />
139
+ </Link>
140
+ <Link
141
+ href="https://pf.kakao.com/_xgxoTlK/chat"
142
+ target="_blank"
143
+ className={
144
+ ' flex h-[150px] w-full items-start justify-between bg-[#FFFEF2] px-[25px] py-[30px] ' +
145
+ //640px
146
+ 'max-sm:col-span-1 max-sm:flex-col max-sm:items-center max-sm:px-0 max-sm:py-[30px] ' +
147
+ //480px
148
+ 'max-xs:h-[130px] max-xs:py-[20px]'
149
+ }
150
+ onClick={() => {
151
+ kakaoClick();
152
+ }}
153
+ >
154
+ <span
155
+ className={
156
+ 'flex h-full flex-col justify-between ' +
157
+ //640px
158
+ 'max-sm:h-fit '
159
+ }
160
+ >
161
+ <p
162
+ className={
163
+ 'text-[20px] font-bold tracking-[-0.8px] ' +
164
+ //640px
165
+ 'max-sm:text-[20px] ' +
166
+ //520px
167
+ 'max-2sm:text-[18px] ' +
168
+ //480px
169
+ 'max-xs:mt-[10px] max-xs:text-[16px]'
170
+ }
171
+ >
172
+ 카톡예약
173
+ </p>
174
+ <span
175
+ className={
176
+ ' text-[16px] leading-[1.25] tracking-[-1.1px] text-[#454545] ' +
177
+ //640px
178
+ 'max-sm:hidden '
179
+ }
180
+ >
181
+ <p
182
+ className={
183
+ 'after:inline-block after:h-[17px] after:w-[17px] after:content-[""] ' +
184
+ 'after:bg-[url("/images/new_choice/channel.webp")] after:bg-contain after:bg-no-repeat ' +
185
+ 'after:ml-[5px] after:translate-y-[2px] ' +
186
+ //325px
187
+ 'max-3xs:after:h-[14px] max-3xs:after:w-[14px]'
188
+ }
189
+ >
190
+ 카카오톡채널
191
+ </p>
192
+ <p> 법무법인 대륜 변호사</p>
193
+ </span>
194
+ </span>
195
+ <Image
196
+ src={KakaoImg}
197
+ alt={''}
198
+ width={116}
199
+ height={116}
200
+ className={
201
+ 'aspect-square w-[60px] max-w-[60px] ' +
202
+ //1500px
203
+ 'max-4xl:w-[25%] ' +
204
+ //640px
205
+ 'max-sm:w-[50px] ' +
206
+ //480px
207
+ 'max-xs:w-[40px]'
208
+ }
209
+ />
210
+ </Link>
211
+ <Link
212
+ href="/choice"
213
+ className={
214
+ 'flex h-[150px] w-full items-start justify-between bg-[#FAFAFA] px-[25px] py-[30px] ' +
215
+ //640px
216
+ 'max-sm:col-span-1 max-sm:flex-col max-sm:items-center max-sm:px-0 max-sm:py-[30px] ' +
217
+ //480px
218
+ 'max-xs:h-[130px] max-xs:py-[20px]'
219
+ }
220
+ onClick={() => {
221
+ onlineClick();
222
+ }}
223
+ >
224
+ <span
225
+ className={
226
+ 'flex h-full flex-col justify-between ' +
227
+ //640px
228
+ 'max-sm:h-fit '
229
+ }
230
+ >
231
+ <p
232
+ className={
233
+ 'text-[20px] font-bold tracking-[-0.8px] ' +
234
+ //640px
235
+ 'max-sm:text-[20px] ' +
236
+ //520px
237
+ 'max-2sm:text-[18px] ' +
238
+ //480px
239
+ 'max-xs:mt-[10px] max-xs:text-[16px]'
240
+ }
241
+ >
242
+ 온라인예약
243
+ </p>
244
+ <p
245
+ className={
246
+ 'mt-[4px] text-[16px] leading-[1.25] tracking-[-1.1px] ' +
247
+ //640px
248
+ 'max-sm:hidden '
249
+ }
250
+ >
251
+ 맞춤 법률서비스를
252
+ <br /> 제공합니다.
253
+ </p>
254
+ </span>
255
+ <OnlineImg
256
+ className={
257
+ 'aspect-square w-[60px] max-w-[60px] ' +
258
+ //1500px
259
+ 'max-4xl:w-[25%] ' +
260
+ //640px
261
+ 'max-sm:w-[50px] ' +
262
+ //480px
263
+ 'max-xs:w-[40px]'
264
+ }
265
+ />
266
+ </Link>
267
+ </span>
268
+ </div>
269
+ );
270
+ };
271
+
272
+ export default SeoConsulting;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { ISuccessTypes } from '../common/types/seo';
3
+ export declare const SuccessCase: ({ successData }: {
4
+ successData: ISuccessTypes[];
5
+ }) => React.JSX.Element;
6
+ export default SuccessCase;
@@ -0,0 +1,57 @@
1
+ import Link from 'next/link';
2
+ import React from 'react';
3
+ import IconArrow from '../../asset/images/seo/successCase/up_right.svg';
4
+ import IconRightArrow from '../../asset/images/seo/successCase/right_arrow.svg';
5
+ import IconDot from '../../asset/images/seo/successCase/dia_dot.svg';
6
+ export const SuccessCase = ({ successData }) => {
7
+ return (<div className={'relative h-auto w-full border-l-[1px] border-t-[1px] border-solid border-[#B9B9B9] pb-[45px] pl-[26px] pt-[30px] ' +
8
+ 'before:absolute before:left-0 before:top-0 before:block before:aspect-square before:w-[15px] before:bg-[#B9B9B9] before:content-[""] '}>
9
+ <span className={'flex h-fit w-full items-center justify-between'}>
10
+ <p className={'text-[26px] tracking-[-0.5px] max-3xl:text-[24px] max-xl:text-[26px] ' +
11
+ 'font-[800] text-[#80377A] '}>
12
+ 주요 업무사례
13
+ </p>
14
+ <Link href={'/success'} title={'업무사례 더보기'} className={'flex h-[35px] w-[100px] items-center justify-center gap-[4px] bg-[#5D5D5D] ' +
15
+ 'hover:bg-[#722D6D] ' +
16
+ //1500px
17
+ 'w-[100px] max-3xl:h-[30px] max-3xl:w-[90px] '}>
18
+ <p className={'w-fit font-[600] leading-none text-white ' + 'text-[18px] max-3xl:text-[16px] '}>
19
+ 더보기
20
+ </p>
21
+ <IconRightArrow className={'h-auto w-[14px] max-3xl:w-[12px] '}/>
22
+ </Link>
23
+ </span>
24
+
25
+ <span className={'mt-[30px] flex flex-col gap-3 '}>
26
+ {successData === null || successData === void 0 ? void 0 : successData.map(i => (<Link href={i.code_desc === 'main'
27
+ ? '/success_new/' + i.type_idx
28
+ : `https://www.daeryunlaw-${i.code_desc}.com/success_new/` + i.type_idx} key={'/success_new/' + i.type_idx} className={'flex w-fit items-start gap-[10px] text-[20px] font-medium tracking-[-0.4px] hover:text-[#285FA7] ' +
29
+ //1500px
30
+ 'max-3xl:text-[18px] ' +
31
+ //1280px
32
+ 'max-xl:text-[20px] ' +
33
+ //768px
34
+ 'max-md:text-[18px]'}>
35
+ <IconDot className={'mt-3 inline shrink-0 ' +
36
+ //1500px
37
+ 'max-3xl:mt-[9px]'}/>
38
+ <div className={''}>
39
+ {i.tag_title.includes('|')
40
+ ? i.tag_title.split('|')[1]
41
+ : i.tag_title.includes(']')
42
+ ? i.tag_title.split(']')[1]
43
+ : ''}
44
+
45
+ <IconArrow className={'mb-[5px] ml-2 inline h-[10px] w-[10px] ' +
46
+ //1500px
47
+ 'max-3xl:h-[9px] max-3xl:w-[9px] ' +
48
+ //1280px
49
+ 'max-xl:mb-[3px] max-xl:h-[10px] max-xl:w-[10px] ' +
50
+ //1500px
51
+ 'max-md:mb-[7px] max-md:h-[9px] max-md:w-[9px] '}/>
52
+ </div>
53
+ </Link>))}
54
+ </span>
55
+ </div>);
56
+ };
57
+ export default SuccessCase;
@@ -0,0 +1,95 @@
1
+ import Link from 'next/link';
2
+ import React from 'react';
3
+ import { ISuccessTypes } from '../common/types/seo';
4
+
5
+ import IconArrow from '../../asset/images/seo/successCase/up_right.svg';
6
+ import IconRightArrow from '../../asset/images/seo/successCase/right_arrow.svg';
7
+ import IconDot from '../../asset/images/seo/successCase/dia_dot.svg';
8
+
9
+ export const SuccessCase = ({ successData }: { successData: ISuccessTypes[] }) => {
10
+ return (
11
+ <div
12
+ className={
13
+ 'relative h-auto w-full border-l-[1px] border-t-[1px] border-solid border-[#B9B9B9] pb-[45px] pl-[26px] pt-[30px] ' +
14
+ 'before:absolute before:left-0 before:top-0 before:block before:aspect-square before:w-[15px] before:bg-[#B9B9B9] before:content-[""] '
15
+ }
16
+ >
17
+ <span className={'flex h-fit w-full items-center justify-between'}>
18
+ <p
19
+ className={
20
+ 'text-[26px] tracking-[-0.5px] max-3xl:text-[24px] max-xl:text-[26px] ' +
21
+ 'font-[800] text-[#80377A] '
22
+ }
23
+ >
24
+ 주요 업무사례
25
+ </p>
26
+ <Link
27
+ href={'/success'}
28
+ title={'업무사례 더보기'}
29
+ className={
30
+ 'flex h-[35px] w-[100px] items-center justify-center gap-[4px] bg-[#5D5D5D] ' +
31
+ 'hover:bg-[#722D6D] ' +
32
+ //1500px
33
+ 'w-[100px] max-3xl:h-[30px] max-3xl:w-[90px] '
34
+ }
35
+ >
36
+ <p className={'w-fit font-[600] leading-none text-white ' + 'text-[18px] max-3xl:text-[16px] '}>
37
+ 더보기
38
+ </p>
39
+ <IconRightArrow className={'h-auto w-[14px] max-3xl:w-[12px] '} />
40
+ </Link>
41
+ </span>
42
+
43
+ <span className={'mt-[30px] flex flex-col gap-3 '}>
44
+ {successData?.map(i => (
45
+ <Link
46
+ href={
47
+ i.code_desc === 'main'
48
+ ? '/success_new/' + i.type_idx
49
+ : `https://www.daeryunlaw-${i.code_desc}.com/success_new/` + i.type_idx
50
+ }
51
+ key={'/success_new/' + i.type_idx}
52
+ className={
53
+ 'flex w-fit items-start gap-[10px] text-[20px] font-medium tracking-[-0.4px] hover:text-[#285FA7] ' +
54
+ //1500px
55
+ 'max-3xl:text-[18px] ' +
56
+ //1280px
57
+ 'max-xl:text-[20px] ' +
58
+ //768px
59
+ 'max-md:text-[18px]'
60
+ }
61
+ >
62
+ <IconDot
63
+ className={
64
+ 'mt-3 inline shrink-0 ' +
65
+ //1500px
66
+ 'max-3xl:mt-[9px]'
67
+ }
68
+ />
69
+ <div className={''}>
70
+ {i.tag_title.includes('|')
71
+ ? i.tag_title.split('|')[1]
72
+ : i.tag_title.includes(']')
73
+ ? i.tag_title.split(']')[1]
74
+ : ''}
75
+
76
+ <IconArrow
77
+ className={
78
+ 'mb-[5px] ml-2 inline h-[10px] w-[10px] ' +
79
+ //1500px
80
+ 'max-3xl:h-[9px] max-3xl:w-[9px] ' +
81
+ //1280px
82
+ 'max-xl:mb-[3px] max-xl:h-[10px] max-xl:w-[10px] ' +
83
+ //1500px
84
+ 'max-md:mb-[7px] max-md:h-[9px] max-md:w-[9px] '
85
+ }
86
+ />
87
+ </div>
88
+ </Link>
89
+ ))}
90
+ </span>
91
+ </div>
92
+ );
93
+ };
94
+
95
+ export default SuccessCase;
@@ -0,0 +1,4 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 14 13" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M7.81177 12.8C7.56035 12.8 7.32733 12.6897 7.16176 12.4996C6.8061 12.0764 6.8061 11.4632 7.16176 11.0401L11.0802 6.64956L7.16176 2.25899C6.8061 1.84201 6.8061 1.22267 7.16176 0.799561C7.46837 0.437769 8.00186 0.394844 8.36365 0.701448C8.40044 0.732108 8.4311 0.768901 8.46177 0.799561L13.0302 5.91984C13.392 6.33683 13.392 6.95616 13.0302 7.37928L8.45563 12.5057C8.29007 12.6958 8.05705 12.8062 7.80563 12.8062" fill="#fff"/>
3
+ <path d="M12.3801 7.67952H1.21976C0.680139 7.64886 0.26929 7.18895 0.29995 6.64933C0.26929 6.10971 0.680139 5.6498 1.21976 5.61914H12.374C12.9136 5.6498 13.3245 6.10971 13.2938 6.64933C13.3245 7.18895 12.9136 7.64886 12.374 7.67952" fill="#fff"/>
4
+ </svg>
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const TuiViewer: ({ initialValue }: any) => React.JSX.Element;
3
+ export default TuiViewer;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ const TuiViewer = ({ initialValue }) => {
3
+ return (<div id={'ck-content'} dangerouslySetInnerHTML={{
4
+ __html: initialValue
5
+ }}/>);
6
+ };
7
+ export default TuiViewer;
@@ -0,0 +1,14 @@
1
+ import React from 'react'
2
+
3
+ const TuiViewer = ({ initialValue }: any) => {
4
+ return (
5
+ <div
6
+ id={'ck-content'}
7
+ dangerouslySetInnerHTML={{
8
+ __html: initialValue
9
+ }}
10
+ />
11
+ )
12
+ }
13
+
14
+ export default TuiViewer
@@ -0,0 +1,11 @@
1
+ export interface IFaqTypes {
2
+ idx: number;
3
+ question: string | null;
4
+ question_contents: string | null;
5
+ answer: string | null;
6
+ hit: number | null;
7
+ created_at: Date;
8
+ keyword?: string;
9
+ gubun?: string;
10
+ center_code?: string;
11
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,11 @@
1
+ export interface IFaqTypes {
2
+ idx: number;
3
+ question: string | null;
4
+ question_contents: string | null;
5
+ answer: string | null;
6
+ hit: number | null;
7
+ created_at: Date;
8
+ keyword?: string;
9
+ gubun?: string;
10
+ center_code?: string;
11
+ }