@daeryun/dr_components 0.1.7 → 0.1.9
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/README.md +2 -2
- package/dist/components/Fix/index.jsx +42 -75
- package/dist/components/Fix/index.tsx +111 -147
- package/dist/components/index.js +2 -1
- package/dist/components/index.ts +2 -1
- package/dist/styles/globals.css +4 -224
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/components/SearchBar/SearchBar.d.ts +0 -14
- package/dist/components/SearchBar/SearchBar.jsx +0 -73
- package/dist/components/SearchBar/SearchBar.tsx +0 -139
|
@@ -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
|
-
|
|
21
|
-
const
|
|
22
|
-
const
|
|
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
|
|
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
|
-
|
|
35
|
-
mKakaoClick()
|
|
31
|
+
mKakaoClick();
|
|
36
32
|
} else {
|
|
37
|
-
|
|
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
|
-
|
|
46
|
-
mTelClick()
|
|
40
|
+
mTelClick();
|
|
47
41
|
} else {
|
|
48
|
-
|
|
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:
|
|
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
|
|
158
|
-
'max-5xl:
|
|
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
|
-
'
|
|
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
|
|
172
|
-
' max-5xl:gap-y-[13px] max-5xl:
|
|
173
|
-
' max-lg:flex-row max-lg:
|
|
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
|
|
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]
|
|
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="
|
|
161
|
+
href="https://pf.kakao.com/_xgxoTlK/chat"
|
|
198
162
|
target={'_blank'}
|
|
199
|
-
className={'w-full
|
|
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
|
-
'
|
|
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
|
|
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={'
|
|
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
|
-
'
|
|
240
|
-
'max-5xl:
|
|
241
|
-
' max-lg:
|
|
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
|
|
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]
|
|
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-[
|
|
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
|
-
'
|
|
270
|
-
' max-5xl:mt-[13px] max-5xl:
|
|
271
|
-
' max-lg:
|
|
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]
|
|
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
|
-
'
|
|
289
|
-
' max-5xl:
|
|
290
|
-
' max-lg:
|
|
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]
|
|
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
|
-
'
|
|
312
|
-
'max-5xl:
|
|
313
|
-
'max-lg:
|
|
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
|
|
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]
|
|
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
|
-
'
|
|
339
|
-
' max-5xl:
|
|
340
|
-
' max-lg:mt-[15px] max-lg:
|
|
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
|
|
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={'
|
|
317
|
+
className={'h-[30px] w-[30px]'}
|
|
354
318
|
/>
|
|
355
319
|
</Link>
|
|
356
320
|
<Link
|
|
357
321
|
href={`tel:${props.tel}`}
|
|
358
322
|
className={
|
|
359
|
-
'
|
|
360
|
-
' max-5xl:
|
|
361
|
-
' max-lg:
|
|
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
|
|
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={'
|
|
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;
|
package/dist/components/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// import '../styles/globals.css'
|
|
2
2
|
// export { default as Top } from './Top'
|
|
3
|
-
|
|
3
|
+
export { default as Cat } from './Cat';
|
|
4
4
|
// export { default as FooterKeywd } from './FooterKeywd'
|
|
5
5
|
export { default as Footer } from './Footer';
|
|
6
|
+
export { default as Fix } from './Fix';
|
|
6
7
|
// export { default as CategoryView } from './CategoryView'
|
package/dist/components/index.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// import '../styles/globals.css'
|
|
2
2
|
// export { default as Top } from './Top'
|
|
3
|
-
|
|
3
|
+
export { default as Cat } from './Cat';
|
|
4
4
|
// export { default as FooterKeywd } from './FooterKeywd'
|
|
5
5
|
export { default as Footer } from './Footer';
|
|
6
|
+
export { default as Fix } from './Fix';
|
|
6
7
|
// export { default as CategoryView } from './CategoryView'
|