@daeryun/dr_components 1.0.91 → 1.0.93
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/cjs/tsconfig-cjs.tsbuildinfo +1 -1
- package/dist/components/Header/PcHeader.jsx +9 -1
- package/dist/components/Header/PcHeader.tsx +8 -2
- package/dist/components/common/integrate/index.d.ts +1 -1
- package/dist/components/common/types/strength_new/index.d.ts +1 -0
- package/dist/components/common/types/strength_new/index.ts +1 -0
- package/dist/components/page/StrengthNew/StrengthCustomer.jsx +2 -0
- package/dist/components/page/StrengthNew/StrengthCustomer.tsx +2 -0
- package/dist/components/page/StrengthNew/StrengthInfra.jsx +2 -0
- package/dist/components/page/StrengthNew/StrengthInfra.tsx +2 -0
- package/dist/components/page/StrengthNew/StrengthPeople.jsx +2 -0
- package/dist/components/page/StrengthNew/StrengthPeople.tsx +2 -0
- package/dist/components/page/StrengthNew/StrengthSystem.jsx +2 -0
- package/dist/components/page/StrengthNew/StrengthSystem.tsx +2 -0
- package/dist/components/page/StrengthNew/components/common/ReturnMainSection.d.ts +5 -0
- package/dist/components/page/StrengthNew/components/common/ReturnMainSection.jsx +44 -0
- package/dist/components/page/StrengthNew/components/common/ReturnMainSection.tsx +99 -0
- package/dist/components/page/StrengthNew/components/common/ViewMoreSection.jsx +3 -3
- package/dist/components/page/StrengthNew/components/common/ViewMoreSection.tsx +3 -3
- package/dist/components/page/StrengthNew/components/customer/CustomerSection.jsx +4 -4
- package/dist/components/page/StrengthNew/components/customer/CustomerSection.tsx +4 -4
- package/dist/styles/globals.css +494 -365
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -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
|
|
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:
|
|
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
|
|
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:
|
|
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
|
-
<
|
|
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
|
-
</
|
|
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
|
-
<
|
|
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
|
-
</
|
|
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
|
-
<
|
|
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
|
-
</
|
|
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
|
-
<
|
|
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
|
-
</
|
|
443
|
+
</h3>
|
|
444
444
|
|
|
445
445
|
<span
|
|
446
446
|
className={
|