@daeryun/dr_components 0.8.74 → 0.8.76

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.
@@ -0,0 +1,3 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 10 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M2.01407 0.206385L9.78707 8.18038C9.92359 8.32045 10 8.5083 10 8.70389C10 8.89947 9.92359 9.08732 9.78707 9.22738L2.01407 17.2044C1.95048 17.2697 1.87444 17.3216 1.79046 17.3571C1.70647 17.3925 1.61623 17.4108 1.52507 17.4108C1.43391 17.4108 1.34368 17.3925 1.25969 17.3571C1.1757 17.3216 1.09967 17.2697 1.03607 17.2044C0.90523 17.0704 0.831976 16.8906 0.831976 16.7034C0.831976 16.5161 0.90523 16.3363 1.03607 16.2024L8.34557 8.70389L1.03607 1.20688C0.905678 1.07301 0.832708 0.893517 0.832708 0.706635C0.832708 0.519753 0.905678 0.340257 1.03607 0.206385C1.09967 0.14107 1.1757 0.0891567 1.25969 0.0537096C1.34368 0.0182625 1.43391 0 1.52507 0C1.61623 0 1.70647 0.0182625 1.79046 0.0537096C1.87444 0.0891567 1.95048 0.14107 2.01407 0.206385Z" fill="current"/>
3
+ </svg>
@@ -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];
@@ -7,7 +7,7 @@ const meta = {
7
7
  argTypes: {
8
8
  type: {
9
9
  control: 'select',
10
- options: ['comp', 'estate', 'military', 'guard']
10
+ options: ['comp', 'estate', 'military', 'guard', 'forensic']
11
11
  }
12
12
  }
13
13
  };
@@ -10,7 +10,7 @@ const meta = {
10
10
  argTypes: {
11
11
  type: {
12
12
  control: 'select',
13
- options: ['comp', 'estate', 'military', 'guard']
13
+ options: ['comp', 'estate', 'military', 'guard', 'forensic']
14
14
  }
15
15
  }
16
16
  } satisfies Meta<typeof BrochureBtn>;
@@ -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,74 +1,55 @@
1
1
  import Link from 'next/link';
2
2
  import React, { useState } from 'react';
3
- import IconLabel from '../../../../asset/images/success_new/label.svg';
4
- import IconArrow from '../../../../asset/images/success_new/arrow.svg';
3
+ import IconArrow from '../../../../asset/images/success_new/arrow_line.svg';
5
4
  const LawInfoContentList = ({ contentsList, template, className }) => {
6
5
  const [hoverNum, setHoverNum] = useState(0);
7
- return (<section className={'w-full ' + className}>
8
- <div className={'mb-[45px] text-[28px] font-[900] tracking-[5.6px] text-[#0F295F] ' +
6
+ return (<section className={'w-full bg-[#F6F6F6] p-[54px] ' +
7
+ 'max-lg:p-[48px] max-md2:p-[40px] max-sm:p-[32px] ' +
8
+ 'max-2xs:px-5 ' +
9
+ className} style={{ fontFamily: "'Noto Sans KR', sans-serif" }}>
10
+ <div className={'mb-[29px] text-[34px] font-[800] leading-none tracking-[-4%] text-[#192555] ' +
9
11
  //1024px
10
- 'max-lg:text-[26px] ' +
12
+ 'max-lg:text-[28px] ' +
13
+ //900px
14
+ 'max-md2:mb-[24px] max-md2:text-[26px] ' +
11
15
  //768px
12
- 'max-md:mb-[35px] max-md:text-[24px] ' +
13
- //520px
14
- 'max-2sm:text-[22px] ' +
15
- //400px
16
- 'max-2xs:text-[20px] '}>
17
- CONTENTS
16
+ 'max-md:text-[24px] ' +
17
+ //640px
18
+ 'max-sm:text-[22px] ' +
19
+ //480px
20
+ 'max-xs:mb-[16px]'}>
21
+ 관련 정보
18
22
  </div>
19
- <ul className={'flex flex-col gap-[10px]'}>
23
+ <ul className={'grid grid-cols-3 gap-[20px] ' + 'max-md:grid-cols-2 ' + 'max-xs:grid-cols-1 max-xs:gap-3'}>
20
24
  {contentsList &&
21
25
  contentsList.map((content, index) => (<li key={'contents ' + content.type_idx}>
22
26
  <Link target={content.center_code === template[0].center_code ? '' : '_blank'} href={content.center_code === template[0].center_code
23
27
  ? `/lawInfo_new/${content.type_idx}`
24
- : `${content.domain}lawInfo_new/${content.type_idx}`} onMouseEnter={() => setHoverNum(index)} className={'flex w-full items-center justify-between gap-[25px] rounded-[10px] bg-[#0F295F] px-[30px] py-[25px] transition-[background] ' +
25
- `${index === hoverNum ? '' : 'bg-opacity-[0.04] '}` +
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 ' +
29
+ `${index === hoverNum ? ' ' : 'bg-opacity-0 '} ` +
26
30
  //1024px
27
- 'max-lg:gap-[20px] ' +
31
+ 'max-lg:gap-[8px] ' +
28
32
  //768px
29
- 'max-md:rounded-[6px] max-md:px-[25px] max-md:py-[20px] ' +
30
- //520px
31
- 'max-2sm:gap-[10px] max-2sm:rounded-[4px] max-2sm:px-[20px] max-2sm:py-[18px] ' +
33
+ 'max-md:p-3 ' +
32
34
  //400px
33
- 'max-2xs:gap-[6px] max-2xs:py-[16px] '}>
34
- <span className={'flex gap-[25px] ' +
35
- //1024px
36
- 'max-lg:gap-[20px] ' +
37
- //520px
38
- 'max-2sm:gap-[10px] '}>
39
- <IconLabel className={'h-auto w-[20px] shrink-0 transition-[fill] ' +
40
- `${index === hoverNum ? 'fill-white ' : 'fill-[#0F295F] '}` +
35
+ 'max-2xs:gap-2'} style={{
36
+ border: '1px solid',
37
+ borderColor: index === hoverNum ? 'transparent' : '#D3D3D3'
38
+ }}>
39
+ <p className={'line-clamp-2 text-[20px] font-[600] leading-[135%] tracking-[-4%] transition-colors ' +
40
+ `${index === hoverNum ? 'text-white ' : 'text-[#192555] '}` +
41
41
  //1400px
42
- 'max-xxl:w-[17px] ' +
42
+ 'max-xxl:text-[18px] ' +
43
43
  //768px
44
- 'max-md:w-[15px] ' +
45
- //520px
46
- 'max-2sm:w-[13px] ' +
47
- //400px
48
- 'max-2xs:w-[11px] '}/>
49
- <p className={'line-clamp-1 text-[24px] font-[700] tracking-[-0.96px] transition-colors ' +
50
- `${index === hoverNum ? 'text-white ' : 'text-[#0F295F] '}` +
44
+ 'max-md:text-[16px] ' +
45
+ //480px
46
+ 'max-xs:leading-[25px]'}>
47
+ {content.tag_title}
48
+ </p>
49
+ <IconArrow className={'mx-[6px] mt-2 h-auto w-[10px] shrink-0 ' +
50
+ `${index === hoverNum ? 'fill-white ' : 'fill-[#192555] '}` +
51
51
  //1400px
52
- 'max-xxl:text-[22px] ' +
53
- //1024px
54
- 'max-lg:text-[20px] ' +
55
- //520px
56
- 'max-2sm:line-clamp-2 max-2sm:text-[18px] ' +
57
- //400px
58
- 'max-2xs:text-[16px] '}>
59
- {content.tag_title}
60
- </p>
61
- </span>
62
- <IconArrow className={'h-auto w-[21px] shrink-0 ' +
63
- `${index === hoverNum ? 'fill-white ' : 'fill-[#0F295F] '}` +
64
- //1400px
65
- 'max-xxl:w-[18px] ' +
66
- //768px
67
- 'max-md:w-[17px] ' +
68
- //520px
69
- 'max-2sm:w-[14px] ' +
70
- //400px
71
- 'max-2xs:w-[12px] '}/>
52
+ 'max-xxl:mt-[4px] max-xxl:w-2 '}/>
72
53
  </Link>
73
54
  </li>))}
74
55
  </ul>
@@ -1,7 +1,7 @@
1
1
  import Link from 'next/link';
2
2
  import React, { useState } from 'react';
3
3
  import IconLabel from '../../../../asset/images/success_new/label.svg';
4
- import IconArrow from '../../../../asset/images/success_new/arrow.svg';
4
+ import IconArrow from '../../../../asset/images/success_new/arrow_line.svg';
5
5
  import { IContentsListTypes, ISeoTemplateTypes } from '../SuccessNewType';
6
6
 
7
7
  const LawInfoContentList = ({
@@ -16,23 +16,33 @@ const LawInfoContentList = ({
16
16
  const [hoverNum, setHoverNum] = useState<number>(0);
17
17
 
18
18
  return (
19
- <section className={'w-full ' + className}>
19
+ <section
20
+ className={
21
+ 'w-full bg-[#F6F6F6] p-[54px] ' +
22
+ 'max-lg:p-[48px] max-md2:p-[40px] max-sm:p-[32px] ' +
23
+ 'max-2xs:px-5 ' +
24
+ className
25
+ }
26
+ style={{ fontFamily: "'Noto Sans KR', sans-serif" }}
27
+ >
20
28
  <div
21
29
  className={
22
- 'mb-[45px] text-[28px] font-[900] tracking-[5.6px] text-[#0F295F] ' +
30
+ 'mb-[29px] text-[34px] font-[800] leading-none tracking-[-4%] text-[#192555] ' +
23
31
  //1024px
24
- 'max-lg:text-[26px] ' +
32
+ 'max-lg:text-[28px] ' +
33
+ //900px
34
+ 'max-md2:mb-[24px] max-md2:text-[26px] ' +
25
35
  //768px
26
- 'max-md:mb-[35px] max-md:text-[24px] ' +
27
- //520px
28
- 'max-2sm:text-[22px] ' +
29
- //400px
30
- 'max-2xs:text-[20px] '
36
+ 'max-md:text-[24px] ' +
37
+ //640px
38
+ 'max-sm:text-[22px] ' +
39
+ //480px
40
+ 'max-xs:mb-[16px]'
31
41
  }
32
42
  >
33
- CONTENTS
43
+ 관련 정보
34
44
  </div>
35
- <ul className={'flex flex-col gap-[10px]'}>
45
+ <ul className={'grid grid-cols-3 gap-[20px] ' + 'max-md:grid-cols-2 ' + 'max-xs:grid-cols-1 max-xs:gap-3'}>
36
46
  {contentsList &&
37
47
  contentsList.map((content, index) => (
38
48
  <li key={'contents ' + content.type_idx}>
@@ -45,70 +55,40 @@ const LawInfoContentList = ({
45
55
  }
46
56
  onMouseEnter={() => setHoverNum(index)}
47
57
  className={
48
- 'flex w-full items-center justify-between gap-[25px] rounded-[10px] bg-[#0F295F] px-[30px] py-[25px] transition-[background] ' +
49
- `${index === hoverNum ? '' : 'bg-opacity-[0.04] '}` +
58
+ 'flex h-full w-full items-start justify-between gap-[10px] bg-[#192555] p-4 transition-all ' +
59
+ `${index === hoverNum ? ' ' : 'bg-opacity-0 '} ` +
50
60
  //1024px
51
- 'max-lg:gap-[20px] ' +
61
+ 'max-lg:gap-[8px] ' +
52
62
  //768px
53
- 'max-md:rounded-[6px] max-md:px-[25px] max-md:py-[20px] ' +
54
- //520px
55
- 'max-2sm:gap-[10px] max-2sm:rounded-[4px] max-2sm:px-[20px] max-2sm:py-[18px] ' +
63
+ 'max-md:p-3 ' +
56
64
  //400px
57
- 'max-2xs:gap-[6px] max-2xs:py-[16px] '
65
+ 'max-2xs:gap-2'
58
66
  }
67
+ style={{
68
+ border: '1px solid',
69
+ borderColor: index === hoverNum ? 'transparent' : '#D3D3D3'
70
+ }}
59
71
  >
60
- <span
72
+ <p
61
73
  className={
62
- 'flex gap-[25px] ' +
63
- //1024px
64
- 'max-lg:gap-[20px] ' +
65
- //520px
66
- 'max-2sm:gap-[10px] '
74
+ 'line-clamp-2 text-[20px] font-[600] leading-[135%] tracking-[-4%] transition-colors ' +
75
+ `${index === hoverNum ? 'text-white ' : 'text-[#192555] '}` +
76
+ //1400px
77
+ 'max-xxl:text-[18px] ' +
78
+ //768px
79
+ 'max-md:text-[16px] ' +
80
+ //480px
81
+ 'max-xs:leading-[25px]'
67
82
  }
68
83
  >
69
- <IconLabel
70
- className={
71
- 'h-auto w-[20px] shrink-0 transition-[fill] ' +
72
- `${index === hoverNum ? 'fill-white ' : 'fill-[#0F295F] '}` +
73
- //1400px
74
- 'max-xxl:w-[17px] ' +
75
- //768px
76
- 'max-md:w-[15px] ' +
77
- //520px
78
- 'max-2sm:w-[13px] ' +
79
- //400px
80
- 'max-2xs:w-[11px] '
81
- }
82
- />
83
- <p
84
- className={
85
- 'line-clamp-1 text-[24px] font-[700] tracking-[-0.96px] transition-colors ' +
86
- `${index === hoverNum ? 'text-white ' : 'text-[#0F295F] '}` +
87
- //1400px
88
- 'max-xxl:text-[22px] ' +
89
- //1024px
90
- 'max-lg:text-[20px] ' +
91
- //520px
92
- 'max-2sm:line-clamp-2 max-2sm:text-[18px] ' +
93
- //400px
94
- 'max-2xs:text-[16px] '
95
- }
96
- >
97
- {content.tag_title}
98
- </p>
99
- </span>
84
+ {content.tag_title}
85
+ </p>
100
86
  <IconArrow
101
87
  className={
102
- 'h-auto w-[21px] shrink-0 ' +
103
- `${index === hoverNum ? 'fill-white ' : 'fill-[#0F295F] '}` +
88
+ 'mx-[6px] mt-2 h-auto w-[10px] shrink-0 ' +
89
+ `${index === hoverNum ? 'fill-white ' : 'fill-[#192555] '}` +
104
90
  //1400px
105
- 'max-xxl:w-[18px] ' +
106
- //768px
107
- 'max-md:w-[17px] ' +
108
- //520px
109
- 'max-2sm:w-[14px] ' +
110
- //400px
111
- 'max-2xs:w-[12px] '
91
+ 'max-xxl:mt-[4px] max-xxl:w-2 '
112
92
  }
113
93
  />
114
94
  </Link>