@daeryun/dr_components 1.1.31 → 1.1.33
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.
- package/dist/asset/images/ListBottomKeywd/bgo.webp +0 -0
- package/dist/asset/images/ListBottomKeywd/right2.webp +0 -0
- package/dist/components/ListBottomKeywd/ListBottomKeywd.d.ts +7 -0
- package/dist/components/ListBottomKeywd/ListBottomKeywd.jsx +303 -0
- package/dist/components/ListBottomKeywd/ListBottomKeywd.module.css +193 -0
- package/dist/components/ListBottomKeywd/ListBottomKeywd.stories.d.ts +8 -0
- package/dist/components/ListBottomKeywd/ListBottomKeywd.stories.jsx +36 -0
- package/dist/components/ListBottomKeywd/ListBottomKeywd.stories.tsx +44 -0
- package/dist/components/ListBottomKeywd/ListBottomKeywd.tsx +472 -0
- package/dist/components/ListBottomKeywd/RouteType.d.ts +11 -0
- package/dist/components/ListBottomKeywd/RouteType.js +12 -0
- package/dist/components/ListBottomKeywd/RouteType.ts +11 -0
- package/dist/components/common/hook/useElementObserve.d.ts +4 -4
- package/dist/components/index.js +2 -0
- package/dist/components/index.ts +2 -0
- package/dist/lib/handleGtagClick.d.ts +8 -0
- package/dist/lib/handleGtagClick.js +13 -0
- package/dist/lib/handleGtagClick.ts +21 -0
- package/dist/styles/globals.css +38 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import Link from 'next/link';
|
|
3
|
+
import style from './ListBottomKeywd.module.css';
|
|
4
|
+
import Image from 'next/image';
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { handleGtagClick } from '../../lib/handleGtagClick';
|
|
7
|
+
import { usePathname } from 'next/navigation';
|
|
8
|
+
import { RouteType } from './RouteType';
|
|
9
|
+
import IconBgo from '../../asset/images/ListBottomKeywd/bgo.webp';
|
|
10
|
+
import IconRight from '../../asset/images/ListBottomKeywd/right2.webp';
|
|
11
|
+
const ListBottomKeywd = ({ routeType, tel }) => {
|
|
12
|
+
const pathname = usePathname();
|
|
13
|
+
switch (routeType) {
|
|
14
|
+
case RouteType.BROADCAST:
|
|
15
|
+
return (<>
|
|
16
|
+
<div className={'m-auto mb-[2em] flex max-w-screen-2xl justify-center text-[24px] font-[700] leading-[1.6px] sm:text-[30px]'}>
|
|
17
|
+
더 궁금한 점이 있으신가요?
|
|
18
|
+
</div>
|
|
19
|
+
<div className={style.bottom_container}>
|
|
20
|
+
<div className={style.bottom_media}>
|
|
21
|
+
<ConsultComponent tel={tel} onClick={() => handleGtagClick('broadcast_tel', 'tel', '언론보도 페이지 전화상담버튼')}/>
|
|
22
|
+
<SuccessComponent />
|
|
23
|
+
</div>
|
|
24
|
+
<div className={style.bottom_media}>
|
|
25
|
+
<LawyerComponent />
|
|
26
|
+
<ReplyComponent />
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
</>);
|
|
30
|
+
case RouteType.NOTICE:
|
|
31
|
+
return (<>
|
|
32
|
+
<div className={'m-auto mb-[2em] flex max-w-screen-2xl justify-center text-[24px] font-[700] leading-[1.6px] sm:text-[30px]'}>
|
|
33
|
+
더 궁금한 점이 있으신가요?
|
|
34
|
+
</div>
|
|
35
|
+
<div className={style.bottom_container}>
|
|
36
|
+
<div className={style.bottom_media}>
|
|
37
|
+
<ConsultComponent tel={tel} onClick={() => handleGtagClick('notice_tel', 'tel', '공지사항 페이지 전화상담버튼')}/>
|
|
38
|
+
<SuccessComponent />
|
|
39
|
+
</div>
|
|
40
|
+
<div className={style.bottom_media}>
|
|
41
|
+
<LawyerComponent />
|
|
42
|
+
<ReplyComponent />
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
</>);
|
|
46
|
+
case RouteType.LAWYER:
|
|
47
|
+
return (<>
|
|
48
|
+
<div className={'m-auto mb-[2em] flex max-w-screen-2xl justify-center text-[24px] font-[700] leading-[1.6px] sm:text-[30px]'}>
|
|
49
|
+
더 궁금한 점이 있으신가요?
|
|
50
|
+
</div>
|
|
51
|
+
<div className={style.bottom_container}>
|
|
52
|
+
<div className={style.bottom_media}>
|
|
53
|
+
<ConsultComponent tel={tel} onClick={() => handleGtagClick('lawyerPage_tel', 'tel', '변호사 페이지 전화상담버튼')}/>
|
|
54
|
+
<SuccessComponent />
|
|
55
|
+
</div>
|
|
56
|
+
<div className={style.bottom_media}>
|
|
57
|
+
<BroadcastComponent />
|
|
58
|
+
<ReplyComponent />
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
</>);
|
|
62
|
+
case RouteType.SUCCESS:
|
|
63
|
+
return (<>
|
|
64
|
+
<div className={'m-auto mb-[2em] flex max-w-screen-2xl justify-center text-[24px] font-[700] leading-[1.6px] sm:text-[30px]'}>
|
|
65
|
+
더 궁금한 점이 있으신가요?
|
|
66
|
+
</div>
|
|
67
|
+
<div className={style.bottom_container}>
|
|
68
|
+
<div className={style.bottom_media}>
|
|
69
|
+
<ConsultComponent tel={tel} onClick={() => {
|
|
70
|
+
if (pathname === '/success') {
|
|
71
|
+
handleGtagClick('success_tel', 'tel', '업무사례 페이지 전화상담버튼');
|
|
72
|
+
}
|
|
73
|
+
else if (pathname === '/instagram') {
|
|
74
|
+
handleGtagClick('instagram_tel', 'tel', '인스타그램 페이지 전화상담버튼');
|
|
75
|
+
}
|
|
76
|
+
else if (pathname === '/info') {
|
|
77
|
+
handleGtagClick('lawinfo_tel', 'tel', '법률정보 페이지 전화상담버튼');
|
|
78
|
+
}
|
|
79
|
+
else if (pathname === '/notice') {
|
|
80
|
+
handleGtagClick('notice_tel', 'tel', '공지사항 페이지 전화상담버튼');
|
|
81
|
+
}
|
|
82
|
+
else if (pathname === '/archive') {
|
|
83
|
+
handleGtagClick('archive_tel', 'tel', '법률서식 페이지 전화상담버튼');
|
|
84
|
+
}
|
|
85
|
+
}}/>
|
|
86
|
+
<BroadcastComponent />
|
|
87
|
+
</div>
|
|
88
|
+
<div className={style.bottom_media}>
|
|
89
|
+
<LawyerComponent />
|
|
90
|
+
<ReplyComponent />
|
|
91
|
+
</div>
|
|
92
|
+
</div>
|
|
93
|
+
</>);
|
|
94
|
+
case RouteType.REPLY:
|
|
95
|
+
return (<>
|
|
96
|
+
<div className={'m-auto mb-[2em] flex max-w-screen-2xl justify-center text-[24px] font-[700] leading-[1.6px] sm:text-[30px]'}>
|
|
97
|
+
더 궁금한 점이 있으신가요?
|
|
98
|
+
</div>
|
|
99
|
+
<div className={style.bottom_container}>
|
|
100
|
+
<div className={style.bottom_media}>
|
|
101
|
+
<ConsultComponent tel={tel} onClick={() => {
|
|
102
|
+
if (pathname === '/reply') {
|
|
103
|
+
handleGtagClick('reply_tel', 'tel', '고객후기 페이지 전화상담버튼');
|
|
104
|
+
}
|
|
105
|
+
else if (pathname === '/blog') {
|
|
106
|
+
handleGtagClick('blog_tel', 'tel', '블로그 페이지 전화상담버튼');
|
|
107
|
+
}
|
|
108
|
+
else if (pathname === '/kin') {
|
|
109
|
+
handleGtagClick('kin_tel', 'tel', '법률지식인 페이지 전화상담버튼');
|
|
110
|
+
}
|
|
111
|
+
}}/>
|
|
112
|
+
<BroadcastComponent />
|
|
113
|
+
</div>
|
|
114
|
+
<div className={style.bottom_media}>
|
|
115
|
+
<LawyerComponent />
|
|
116
|
+
<SuccessComponent />
|
|
117
|
+
</div>
|
|
118
|
+
</div>
|
|
119
|
+
</>);
|
|
120
|
+
case RouteType.YOUTUBE:
|
|
121
|
+
return (<>
|
|
122
|
+
<div className={'m-auto mb-[3em] flex max-w-screen-2xl justify-center py-[130] text-[24px] font-[700] leading-[1.6px] sm:text-[30px]'}>
|
|
123
|
+
더 궁금한 점이 있으신가요?
|
|
124
|
+
</div>
|
|
125
|
+
<div className={style.bottom_container}>
|
|
126
|
+
<div className={style.bottom_media}>
|
|
127
|
+
<ConsultComponent tel={tel} onClick={() => handleGtagClick('youtube_tel', 'tel', '유튜브 페이지 전화상담버튼')}/>
|
|
128
|
+
<BroadcastComponent />
|
|
129
|
+
</div>
|
|
130
|
+
<div className={style.bottom_media}>
|
|
131
|
+
<LawyerComponent />
|
|
132
|
+
<ReplyComponent />
|
|
133
|
+
</div>
|
|
134
|
+
</div>
|
|
135
|
+
</>);
|
|
136
|
+
case RouteType.INFO:
|
|
137
|
+
return (<>
|
|
138
|
+
<div className={'m-auto mb-[3em] flex max-w-screen-2xl justify-center py-[130] text-[24px] font-[700] leading-[1.6px] sm:text-[30px]'}>
|
|
139
|
+
더 궁금한 점이 있으신가요?
|
|
140
|
+
</div>
|
|
141
|
+
<div className={style.bottom_container}>
|
|
142
|
+
<div className={style.bottom_media}>
|
|
143
|
+
<ConsultComponent tel={tel} onClick={() => handleGtagClick('lawinfo_tel', 'tel', '법률정보 페이지 전화상담버튼')}/>
|
|
144
|
+
<BroadcastComponent />
|
|
145
|
+
</div>
|
|
146
|
+
<div className={style.bottom_media}>
|
|
147
|
+
<LawyerComponent />
|
|
148
|
+
<SuccessComponent />
|
|
149
|
+
</div>
|
|
150
|
+
</div>
|
|
151
|
+
</>);
|
|
152
|
+
case RouteType.INTEGTARE:
|
|
153
|
+
return (<>
|
|
154
|
+
<div className={'m-auto mb-[3em] flex max-w-screen-2xl justify-center py-[130] text-[24px] font-[700] leading-[1.6px] sm:text-[30px]'}>
|
|
155
|
+
더 궁금한 점이 있으신가요?
|
|
156
|
+
</div>
|
|
157
|
+
<div className={style.bottom_container}>
|
|
158
|
+
<div className={style.bottom_media}>
|
|
159
|
+
<ConsultComponent tel={tel} onClick={() => handleGtagClick('integrate_tel', 'tel', '통합검색 페이지 전화상담버튼')}/>
|
|
160
|
+
<SuccessComponent />
|
|
161
|
+
</div>
|
|
162
|
+
<div className={style.bottom_media}>
|
|
163
|
+
<LawyerComponent />
|
|
164
|
+
<ReplyComponent />
|
|
165
|
+
</div>
|
|
166
|
+
</div>
|
|
167
|
+
</>);
|
|
168
|
+
case RouteType.MEDIA:
|
|
169
|
+
return (<>
|
|
170
|
+
<div className={'m-auto mb-[2em] flex max-w-screen-2xl justify-center text-[24px] font-[700] leading-[1.6px] sm:text-[30px]'}>
|
|
171
|
+
더 궁금한 점이 있으신가요?
|
|
172
|
+
</div>
|
|
173
|
+
<div className={style.bottom_container}>
|
|
174
|
+
<div className={style.bottom_media}>
|
|
175
|
+
<ConsultComponent tel={tel} onClick={() => handleGtagClick('media_tel', 'tel', '취재문의 페이지 전화상담버튼')}/>
|
|
176
|
+
<SuccessComponent />
|
|
177
|
+
</div>
|
|
178
|
+
<div className={style.bottom_media}>
|
|
179
|
+
<LawyerComponent />
|
|
180
|
+
<ReplyComponent />
|
|
181
|
+
</div>
|
|
182
|
+
</div>
|
|
183
|
+
</>);
|
|
184
|
+
default:
|
|
185
|
+
return null;
|
|
186
|
+
}
|
|
187
|
+
};
|
|
188
|
+
const ConsultComponent = ({ onClick, tel }) => {
|
|
189
|
+
const handleClick = () => {
|
|
190
|
+
onClick();
|
|
191
|
+
};
|
|
192
|
+
return (<Link href={'/choice'} className={style.bottom_box} onClick={handleClick}>
|
|
193
|
+
<div className={'flex h-full flex-col justify-between gap-[10px]'}>
|
|
194
|
+
<div className={'flex items-center justify-between'}>
|
|
195
|
+
<div className={''}>
|
|
196
|
+
<p className={`${style.consult_txt} ${style.consult_red}`}>대륜법률 상담</p>
|
|
197
|
+
<p className={style.sub_txt}>
|
|
198
|
+
전화상담 <b className={'inline-block text-[#285FA7]'}>{tel}</b>
|
|
199
|
+
</p>
|
|
200
|
+
</div>
|
|
201
|
+
<div className={'block sm:hidden'}>
|
|
202
|
+
<Image src={IconBgo} alt="화살표" width={52} height={21} className={'h-auto w-[34px]'}/>
|
|
203
|
+
</div>
|
|
204
|
+
</div>
|
|
205
|
+
|
|
206
|
+
<div className={'hidden w-[7em] justify-center rounded-[20px] bg-[#285FA7] py-1 pr-1 text-[15px] text-[#fff] sm:flex sm:w-[8em] sm:py-2'}>
|
|
207
|
+
상담하기
|
|
208
|
+
<div className={'relative left-[10px] flex h-[24px] w-[24px] items-center rounded-[50%] bg-[#fff] '}>
|
|
209
|
+
<Image src={IconRight} alt="상담하기" width={14} height={14} className={'absolute left-[6px] top-[7px] h-auto w-[14px]'}/>
|
|
210
|
+
</div>
|
|
211
|
+
</div>
|
|
212
|
+
</div>
|
|
213
|
+
</Link>);
|
|
214
|
+
};
|
|
215
|
+
const BroadcastComponent = () => {
|
|
216
|
+
return (<Link href={'/broadcast'} className={style.bottom_box}>
|
|
217
|
+
<div className={'flex h-full flex-col justify-between gap-[10px]'}>
|
|
218
|
+
<div className={'flex items-center justify-between'}>
|
|
219
|
+
<div className={''}>
|
|
220
|
+
<p className={`${style.consult_txt} ${style.consult_red}`}>언론보도</p>
|
|
221
|
+
<p className={style.sub_txt}>언론에서 활동하는 대륜</p>
|
|
222
|
+
</div>
|
|
223
|
+
<div className={'block sm:hidden'}>
|
|
224
|
+
<Image src={IconBgo} alt="화살표" width={52} height={21} className={'h-auto w-[34px]'}/>
|
|
225
|
+
</div>
|
|
226
|
+
</div>
|
|
227
|
+
|
|
228
|
+
<div className={'hidden w-[7em] justify-center rounded-[20px] bg-[#285FA7] py-1 pr-1 text-[15px] text-[#fff] sm:flex sm:w-[8em] sm:py-2'}>
|
|
229
|
+
바로가기
|
|
230
|
+
<div className={'relative left-[10px] flex h-[24px] w-[24px] items-center rounded-[50%] bg-[#fff] '}>
|
|
231
|
+
<Image src={IconRight} alt="상담하기" width={14} height={14} className={'absolute left-[6px] top-[7px] h-auto w-[14px]'}/>
|
|
232
|
+
</div>
|
|
233
|
+
</div>
|
|
234
|
+
</div>
|
|
235
|
+
</Link>);
|
|
236
|
+
};
|
|
237
|
+
const LawyerComponent = () => {
|
|
238
|
+
return (<Link href={'/lawyer'} className={style.bottom_box}>
|
|
239
|
+
<div className={'flex h-full flex-col justify-between gap-[10px]'}>
|
|
240
|
+
<div className={'flex items-center justify-between'}>
|
|
241
|
+
<div className={''}>
|
|
242
|
+
<p className={`${style.consult_txt} ${style.consult_red}`}>변호사 소개</p>
|
|
243
|
+
<p className={style.sub_txt}>{process.env.NEXT_PUBLIC_KEYWORD}전문변호사</p>
|
|
244
|
+
</div>
|
|
245
|
+
<div className={'block sm:hidden'}>
|
|
246
|
+
<Image src={IconBgo} alt="화살표" width={52} height={21} className={'h-auto w-[34px]'}/>
|
|
247
|
+
</div>
|
|
248
|
+
</div>
|
|
249
|
+
|
|
250
|
+
<div className={'hidden w-[7em] justify-center rounded-[20px] bg-[#285FA7] py-1 pr-1 text-[15px] text-[#fff] sm:flex sm:w-[8em] sm:py-2'}>
|
|
251
|
+
바로가기
|
|
252
|
+
<div className={'relative left-[10px] flex h-[24px] w-[24px] items-center rounded-[50%] bg-[#fff] '}>
|
|
253
|
+
<Image src={IconRight} alt="상담하기" width={14} height={14} className={'absolute left-[6px] top-[7px] h-auto w-[14px]'}/>
|
|
254
|
+
</div>
|
|
255
|
+
</div>
|
|
256
|
+
</div>
|
|
257
|
+
</Link>);
|
|
258
|
+
};
|
|
259
|
+
const ReplyComponent = () => {
|
|
260
|
+
return (<Link href={'/reply'} className={style.bottom_box}>
|
|
261
|
+
<div className={'flex h-full flex-col justify-between gap-[10px]'}>
|
|
262
|
+
<div className={'flex items-center justify-between'}>
|
|
263
|
+
<div className={''}>
|
|
264
|
+
<p className={`${style.consult_txt} ${style.consult_red}`}>고객후기</p>
|
|
265
|
+
<p className={style.sub_txt}>만족으로 이어진 신뢰</p>
|
|
266
|
+
</div>
|
|
267
|
+
<div className={'block sm:hidden'}>
|
|
268
|
+
<Image src={IconBgo} alt="화살표" width={52} height={21} className={'h-auto w-[34px]'}/>
|
|
269
|
+
</div>
|
|
270
|
+
</div>
|
|
271
|
+
|
|
272
|
+
<div className={'hidden w-[7em] justify-center rounded-[20px] bg-[#285FA7] py-1 pr-1 text-[15px] text-[#fff] sm:flex sm:w-[8em] sm:py-2'}>
|
|
273
|
+
바로가기
|
|
274
|
+
<div className={'relative left-[10px] flex h-[24px] w-[24px] items-center rounded-[50%] bg-[#fff] '}>
|
|
275
|
+
<Image src={IconRight} alt="상담하기" width={14} height={14} className={'absolute left-[6px] top-[7px] h-auto w-[14px]'}/>
|
|
276
|
+
</div>
|
|
277
|
+
</div>
|
|
278
|
+
</div>
|
|
279
|
+
</Link>);
|
|
280
|
+
};
|
|
281
|
+
const SuccessComponent = () => {
|
|
282
|
+
return (<Link href={'/success'} className={style.bottom_box}>
|
|
283
|
+
<div className={'flex h-full flex-col justify-between gap-[10px]'}>
|
|
284
|
+
<div className={'flex items-center justify-between'}>
|
|
285
|
+
<div className={''}>
|
|
286
|
+
<p className={`${style.consult_txt} ${style.consult_red}`}>업무사례</p>
|
|
287
|
+
<p className={style.sub_txt}>풍부한 경험으로, 맞춤형 해결책 제시</p>
|
|
288
|
+
</div>
|
|
289
|
+
<div className={'block sm:hidden'}>
|
|
290
|
+
<Image src={IconBgo} alt="화살표" width={52} height={21} className={'h-auto w-[34px]'}/>
|
|
291
|
+
</div>
|
|
292
|
+
</div>
|
|
293
|
+
|
|
294
|
+
<div className={'hidden w-[7em] justify-center rounded-[20px] bg-[#285FA7] py-1 pr-1 text-[15px] text-[#fff] sm:flex sm:w-[8em] sm:py-2'}>
|
|
295
|
+
바로가기
|
|
296
|
+
<div className={'relative left-[10px] flex h-[24px] w-[24px] items-center rounded-[50%] bg-[#fff] '}>
|
|
297
|
+
<Image src={IconRight} alt="상담하기" width={14} height={14} className={'absolute left-[6px] top-[7px] h-auto w-[14px]'}/>
|
|
298
|
+
</div>
|
|
299
|
+
</div>
|
|
300
|
+
</div>
|
|
301
|
+
</Link>);
|
|
302
|
+
};
|
|
303
|
+
export default ListBottomKeywd;
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
.bottom_container {
|
|
2
|
+
max-width: 1400px;
|
|
3
|
+
width: 90%;
|
|
4
|
+
display: flex;
|
|
5
|
+
margin: 0 auto;
|
|
6
|
+
line-height: 1.6;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
padding: 0 0 130px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.sub_txt {
|
|
12
|
+
font-size: 18px;
|
|
13
|
+
margin-top: 5px;
|
|
14
|
+
word-break: keep-all;
|
|
15
|
+
}
|
|
16
|
+
.bottom_box {
|
|
17
|
+
border: 1px solid #dddddd;
|
|
18
|
+
margin: 2.5%;
|
|
19
|
+
width: 100%;
|
|
20
|
+
font-size: 18px;
|
|
21
|
+
cursor: pointer;
|
|
22
|
+
padding-block: 2em;
|
|
23
|
+
padding-inline: 1.7em;
|
|
24
|
+
border-radius: 15px;
|
|
25
|
+
background-color: #fafafa70;
|
|
26
|
+
}
|
|
27
|
+
.consult_txt {
|
|
28
|
+
font-weight: 550;
|
|
29
|
+
font-size: 24px;
|
|
30
|
+
}
|
|
31
|
+
.bottom_media {
|
|
32
|
+
display: flex;
|
|
33
|
+
width: 100%;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@media only screen and (max-width: 1280px) {
|
|
37
|
+
.bottom_container .consult_txt {
|
|
38
|
+
font-weight: 550;
|
|
39
|
+
font-size: 20px;
|
|
40
|
+
}
|
|
41
|
+
.sub_txt {
|
|
42
|
+
font-size: 16px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.bottom_container .bottom_box .link_txt {
|
|
46
|
+
font-size: 16px;
|
|
47
|
+
color: #ab0634;
|
|
48
|
+
margin-left: -35px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.bottom_container .bottom_box .link_txt::before {
|
|
52
|
+
right: 70px;
|
|
53
|
+
bottom: -8px;
|
|
54
|
+
font-size: 28px;
|
|
55
|
+
}
|
|
56
|
+
.bottom_container .bottom_box .link_txt::after {
|
|
57
|
+
right: 60px;
|
|
58
|
+
bottom: 3px;
|
|
59
|
+
height: 20px;
|
|
60
|
+
width: 20px;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@media only screen and (max-width: 980px) {
|
|
65
|
+
/*.bottom_box p { font-size: 1.9vw; }*/
|
|
66
|
+
.bottom_box {
|
|
67
|
+
padding-inline: 1.2em;
|
|
68
|
+
}
|
|
69
|
+
.sub_txt {
|
|
70
|
+
font-size: 16px;
|
|
71
|
+
}
|
|
72
|
+
.bottom_container .bottom_box .link_txt::before {
|
|
73
|
+
right: 55px;
|
|
74
|
+
bottom: -5px;
|
|
75
|
+
font-size: 26px;
|
|
76
|
+
}
|
|
77
|
+
.bottom_container .bottom_box .link_txt::after {
|
|
78
|
+
right: 45px;
|
|
79
|
+
bottom: 3px;
|
|
80
|
+
height: 18px;
|
|
81
|
+
width: 18px;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
@media only screen and (max-width: 850px) {
|
|
86
|
+
.bottom_container {
|
|
87
|
+
flex-direction: column;
|
|
88
|
+
}
|
|
89
|
+
.bottom_box {
|
|
90
|
+
margin: 2%;
|
|
91
|
+
}
|
|
92
|
+
.bottom_box {
|
|
93
|
+
padding-inline: 1.8em;
|
|
94
|
+
}
|
|
95
|
+
.bottom_container .consult_txt {
|
|
96
|
+
font-size: 24px;
|
|
97
|
+
}
|
|
98
|
+
.sub_txt {
|
|
99
|
+
font-size: 18px;
|
|
100
|
+
}
|
|
101
|
+
.bottom_container .bottom_box .link_txt::before {
|
|
102
|
+
right: 40px;
|
|
103
|
+
bottom: -5px;
|
|
104
|
+
font-size: 26px;
|
|
105
|
+
}
|
|
106
|
+
.bottom_container .bottom_box .link_txt::after {
|
|
107
|
+
right: 30px;
|
|
108
|
+
bottom: 3px;
|
|
109
|
+
height: 18px;
|
|
110
|
+
width: 18px;
|
|
111
|
+
}
|
|
112
|
+
.bottom_container .bottom_box .link_txt {
|
|
113
|
+
font-size: 14px;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
@media only screen and (max-width: 640px) {
|
|
118
|
+
.bottom_container {
|
|
119
|
+
flex-direction: column;
|
|
120
|
+
}
|
|
121
|
+
.bottom_box {
|
|
122
|
+
margin-inline: 0;
|
|
123
|
+
}
|
|
124
|
+
.bottom_box p {
|
|
125
|
+
font-size: 3.5vw;
|
|
126
|
+
}
|
|
127
|
+
.bottom_container .bottom_box .link_txt {
|
|
128
|
+
font-size: 24px;
|
|
129
|
+
margin-bottom: 5px;
|
|
130
|
+
}
|
|
131
|
+
.bottom_container .consult_txt {
|
|
132
|
+
font-size: 4.6vw;
|
|
133
|
+
margin-bottom: 5px;
|
|
134
|
+
}
|
|
135
|
+
.bottom_container .bottom_box .link_txt::before {
|
|
136
|
+
right: 11vw;
|
|
137
|
+
bottom: -2vw;
|
|
138
|
+
font-size: 7vw;
|
|
139
|
+
}
|
|
140
|
+
.bottom_container .bottom_box .link_txt::after {
|
|
141
|
+
right: 8.6vw;
|
|
142
|
+
bottom: 0.5vw;
|
|
143
|
+
height: 4.5vw;
|
|
144
|
+
width: 4.5vw;
|
|
145
|
+
}
|
|
146
|
+
.bottom_container {
|
|
147
|
+
flex-direction: column;
|
|
148
|
+
width: 90%;
|
|
149
|
+
margin: 0 auto;
|
|
150
|
+
}
|
|
151
|
+
.bottom_media {
|
|
152
|
+
flex-direction: column;
|
|
153
|
+
}
|
|
154
|
+
.bottom_box {
|
|
155
|
+
padding: 1.3em 1.4em;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
@media only screen and (max-width: 350px) {
|
|
160
|
+
.bottom_container .consult_txt {
|
|
161
|
+
font-size: 20px;
|
|
162
|
+
margin-bottom: 5px;
|
|
163
|
+
}
|
|
164
|
+
.bottom_box p {
|
|
165
|
+
font-size: 16px;
|
|
166
|
+
margin-bottom: 5px;
|
|
167
|
+
}
|
|
168
|
+
.bottom_container .bottom_box .link_txt {
|
|
169
|
+
font-size: 3.8vw;
|
|
170
|
+
}
|
|
171
|
+
.bottom_container .bottom_box .link_txt::before {
|
|
172
|
+
right: 13vw;
|
|
173
|
+
}
|
|
174
|
+
.bottom_container .bottom_box .link_txt::after {
|
|
175
|
+
right: 10.6vw;
|
|
176
|
+
}
|
|
177
|
+
.bottom_box {
|
|
178
|
+
padding: 1.2em 1.2em;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
@media only screen and (max-width: 310px) {
|
|
183
|
+
.bottom_container .consult_txt {
|
|
184
|
+
font-size: 20px;
|
|
185
|
+
margin-bottom: 5px;
|
|
186
|
+
}
|
|
187
|
+
.bottom_container .bottom_box .link_txt::before {
|
|
188
|
+
right: 16vw;
|
|
189
|
+
}
|
|
190
|
+
.bottom_container .bottom_box .link_txt::after {
|
|
191
|
+
right: 13.6vw;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import ListBottomKeywd from './ListBottomKeywd';
|
|
2
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
|
+
import '../../styles/globals.css';
|
|
4
|
+
import '../../styles/font_style.css';
|
|
5
|
+
declare const meta: Meta<typeof ListBottomKeywd>;
|
|
6
|
+
export default meta;
|
|
7
|
+
type Story = StoryObj<typeof meta>;
|
|
8
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import ListBottomKeywd from './ListBottomKeywd';
|
|
2
|
+
import '../../styles/globals.css';
|
|
3
|
+
import '../../styles/font_style.css';
|
|
4
|
+
import { RouteType } from './RouteType';
|
|
5
|
+
const meta = {
|
|
6
|
+
component: ListBottomKeywd,
|
|
7
|
+
title: 'ListBottomKeywd',
|
|
8
|
+
argTypes: {
|
|
9
|
+
routeType: {
|
|
10
|
+
control: 'select',
|
|
11
|
+
options: [
|
|
12
|
+
RouteType.BROADCAST,
|
|
13
|
+
RouteType.NOTICE,
|
|
14
|
+
RouteType.LAWYER,
|
|
15
|
+
RouteType.SUCCESS,
|
|
16
|
+
RouteType.REPLY,
|
|
17
|
+
RouteType.YOUTUBE,
|
|
18
|
+
RouteType.INFO,
|
|
19
|
+
RouteType.INTEGTARE,
|
|
20
|
+
RouteType.MEDIA
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
export default meta;
|
|
26
|
+
export const Default = {
|
|
27
|
+
render: args => {
|
|
28
|
+
return (<div className={'font-[SUIT]'}>
|
|
29
|
+
<ListBottomKeywd {...args}/>
|
|
30
|
+
</div>);
|
|
31
|
+
},
|
|
32
|
+
args: {
|
|
33
|
+
routeType: RouteType.BROADCAST,
|
|
34
|
+
tel: '1800-7905'
|
|
35
|
+
}
|
|
36
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import ListBottomKeywd from './ListBottomKeywd';
|
|
2
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
|
+
import '../../styles/globals.css';
|
|
4
|
+
import '../../styles/font_style.css';
|
|
5
|
+
import { RouteType } from './RouteType';
|
|
6
|
+
|
|
7
|
+
const meta: Meta<typeof ListBottomKeywd> = {
|
|
8
|
+
component: ListBottomKeywd,
|
|
9
|
+
title: 'ListBottomKeywd',
|
|
10
|
+
argTypes: {
|
|
11
|
+
routeType: {
|
|
12
|
+
control: 'select',
|
|
13
|
+
options: [
|
|
14
|
+
RouteType.BROADCAST,
|
|
15
|
+
RouteType.NOTICE,
|
|
16
|
+
RouteType.LAWYER,
|
|
17
|
+
RouteType.SUCCESS,
|
|
18
|
+
RouteType.REPLY,
|
|
19
|
+
RouteType.YOUTUBE,
|
|
20
|
+
RouteType.INFO,
|
|
21
|
+
RouteType.INTEGTARE,
|
|
22
|
+
RouteType.MEDIA
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export default meta;
|
|
29
|
+
|
|
30
|
+
type Story = StoryObj<typeof meta>;
|
|
31
|
+
|
|
32
|
+
export const Default: Story = {
|
|
33
|
+
render: args => {
|
|
34
|
+
return (
|
|
35
|
+
<div className={'font-[SUIT]'}>
|
|
36
|
+
<ListBottomKeywd {...args} />
|
|
37
|
+
</div>
|
|
38
|
+
);
|
|
39
|
+
},
|
|
40
|
+
args: {
|
|
41
|
+
routeType: RouteType.BROADCAST,
|
|
42
|
+
tel: '1800-7905'
|
|
43
|
+
}
|
|
44
|
+
};
|