@daeryun/dr_components 0.1.8 → 0.1.10

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.
@@ -1,54 +1,47 @@
1
- import Link from 'next/link'
2
- import React, { useEffect, useRef, useState } from 'react'
3
- import Image from 'next/image'
4
- import { insert } from '../../lib'
5
- import * as gtag from '../../lib/gtag'
6
- import { savePowerLinkConversion } from '../../lib'
7
- import style from './index.module.css'
8
- import { useRouter } from 'next/router'
1
+ import Link from 'next/link';
2
+ import React, { useEffect, useRef, useState } from 'react';
3
+ import Image from 'next/image';
4
+ import { insert } from '../../lib';
5
+ import * as gtag from '../../lib/gtag';
6
+ import { savePowerLinkConversion } from '../../lib';
7
+ import style from './index.module.css';
8
+ import { useRouter } from 'next/router';
9
9
 
10
- import OnlineIcon from '../../asset/images/fix/online.webp'
11
- import KakaoIcon from '../../asset/images/fix/kakao.webp'
12
- import CallIcon from '../../asset/images/fix/call.webp'
13
- import Call2Icon from '../../asset/images/fix/call2.webp'
14
- import MenuXIcon from '../../asset/images/fix/menu_x.webp'
15
- import ArrowIcon from '../../asset/images/fix/arrow.webp'
10
+ import OnlineIcon from '../../asset/images/fix/online.webp';
11
+ import KakaoIcon from '../../asset/images/fix/kakao.webp';
12
+ import CallIcon from '../../asset/images/fix/call.webp';
13
+ import Call2Icon from '../../asset/images/fix/call2.webp';
14
+ import MenuXIcon from '../../asset/images/fix/menu_x.webp';
15
+ import ArrowIcon from '../../asset/images/fix/arrow.webp';
16
16
 
17
17
  const Fix = (props: { tel: string }) => {
18
- const mobile = require('is-mobile')
19
- const [isMobile, setIsMobile] = useState<boolean>(false)
20
- // const [tel] = useRecoilState(telAtom)
21
- const [isTop, setIsTop] = useState(true)
22
- const [position, setPosition] = useState(0)
18
+ const mobile = require('is-mobile');
19
+ const [isMobile, setIsMobile] = useState<boolean>(false);
20
+ const [isTop, setIsTop] = useState(true);
21
+ const onlineRef = useRef<HTMLDivElement>(null);
22
+ const callRef = useRef<HTMLDivElement>(null);
23
23
 
24
- const onlineRef = useRef<HTMLDivElement>(null)
25
- const callRef = useRef<HTMLDivElement>(null)
26
-
27
- const router = useRouter()
24
+ const router = useRouter();
28
25
 
29
26
  const onClickKakao = () => {
30
- insert('kakao', isMobile)
31
- savePowerLinkConversion('kakao', isMobile)
27
+ insert('kakao', isMobile);
28
+ savePowerLinkConversion('kakao', isMobile);
32
29
 
33
30
  if (isMobile) {
34
- ace_mKakaoClick()
35
- mKakaoClick()
31
+ mKakaoClick();
36
32
  } else {
37
- // ace_pcKakaoClick();
38
- pcKakaoClick()
33
+ pcKakaoClick();
39
34
  }
40
- }
35
+ };
41
36
  const onClickTel = () => {
42
- insert('call', isMobile)
43
- savePowerLinkConversion('call', isMobile)
37
+ insert('call', isMobile);
38
+ savePowerLinkConversion('call', isMobile);
44
39
  if (isMobile) {
45
- ace_mTelClick()
46
- mTelClick()
40
+ mTelClick();
47
41
  } else {
48
- // ace_pcTelClick();
49
- pcTelClick()
42
+ pcTelClick();
50
43
  }
51
- }
44
+ };
52
45
 
53
46
  // GA 클릭이벤트
54
47
  const mTelClick = () => {
@@ -57,8 +50,8 @@ const Fix = (props: { tel: string }) => {
57
50
  category: 'tel',
58
51
  label: '모바일전화버튼',
59
52
  value: '1'
60
- })
61
- }
53
+ });
54
+ };
62
55
 
63
56
  const pcTelClick = () => {
64
57
  gtag.event({
@@ -66,8 +59,8 @@ const Fix = (props: { tel: string }) => {
66
59
  category: 'tel',
67
60
  label: '피씨전화버튼',
68
61
  value: '1'
69
- })
70
- }
62
+ });
63
+ };
71
64
 
72
65
  const mKakaoClick = () => {
73
66
  gtag.event({
@@ -75,8 +68,8 @@ const Fix = (props: { tel: string }) => {
75
68
  category: 'kakao',
76
69
  label: '모바일카카오버튼',
77
70
  value: '1'
78
- })
79
- }
71
+ });
72
+ };
80
73
 
81
74
  const pcKakaoClick = () => {
82
75
  gtag.event({
@@ -84,62 +77,33 @@ const Fix = (props: { tel: string }) => {
84
77
  category: 'kakao',
85
78
  label: '피씨카카오버튼',
86
79
  value: '1'
87
- })
88
- }
89
-
90
- // 에이스카운터 전환태그
91
- const ace_mTelClick = () => {
92
- try {
93
- // @ts-ignore
94
- AM_PL('/m_tel')
95
- } catch (e) {}
96
- }
97
-
98
- // const ace_pcTelClick = () => {
99
- // try {
100
- // // @ts-ignore
101
- // _PL('www.daeryunlaw.com/tel');
102
- // } catch (e) {}
103
- // };
104
-
105
- const ace_mKakaoClick = () => {
106
- try {
107
- // @ts-ignore
108
- AM_PL('/m_kakao')
109
- } catch (e) {}
110
- }
111
-
112
- // const ace_pcKakaoClick = () => {
113
- // try {
114
- // // @ts-ignore
115
- // _PL('www.daeryunlaw.com/kakao');
116
- // } catch (e) {}
117
- // };
80
+ });
81
+ };
118
82
 
119
83
  useEffect(() => {
120
84
  if (typeof window != 'undefined') {
121
85
  const handleScroll = () => {
122
- setIsTop(window.scrollY <= 0)
86
+ setIsTop(window.scrollY <= 0);
123
87
 
124
88
  if (window.scrollY <= 0) {
125
- onlineRef.current?.classList.remove(style.fadeOut)
126
- onlineRef.current?.classList.remove(style.fadeIn)
127
- callRef.current?.classList.remove(style.fadeOut)
128
- callRef.current?.classList.remove(style.fadeIn)
89
+ onlineRef.current?.classList.remove(style.fadeOut);
90
+ onlineRef.current?.classList.remove(style.fadeIn);
91
+ callRef.current?.classList.remove(style.fadeOut);
92
+ callRef.current?.classList.remove(style.fadeIn);
129
93
  }
130
- }
94
+ };
131
95
 
132
- window.addEventListener('scroll', handleScroll)
96
+ window.addEventListener('scroll', handleScroll);
133
97
  return () => {
134
- window.removeEventListener('scroll', handleScroll)
135
- }
98
+ window.removeEventListener('scroll', handleScroll);
99
+ };
136
100
  }
137
- }, [])
101
+ }, []);
138
102
 
139
103
  useEffect(() => {
140
- const is_mobile = mobile()
141
- setIsMobile(is_mobile)
142
- }, [])
104
+ const is_mobile = mobile();
105
+ setIsMobile(is_mobile);
106
+ }, []);
143
107
 
144
108
  return (
145
109
  <>
@@ -147,40 +111,40 @@ const Fix = (props: { tel: string }) => {
147
111
  className={
148
112
  (isTop ? ' hidden ' : '') +
149
113
  ' fixed bottom-[43px] right-[25px] z-[2000] w-fit font-[SUIT] ' +
150
- ' max-lg:w-full max-lg:bottom-0 max-lg:right-0'
114
+ ' max-lg:relative max-lg:bottom-0 max-lg:right-0 max-lg:w-full'
151
115
  }
152
116
  >
153
117
  {/*Fix*/}
154
118
 
155
119
  <div
156
120
  className={
157
- 'relative w-[100px] h-[330px] rounded-full overflow-hidden z-20 shadow-[0_4px_8px_0_rgba(0,0,0,0.1)] ' +
158
- 'max-5xl:w-[75px] max-5xl:h-[250px] ' +
121
+ 'relative z-20 h-[330px] w-[100px] overflow-hidden rounded-full shadow-[0_4px_8px_0_rgba(0,0,0,0.1)] ' +
122
+ 'max-5xl:h-[250px] max-5xl:w-[75px] ' +
159
123
  'max-lg:h-[65px] max-lg:w-full max-lg:rounded-none max-lg:shadow-[0_-2px_20px_0_rgba(0,0,0,0.08)] '
160
124
  }
161
125
  >
162
126
  <div
163
127
  className={
164
- 'w-full h-[60px] text-white text-[16px] bg-[#1B244F] font-[800] tracking-[0px] flex justify-center pt-[15px] py-[9px] px-[28px] leading-[17px] max-5xl:text-[14px] max-5xl:h-[55px] max-5xl:pt-[13px] max-lg:hidden '
128
+ 'flex h-[60px] w-full justify-center bg-[#1B244F] px-[28px] py-[9px] pt-[15px] text-[16px] font-[800] leading-[17px] tracking-[0px] text-white max-5xl:h-[55px] max-5xl:pt-[13px] max-5xl:text-[14px] max-lg:hidden '
165
129
  }
166
130
  >
167
131
  Quick Menu
168
132
  </div>
169
133
  <div
170
134
  className={
171
- 'w-full flex-col flex items-center h-full py-[15px] gap-y-[29px] text-[#2B2B2B] text-[14px] leading-1 font-[600] tracking-[-0.7px] bg-[#fff] pb-[20px] ' +
172
- ' max-5xl:gap-y-[13px] max-5xl:text-[13px] max-5xl:py-[13px] ' +
173
- ' max-lg:flex-row max-lg:pt-[20px] max-lg:pb-[18px] max-lg:text-[13px] '
135
+ 'leading-1 flex h-full w-full flex-col items-center gap-y-[29px] bg-[#fff] py-[15px] pb-[20px] text-[14px] font-[600] tracking-[-0.7px] text-[#2B2B2B] ' +
136
+ ' max-5xl:gap-y-[13px] max-5xl:py-[13px] max-5xl:text-[13px] ' +
137
+ ' max-lg:flex-row max-lg:pb-[18px] max-lg:pt-[20px] max-lg:text-[13px] '
174
138
  }
175
139
  >
176
140
  {/*온라인 예약 버튼*/}
177
141
  <div
178
- className={'w-full flex flex-col items-center cursor-pointer'}
142
+ className={'flex w-full cursor-pointer flex-col items-center'}
179
143
  onClick={() => {
180
- callRef.current?.classList.remove(style.fadeIn)
181
- callRef.current?.classList.remove(style.fadeOut)
182
- onlineRef.current?.classList.remove(style.fadeOut)
183
- onlineRef.current?.classList.add(style.fadeIn)
144
+ callRef.current?.classList.remove(style.fadeIn);
145
+ callRef.current?.classList.remove(style.fadeOut);
146
+ onlineRef.current?.classList.remove(style.fadeOut);
147
+ onlineRef.current?.classList.add(style.fadeIn);
184
148
  }}
185
149
  >
186
150
  <Image
@@ -188,15 +152,15 @@ const Fix = (props: { tel: string }) => {
188
152
  alt={'online icon'}
189
153
  width={33}
190
154
  height={38}
191
- className={'w-[33px] h-auto 5xl:mb-[5px] max-5xl:w-[23px] lg:mb-[3px] max-lg:w-[25px] '}
155
+ className={'h-auto w-[33px] max-5xl:w-[23px] max-lg:w-[25px] lg:mb-[3px] 5xl:mb-[5px] '}
192
156
  />
193
157
  온라인예약
194
158
  </div>
195
159
  {/*카톡 예약 버튼*/}
196
160
  <Link
197
- href="http://pf.kakao.com/_xgxoTlK/chat"
161
+ href="https://pf.kakao.com/_xgxoTlK/chat"
198
162
  target={'_blank'}
199
- className={'w-full flex flex-col items-center cursor-pointer'}
163
+ className={'flex w-full cursor-pointer flex-col items-center'}
200
164
  onClick={onClickKakao}
201
165
  >
202
166
  <Image
@@ -205,19 +169,19 @@ const Fix = (props: { tel: string }) => {
205
169
  width={33}
206
170
  height={31}
207
171
  className={
208
- 'w-[33px] h-auto mb-[5px] max-5xl:w-[23px] max-5xl:mb-[3px] max-lg:w-[25px] '
172
+ 'mb-[5px] h-auto w-[33px] max-5xl:mb-[3px] max-5xl:w-[23px] max-lg:w-[25px] '
209
173
  }
210
174
  />
211
175
  카톡예약
212
176
  </Link>
213
177
  {/*전화 예약 버튼*/}
214
178
  <div
215
- className={'w-full flex flex-col items-center cursor-pointer'}
179
+ className={'flex w-full cursor-pointer flex-col items-center'}
216
180
  onClick={() => {
217
- onlineRef.current?.classList.remove(style.fadeIn)
218
- onlineRef.current?.classList.remove(style.fadeOut)
219
- callRef.current?.classList.remove(style.fadeOut)
220
- callRef.current?.classList.add(style.fadeIn)
181
+ onlineRef.current?.classList.remove(style.fadeIn);
182
+ onlineRef.current?.classList.remove(style.fadeOut);
183
+ callRef.current?.classList.remove(style.fadeOut);
184
+ callRef.current?.classList.add(style.fadeIn);
221
185
  }}
222
186
  >
223
187
  <Image
@@ -225,7 +189,7 @@ const Fix = (props: { tel: string }) => {
225
189
  alt={'call icon'}
226
190
  width={33}
227
191
  height={33}
228
- className={'w-[33px] h-auto mb-[5px] max-5xl:w-[23px] max-5xl:mb-[3px] max-lg:w-[25px]'}
192
+ className={'mb-[5px] h-auto w-[33px] max-5xl:mb-[3px] max-5xl:w-[23px] max-lg:w-[25px]'}
229
193
  />
230
194
  전화예약
231
195
  </div>
@@ -236,14 +200,14 @@ const Fix = (props: { tel: string }) => {
236
200
  <div
237
201
  ref={onlineRef}
238
202
  className={
239
- 'shadow-[0_4px_8px_0_rgba(0,0,0,0.1)] fixed bottom-[13px] right-[25px] w-[300px] h-[300px] bg-white px-[30px] py-[26px] opacity-0 pointer-events-none ' +
240
- 'max-5xl:h-[230px] max-5xl:w-[230px] max-5xl:bottom-[10px] max-5xl:px-[22px] max-5xl:py-[20px] ' +
241
- ' max-lg:w-[240px] max-lg:h-[160px] max-lg:bottom-[85px] max-lg:left-[20px] max-lg:px-[20px] max-lg:py-[17px]'
203
+ 'pointer-events-none fixed bottom-[13px] right-[25px] h-[300px] w-[300px] bg-white px-[30px] py-[26px] opacity-0 shadow-[0_4px_8px_0_rgba(0,0,0,0.1)] ' +
204
+ 'max-5xl:bottom-[10px] max-5xl:h-[230px] max-5xl:w-[230px] max-5xl:px-[22px] max-5xl:py-[20px] ' +
205
+ ' max-lg:bottom-[85px] max-lg:left-[20px] max-lg:h-[160px] max-lg:w-[240px] max-lg:px-[20px] max-lg:py-[17px]'
242
206
  }
243
207
  >
244
208
  <span
245
209
  className={
246
- 'w-full flex items-center justify-between text-[26px] font-bold tracking-[-1.3px] mb-[11px] leading-[30px] z-10 max-5xl:text-[20px] max-lg:text-[18px] max-lg:leading-[23px]'
210
+ 'z-10 mb-[11px] flex w-full items-center justify-between text-[26px] font-bold leading-[30px] tracking-[-1.3px] max-5xl:text-[20px] max-lg:text-[18px] max-lg:leading-[23px]'
247
211
  }
248
212
  >
249
213
  온라인 예약상담
@@ -253,25 +217,25 @@ const Fix = (props: { tel: string }) => {
253
217
  height={54}
254
218
  alt={'취소'}
255
219
  onClick={() => {
256
- onlineRef.current?.classList.remove(style.fadeIn)
257
- onlineRef.current?.classList.add(style.fadeOut)
220
+ onlineRef.current?.classList.remove(style.fadeIn);
221
+ onlineRef.current?.classList.add(style.fadeOut);
258
222
  }}
259
- className={'w-[20px] h-auto cursor-pointer max-5xl:w-[15px] max-lg:w-[15px]'}
223
+ className={'h-auto w-[20px] cursor-pointer max-5xl:w-[15px] max-lg:w-[15px]'}
260
224
  />
261
225
  </span>
262
226
 
263
- <span className={'text-[#5C5C5C] text-[16px] max-5xl:text-[14px] tracking-[-0.8px] max-lg:hidden'}>
227
+ <span className={'text-[16px] tracking-[-0.8px] text-[#5C5C5C] max-5xl:text-[14px] max-lg:hidden'}>
264
228
  해당사건에 특화된 전문변호사가 검토 후 신속한 대응전략을 제시합니다.
265
229
  </span>
266
230
 
267
231
  <button
268
232
  className={
269
- 'w-[240px] h-[60px] px-[20px] py-[16px] bg-[#285EA7] text-white text-[22px] font-bold flex items-center justify-between rounded-[5px] mt-[32px] mb-[4px] ' +
270
- ' max-5xl:mt-[13px] max-5xl:w-[190px] max-5xl:h-[45px] max-5xl:text-[18px] ' +
271
- ' max-lg:w-[200px] max-lg:h-[40px] max-lg:mt-[17px] max-lg:text-[16px] max-lg:py-[10px] '
233
+ 'mb-[4px] mt-[32px] flex h-[60px] w-[240px] items-center justify-between rounded-[5px] bg-[#285EA7] px-[20px] py-[16px] text-[22px] font-bold text-white ' +
234
+ ' max-5xl:mt-[13px] max-5xl:h-[45px] max-5xl:w-[190px] max-5xl:text-[18px] ' +
235
+ ' max-lg:mt-[17px] max-lg:h-[40px] max-lg:w-[200px] max-lg:py-[10px] max-lg:text-[16px] '
272
236
  }
273
237
  onClick={async () => {
274
- await router.push('/consulting')
238
+ await router.push('/consulting');
275
239
  }}
276
240
  >
277
241
  기업상담
@@ -280,17 +244,17 @@ const Fix = (props: { tel: string }) => {
280
244
  width={22}
281
245
  height={18}
282
246
  alt={'기업상담'}
283
- className={'w-[22px] h-auto max-5xl:w-[20px] max-lg:w-[17px]'}
247
+ className={'h-auto w-[22px] max-5xl:w-[20px] max-lg:w-[17px]'}
284
248
  />
285
249
  </button>
286
250
  <button
287
251
  className={
288
- 'w-[240px] h-[60px] px-[20px] py-[16px] bg-[#0A96AF] text-white text-[22px] font-bold flex items-center justify-between rounded-[5px]' +
289
- ' max-5xl:w-[190px] max-5xl:h-[45px] max-5xl:text-[18px] ' +
290
- ' max-lg:w-[200px] max-lg:h-[40px] max-lg:text-[16px] max-lg:py-[10px] '
252
+ 'flex h-[60px] w-[240px] items-center justify-between rounded-[5px] bg-[#0A96AF] px-[20px] py-[16px] text-[22px] font-bold text-white' +
253
+ ' max-5xl:h-[45px] max-5xl:w-[190px] max-5xl:text-[18px] ' +
254
+ ' max-lg:h-[40px] max-lg:w-[200px] max-lg:py-[10px] max-lg:text-[16px] '
291
255
  }
292
256
  onClick={async () => {
293
- await router.push('/consult')
257
+ await router.push('/consult');
294
258
  }}
295
259
  >
296
260
  개인상담
@@ -299,7 +263,7 @@ const Fix = (props: { tel: string }) => {
299
263
  width={22}
300
264
  height={18}
301
265
  alt={'개인상담'}
302
- className={'w-[22px] h-auto max-5xl:w-[20px] max-lg:w-[17px]'}
266
+ className={'h-auto w-[22px] max-5xl:w-[20px] max-lg:w-[17px]'}
303
267
  />
304
268
  </button>
305
269
  </div>
@@ -308,14 +272,14 @@ const Fix = (props: { tel: string }) => {
308
272
  <div
309
273
  ref={callRef}
310
274
  className={
311
- 'shadow-[0_4px_8px_0_rgba(0,0,0,0.1)] fixed bottom-[13px] right-[25px] w-[300px] h-[300px] bg-white px-[30px] py-[26px] opacity-0 pointer-events-none ' +
312
- 'max-5xl:h-[230px] max-5xl:w-[230px] max-5xl:bottom-[10px] max-5xl:px-[22px] max-5xl:py-[20px] ' +
313
- 'max-lg:w-[240px] max-lg:h-[200px] max-lg:bottom-[85px] max-lg:right-[20px] max-lg:px-[20px] max-lg:py-[17px]'
275
+ 'pointer-events-none fixed bottom-[13px] right-[25px] h-[300px] w-[300px] bg-white px-[30px] py-[26px] opacity-0 shadow-[0_4px_8px_0_rgba(0,0,0,0.1)] ' +
276
+ 'max-5xl:bottom-[10px] max-5xl:h-[230px] max-5xl:w-[230px] max-5xl:px-[22px] max-5xl:py-[20px] ' +
277
+ 'max-lg:bottom-[85px] max-lg:right-[20px] max-lg:h-[200px] max-lg:w-[240px] max-lg:px-[20px] max-lg:py-[17px]'
314
278
  }
315
279
  >
316
280
  <span
317
281
  className={
318
- 'w-full flex items-center justify-between text-[26px] font-bold tracking-[-1.3px] mb-[11px] leading-[30px] z-10 max-5xl:text-[20px] max-lg:text-[18px] max-lg:leading-[23px]'
282
+ 'z-10 mb-[11px] flex w-full items-center justify-between text-[26px] font-bold leading-[30px] tracking-[-1.3px] max-5xl:text-[20px] max-lg:text-[18px] max-lg:leading-[23px]'
319
283
  }
320
284
  >
321
285
  전화 예약상담
@@ -325,23 +289,23 @@ const Fix = (props: { tel: string }) => {
325
289
  height={54}
326
290
  alt={'취소'}
327
291
  onClick={() => {
328
- callRef.current?.classList.remove(style.fadeIn)
329
- callRef.current?.classList.add(style.fadeOut)
292
+ callRef.current?.classList.remove(style.fadeIn);
293
+ callRef.current?.classList.add(style.fadeOut);
330
294
  }}
331
- className={'w-[20px] h-auto cursor-pointer max-5xl:w-[15px] max-lg:w-[15px]'}
295
+ className={'h-auto w-[20px] cursor-pointer max-5xl:w-[15px] max-lg:w-[15px]'}
332
296
  />
333
297
  </span>
334
298
 
335
299
  <Link
336
300
  href={`tel:${props.tel}`}
337
301
  className={
338
- 'w-[240px] h-[80px] px-[20px] py-[16px] bg-[#285EA7] text-white text-[22px] font-bold flex justify-between rounded-[5px] mt-[32px] mb-[4px] items-center' +
339
- ' max-5xl:w-[190px] max-5xl:h-[60px] max-5xl:text-[18px] ' +
340
- ' max-lg:mt-[15px] max-lg:w-[200px] max-lg:h-[60px] max-lg:px-[15px] max-lg:py-[12px] '
302
+ 'mb-[4px] mt-[32px] flex h-[80px] w-[240px] items-center justify-between rounded-[5px] bg-[#285EA7] px-[20px] py-[16px] text-[22px] font-bold text-white' +
303
+ ' max-5xl:h-[60px] max-5xl:w-[190px] max-5xl:text-[18px] ' +
304
+ ' max-lg:mt-[15px] max-lg:h-[60px] max-lg:w-[200px] max-lg:px-[15px] max-lg:py-[12px] '
341
305
  }
342
306
  onClick={onClickTel}
343
307
  >
344
- <span className={'text-left leading-tight font-bold max-lg:leading-[17.5px]'}>
308
+ <span className={'text-left font-bold leading-tight max-lg:leading-[17.5px]'}>
345
309
  <span className={'text-[20px] max-lg:text-[16px]'}>기업상담</span>
346
310
  {/* <span className={'text-[22px] max-lg:text-[16px] block'}>{tel}</span> */}
347
311
  </span>
@@ -350,19 +314,19 @@ const Fix = (props: { tel: string }) => {
350
314
  width={30}
351
315
  height={30}
352
316
  alt={'기업상담'}
353
- className={'w-[30px] h-[30px]'}
317
+ className={'h-[30px] w-[30px]'}
354
318
  />
355
319
  </Link>
356
320
  <Link
357
321
  href={`tel:${props.tel}`}
358
322
  className={
359
- 'w-[240px] h-[80px] px-[20px] py-[16px] bg-[#0A96AF] text-white text-[22px] font-bold flex justify-between rounded-[5px] items-center' +
360
- ' max-5xl:w-[190px] max-5xl:h-[60px] max-5xl:text-[18px] ' +
361
- ' max-lg:w-[200px] max-lg:h-[60px] max-lg:px-[15px] max-lg:py-[12px] '
323
+ 'flex h-[80px] w-[240px] items-center justify-between rounded-[5px] bg-[#0A96AF] px-[20px] py-[16px] text-[22px] font-bold text-white' +
324
+ ' max-5xl:h-[60px] max-5xl:w-[190px] max-5xl:text-[18px] ' +
325
+ ' max-lg:h-[60px] max-lg:w-[200px] max-lg:px-[15px] max-lg:py-[12px] '
362
326
  }
363
327
  onClick={onClickTel}
364
328
  >
365
- <span className={'text-left leading-tight font-bold max-lg:leading-[17.5px]'}>
329
+ <span className={'text-left font-bold leading-tight max-lg:leading-[17.5px]'}>
366
330
  <span className={'text-[20px] max-lg:text-[16px] '}>개인상담</span>
367
331
  {/* <span className={'text-[22px] max-lg:text-[16px] block '}>{tel}</span> */}
368
332
  </span>
@@ -371,13 +335,13 @@ const Fix = (props: { tel: string }) => {
371
335
  width={30}
372
336
  height={30}
373
337
  alt={'개인상담'}
374
- className={'w-[30px] h-[30px]'}
338
+ className={'h-[30px] w-[30px]'}
375
339
  />
376
340
  </Link>
377
341
  </div>
378
342
  </div>
379
343
  </>
380
- )
381
- }
344
+ );
345
+ };
382
346
 
383
- export default Fix
347
+ export default Fix;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import 'swiper/css';
3
+ declare const TopBanner: () => import("react").JSX.Element;
4
+ export default TopBanner;