@daeryun/dr_components 1.0.30 → 1.0.31

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 (41) hide show
  1. package/dist/asset/images/strength_new/logo.svg +37 -0
  2. package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
  3. package/dist/components/common/types/strength_new/index.d.ts +48 -6
  4. package/dist/components/common/types/strength_new/index.ts +51 -6
  5. package/dist/components/page/StrengthNew/StrengthCustomer.d.ts +8 -0
  6. package/dist/components/page/StrengthNew/StrengthCustomer.jsx +15 -0
  7. package/dist/components/page/StrengthNew/StrengthCustomer.tsx +36 -0
  8. package/dist/components/page/StrengthNew/StrengthInfra.d.ts +8 -0
  9. package/dist/components/page/StrengthNew/StrengthInfra.jsx +13 -0
  10. package/dist/components/page/StrengthNew/StrengthInfra.tsx +34 -0
  11. package/dist/components/page/StrengthNew/StrengthPeople.jsx +1 -1
  12. package/dist/components/page/StrengthNew/StrengthPeople.tsx +3 -3
  13. package/dist/components/page/StrengthNew/StrengthSystem.jsx +1 -1
  14. package/dist/components/page/StrengthNew/StrengthSystem.tsx +3 -3
  15. package/dist/components/page/StrengthNew/components/common/BannerSection.jsx +38 -37
  16. package/dist/components/page/StrengthNew/components/common/BannerSection.tsx +41 -41
  17. package/dist/components/page/StrengthNew/components/common/ItemNumber.d.ts +6 -0
  18. package/dist/components/page/StrengthNew/components/common/ItemNumber.jsx +12 -0
  19. package/dist/components/page/StrengthNew/components/common/ItemNumber.tsx +19 -0
  20. package/dist/components/page/StrengthNew/components/common/LawyerSection.jsx +35 -32
  21. package/dist/components/page/StrengthNew/components/common/LawyerSection.tsx +70 -52
  22. package/dist/components/page/StrengthNew/components/common/ViewMoreSection.jsx +26 -19
  23. package/dist/components/page/StrengthNew/components/common/ViewMoreSection.tsx +43 -27
  24. package/dist/components/page/StrengthNew/components/customer/CustomerSection.d.ts +14 -0
  25. package/dist/components/page/StrengthNew/components/customer/CustomerSection.jsx +237 -0
  26. package/dist/components/page/StrengthNew/components/customer/CustomerSection.tsx +489 -0
  27. package/dist/components/page/StrengthNew/components/customer/DaeryunSection.d.ts +9 -0
  28. package/dist/components/page/StrengthNew/components/customer/DaeryunSection.jsx +85 -0
  29. package/dist/components/page/StrengthNew/components/customer/DaeryunSection.tsx +203 -0
  30. package/dist/components/page/StrengthNew/components/infra/InfraSection.d.ts +16 -0
  31. package/dist/components/page/StrengthNew/components/infra/InfraSection.jsx +254 -0
  32. package/dist/components/page/StrengthNew/components/infra/InfraSection.tsx +522 -0
  33. package/dist/components/page/StrengthNew/components/main/IntroSection.jsx +19 -11
  34. package/dist/components/page/StrengthNew/components/main/IntroSection.tsx +31 -11
  35. package/dist/components/page/StrengthNew/components/people/PeopleSection.jsx +81 -67
  36. package/dist/components/page/StrengthNew/components/people/PeopleSection.tsx +117 -80
  37. package/dist/components/page/StrengthNew/components/system/SystemSection.jsx +127 -99
  38. package/dist/components/page/StrengthNew/components/system/SystemSection.tsx +182 -108
  39. package/dist/styles/globals.css +1023 -186
  40. package/dist/tsconfig.tsbuildinfo +1 -1
  41. package/package.json +1 -1
@@ -0,0 +1,237 @@
1
+ import Image from 'next/image';
2
+ import React, { useEffect, useState } from 'react';
3
+ import ItemNumber from '../common/ItemNumber';
4
+ import useBrowser from '../../../../hook/useBrowser';
5
+ import { replaceInitialData } from '../../../../../lib';
6
+ const CustomerSection = ({ customer_list, initialData }) => {
7
+ return (<section className={'w-full border-b border-solid border-[#0A422C] tracking-[-0.04em] '}>
8
+ {customer_list.map((item, index) => {
9
+ const Component = index % 2 === 0 ? RightTextItem : LeftTextItem;
10
+ return <Component item={item} key={index} index={index} initialData={initialData}/>;
11
+ })}
12
+ </section>);
13
+ };
14
+ export default CustomerSection;
15
+ const RightTextItem = ({ item, index, initialData }) => {
16
+ var _a;
17
+ const imagePath = process.env.NEXT_PUBLIC_S3_URL + '';
18
+ const { width } = useBrowser(true);
19
+ const [padding, setPadding] = useState(0);
20
+ const handleSetPadding = () => {
21
+ if (typeof window != 'undefined') {
22
+ const widthBrowser = width != 0 ? width : window.innerWidth;
23
+ if (widthBrowser > 2119) {
24
+ setPadding((widthBrowser - 1920 + 80) / 2);
25
+ }
26
+ else if (widthBrowser < 2120 && widthBrowser > 1919) {
27
+ setPadding((widthBrowser - 1920 + 280) / 2);
28
+ }
29
+ }
30
+ };
31
+ useEffect(() => {
32
+ handleSetPadding();
33
+ }, [width]);
34
+ return (<div className={'w-full pl-[calc((100%-1920px+80px)/2)] ' +
35
+ 'max-[2120px]:pl-[calc((100%-1920px+280px)/2)] ' +
36
+ 'max-full:pl-[140px] ' +
37
+ 'max-3xl:pl-20 ' +
38
+ 'max-lg:pl-[60px] ' +
39
+ 'max-sm:pl-5 ' +
40
+ (index != 0 ? 'mt-[-100px] max-3xl:mt-[-80px] max-xl:mt-[-50px] max-sm:mt-[-20px]' : '')}>
41
+ <div className={'relative h-full w-full '}>
42
+ {/*원*/}
43
+ <div className={'absolute left-0 top-0 h-[400px] w-[400px] overflow-hidden rounded-full border border-solid border-[#0A422C] ' +
44
+ 'max-3xl:h-[300px] max-3xl:w-[300px] ' +
45
+ 'max-xl:h-[200px] max-xl:w-[200px] ' +
46
+ 'max-sm:h-[180px] max-sm:w-[180px]'}>
47
+ {/*이미지*/}
48
+ <span className={'absolute bottom-0 right-0 block h-[299px] w-[279px] overflow-hidden ' +
49
+ 'max-3xl:h-[219px] max-3xl:w-[199px] max-3xl:rounded-tl-[100px] ' +
50
+ 'max-xl:h-[149px] max-xl:w-[139px] max-xl:rounded-tl-[50px] ' +
51
+ 'max-sm:h-[159px] max-sm:w-[159px] max-sm:rounded-tl-[100px]'}>
52
+ <Image src={imagePath + `/strength_new/customer_${index + 1}.webp`} alt={'강점'} fill sizes="(max-width: 640px) 160px, (max-width: 1280px) 139px, 279px" className={'object-contain object-left max-3xl:scale-110 max-lg:hidden'} quality={100}/>
53
+ <Image src={imagePath + `/strength_new/customer_tab_${index + 1}.webp`} alt={'강점'} fill sizes="(max-width: 640px) 160px, (max-width: 1280px) 139px, 279px" className={'object-contain object-left max-sm:hidden lg:hidden'} quality={100}/>
54
+ <Image src={imagePath + `/strength_new/customer_mo_${index + 1}.webp`} alt={'강점'} fill sizes="(max-width: 640px) 160px, (max-width: 1280px) 139px, 279px" className={'object-contain object-left sm:hidden'} quality={100}/>
55
+ </span>
56
+ </div>
57
+
58
+ {/*내용 박스 > 원 위에*/}
59
+ <div className={'relative w-full pl-[120px] pt-[100px] ' +
60
+ 'max-3xl:pl-[100px] max-3xl:pt-20 ' +
61
+ 'max-xl:pl-[60px] max-xl:pt-[50px] ' +
62
+ 'max-sm:pl-5 max-sm:pt-5'}>
63
+ {/*보더*/}
64
+ <div className={'relative w-full rounded-tl-[100px] border-l border-t border-solid border-l-[#0A422C] border-t-[#0A422C] pb-[60px] pl-[280px] ' +
65
+ 'max-3xl:pb-[80px] max-3xl:pl-[200px] ' +
66
+ 'max-xl:rounded-tl-[50px] max-xl:pb-[50px] max-xl:pl-[140px] ' +
67
+ 'max-md:pl-10 max-md:pt-[140px] ' +
68
+ 'max-sm:rounded-tl-[100px] max-sm:pb-5 max-sm:pl-5 max-sm:pt-[160px] '}>
69
+ {/*글자 내용*/}
70
+ <div style={width > 1919 ? { paddingRight: padding + 120 } : {}} className={'relative flex min-h-[360px] w-full flex-col gap-10 pb-[100px] pl-[120px] pt-[60px] max-full:pr-[260px] ' +
71
+ 'max-5xl:pl-[100px] ' +
72
+ 'max-3xl:pl-20 max-3xl:pr-[180px] ' +
73
+ 'max-xl:min-h-[228px] max-xl:gap-5 max-xl:p-10 max-xl:pr-[140px] ' +
74
+ 'max-lg:pr-[120px] ' +
75
+ 'max-md:gap-[30px] ' +
76
+ 'max-sm:pb-10 max-sm:pl-0 max-sm:pr-10 max-sm:pt-5 '}>
77
+ <h2 className={'whitespace-pre-wrap text-[36px] font-[800] leading-[1.3] ' +
78
+ 'max-5xl:text-[34px] ' +
79
+ 'max-3xl:text-[32px] ' +
80
+ 'max-xl:text-[24px] ' +
81
+ 'max-md:text-right '} dangerouslySetInnerHTML={{
82
+ __html: replaceInitialData(item.title.replace('(*consult_date*)', `<span class='text-[20px] font-medium'>(*consult_date*)</span>`), initialData)
83
+ }}></h2>
84
+
85
+ <p className={'relative z-10 text-[24px] font-[400] leading-[1.4] ' +
86
+ 'max-5xl:text-[22px] ' +
87
+ 'max-3xl:text-[20px] ' +
88
+ 'max-xl:text-[16px]'}>
89
+ <span className={'relative z-20 whitespace-pre-wrap'} dangerouslySetInnerHTML={{ __html: replaceInitialData(item.desc, initialData) }}></span>
90
+ {/*회색 숫자 768부터 노출*/}
91
+ <ItemNumber index={index} className={'right-0 top-[-115px] max-md:top-[-169px] max-sm:top-[-161px] md:hidden '}/>
92
+ </p>
93
+
94
+ <div className={'relative flex flex-col gap-10 border-t border-solid border-[#F6F6F6] pt-10 ' +
95
+ 'max-xl:gap-5 max-xl:pt-5 ' +
96
+ 'max-md:gap-[30px] max-md:pt-[30px]'}>
97
+ {/*회색 숫자 768이상 노출*/}
98
+ <ItemNumber index={index} className={'right-0 top-[-191px] max-3xl:top-[-146px] max-xl:top-[-127px] max-md:hidden'}/>
99
+
100
+ {(_a = item.list) === null || _a === void 0 ? void 0 : _a.map((li, li_index) => {
101
+ return (<li className={'flex gap-5 max-[850px]:flex-col max-[850px]:gap-[6px]'} key={li_index}>
102
+ <span className={'flex gap-[10px] max-sm:gap-2'}>
103
+ <span className={'mt-[5px] block h-6 w-6 shrink-0 rounded-full bg-[#0A422C] ' +
104
+ 'max-3xl:h-5 max-3xl:w-5 ' +
105
+ 'max-xl:h-4 max-xl:w-4 ' +
106
+ 'max-sm:mt-[6px]'}/>
107
+
108
+ <p className={'w-[366px] text-[24px] font-[700] leading-[1.4] text-[#0A422C] ' +
109
+ 'max-5xl:w-[310px] max-5xl:text-[22px] ' +
110
+ 'max-3xl:text-[20px] ' +
111
+ (index === 0 ? 'max-xl:w-[194px] ' : 'max-xl:w-[150px] ') +
112
+ ' max-xl:text-[16px] ' +
113
+ 'max-[850px]:w-fit ' +
114
+ 'max-[850px]:text-[20px]'} dangerouslySetInnerHTML={{
115
+ __html: replaceInitialData(li.title, initialData)
116
+ }}/>
117
+ </span>
118
+
119
+ <p className={'text-[20px] leading-[1.4] max-3xl:text-[18px] max-xl:text-[16px] max-[850px]:pl-[26px] '} dangerouslySetInnerHTML={{ __html: li.desc }}></p>
120
+ </li>);
121
+ })}
122
+ </div>
123
+ </div>
124
+ </div>
125
+ </div>
126
+ </div>
127
+ </div>);
128
+ };
129
+ const LeftTextItem = ({ item, index, initialData }) => {
130
+ var _a;
131
+ const imagePath = process.env.NEXT_PUBLIC_S3_URL + '';
132
+ const { width } = useBrowser(true);
133
+ const [padding, setPadding] = useState(0);
134
+ const handleSetPadding = () => {
135
+ if (typeof window != 'undefined') {
136
+ const widthBrowser = width != 0 ? width : window.innerWidth;
137
+ if (widthBrowser > 2119) {
138
+ setPadding((widthBrowser - 1920 + 80) / 2);
139
+ }
140
+ else if (widthBrowser < 2120 && widthBrowser > 1919) {
141
+ setPadding((widthBrowser - 1920 + 280) / 2);
142
+ }
143
+ }
144
+ };
145
+ useEffect(() => {
146
+ handleSetPadding();
147
+ }, [width]);
148
+ return (<div className={'mt-[-100px] w-full pr-[calc((100%-1920px+80px)/2)] ' +
149
+ 'max-[2120px]:pr-[calc((100%-1920px+280px)/2)] ' +
150
+ 'max-full:pr-[140px] ' +
151
+ 'max-3xl:mt-[-80px] max-3xl:pr-20 ' +
152
+ 'max-xl:mt-[-50px] ' +
153
+ 'max-lg:pr-[60px] ' +
154
+ 'max-sm:mt-[-20px] max-sm:pr-5'}>
155
+ <div className={'relative h-full w-full '}>
156
+ {/*원*/}
157
+ <div className={'absolute right-0 top-0 h-[400px] w-[400px] overflow-hidden rounded-full border border-solid border-[#0A422C] ' +
158
+ 'max-3xl:h-[300px] max-3xl:w-[300px] ' +
159
+ 'max-xl:h-[200px] max-xl:w-[200px] ' +
160
+ 'max-sm:h-[180px] max-sm:w-[180px]'}>
161
+ {/*이미지*/}
162
+ <span className={'absolute bottom-0 left-0 block h-[299px] w-[279px] overflow-hidden ' +
163
+ 'max-3xl:h-[219px] max-3xl:w-[199px] max-3xl:rounded-tr-[100px] ' +
164
+ 'max-xl:h-[149px] max-xl:w-[139px] max-xl:rounded-tr-[50px] ' +
165
+ 'max-sm:h-[159px] max-sm:w-[159px] max-sm:rounded-tr-[100px]'}>
166
+ <Image src={imagePath + `/strength_new/customer_${index + 1}.webp`} alt={'강점'} fill sizes="(max-width: 640px) 160px, (max-width: 1280px) 139px, 279px" className={'object-contain object-left max-3xl:scale-110 max-lg:hidden'} quality={100}/>
167
+ <Image src={imagePath + `/strength_new/customer_tab_${index + 1}.webp`} alt={'강점'} fill sizes="(max-width: 640px) 160px, (max-width: 1280px) 139px, 279px" className={'object-contain object-left max-sm:hidden lg:hidden'} quality={100}/>
168
+ <Image src={imagePath + `/strength_new/customer_mo_${index + 1}.webp`} alt={'강점'} fill sizes="(max-width: 640px) 160px, (max-width: 1280px) 139px, 279px" className={'object-contain object-left sm:hidden'} quality={100}/>
169
+ </span>
170
+ </div>
171
+
172
+ {/*내용*/}
173
+ <div className={'relative w-full pr-[120px] pt-[100px] ' +
174
+ 'max-3xl:pr-[100px] max-3xl:pt-20 ' +
175
+ 'max-xl:pr-[60px] max-xl:pt-[50px] ' +
176
+ 'max-sm:pr-5 max-sm:pt-5'}>
177
+ {/*보더*/}
178
+ <div style={width > 1919 ? { paddingLeft: padding } : {}} className={'relative w-full rounded-tr-[100px] border-r border-t border-solid border-r-[#0A422C] border-t-[#0A422C] pb-[100px] pr-[280px] ' +
179
+ 'max-full:pl-[140px] ' +
180
+ 'max-3xl:pl-20 max-3xl:pr-[200px] ' +
181
+ 'max-xl:rounded-tr-[50px] max-xl:pb-[50px] max-xl:pr-[140px] ' +
182
+ 'max-lg:pl-[60px] ' +
183
+ 'max-md:pr-10 max-md:pt-[140px] ' +
184
+ 'max-sm:rounded-tr-[100px] max-sm:pb-5 max-sm:pl-5 max-sm:pr-0 max-sm:pt-[160px]'}>
185
+ {/*글자내용*/}
186
+ <div className={'relative flex min-h-[360px] w-full flex-col gap-10 px-[120px] pb-[60px] pt-[60px] ' +
187
+ 'max-5xl:pr-[100px] ' +
188
+ 'max-3xl:pl-[100px] ' +
189
+ 'max-xl:min-h-[228px] max-xl:gap-5 max-xl:p-10 max-xl:pl-[60px] ' +
190
+ 'max-md:gap-[30px] ' +
191
+ 'max-sm:p-5 max-sm:pb-10 '}>
192
+ <h2 className={'whitespace-pre-wrap text-[36px] font-[800] leading-[1.3] ' +
193
+ 'max-5xl:text-[34px] ' +
194
+ 'max-3xl:text-[32px] ' +
195
+ 'max-xl:text-[24px] '} dangerouslySetInnerHTML={{
196
+ __html: replaceInitialData(item.title.replace('*consult_date*', `<span class='text-[20px]'>*consult_date*</span>`), initialData)
197
+ }}></h2>
198
+ <p className={'relative z-10 whitespace-pre-wrap text-[24px] font-[400] leading-[1.4] ' +
199
+ 'max-5xl:text-[22px] ' +
200
+ 'max-3xl:text-[20px] ' +
201
+ 'max-xl:text-[16px]'} dangerouslySetInnerHTML={{ __html: replaceInitialData(item.desc, initialData) }}></p>
202
+ {/*회색 숫자 768부터 노출*/}
203
+ <ItemNumber index={index} className={'max-md:left-[60px] max-md:top-[-70px] max-sm:left-5 max-sm:top-[-80px] md:hidden'}/>
204
+
205
+ <div className={'relative flex flex-col gap-10 border-t border-solid border-[#F6F6F6] pt-10 ' +
206
+ 'max-xl:gap-5 max-xl:pt-5 ' +
207
+ 'max-md:gap-[30px] max-md:pt-[30px]'}>
208
+ <ItemNumber index={index} className={'right-0 top-[-191px] max-3xl:top-[-146px] max-xl:top-[-127px] max-md:hidden'}/>
209
+ {/*회색 숫자 768이상 노출*/}
210
+
211
+ {(_a = item.list) === null || _a === void 0 ? void 0 : _a.map((li, li_index) => {
212
+ return (<li className={'flex gap-5 max-[850px]:flex-col max-[850px]:gap-[6px]'} key={li_index}>
213
+ <span className={'flex gap-[10px] max-sm:gap-2'}>
214
+ <span className={'mt-[5px] block h-6 w-6 shrink-0 rounded-full bg-[#0A422C] ' +
215
+ 'max-3xl:h-5 max-3xl:w-5 ' +
216
+ 'max-xl:h-4 max-xl:w-4 ' +
217
+ 'max-sm:mt-[6px]'}/>
218
+ <span className={'w-[366px] text-[24px] font-[700] leading-[1.4] text-[#0A422C] ' +
219
+ 'max-5xl:w-[310px] max-5xl:text-[22px] ' +
220
+ 'max-3xl:text-[20px] ' +
221
+ 'max-xl:w-[124px] max-xl:text-[16px] ' +
222
+ 'max-[850px]:w-fit ' +
223
+ 'max-[850px]:text-[20px]'} dangerouslySetInnerHTML={{
224
+ __html: li.title.replace('(2025년 7월 기준)', `<span class='text-[16px] text-black font-[400] block max-xl:text-[12px]'>(2025년 7월 기준)</span>`)
225
+ }}/>
226
+ </span>
227
+
228
+ <span className={'text-[20px] leading-[1.4] max-3xl:text-[18px] max-xl:text-[16px] max-[850px]:pl-[26px]'} dangerouslySetInnerHTML={{ __html: li.desc }}></span>
229
+ </li>);
230
+ })}
231
+ </div>
232
+ </div>
233
+ </div>
234
+ </div>
235
+ </div>
236
+ </div>);
237
+ };