@daeryun/dr_components 1.0.90 → 1.0.92

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 (28) hide show
  1. package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
  2. package/dist/components/Footer/index.jsx +5 -5
  3. package/dist/components/Footer/index.tsx +4 -5
  4. package/dist/components/Layout/Wrapper.jsx +2 -2
  5. package/dist/components/Layout/Wrapper.tsx +2 -2
  6. package/dist/components/MapSection/MapSection.jsx +3 -3
  7. package/dist/components/MapSection/MapSection.tsx +2 -3
  8. package/dist/components/common/integrate/index.d.ts +1 -1
  9. package/dist/components/common/types/strength_new/index.d.ts +1 -0
  10. package/dist/components/common/types/strength_new/index.ts +1 -0
  11. package/dist/components/page/StrengthNew/StrengthCustomer.jsx +2 -0
  12. package/dist/components/page/StrengthNew/StrengthCustomer.tsx +2 -0
  13. package/dist/components/page/StrengthNew/StrengthInfra.jsx +2 -0
  14. package/dist/components/page/StrengthNew/StrengthInfra.tsx +2 -0
  15. package/dist/components/page/StrengthNew/StrengthPeople.jsx +2 -0
  16. package/dist/components/page/StrengthNew/StrengthPeople.tsx +2 -0
  17. package/dist/components/page/StrengthNew/StrengthSystem.jsx +2 -0
  18. package/dist/components/page/StrengthNew/StrengthSystem.tsx +2 -0
  19. package/dist/components/page/StrengthNew/components/common/ReturnMainSection.d.ts +5 -0
  20. package/dist/components/page/StrengthNew/components/common/ReturnMainSection.jsx +44 -0
  21. package/dist/components/page/StrengthNew/components/common/ReturnMainSection.tsx +99 -0
  22. package/dist/components/page/StrengthNew/components/common/ViewMoreSection.jsx +3 -3
  23. package/dist/components/page/StrengthNew/components/common/ViewMoreSection.tsx +3 -3
  24. package/dist/components/page/StrengthNew/components/customer/CustomerSection.jsx +4 -4
  25. package/dist/components/page/StrengthNew/components/customer/CustomerSection.tsx +4 -4
  26. package/dist/styles/globals.css +494 -365
  27. package/dist/tsconfig.tsbuildinfo +1 -1
  28. package/package.json +1 -1
@@ -3,11 +3,13 @@ import BannerSection from './components/common/BannerSection';
3
3
  import ViewMoreSection from './components/common/ViewMoreSection';
4
4
  import PeopleSection from './components/people/PeopleSection';
5
5
  import LawyerSection from './components/common/LawyerSection';
6
+ import ReturnMainSection from './components/common/ReturnMainSection';
6
7
  const StrengthNew = ({ data, common, initialData }) => {
7
8
  return (<div className={'font-[NotoSansKR]'}>
8
9
  <BannerSection title={data.title_1} subTitle={data.title_2} menu={common.menu} initialData={initialData}/>
9
10
  <PeopleSection people_list={data.people_list} initialData={initialData}/>
10
11
  <ViewMoreSection view_more_section_title={common.view_more_section_title} view_more_list={common.view_more_list} initialData={initialData}/>
12
+ <ReturnMainSection return_main_text={common.return_main_text}/>
11
13
  <LawyerSection lawyer_title_1={data.lawyer_title_1} lawyer_title_2={data.lawyer_title_2} lawyer_link_list={data.lawyer_link_list}/>
12
14
  </div>);
13
15
  };
@@ -6,6 +6,7 @@ import BannerSection from './components/common/BannerSection';
6
6
  import ViewMoreSection from './components/common/ViewMoreSection';
7
7
  import PeopleSection from './components/people/PeopleSection';
8
8
  import LawyerSection from './components/common/LawyerSection';
9
+ import ReturnMainSection from './components/common/ReturnMainSection';
9
10
  const StrengthNew = ({
10
11
  data,
11
12
  common,
@@ -24,6 +25,7 @@ const StrengthNew = ({
24
25
  view_more_list={common.view_more_list}
25
26
  initialData={initialData}
26
27
  />
28
+ <ReturnMainSection return_main_text={common.return_main_text} />
27
29
  <LawyerSection
28
30
  lawyer_title_1={data.lawyer_title_1}
29
31
  lawyer_title_2={data.lawyer_title_2}
@@ -3,11 +3,13 @@ import SystemSection from './components/system/SystemSection';
3
3
  import LawyerSection from './components/common/LawyerSection';
4
4
  import BannerSection from './components/common/BannerSection';
5
5
  import ViewMoreSection from './components/common/ViewMoreSection';
6
+ import ReturnMainSection from './components/common/ReturnMainSection';
6
7
  const Index = ({ data, common, initialData }) => {
7
8
  return (<div className={'font-[NotoSansKR]'}>
8
9
  <BannerSection title={data.title_1} subTitle={data.title_2} menu={common.menu} initialData={initialData}/>
9
10
  <SystemSection data={data}/>
10
11
  <ViewMoreSection view_more_section_title={common.view_more_section_title} view_more_list={common.view_more_list} initialData={initialData}/>
12
+ <ReturnMainSection return_main_text={common.return_main_text}/>
11
13
  <LawyerSection lawyer_title_1={data.lawyer_title_1} lawyer_title_2={data.lawyer_title_2} lawyer_link_list={data.lawyer_link_list}/>
12
14
  </div>);
13
15
  };
@@ -6,6 +6,7 @@ import SystemSection from './components/system/SystemSection';
6
6
  import LawyerSection from './components/common/LawyerSection';
7
7
  import BannerSection from './components/common/BannerSection';
8
8
  import ViewMoreSection from './components/common/ViewMoreSection';
9
+ import ReturnMainSection from './components/common/ReturnMainSection';
9
10
 
10
11
  const Index = ({
11
12
  data,
@@ -25,6 +26,7 @@ const Index = ({
25
26
  view_more_list={common.view_more_list}
26
27
  initialData={initialData}
27
28
  />
29
+ <ReturnMainSection return_main_text={common.return_main_text} />
28
30
  <LawyerSection
29
31
  lawyer_title_1={data.lawyer_title_1}
30
32
  lawyer_title_2={data.lawyer_title_2}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ declare const ReturnMainSection: ({ return_main_text }: {
3
+ return_main_text: string;
4
+ }) => React.JSX.Element;
5
+ export default ReturnMainSection;
@@ -0,0 +1,44 @@
1
+ import Image from 'next/image';
2
+ import React from 'react';
3
+ import Link from 'next/link';
4
+ import Wrapper from '../../../../Layout/Wrapper';
5
+ const ReturnMainSection = ({ return_main_text }) => {
6
+ const imagePath = process.env.NEXT_PUBLIC_S3_URL + '';
7
+ return (<Wrapper className={'pb-[90px] pt-10 max-lg:pb-[60px] max-lg:pt-8 max-sm:pb-10 max-sm:pt-6'}>
8
+ <Link href={'/strength'} className={'group relative flex h-[120px] w-full items-center justify-center gap-[22px] overflow-hidden bg-[#D1E4F7] ' +
9
+ 'max-lg:h-[100px] max-lg:gap-5 ' +
10
+ 'max-md:gap-3 ' +
11
+ 'max-sm:h-[90px] max-sm:gap-2'}>
12
+ <span className={'absolute left-0 top-0 block h-full w-[652px] ' +
13
+ 'max-3xl:w-[600px] ' +
14
+ 'max-xl:w-[500px] ' +
15
+ 'max-lg:w-[400px] ' +
16
+ 'max-md2:w-[320px] ' +
17
+ 'max-md:w-[240px] ' +
18
+ 'max-sm:w-[200px] '}>
19
+ <Image src={imagePath + '/strength_new/main_return_bg_left.webp'} alt={'강점'} fill className={'object-cover max-md:object-[55%] lg:transition-transform lg:duration-500 lg:group-hover:scale-[110%]'} quality={100}/>
20
+ </span>
21
+ <span className={'absolute right-0 top-0 block h-full w-[603px] ' +
22
+ 'max-3xl:w-[580px] ' +
23
+ 'max-xl:w-[480px] ' +
24
+ 'max-lg:w-[380px] ' +
25
+ 'max-md2:w-[300px] ' +
26
+ 'max-md:w-[220px] ' +
27
+ 'max-sm:w-[180px] '}>
28
+ <Image src={imagePath + '/strength_new/main_return_bg_right.webp'} alt={'강점'} fill quality={100} className={'object-cover max-md:object-[30%] lg:transition-transform lg:duration-500 lg:group-hover:scale-[110%]'}/>
29
+ </span>
30
+
31
+ <p className={'relative z-20 text-[32px] font-[800] leading-[1] tracking-[-0.04em] text-[#5674AE] lg:transition-colors lg:duration-500 lg:group-hover:text-[#284890] ' +
32
+ 'max-xl:text-[28px] ' +
33
+ 'max-lg:text-[26px] ' +
34
+ 'max-md:text-[24px] ' +
35
+ 'max-sm:text-[22px] ' +
36
+ 'max-xs:text-[20px]'} dangerouslySetInnerHTML={{ __html: return_main_text }}></p>
37
+ <span className={'relative block h-[32px] w-[26px] max-lg:h-[30px] max-lg:w-6 max-md:h-7 max-md:w-[22px] max-sm:h-6 max-sm:w-5 max-xs:h-5 max-xs:w-4'}>
38
+ <Image src={imagePath + '/strength_new/return_arrow.webp'} alt={'강점'} fill quality={100} className={'object-contain '}/>
39
+ <Image src={imagePath + '/strength_new/return_arrow_hover.webp'} alt={'강점'} fill quality={100} className={'object-contain opacity-0 transition-opacity duration-500 group-hover:opacity-100 max-lg:hidden'}/>
40
+ </span>
41
+ </Link>
42
+ </Wrapper>);
43
+ };
44
+ export default ReturnMainSection;
@@ -0,0 +1,99 @@
1
+ import Image from 'next/image';
2
+ import React from 'react';
3
+ import Link from 'next/link';
4
+ import Wrapper from '../../../../Layout/Wrapper';
5
+
6
+ const ReturnMainSection = ({ return_main_text }: { return_main_text: string }) => {
7
+ const imagePath: string = process.env.NEXT_PUBLIC_S3_URL + '';
8
+ return (
9
+ <Wrapper className={'pb-[90px] pt-10 max-lg:pb-[60px] max-lg:pt-8 max-sm:pb-10 max-sm:pt-6'}>
10
+ <Link
11
+ href={'/strength'}
12
+ className={
13
+ 'group relative flex h-[120px] w-full items-center justify-center gap-[22px] overflow-hidden bg-[#D1E4F7] ' +
14
+ 'max-lg:h-[100px] max-lg:gap-5 ' +
15
+ 'max-md:gap-3 ' +
16
+ 'max-sm:h-[90px] max-sm:gap-2'
17
+ }
18
+ >
19
+ <span
20
+ className={
21
+ 'absolute left-0 top-0 block h-full w-[652px] ' +
22
+ 'max-3xl:w-[600px] ' +
23
+ 'max-xl:w-[500px] ' +
24
+ 'max-lg:w-[400px] ' +
25
+ 'max-md2:w-[320px] ' +
26
+ 'max-md:w-[240px] ' +
27
+ 'max-sm:w-[200px] '
28
+ }
29
+ >
30
+ <Image
31
+ src={imagePath + '/strength_new/main_return_bg_left.webp'}
32
+ alt={'강점'}
33
+ fill
34
+ className={
35
+ 'object-cover max-md:object-[55%] lg:transition-transform lg:duration-500 lg:group-hover:scale-[110%]'
36
+ }
37
+ quality={100}
38
+ />
39
+ </span>
40
+ <span
41
+ className={
42
+ 'absolute right-0 top-0 block h-full w-[603px] ' +
43
+ 'max-3xl:w-[580px] ' +
44
+ 'max-xl:w-[480px] ' +
45
+ 'max-lg:w-[380px] ' +
46
+ 'max-md2:w-[300px] ' +
47
+ 'max-md:w-[220px] ' +
48
+ 'max-sm:w-[180px] '
49
+ }
50
+ >
51
+ <Image
52
+ src={imagePath + '/strength_new/main_return_bg_right.webp'}
53
+ alt={'강점'}
54
+ fill
55
+ quality={100}
56
+ className={
57
+ 'object-cover max-md:object-[30%] lg:transition-transform lg:duration-500 lg:group-hover:scale-[110%]'
58
+ }
59
+ />
60
+ </span>
61
+
62
+ <p
63
+ className={
64
+ 'relative z-20 text-[32px] font-[800] leading-[1] tracking-[-0.04em] text-[#5674AE] lg:transition-colors lg:duration-500 lg:group-hover:text-[#284890] ' +
65
+ 'max-xl:text-[28px] ' +
66
+ 'max-lg:text-[26px] ' +
67
+ 'max-md:text-[24px] ' +
68
+ 'max-sm:text-[22px] ' +
69
+ 'max-xs:text-[20px]'
70
+ }
71
+ dangerouslySetInnerHTML={{ __html: return_main_text }}
72
+ ></p>
73
+ <span
74
+ className={
75
+ 'relative block h-[32px] w-[26px] max-lg:h-[30px] max-lg:w-6 max-md:h-7 max-md:w-[22px] max-sm:h-6 max-sm:w-5 max-xs:h-5 max-xs:w-4'
76
+ }
77
+ >
78
+ <Image
79
+ src={imagePath + '/strength_new/return_arrow.webp'}
80
+ alt={'강점'}
81
+ fill
82
+ quality={100}
83
+ className={'object-contain '}
84
+ />
85
+ <Image
86
+ src={imagePath + '/strength_new/return_arrow_hover.webp'}
87
+ alt={'강점'}
88
+ fill
89
+ quality={100}
90
+ className={
91
+ 'object-contain opacity-0 transition-opacity duration-500 group-hover:opacity-100 max-lg:hidden'
92
+ }
93
+ />
94
+ </span>
95
+ </Link>
96
+ </Wrapper>
97
+ );
98
+ };
99
+ export default ReturnMainSection;
@@ -10,10 +10,10 @@ const ViewMoreSection = ({ view_more_section_title, view_more_list, initialData
10
10
  const isMain = pathname === '/strength';
11
11
  const { width } = useBrowser(false); // 디바운스 적용
12
12
  const isPC = width >= 1400;
13
- return (<section className={'relative w-full pb-[180px] tracking-[-0.04em] ' +
13
+ return (<section className={'relative w-full tracking-[-0.04em] ' +
14
14
  (isMain
15
- ? 'pt-[100px] max-xl:py-20 max-[700px]:py-[60px]'
16
- : 'pt-[180px] max-xl:py-20 max-[700px]:py-[60px]')}>
15
+ ? 'pb-[180px] pt-[100px] max-xl:py-20 max-[700px]:py-[60px]'
16
+ : 'pt-[180px] max-xl:pt-20 max-[700px]:pt-[60px]')}>
17
17
  <Wrapper>
18
18
  <h2 className={'border-t border-solid border-black text-center text-[32px] font-[800] leading-[1] ' +
19
19
  (isMain
@@ -25,10 +25,10 @@ const ViewMoreSection = ({
25
25
  return (
26
26
  <section
27
27
  className={
28
- 'relative w-full pb-[180px] tracking-[-0.04em] ' +
28
+ 'relative w-full tracking-[-0.04em] ' +
29
29
  (isMain
30
- ? 'pt-[100px] max-xl:py-20 max-[700px]:py-[60px]'
31
- : 'pt-[180px] max-xl:py-20 max-[700px]:py-[60px]')
30
+ ? 'pb-[180px] pt-[100px] max-xl:py-20 max-[700px]:py-[60px]'
31
+ : 'pt-[180px] max-xl:pt-20 max-[700px]:pt-[60px]')
32
32
  }
33
33
  >
34
34
  <Wrapper>
@@ -91,7 +91,7 @@ const RightTextItem = ({ item, index, initialData }) => {
91
91
 
92
92
  {(_a = item.list) === null || _a === void 0 ? void 0 : _a.map((li, li_index) => {
93
93
  return (<li className={'flex gap-5 max-[850px]:flex-col max-[850px]:gap-[6px]'} key={li_index}>
94
- <span className={'flex gap-[10px] max-sm:gap-2'}>
94
+ <h3 className={'flex gap-[10px] max-sm:gap-2'}>
95
95
  <span className={'mt-[5px] block shrink-0 rounded-full bg-[#0A422C] ' +
96
96
  'h-5 w-5 ' +
97
97
  'max-xl:h-4 max-xl:w-4 ' +
@@ -105,7 +105,7 @@ const RightTextItem = ({ item, index, initialData }) => {
105
105
  'max-[850px]:text-[20px]'} dangerouslySetInnerHTML={{
106
106
  __html: replaceInitialData(li.title, initialData)
107
107
  }}/>
108
- </span>
108
+ </h3>
109
109
 
110
110
  <p className={'text-[18px] leading-[1.4] max-xl:text-[16px] max-[850px]:pl-[26px] '} dangerouslySetInnerHTML={{ __html: li.desc }}></p>
111
111
  </li>);
@@ -192,7 +192,7 @@ const LeftTextItem = ({ item, index, initialData }) => {
192
192
 
193
193
  {(_a = item.list) === null || _a === void 0 ? void 0 : _a.map((li, li_index) => {
194
194
  return (<li className={'flex gap-5 max-[850px]:flex-col max-[850px]:gap-[6px]'} key={li_index}>
195
- <span className={'flex gap-[10px] max-sm:gap-2'}>
195
+ <h3 className={'flex gap-[10px] max-sm:gap-2'}>
196
196
  <span className={'mt-[5px] block h-5 w-5 shrink-0 rounded-full bg-[#0A422C] ' +
197
197
  'max-xl:h-4 max-xl:w-4 ' +
198
198
  'max-sm:mt-[6px]'}/>
@@ -203,7 +203,7 @@ const LeftTextItem = ({ item, index, initialData }) => {
203
203
  'max-[850px]:text-[20px]'} dangerouslySetInnerHTML={{
204
204
  __html: li.title.replace('(2025년 7월 기준)', `<span class='text-[16px] text-black font-[400] block max-xl:text-[12px]'>(2025년 7월 기준)</span>`)
205
205
  }}/>
206
- </span>
206
+ </h3>
207
207
 
208
208
  <span className={'text-[18px] leading-[1.4] max-xl:text-[16px] max-[850px]:pl-[26px]'} dangerouslySetInnerHTML={{ __html: li.desc }}></span>
209
209
  </li>);
@@ -203,7 +203,7 @@ const RightTextItem = ({
203
203
  className={'flex gap-5 max-[850px]:flex-col max-[850px]:gap-[6px]'}
204
204
  key={li_index}
205
205
  >
206
- <span className={'flex gap-[10px] max-sm:gap-2'}>
206
+ <h3 className={'flex gap-[10px] max-sm:gap-2'}>
207
207
  <span
208
208
  className={
209
209
  'mt-[5px] block shrink-0 rounded-full bg-[#0A422C] ' +
@@ -226,7 +226,7 @@ const RightTextItem = ({
226
226
  __html: replaceInitialData(li.title, initialData)
227
227
  }}
228
228
  />
229
- </span>
229
+ </h3>
230
230
 
231
231
  <p
232
232
  className={
@@ -417,7 +417,7 @@ const LeftTextItem = ({
417
417
  className={'flex gap-5 max-[850px]:flex-col max-[850px]:gap-[6px]'}
418
418
  key={li_index}
419
419
  >
420
- <span className={'flex gap-[10px] max-sm:gap-2'}>
420
+ <h3 className={'flex gap-[10px] max-sm:gap-2'}>
421
421
  <span
422
422
  className={
423
423
  'mt-[5px] block h-5 w-5 shrink-0 rounded-full bg-[#0A422C] ' +
@@ -440,7 +440,7 @@ const LeftTextItem = ({
440
440
  )
441
441
  }}
442
442
  />
443
- </span>
443
+ </h3>
444
444
 
445
445
  <span
446
446
  className={