@daeryun/dr_components 0.8.75 → 0.8.77
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/asset/images/success_new/logo.webp +0 -0
- package/dist/components/BrochureBtn/BrochureBtn.jsx +4 -0
- package/dist/components/BrochureBtn/BrochureBtn.stories.jsx +1 -1
- package/dist/components/BrochureBtn/BrochureBtn.stories.tsx +1 -1
- package/dist/components/BrochureBtn/BrochureBtn.tsx +4 -0
- package/dist/components/page/SuccessNew/components/LawInfoContentList.jsx +10 -13
- package/dist/components/page/SuccessNew/components/LawInfoContentList.tsx +17 -13
- package/dist/styles/globals.css +24 -12
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
Binary file
|
|
@@ -21,6 +21,10 @@ const BrochureBtn = (props) => {
|
|
|
21
21
|
guard: {
|
|
22
22
|
text: '경호센터 브로슈어',
|
|
23
23
|
link: 'https://d1tgonli21s4df.cloudfront.net/guard/daeryunBrochure_guard.pdf'
|
|
24
|
+
},
|
|
25
|
+
forensic: {
|
|
26
|
+
text: '디지털포렌식센터 브로슈어',
|
|
27
|
+
link: 'https://d1tgonli21s4df.cloudfront.net/forensic/daeryunBrochure_forensic.pdf'
|
|
24
28
|
}
|
|
25
29
|
};
|
|
26
30
|
const brochure = brochureMap[type];
|
|
@@ -28,6 +28,10 @@ const BrochureBtn = (props: {
|
|
|
28
28
|
guard: {
|
|
29
29
|
text: '경호센터 브로슈어',
|
|
30
30
|
link: 'https://d1tgonli21s4df.cloudfront.net/guard/daeryunBrochure_guard.pdf'
|
|
31
|
+
},
|
|
32
|
+
forensic: {
|
|
33
|
+
text: '디지털포렌식센터 브로슈어',
|
|
34
|
+
link: 'https://d1tgonli21s4df.cloudfront.net/forensic/daeryunBrochure_forensic.pdf'
|
|
31
35
|
}
|
|
32
36
|
};
|
|
33
37
|
|
|
@@ -1,31 +1,28 @@
|
|
|
1
1
|
import Link from 'next/link';
|
|
2
2
|
import React, { useState } from 'react';
|
|
3
|
+
import Image from 'next/image';
|
|
3
4
|
import IconArrow from '../../../../asset/images/success_new/arrow_line.svg';
|
|
5
|
+
import Logo from '../../../../asset/images/success_new/logo.webp';
|
|
4
6
|
const LawInfoContentList = ({ contentsList, template, className }) => {
|
|
5
7
|
const [hoverNum, setHoverNum] = useState(0);
|
|
6
|
-
return (<section className={'w-full bg-[#F6F6F6] p-[54px] ' +
|
|
8
|
+
return (<section className={'relative w-full overflow-hidden bg-[#F6F6F6] p-[54px] ' +
|
|
7
9
|
'max-lg:p-[48px] max-md2:p-[40px] max-sm:p-[32px] ' +
|
|
8
10
|
'max-2xs:px-5 ' +
|
|
9
11
|
className} style={{ fontFamily: "'Noto Sans KR', sans-serif" }}>
|
|
12
|
+
<Image src={Logo} alt={'대륜로고'} width={177} height={98} className={'absolute bottom-0 right-0 h-[98px] w-[177px] max-md2:h-[76px] max-md2:w-[140px]'}/>
|
|
10
13
|
<div className={'mb-[29px] text-[34px] font-[800] leading-none tracking-[-4%] text-[#192555] ' +
|
|
11
14
|
//1024px
|
|
12
15
|
'max-lg:text-[28px] ' +
|
|
13
16
|
//900px
|
|
14
|
-
'max-md2:mb-[24px] max-md2:text-[26px] '
|
|
15
|
-
//768px
|
|
16
|
-
'max-md:text-[24px] ' +
|
|
17
|
-
//640px
|
|
18
|
-
'max-sm:text-[22px] ' +
|
|
19
|
-
//480px
|
|
20
|
-
'max-xs:mb-[16px]'}>
|
|
17
|
+
'max-md2:mb-[24px] max-md2:text-[26px] '}>
|
|
21
18
|
관련 정보
|
|
22
19
|
</div>
|
|
23
|
-
<ul className={'grid grid-cols-3 gap-[20px] ' + 'max-
|
|
20
|
+
<ul className={'grid grid-cols-3 gap-[20px] ' + 'max-lg:grid-cols-2 ' + 'max-sm:grid-cols-1 max-sm:gap-3'}>
|
|
24
21
|
{contentsList &&
|
|
25
|
-
contentsList.map((content, index) => (<li key={'contents ' + content.type_idx}>
|
|
22
|
+
contentsList.map((content, index) => (<li key={'contents ' + content.type_idx} className={'z-10'}>
|
|
26
23
|
<Link target={content.center_code === template[0].center_code ? '' : '_blank'} href={content.center_code === template[0].center_code
|
|
27
24
|
? `/lawInfo_new/${content.type_idx}`
|
|
28
|
-
: `${content.domain}lawInfo_new/${content.type_idx}`} onMouseEnter={() => setHoverNum(index)} className={'flex h-full w-full items-start justify-between gap-[10px] bg-[#192555] p-4 transition-all ' +
|
|
25
|
+
: `${content.domain}lawInfo_new/${content.type_idx}`} onMouseEnter={() => setHoverNum(index)} className={'z-10 flex h-full w-full items-start justify-between gap-[10px] bg-[#192555] p-4 transition-all ' +
|
|
29
26
|
`${index === hoverNum ? ' ' : 'bg-opacity-0 '} ` +
|
|
30
27
|
//1024px
|
|
31
28
|
'max-lg:gap-[8px] ' +
|
|
@@ -36,14 +33,14 @@ const LawInfoContentList = ({ contentsList, template, className }) => {
|
|
|
36
33
|
border: '1px solid',
|
|
37
34
|
borderColor: index === hoverNum ? 'transparent' : '#D3D3D3'
|
|
38
35
|
}}>
|
|
39
|
-
<p className={'line-clamp-2 text-[20px] font-[600] leading-[135%] tracking-[-4%] transition-colors ' +
|
|
36
|
+
<p className={'line-clamp-2 pt-[2px] text-[20px] font-[600] leading-[135%] tracking-[-4%] transition-colors ' +
|
|
40
37
|
`${index === hoverNum ? 'text-white ' : 'text-[#192555] '}` +
|
|
41
38
|
//1400px
|
|
42
39
|
'max-xxl:text-[18px] ' +
|
|
43
40
|
//768px
|
|
44
41
|
'max-md:text-[16px] ' +
|
|
45
42
|
//480px
|
|
46
|
-
'max-xs:leading-[25px]'}>
|
|
43
|
+
'max-xs:pt-[1px] max-xs:leading-[25px]'}>
|
|
47
44
|
{content.tag_title}
|
|
48
45
|
</p>
|
|
49
46
|
<IconArrow className={'mx-[6px] mt-2 h-auto w-[10px] shrink-0 ' +
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import Link from 'next/link';
|
|
2
2
|
import React, { useState } from 'react';
|
|
3
|
+
import Image from 'next/image';
|
|
3
4
|
import IconLabel from '../../../../asset/images/success_new/label.svg';
|
|
4
5
|
import IconArrow from '../../../../asset/images/success_new/arrow_line.svg';
|
|
6
|
+
import Logo from '../../../../asset/images/success_new/logo.webp';
|
|
5
7
|
import { IContentsListTypes, ISeoTemplateTypes } from '../SuccessNewType';
|
|
8
|
+
import CallIcon from '../../../../asset/images/fix/call.webp';
|
|
6
9
|
|
|
7
10
|
const LawInfoContentList = ({
|
|
8
11
|
contentsList,
|
|
@@ -18,34 +21,35 @@ const LawInfoContentList = ({
|
|
|
18
21
|
return (
|
|
19
22
|
<section
|
|
20
23
|
className={
|
|
21
|
-
'w-full bg-[#F6F6F6] p-[54px] ' +
|
|
24
|
+
'relative w-full overflow-hidden bg-[#F6F6F6] p-[54px] ' +
|
|
22
25
|
'max-lg:p-[48px] max-md2:p-[40px] max-sm:p-[32px] ' +
|
|
23
26
|
'max-2xs:px-5 ' +
|
|
24
27
|
className
|
|
25
28
|
}
|
|
26
29
|
style={{ fontFamily: "'Noto Sans KR', sans-serif" }}
|
|
27
30
|
>
|
|
31
|
+
<Image
|
|
32
|
+
src={Logo}
|
|
33
|
+
alt={'대륜로고'}
|
|
34
|
+
width={177}
|
|
35
|
+
height={98}
|
|
36
|
+
className={'absolute bottom-0 right-0 h-[98px] w-[177px] max-md2:h-[76px] max-md2:w-[140px]'}
|
|
37
|
+
/>
|
|
28
38
|
<div
|
|
29
39
|
className={
|
|
30
40
|
'mb-[29px] text-[34px] font-[800] leading-none tracking-[-4%] text-[#192555] ' +
|
|
31
41
|
//1024px
|
|
32
42
|
'max-lg:text-[28px] ' +
|
|
33
43
|
//900px
|
|
34
|
-
'max-md2:mb-[24px] max-md2:text-[26px] '
|
|
35
|
-
//768px
|
|
36
|
-
'max-md:text-[24px] ' +
|
|
37
|
-
//640px
|
|
38
|
-
'max-sm:text-[22px] ' +
|
|
39
|
-
//480px
|
|
40
|
-
'max-xs:mb-[16px]'
|
|
44
|
+
'max-md2:mb-[24px] max-md2:text-[26px] '
|
|
41
45
|
}
|
|
42
46
|
>
|
|
43
47
|
관련 정보
|
|
44
48
|
</div>
|
|
45
|
-
<ul className={'grid grid-cols-3 gap-[20px] ' + 'max-
|
|
49
|
+
<ul className={'grid grid-cols-3 gap-[20px] ' + 'max-lg:grid-cols-2 ' + 'max-sm:grid-cols-1 max-sm:gap-3'}>
|
|
46
50
|
{contentsList &&
|
|
47
51
|
contentsList.map((content, index) => (
|
|
48
|
-
<li key={'contents ' + content.type_idx}>
|
|
52
|
+
<li key={'contents ' + content.type_idx} className={'z-10'}>
|
|
49
53
|
<Link
|
|
50
54
|
target={content.center_code === template[0].center_code ? '' : '_blank'}
|
|
51
55
|
href={
|
|
@@ -55,7 +59,7 @@ const LawInfoContentList = ({
|
|
|
55
59
|
}
|
|
56
60
|
onMouseEnter={() => setHoverNum(index)}
|
|
57
61
|
className={
|
|
58
|
-
'flex h-full w-full items-start justify-between gap-[10px] bg-[#192555] p-4 transition-all ' +
|
|
62
|
+
'z-10 flex h-full w-full items-start justify-between gap-[10px] bg-[#192555] p-4 transition-all ' +
|
|
59
63
|
`${index === hoverNum ? ' ' : 'bg-opacity-0 '} ` +
|
|
60
64
|
//1024px
|
|
61
65
|
'max-lg:gap-[8px] ' +
|
|
@@ -71,14 +75,14 @@ const LawInfoContentList = ({
|
|
|
71
75
|
>
|
|
72
76
|
<p
|
|
73
77
|
className={
|
|
74
|
-
'line-clamp-2 text-[20px] font-[600] leading-[135%] tracking-[-4%] transition-colors ' +
|
|
78
|
+
'line-clamp-2 pt-[2px] text-[20px] font-[600] leading-[135%] tracking-[-4%] transition-colors ' +
|
|
75
79
|
`${index === hoverNum ? 'text-white ' : 'text-[#192555] '}` +
|
|
76
80
|
//1400px
|
|
77
81
|
'max-xxl:text-[18px] ' +
|
|
78
82
|
//768px
|
|
79
83
|
'max-md:text-[16px] ' +
|
|
80
84
|
//480px
|
|
81
|
-
'max-xs:leading-[25px]'
|
|
85
|
+
'max-xs:pt-[1px] max-xs:leading-[25px]'
|
|
82
86
|
}
|
|
83
87
|
>
|
|
84
88
|
{content.tag_title}
|
package/dist/styles/globals.css
CHANGED
|
@@ -2739,6 +2739,10 @@ video {
|
|
|
2739
2739
|
height: 94px;
|
|
2740
2740
|
}
|
|
2741
2741
|
|
|
2742
|
+
.h-\[98px\] {
|
|
2743
|
+
height: 98px;
|
|
2744
|
+
}
|
|
2745
|
+
|
|
2742
2746
|
.h-\[calc\(100\%\+60px\)\] {
|
|
2743
2747
|
height: calc(100% + 60px);
|
|
2744
2748
|
}
|
|
@@ -3074,6 +3078,10 @@ video {
|
|
|
3074
3078
|
width: 16px;
|
|
3075
3079
|
}
|
|
3076
3080
|
|
|
3081
|
+
.w-\[177px\] {
|
|
3082
|
+
width: 177px;
|
|
3083
|
+
}
|
|
3084
|
+
|
|
3077
3085
|
.w-\[17px\] {
|
|
3078
3086
|
width: 17px;
|
|
3079
3087
|
}
|
|
@@ -12416,6 +12424,10 @@ body {
|
|
|
12416
12424
|
height: 75px;
|
|
12417
12425
|
}
|
|
12418
12426
|
|
|
12427
|
+
.max-md2\:h-\[76px\] {
|
|
12428
|
+
height: 76px;
|
|
12429
|
+
}
|
|
12430
|
+
|
|
12419
12431
|
.max-md2\:h-\[90px\] {
|
|
12420
12432
|
height: 90px;
|
|
12421
12433
|
}
|
|
@@ -12428,6 +12440,10 @@ body {
|
|
|
12428
12440
|
width: 1.25rem;
|
|
12429
12441
|
}
|
|
12430
12442
|
|
|
12443
|
+
.max-md2\:w-\[140px\] {
|
|
12444
|
+
width: 140px;
|
|
12445
|
+
}
|
|
12446
|
+
|
|
12431
12447
|
.max-md2\:w-\[16px\] {
|
|
12432
12448
|
width: 16px;
|
|
12433
12449
|
}
|
|
@@ -14271,6 +14287,10 @@ body {
|
|
|
14271
14287
|
align-items: center;
|
|
14272
14288
|
}
|
|
14273
14289
|
|
|
14290
|
+
.max-sm\:gap-3 {
|
|
14291
|
+
gap: 0.75rem;
|
|
14292
|
+
}
|
|
14293
|
+
|
|
14274
14294
|
.max-sm\:gap-\[10px\] {
|
|
14275
14295
|
gap: 10px;
|
|
14276
14296
|
}
|
|
@@ -14989,10 +15009,6 @@ body {
|
|
|
14989
15009
|
margin-bottom: 12px;
|
|
14990
15010
|
}
|
|
14991
15011
|
|
|
14992
|
-
.max-xs\:mb-\[16px\] {
|
|
14993
|
-
margin-bottom: 16px;
|
|
14994
|
-
}
|
|
14995
|
-
|
|
14996
15012
|
.max-xs\:mb-\[17px\] {
|
|
14997
15013
|
margin-bottom: 17px;
|
|
14998
15014
|
}
|
|
@@ -15240,10 +15256,6 @@ body {
|
|
|
15240
15256
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
15241
15257
|
}
|
|
15242
15258
|
|
|
15243
|
-
.max-xs\:grid-cols-1 {
|
|
15244
|
-
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
15245
|
-
}
|
|
15246
|
-
|
|
15247
15259
|
.max-xs\:grid-cols-2 {
|
|
15248
15260
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
15249
15261
|
}
|
|
@@ -15264,10 +15276,6 @@ body {
|
|
|
15264
15276
|
gap: 0.5rem;
|
|
15265
15277
|
}
|
|
15266
15278
|
|
|
15267
|
-
.max-xs\:gap-3 {
|
|
15268
|
-
gap: 0.75rem;
|
|
15269
|
-
}
|
|
15270
|
-
|
|
15271
15279
|
.max-xs\:gap-\[10px\] {
|
|
15272
15280
|
gap: 10px;
|
|
15273
15281
|
}
|
|
@@ -15385,6 +15393,10 @@ body {
|
|
|
15385
15393
|
padding-right: 68px;
|
|
15386
15394
|
}
|
|
15387
15395
|
|
|
15396
|
+
.max-xs\:pt-\[1px\] {
|
|
15397
|
+
padding-top: 1px;
|
|
15398
|
+
}
|
|
15399
|
+
|
|
15388
15400
|
.max-xs\:pt-\[50px\] {
|
|
15389
15401
|
padding-top: 50px;
|
|
15390
15402
|
}
|