@daeryun/dr_components 1.2.13 → 1.2.15
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/components/Daeryuntalk/ChatButton.jsx +2 -2
- package/dist/components/Daeryuntalk/ChatButton.tsx +2 -2
- package/dist/components/Daeryuntalk/ChatConversation.d.ts +2 -0
- package/dist/components/Daeryuntalk/ChatConversation.jsx +23 -35
- package/dist/components/Daeryuntalk/ChatConversation.tsx +43 -51
- package/dist/components/Daeryuntalk/ChatConversationItem/ChatConversationHeader.jsx +12 -9
- package/dist/components/Daeryuntalk/ChatConversationItem/ChatConversationHeader.tsx +18 -8
- package/dist/components/Daeryuntalk/ChatHomeView.d.ts +5 -1
- package/dist/components/Daeryuntalk/ChatHomeView.jsx +5 -6
- package/dist/components/Daeryuntalk/ChatHomeView.tsx +28 -13
- package/dist/components/Daeryuntalk/ChatInput.jsx +12 -7
- package/dist/components/Daeryuntalk/ChatInput.tsx +14 -7
- package/dist/components/Daeryuntalk/ChatItem/AgeCheckBox.jsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/AgeCheckBox.tsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatFile.jsx +11 -6
- package/dist/components/Daeryuntalk/ChatItem/ChatFile.tsx +19 -5
- package/dist/components/Daeryuntalk/ChatItem/ChatLoading.jsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatLoading.tsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatPrivacyAuth.jsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatPrivacyAuth.tsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatWrapper.jsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatWrapper.tsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/RichText.jsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/RichText.tsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/TimeWrapper.jsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/TimeWrapper.tsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/TypingComp.jsx +7 -2
- package/dist/components/Daeryuntalk/ChatItem/TypingComp.tsx +7 -3
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowAuthForm.jsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowAuthForm.tsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowClickData.jsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowClickData.tsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowImg.jsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowImg.tsx +1 -0
- package/dist/components/Daeryuntalk/ChatMessage.jsx +9 -5
- package/dist/components/Daeryuntalk/ChatMessage.tsx +11 -4
- package/dist/components/Daeryuntalk/ChatObject/FieldWorkObject.jsx +8 -3
- package/dist/components/Daeryuntalk/ChatObject/FieldWorkObject.tsx +12 -3
- package/dist/components/Daeryuntalk/ChatObject/ObjectBack.jsx +7 -4
- package/dist/components/Daeryuntalk/ChatObject/ObjectBack.tsx +13 -3
- package/dist/components/Daeryuntalk/ChatObject/ObjectButton.jsx +1 -0
- package/dist/components/Daeryuntalk/ChatObject/ObjectButton.tsx +1 -0
- package/dist/components/Daeryuntalk/ChatWidget.d.ts +2 -0
- package/dist/components/Daeryuntalk/ChatWidget.jsx +50 -5
- package/dist/components/Daeryuntalk/ChatWidget.tsx +71 -5
- package/dist/components/Daeryuntalk/DateSeparator.jsx +1 -0
- package/dist/components/Daeryuntalk/DateSeparator.tsx +1 -0
- package/dist/components/Daeryuntalk/History/AuthForm.jsx +1 -0
- package/dist/components/Daeryuntalk/History/AuthForm.tsx +1 -0
- package/dist/components/Daeryuntalk/HistoryView.jsx +18 -12
- package/dist/components/Daeryuntalk/HistoryView.tsx +29 -11
- package/dist/components/Daeryuntalk/HomeView.jsx +17 -12
- package/dist/components/Daeryuntalk/HomeView.tsx +29 -12
- package/dist/components/Daeryuntalk/NavigationFooter.jsx +8 -5
- package/dist/components/Daeryuntalk/NavigationFooter.tsx +10 -4
- package/dist/components/Daeryuntalk/NoticeMessage.jsx +10 -4
- package/dist/components/Daeryuntalk/NoticeMessage.tsx +10 -4
- package/dist/components/Daeryuntalk/Tiptap/Tiptap.jsx +1 -0
- package/dist/components/Daeryuntalk/Tiptap/Tiptap.tsx +1 -0
- package/dist/components/Daeryuntalk/Toast/Toast.jsx +1 -0
- package/dist/components/Daeryuntalk/Toast/Toast.tsx +1 -0
- package/dist/components/Daeryuntalk/Viewer/MobileViewer.jsx +10 -7
- package/dist/components/Daeryuntalk/Viewer/MobileViewer.tsx +19 -6
- package/dist/components/Daeryuntalk/Viewer/TbPcViewer.jsx +22 -14
- package/dist/components/Daeryuntalk/Viewer/TbPcViewer.tsx +59 -13
- package/dist/components/Daeryuntalk/ViewportHandler.jsx +2 -0
- package/dist/components/Daeryuntalk/ViewportHandler.tsx +1 -0
- package/dist/components/Daeryuntalk/_lib/utils.d.ts +1 -1
- package/dist/components/Daeryuntalk/_lib/utils.js +1 -1
- package/dist/components/Daeryuntalk/_lib/utils.ts +1 -1
- package/dist/components/Daeryuntalk/_ui/checkboxs/CheckBox2.jsx +3 -2
- package/dist/components/Daeryuntalk/_ui/checkboxs/CheckBox2.tsx +5 -2
- package/dist/components/Daeryuntalk/index.jsx +61 -34
- package/dist/components/Daeryuntalk/index.tsx +71 -40
- package/dist/components/common/types/map/index.d.ts +1 -0
- package/dist/components/common/types/map/index.ts +4 -3
- package/dist/components/page/MapPage/MapPage.jsx +1 -1
- package/dist/components/page/MapPage/MapPage.stories.jsx +2 -1
- package/dist/components/page/MapPage/MapPage.stories.tsx +2 -1
- package/dist/components/page/MapPage/MapPage.tsx +1 -1
- package/dist/components/page/MapPage/MobileMapKeyDetail.jsx +1 -13
- package/dist/components/page/MapPage/MobileMapKeyDetail.tsx +2 -18
- package/dist/components/page/MapPage/PcMapKeyDetail.jsx +1 -13
- package/dist/components/page/MapPage/PcMapKeyDetail.tsx +2 -19
- package/dist/styles/daeryuntalk.css +4 -4
- package/dist/styles/globals.css +6 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -20,6 +20,9 @@ type DaeryuntalkProps = {
|
|
|
20
20
|
const Daeryuntalk: React.FC<DaeryuntalkProps> = ({ tel = '1800-7905', centerCode = 'CT0000', bannerHeight = 0 }) => {
|
|
21
21
|
const [isOpen, setIsOpen] = useState(false);
|
|
22
22
|
const [isMobile, setIsMobile] = useState(false);
|
|
23
|
+
const [isMobileSafari, setIsMobileSafari] = useState(false); // ios + 모바일
|
|
24
|
+
const [androidViewportHeight, setAndroidViewportHeight] = useState(0); //
|
|
25
|
+
|
|
23
26
|
const pathName = usePathname();
|
|
24
27
|
const windowSize = useWindowSize();
|
|
25
28
|
const isMobileSize = windowSize.width <= 480;
|
|
@@ -33,6 +36,14 @@ const Daeryuntalk: React.FC<DaeryuntalkProps> = ({ tel = '1800-7905', centerCode
|
|
|
33
36
|
const [animationState, setAnimationState] = useState('hidden'); // 'hidden', 'entering', 'visible', 'exiting'
|
|
34
37
|
const [currentCenterCode, setCurrentCenterCode] = useState<string | null>(null);
|
|
35
38
|
|
|
39
|
+
const detectIsMobileSafari = () => {
|
|
40
|
+
if (typeof window === 'undefined') return false;
|
|
41
|
+
const ua = window.navigator.userAgent;
|
|
42
|
+
const isIOS = /iPhone|iPad|iPod/i.test(ua);
|
|
43
|
+
const isSafari = /Safari/i.test(ua) && !/Chrome/i.test(ua);
|
|
44
|
+
return isIOS && isSafari;
|
|
45
|
+
};
|
|
46
|
+
|
|
36
47
|
// 모달 열기 함수
|
|
37
48
|
const openModal = () => {
|
|
38
49
|
setAnimationState('entering');
|
|
@@ -58,6 +69,62 @@ const Daeryuntalk: React.FC<DaeryuntalkProps> = ({ tel = '1800-7905', centerCode
|
|
|
58
69
|
openModal();
|
|
59
70
|
}
|
|
60
71
|
};
|
|
72
|
+
|
|
73
|
+
useEffect(() => {
|
|
74
|
+
if (!isMobile) {
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
if (isMobileSafari) {
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
const compute = () => {
|
|
81
|
+
const vh = window.visualViewport?.height || window.innerHeight;
|
|
82
|
+
setAndroidViewportHeight(vh);
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
compute();
|
|
86
|
+
|
|
87
|
+
window.addEventListener('resize', compute);
|
|
88
|
+
window.visualViewport?.addEventListener('resize', compute);
|
|
89
|
+
|
|
90
|
+
return () => {
|
|
91
|
+
window.removeEventListener('resize', compute);
|
|
92
|
+
window.visualViewport?.removeEventListener('resize', compute);
|
|
93
|
+
};
|
|
94
|
+
}, [isMobile, isMobileSafari]);
|
|
95
|
+
|
|
96
|
+
useEffect(() => {
|
|
97
|
+
setIsMobileSafari(detectIsMobileSafari());
|
|
98
|
+
}, []);
|
|
99
|
+
|
|
100
|
+
useEffect(() => {
|
|
101
|
+
if (!((isMobileSize || isMobile) && isOpen)) return;
|
|
102
|
+
|
|
103
|
+
const { body, documentElement } = document;
|
|
104
|
+
|
|
105
|
+
// 현재 스크롤 위치 저장
|
|
106
|
+
const scrollY = window.scrollY || documentElement.scrollTop || body.scrollTop || 0;
|
|
107
|
+
|
|
108
|
+
// 스크롤 완전 고정
|
|
109
|
+
body.style.position = 'fixed';
|
|
110
|
+
body.style.top = `-${scrollY}px`;
|
|
111
|
+
body.style.width = '100%';
|
|
112
|
+
body.style.left = '0';
|
|
113
|
+
body.style.right = '0';
|
|
114
|
+
body.style.overflow = 'hidden';
|
|
115
|
+
|
|
116
|
+
return () => {
|
|
117
|
+
body.style.position = '';
|
|
118
|
+
body.style.top = '';
|
|
119
|
+
body.style.width = '';
|
|
120
|
+
body.style.left = '';
|
|
121
|
+
body.style.right = '';
|
|
122
|
+
body.style.overflow = '';
|
|
123
|
+
|
|
124
|
+
window.scrollTo(0, scrollY);
|
|
125
|
+
};
|
|
126
|
+
}, [isMobile, isMobileSize, isOpen]);
|
|
127
|
+
|
|
61
128
|
useEffect(() => {
|
|
62
129
|
if (typeof window !== 'undefined') {
|
|
63
130
|
setIsMobile(mobile());
|
|
@@ -100,54 +167,16 @@ const Daeryuntalk: React.FC<DaeryuntalkProps> = ({ tel = '1800-7905', centerCode
|
|
|
100
167
|
}, [pathName]);
|
|
101
168
|
|
|
102
169
|
useEffect(() => {
|
|
103
|
-
if (isOpen && isMobile) {
|
|
170
|
+
if (isOpen && (isMobile || isMobileSize)) {
|
|
104
171
|
document.body.style.overflow = 'hidden';
|
|
105
172
|
} else {
|
|
106
173
|
document.body.style.overflow = '';
|
|
107
174
|
}
|
|
108
|
-
|
|
109
175
|
// 컴포넌트가 unmount 될 때도 원복
|
|
110
176
|
return () => {
|
|
111
177
|
document.body.style.overflow = '';
|
|
112
178
|
};
|
|
113
|
-
}, [isOpen, isMobile]);
|
|
114
|
-
|
|
115
|
-
useEffect(() => {
|
|
116
|
-
if (!((isMobileSize || isMobile) && isOpen)) return;
|
|
117
|
-
|
|
118
|
-
const { body, documentElement } = document;
|
|
119
|
-
|
|
120
|
-
// 현재 스크롤 위치 저장
|
|
121
|
-
const scrollY = window.scrollY || documentElement.scrollTop || body.scrollTop || 0;
|
|
122
|
-
|
|
123
|
-
// 스크롤 잠금 (iOS 대응: position: fixed + top 보정)
|
|
124
|
-
body.style.position = 'fixed';
|
|
125
|
-
body.style.top = `-${scrollY}px`;
|
|
126
|
-
body.style.left = '0';
|
|
127
|
-
body.style.right = '0';
|
|
128
|
-
body.style.width = '100%';
|
|
129
|
-
body.style.overflow = 'hidden'; // 안드/데스크탑용
|
|
130
|
-
// 불필요한 끌어내리기 방지
|
|
131
|
-
documentElement.style.overscrollBehavior = 'none'; // 모바일 브라우저 안전
|
|
132
|
-
|
|
133
|
-
// (선택) 스크롤바 보정: 데스크탑에서 레이아웃 점프 방지
|
|
134
|
-
// const scrollBarW = window.innerWidth - documentElement.clientWidth;
|
|
135
|
-
// if (scrollBarW > 0) body.style.paddingRight = `${scrollBarW}px`;
|
|
136
|
-
|
|
137
|
-
return () => {
|
|
138
|
-
// 해제 + 스크롤 복원
|
|
139
|
-
body.style.position = '';
|
|
140
|
-
body.style.top = '';
|
|
141
|
-
body.style.left = '';
|
|
142
|
-
body.style.right = '';
|
|
143
|
-
body.style.width = '';
|
|
144
|
-
body.style.overflow = '';
|
|
145
|
-
// body.style.paddingRight = '';
|
|
146
|
-
documentElement.style.overscrollBehavior = '';
|
|
147
|
-
|
|
148
|
-
window.scrollTo(0, scrollY);
|
|
149
|
-
};
|
|
150
|
-
}, [isMobile, isOpen]);
|
|
179
|
+
}, [isOpen, isMobile, isMobileSize]);
|
|
151
180
|
|
|
152
181
|
useEffect(() => {
|
|
153
182
|
if (!(isMobile && isOpen)) {
|
|
@@ -215,6 +244,8 @@ const Daeryuntalk: React.FC<DaeryuntalkProps> = ({ tel = '1800-7905', centerCode
|
|
|
215
244
|
hashValue={hashValue}
|
|
216
245
|
setHashValue={setHashValue}
|
|
217
246
|
animationState={animationState}
|
|
247
|
+
isMobileSafari={isMobileSafari}
|
|
248
|
+
androidViewportHeight={androidViewportHeight}
|
|
218
249
|
/>
|
|
219
250
|
</DaeryuntalkProvider>
|
|
220
251
|
</DaeryuntalkToastProvider>
|
|
@@ -22,6 +22,7 @@ export interface IMap {
|
|
|
22
22
|
domain: string | null;
|
|
23
23
|
modified_br_name: string | null;
|
|
24
24
|
br_code?: string | null;
|
|
25
|
+
youtube_link: string | null;
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
export interface IOfficeListTypes {
|
|
@@ -34,7 +35,7 @@ export interface IOfficeListTypes {
|
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
export interface IMapAlt {
|
|
37
|
-
office_code: string
|
|
38
|
-
keyword: string
|
|
39
|
-
key: string
|
|
38
|
+
office_code: string;
|
|
39
|
+
keyword: string;
|
|
40
|
+
key: string;
|
|
40
41
|
}
|
|
@@ -127,7 +127,7 @@ const MapPage = ({ officeList, mapInfo, noScroll = false }) => {
|
|
|
127
127
|
<p className={'pb-3 text-[26px] font-[800] text-[#0D2B52] lg:text-[32px]'}>
|
|
128
128
|
전 세계 사무소 안내
|
|
129
129
|
</p>
|
|
130
|
-
<ul className={'grid grid-cols-6 gap-2 border-b-[1px] border-t-[1px] border-solid border-[#285FA7] py-10 max-xl:grid-cols-5 max-lg:grid-cols-3 md:py-5 lg:py-9'}>
|
|
130
|
+
<ul className={'grid grid-cols-6 gap-2 border-b-[1px] border-t-[1px] border-solid border-[#285FA7] py-10 max-xl:grid-cols-5 max-[1100px]:grid-cols-4 max-lg:grid-cols-3 md:py-5 lg:py-9'}>
|
|
131
131
|
<Link href="/map" aria-label={'전체 선택됨.'} ref={listSelectRef}>
|
|
132
132
|
<li>
|
|
133
133
|
<div className={`${selectRegion === '전체' ? 'bg-[#285FA7] text-[#fff]' : 'text-[#707070]'} flex h-[55px] items-center justify-center border-[1px] border-solid border-[#285FA7] text-center text-[16px] lg:h-[70px] lg:text-[18px]`} onClick={() => setSelectRegion('전체')}>
|
|
@@ -79,5 +79,6 @@ const mapInfo = {
|
|
|
79
79
|
tel: '02-523-1128',
|
|
80
80
|
thumbnail_img: '',
|
|
81
81
|
title: '주사무소(강남법무법인)',
|
|
82
|
-
worktime: '평일) 08:00 - 19:00 | 토요일·공휴일) 10:00 - 17:00 | *전화상담 24시간 대응 가능'
|
|
82
|
+
worktime: '평일) 08:00 - 19:00 | 토요일·공휴일) 10:00 - 17:00 | *전화상담 24시간 대응 가능',
|
|
83
|
+
youtube_link: 'https://www.youtube.com/watch?v=-SFtCrNAcUw'
|
|
83
84
|
};
|
|
@@ -94,5 +94,6 @@ const mapInfo: IMap = {
|
|
|
94
94
|
tel: '02-523-1128',
|
|
95
95
|
thumbnail_img: '',
|
|
96
96
|
title: '주사무소(강남법무법인)',
|
|
97
|
-
worktime: '평일) 08:00 - 19:00 | 토요일·공휴일) 10:00 - 17:00 | *전화상담 24시간 대응 가능'
|
|
97
|
+
worktime: '평일) 08:00 - 19:00 | 토요일·공휴일) 10:00 - 17:00 | *전화상담 24시간 대응 가능',
|
|
98
|
+
youtube_link: 'https://www.youtube.com/watch?v=-SFtCrNAcUw'
|
|
98
99
|
};
|
|
@@ -165,7 +165,7 @@ const MapPage = ({
|
|
|
165
165
|
</p>
|
|
166
166
|
<ul
|
|
167
167
|
className={
|
|
168
|
-
'grid grid-cols-6 gap-2 border-b-[1px] border-t-[1px] border-solid border-[#285FA7] py-10 max-xl:grid-cols-5 max-lg:grid-cols-3 md:py-5 lg:py-9'
|
|
168
|
+
'grid grid-cols-6 gap-2 border-b-[1px] border-t-[1px] border-solid border-[#285FA7] py-10 max-xl:grid-cols-5 max-[1100px]:grid-cols-4 max-lg:grid-cols-3 md:py-5 lg:py-9'
|
|
169
169
|
}
|
|
170
170
|
>
|
|
171
171
|
<Link href="/map" aria-label={'전체 선택됨.'} ref={listSelectRef}>
|
|
@@ -38,19 +38,7 @@ const MobileMapKeyDetail = ({ h1Title, mapInfo, setShowModal, mapPath, mapShare,
|
|
|
38
38
|
<div className="flex w-[80%] flex-col">
|
|
39
39
|
<h3>{mapInfo.address}</h3>
|
|
40
40
|
<div className="mt-3 flex items-center justify-end gap-3">
|
|
41
|
-
{
|
|
42
|
-
mapInfo.key === 'myeongji' ||
|
|
43
|
-
mapInfo.key === 'busan2' ||
|
|
44
|
-
mapInfo.key === 'seoul' ||
|
|
45
|
-
mapInfo.key === 'samseong') && (<Link href={mapInfo.key === 'busan1'
|
|
46
|
-
? 'https://www.youtube.com/watch?v=1yM4BNkfCrc'
|
|
47
|
-
: mapInfo.key === 'myeongji'
|
|
48
|
-
? 'https://www.youtube.com/watch?v=YMBvh1KOFEA'
|
|
49
|
-
: mapInfo.key === 'busan2'
|
|
50
|
-
? 'https://www.youtube.com/watch?v=gSH3WQICRlY'
|
|
51
|
-
: mapInfo.key === 'seoul'
|
|
52
|
-
? 'https://www.youtube.com/watch?v=X1051Tj2_y0'
|
|
53
|
-
: 'https://www.youtube.com/watch?v=VTHk1szv9Yc'}>
|
|
41
|
+
{mapInfo.youtube_link && (<Link href={mapInfo.youtube_link}>
|
|
54
42
|
<div className="mt-0 h-[35px] rounded-[24px] border-[1px] border-solid border-[#0D2B52] pl-3 pr-3">
|
|
55
43
|
<Image src={imgYoutube} alt="사무소 오시는길 유튜브" width={70} height={15} className="m-auto mt-[7.4px]"/>
|
|
56
44
|
</div>
|
|
@@ -62,24 +62,8 @@ const MobileMapKeyDetail = ({
|
|
|
62
62
|
<div className="flex w-[80%] flex-col">
|
|
63
63
|
<h3>{mapInfo.address}</h3>
|
|
64
64
|
<div className="mt-3 flex items-center justify-end gap-3">
|
|
65
|
-
{
|
|
66
|
-
mapInfo.
|
|
67
|
-
mapInfo.key === 'busan2' ||
|
|
68
|
-
mapInfo.key === 'seoul' ||
|
|
69
|
-
mapInfo.key === 'samseong') && (
|
|
70
|
-
<Link
|
|
71
|
-
href={
|
|
72
|
-
mapInfo.key === 'busan1'
|
|
73
|
-
? 'https://www.youtube.com/watch?v=1yM4BNkfCrc'
|
|
74
|
-
: mapInfo.key === 'myeongji'
|
|
75
|
-
? 'https://www.youtube.com/watch?v=YMBvh1KOFEA'
|
|
76
|
-
: mapInfo.key === 'busan2'
|
|
77
|
-
? 'https://www.youtube.com/watch?v=gSH3WQICRlY'
|
|
78
|
-
: mapInfo.key === 'seoul'
|
|
79
|
-
? 'https://www.youtube.com/watch?v=X1051Tj2_y0'
|
|
80
|
-
: 'https://www.youtube.com/watch?v=VTHk1szv9Yc'
|
|
81
|
-
}
|
|
82
|
-
>
|
|
65
|
+
{mapInfo.youtube_link && (
|
|
66
|
+
<Link href={mapInfo.youtube_link}>
|
|
83
67
|
<div className="mt-0 h-[35px] rounded-[24px] border-[1px] border-solid border-[#0D2B52] pl-3 pr-3">
|
|
84
68
|
<Image
|
|
85
69
|
src={imgYoutube}
|
|
@@ -39,19 +39,7 @@ const PcMapKeyDetail = ({ h1Title, mapInfo, setShowModal, mapPath, mapShare, tar
|
|
|
39
39
|
{mapInfo.address.replace('법무법인(유한)대륜', '').replace('법무법인(유한) 대륜', '')}
|
|
40
40
|
</h3>
|
|
41
41
|
<div className="mt-3 flex items-center justify-end gap-3">
|
|
42
|
-
{
|
|
43
|
-
mapInfo.key === 'busan1' ||
|
|
44
|
-
mapInfo.key === 'myeongji' ||
|
|
45
|
-
mapInfo.key === 'busan2' ||
|
|
46
|
-
mapInfo.key === 'samseong') && (<Link href={mapInfo.key === 'seoul'
|
|
47
|
-
? 'https://www.youtube.com/watch?v=X1051Tj2_y0'
|
|
48
|
-
: mapInfo.key === 'busan1'
|
|
49
|
-
? 'https://www.youtube.com/watch?v=1yM4BNkfCrc'
|
|
50
|
-
: mapInfo.key === 'myeongji'
|
|
51
|
-
? 'https://www.youtube.com/watch?v=YMBvh1KOFEA'
|
|
52
|
-
: mapInfo.key === 'busan2'
|
|
53
|
-
? 'https://www.youtube.com/watch?v=gSH3WQICRlY'
|
|
54
|
-
: 'https://www.youtube.com/watch?v=VTHk1szv9Yc'} target="_blank">
|
|
42
|
+
{mapInfo.youtube_link && (<Link href={mapInfo.youtube_link} target="_blank">
|
|
55
43
|
<div className="h-[35px] rounded-[24px] border-[1px] border-solid border-[#0D2B52] pl-3 pr-3">
|
|
56
44
|
<Image src={imgYoutube} alt="사무소 오시는길 유튜브" width={70} height={15} className="m-auto mt-[8.5px]"/>
|
|
57
45
|
</div>
|
|
@@ -62,25 +62,8 @@ const PcMapKeyDetail = ({
|
|
|
62
62
|
{mapInfo.address.replace('법무법인(유한)대륜', '').replace('법무법인(유한) 대륜', '')}
|
|
63
63
|
</h3>
|
|
64
64
|
<div className="mt-3 flex items-center justify-end gap-3">
|
|
65
|
-
{
|
|
66
|
-
mapInfo.
|
|
67
|
-
mapInfo.key === 'myeongji' ||
|
|
68
|
-
mapInfo.key === 'busan2' ||
|
|
69
|
-
mapInfo.key === 'samseong') && (
|
|
70
|
-
<Link
|
|
71
|
-
href={
|
|
72
|
-
mapInfo.key === 'seoul'
|
|
73
|
-
? 'https://www.youtube.com/watch?v=X1051Tj2_y0'
|
|
74
|
-
: mapInfo.key === 'busan1'
|
|
75
|
-
? 'https://www.youtube.com/watch?v=1yM4BNkfCrc'
|
|
76
|
-
: mapInfo.key === 'myeongji'
|
|
77
|
-
? 'https://www.youtube.com/watch?v=YMBvh1KOFEA'
|
|
78
|
-
: mapInfo.key === 'busan2'
|
|
79
|
-
? 'https://www.youtube.com/watch?v=gSH3WQICRlY'
|
|
80
|
-
: 'https://www.youtube.com/watch?v=VTHk1szv9Yc'
|
|
81
|
-
}
|
|
82
|
-
target="_blank"
|
|
83
|
-
>
|
|
65
|
+
{mapInfo.youtube_link && (
|
|
66
|
+
<Link href={mapInfo.youtube_link} target="_blank">
|
|
84
67
|
<div className="h-[35px] rounded-[24px] border-[1px] border-solid border-[#0D2B52] pl-3 pr-3">
|
|
85
68
|
<Image
|
|
86
69
|
src={imgYoutube}
|
|
@@ -55,15 +55,15 @@
|
|
|
55
55
|
/* ios 확대 방지용 */
|
|
56
56
|
html.ios .daeryuntalk-wrapper .ProseMirror,
|
|
57
57
|
html.ios .daeryuntalk-wrapper [contenteditable="true"] {
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
font-size: 16px !important; /* ✅ 핵심: 자동 확대 방지 */
|
|
59
|
+
line-height: 22px;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
html.ios .daeryuntalk-wrapper input,
|
|
63
63
|
html.ios .daeryuntalk-wrapper textarea,
|
|
64
64
|
html.ios .daeryuntalk-wrapper select {
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
font-size: 16px !important; /* ✅ 일반 입력들도 방지 */
|
|
66
|
+
line-height: 22px;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
@layer components {
|
package/dist/styles/globals.css
CHANGED
|
@@ -2981,10 +2981,6 @@ html {
|
|
|
2981
2981
|
height: auto;
|
|
2982
2982
|
}
|
|
2983
2983
|
|
|
2984
|
-
.h-\[calc\(100\%\)\] {
|
|
2985
|
-
height: calc(100%);
|
|
2986
|
-
}
|
|
2987
|
-
|
|
2988
2984
|
.h-\[calc\(100\%\+60px\)\] {
|
|
2989
2985
|
height: calc(100% + 60px);
|
|
2990
2986
|
}
|
|
@@ -13860,6 +13856,12 @@ body {
|
|
|
13860
13856
|
}
|
|
13861
13857
|
}
|
|
13862
13858
|
|
|
13859
|
+
@media (max-width: 1100px) {
|
|
13860
|
+
.max-\[1100px\]\:grid-cols-4 {
|
|
13861
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
13862
|
+
}
|
|
13863
|
+
}
|
|
13864
|
+
|
|
13863
13865
|
@media not all and (min-width: 1024px) {
|
|
13864
13866
|
.max-lg\:absolute {
|
|
13865
13867
|
position: absolute;
|