@daeryun/dr_components 0.1.62 → 0.1.63

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.
@@ -5,14 +5,21 @@ const CountingSection = (props) => {
5
5
  const { initialData } = props;
6
6
  const targetRef = useRef(null);
7
7
  const [isCountMount, setIsCountMount] = useState(false);
8
+ const numClass = ' text-[50px] max-xl:text-[48px] max-lg:text-[42px] max-md:text-[32px] max-xs:text-[24px] font-[800] ';
8
9
  const sectionRefs = [
10
+ useRef(null),
11
+ useRef(null),
12
+ useRef(null),
9
13
  useRef(null),
10
14
  useRef(null),
11
15
  useRef(null),
12
16
  useRef(null)
13
17
  ];
14
18
  const { count: caseOutcomeCount } = useCountNum(initialData.consult_cnt, 0, isCountMount, -16.5);
19
+ const { count: caseMandateCount } = useCountNum(initialData.mandate_cnt, 0, isCountMount, -16.5);
15
20
  const { count: professionalCount } = useCountNum(initialData.professional_cnt, 0, isCountMount);
21
+ const { count: caseOutcomeDayCount } = useCountNum(initialData.consult_cnt_day, 0, isCountMount);
22
+ const { count: caseMandateDayCount } = useCountNum(initialData.mandate_cnt_day, 0, isCountMount);
16
23
  const { count: nationwideOfficeCount } = useCountNum(initialData.office_cnt, 0, isCountMount);
17
24
  //애니메이션
18
25
  useEffect(() => {
@@ -21,23 +28,35 @@ const CountingSection = (props) => {
21
28
  };
22
29
  const callback = (entries, observer) => {
23
30
  entries.forEach((entry, index) => {
24
- var _a, _b, _c, _d, _e, _f, _g, _h;
31
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
25
32
  if (entry.isIntersecting) {
26
33
  if (entry.intersectionRatio >= 0.75) {
27
- (_a = sectionRefs[3].current) === null || _a === void 0 ? void 0 : _a.classList.remove('opacity-0');
28
- (_b = sectionRefs[3].current) === null || _b === void 0 ? void 0 : _b.classList.add(`animate-[fadeInUp_1.6s]`);
34
+ (_a = sectionRefs[6].current) === null || _a === void 0 ? void 0 : _a.classList.remove('opacity-0');
35
+ (_b = sectionRefs[6].current) === null || _b === void 0 ? void 0 : _b.classList.add(`animate-[fadeInUp_1.6s]`);
36
+ }
37
+ if (entry.intersectionRatio >= 0.7) {
38
+ (_c = sectionRefs[5].current) === null || _c === void 0 ? void 0 : _c.classList.remove('opacity-0');
39
+ (_d = sectionRefs[5].current) === null || _d === void 0 ? void 0 : _d.classList.add(`animate-[fadeInUp_1.4s]`);
40
+ }
41
+ if (entry.intersectionRatio >= 0.65) {
42
+ (_e = sectionRefs[4].current) === null || _e === void 0 ? void 0 : _e.classList.remove('opacity-0');
43
+ (_f = sectionRefs[4].current) === null || _f === void 0 ? void 0 : _f.classList.add(`animate-[fadeInUp_1.2s]`);
44
+ }
45
+ if (entry.intersectionRatio >= 0.75) {
46
+ (_g = sectionRefs[3].current) === null || _g === void 0 ? void 0 : _g.classList.remove('opacity-0');
47
+ (_h = sectionRefs[3].current) === null || _h === void 0 ? void 0 : _h.classList.add(`animate-[fadeInUp_1.6s]`);
29
48
  }
30
49
  if (entry.intersectionRatio >= 0.7) {
31
- (_c = sectionRefs[2].current) === null || _c === void 0 ? void 0 : _c.classList.remove('opacity-0');
32
- (_d = sectionRefs[2].current) === null || _d === void 0 ? void 0 : _d.classList.add(`animate-[fadeInUp_1.4s]`);
50
+ (_j = sectionRefs[2].current) === null || _j === void 0 ? void 0 : _j.classList.remove('opacity-0');
51
+ (_k = sectionRefs[2].current) === null || _k === void 0 ? void 0 : _k.classList.add(`animate-[fadeInUp_1.4s]`);
33
52
  }
34
53
  if (entry.intersectionRatio >= 0.65) {
35
- (_e = sectionRefs[1].current) === null || _e === void 0 ? void 0 : _e.classList.remove('opacity-0');
36
- (_f = sectionRefs[1].current) === null || _f === void 0 ? void 0 : _f.classList.add(`animate-[fadeInUp_1.2s]`);
54
+ (_l = sectionRefs[1].current) === null || _l === void 0 ? void 0 : _l.classList.remove('opacity-0');
55
+ (_m = sectionRefs[1].current) === null || _m === void 0 ? void 0 : _m.classList.add(`animate-[fadeInUp_1.2s]`);
37
56
  }
38
57
  if (entry.intersectionRatio >= 0.6) {
39
- (_g = sectionRefs[0].current) === null || _g === void 0 ? void 0 : _g.classList.remove('opacity-0');
40
- (_h = sectionRefs[0].current) === null || _h === void 0 ? void 0 : _h.classList.add(`animate-[fadeInUp_1s]`);
58
+ (_o = sectionRefs[0].current) === null || _o === void 0 ? void 0 : _o.classList.remove('opacity-0');
59
+ (_p = sectionRefs[0].current) === null || _p === void 0 ? void 0 : _p.classList.add(`animate-[fadeInUp_1s]`);
41
60
  setIsCountMount(true);
42
61
  }
43
62
  }
@@ -53,43 +72,66 @@ const CountingSection = (props) => {
53
72
  }
54
73
  };
55
74
  }, []);
56
- return (<section ref={targetRef} className={'relative flex h-[460px] w-full items-center justify-center bg-[#F2F2F2] max-lg:h-[300px] max-sm:h-full max-sm:py-20 max-xs:py-16'}>
75
+ return (<section ref={targetRef} className={'relative flex h-[460px] w-full items-center justify-center bg-[#F2F2F2] max-lg:h-[300px] max-sm:h-full max-sm:py-20 max-xs:py-16 flex-col gap-[40px]'}>
57
76
  {props.bgUrl ? (<Image draggable={false} src={props.bgUrl} alt={props.bgAlt ? props.bgAlt : ''} fill/>) : (<></>)}
58
77
 
59
78
  {props.bgImage ? props.bgImage : <></>}
60
79
 
61
80
  <div className={'relative z-10 grid h-[110px] w-[90%] max-w-[1340px] grid-cols-3 text-center leading-tight ' +
62
81
  'max-lg:h-[80px] max-lg:w-full ' +
63
- 'max-md:h-[60px] ' +
64
- ' sm:grid sm:grid-cols-3 ' +
65
- 'max-xs:h-[50px] '} style={{ color: props.fontColor ? props.fontColor : 'black' }}>
82
+ 'max-sm:h-[80px] sm:grid sm:grid-cols-3 ' +
83
+ 'max-xs:h-[60px] '} style={{ color: props.fontColor ? props.fontColor : 'black' }}>
66
84
  <div ref={sectionRefs[1]} className={'flex flex-col justify-between opacity-0 '}>
67
85
  <p className={'text-[24px] leading-none max-lg:text-[18px] max-xs:text-[16px]'}>누적 상담건수</p>{' '}
68
86
  <span className={'mt-1 text-[13px] max-xs:text-[10px]'}>
69
87
  *{initialData.consult_date.toLocaleString()}
70
88
  </span>
71
- <p className={'text-[50px] max-xl:text-[48px] max-lg:text-[42px] max-md:text-[30px] max-xs:text-[24px] font-[800]'}>
72
- {caseOutcomeCount.toLocaleString()} +
73
- </p>
89
+ <p className={numClass}>{caseOutcomeCount.toLocaleString()} +</p>
74
90
  </div>
75
91
  <div style={{
76
92
  borderLeftColor: props.fontColor ? props.fontColor : 'black',
77
93
  borderRightColor: props.fontColor ? props.fontColor : 'black',
78
94
  borderRight: 'solid 1px',
79
95
  borderLeft: 'solid 1px'
80
- }} ref={sectionRefs[2]} className={'flex flex-col justify-between opacity-0'}>
81
- <p className={'text-[24px] leading-none max-lg:text-[18px] max-xs:text-[16px]'}>전문가</p>
96
+ }} ref={sectionRefs[2]} className={'flex flex-col justify-between border-x-[0.05vw] border-solid border-black opacity-100'}>
97
+ <p className={'text-[24px] leading-none max-lg:text-[18px] max-xs:text-[16px]'}>누적 수임건수</p>
98
+ <span className={'mt-1 text-[13px] max-xs:text-[10px]'}>
99
+ *{initialData.consult_date.toLocaleString()}
100
+ </span>
82
101
 
83
- <p className={'text-[50px] max-xl:text-[48px] max-lg:text-[42px] max-md:text-[30px] max-xs:text-[24px] font-[800]'}>
84
- {professionalCount} +
102
+ <p className={numClass}>{caseMandateCount.toLocaleString()} +</p>
103
+ </div>
104
+ <div ref={sectionRefs[2]} className={'flex flex-col justify-between opacity-0'}>
105
+ <p className={'text-[24px] leading-none max-lg:text-[18px] max-xs:text-[16px]'}>전문가</p>
106
+ <p className={numClass}>{professionalCount} +</p>
107
+ </div>
108
+ </div>
109
+ <div className={'relative z-10 grid h-[110px] w-[90%] max-w-[1340px] grid-cols-3 text-center leading-tight ' +
110
+ 'max-lg:h-[80px] max-lg:w-full ' +
111
+ 'max-sm:h-[80px] sm:grid sm:grid-cols-3 ' +
112
+ 'max-xs:h-[60px]'} style={{ color: props.fontColor ? props.fontColor : 'black' }}>
113
+ <div ref={sectionRefs[4]} className={'flex flex-col justify-between opacity-0 '}>
114
+ <p className={'text-[24px] leading-none max-lg:text-[18px] max-xs:text-[16px]'}>
115
+ 일 평균 상담건수
116
+ <br />
85
117
  </p>
118
+ <p className={numClass}>{caseOutcomeDayCount} +</p>
86
119
  </div>
87
- <div ref={sectionRefs[3]} className={'flex flex-col justify-between opacity-0'}>
88
- <p className={'text-[24px] leading-none max-lg:text-[18px] max-xs:text-[16px]'}>전국대응거점</p>
89
-
90
- <p className={'text-[50px] max-xl:text-[48px] max-lg:text-[42px] max-md:text-[30px] max-xs:text-[24px] font-[800]'}>
91
- {nationwideOfficeCount}
120
+ <div style={{
121
+ borderLeftColor: props.fontColor ? props.fontColor : 'black',
122
+ borderRightColor: props.fontColor ? props.fontColor : 'black',
123
+ borderRight: 'solid 1px',
124
+ borderLeft: 'solid 1px'
125
+ }} ref={sectionRefs[5]} className={'flex flex-col justify-between opacity-0'}>
126
+ <p className={'text-[24px] leading-none max-lg:text-[18px] max-xs:text-[16px]'}>
127
+ 일 평균 수임건수
128
+ <br />
92
129
  </p>
130
+ <p className={numClass}>{caseMandateDayCount} +</p>
131
+ </div>
132
+ <div ref={sectionRefs[6]} className={'flex flex-col justify-between opacity-0'}>
133
+ <p className={'text-[24px] max-lg:text-[18px]'}>전국대응거점</p>
134
+ <p className={numClass}>{nationwideOfficeCount}</p>
93
135
  </div>
94
136
  </div>
95
137
  </section>);
@@ -18,12 +18,12 @@ export const Default = {
18
18
  bgAlt: '배경',
19
19
  initialData: {
20
20
  lawyer_cnt: 230,
21
- office_cnt: 39,
22
- consult_cnt: 361053,
21
+ office_cnt: 41,
22
+ consult_cnt: 101938,
23
23
  success_cnt: 27002,
24
24
  center_cnt: 22,
25
25
  regenerTotal_cnt: 7526723016,
26
- professional_cnt: 550,
26
+ professional_cnt: 240,
27
27
  weekday: '06:00 ~ 24:00',
28
28
  weekend: '06:00 ~ 24:00',
29
29
  consult_time: '365일 24시간 상담과 긴급대응 가능',
@@ -46,11 +46,14 @@ export const Default = {
46
46
  success_2024_ko: '2만 7,002',
47
47
  compensation_regener_success: 9891,
48
48
  detective_success: 9314,
49
- consult_date: '',
50
49
  divorce_inherit_success: 6332,
51
50
  comp_administration_success: 1465,
52
51
  aggregationDate: '2024.1.2~2024.8.31',
53
- main_date: '2024년 1~8월 기준'
52
+ main_date: '2024년 1~8월 기준',
53
+ consult_date: '지난 3년간 기준',
54
+ mandate_cnt: 26941,
55
+ consult_cnt_day: 146,
56
+ mandate_cnt_day: 67
54
57
  }
55
58
  }
56
59
  };
@@ -26,12 +26,12 @@ export const Default: Story = {
26
26
  bgAlt: '배경',
27
27
  initialData: {
28
28
  lawyer_cnt: 230,
29
- office_cnt: 39,
30
- consult_cnt: 361053,
29
+ office_cnt: 41,
30
+ consult_cnt: 101938,
31
31
  success_cnt: 27002,
32
32
  center_cnt: 22,
33
33
  regenerTotal_cnt: 7526723016,
34
- professional_cnt: 550,
34
+ professional_cnt: 240,
35
35
  weekday: '06:00 ~ 24:00',
36
36
  weekend: '06:00 ~ 24:00',
37
37
  consult_time: '365일 24시간 상담과 긴급대응 가능',
@@ -54,11 +54,14 @@ export const Default: Story = {
54
54
  success_2024_ko: '2만 7,002',
55
55
  compensation_regener_success: 9891,
56
56
  detective_success: 9314,
57
- consult_date: '',
58
57
  divorce_inherit_success: 6332,
59
58
  comp_administration_success: 1465,
60
59
  aggregationDate: '2024.1.2~2024.8.31',
61
- main_date: '2024년 1~8월 기준'
60
+ main_date: '2024년 1~8월 기준',
61
+ consult_date: '지난 3년간 기준',
62
+ mandate_cnt: 26941,
63
+ consult_cnt_day: 146,
64
+ mandate_cnt_day: 67
62
65
  }
63
66
  }
64
67
  };
@@ -14,8 +14,13 @@ const CountingSection = (props: {
14
14
 
15
15
  const targetRef = useRef<HTMLDivElement | null>(null);
16
16
  const [isCountMount, setIsCountMount] = useState(false);
17
+ const numClass =
18
+ ' text-[50px] max-xl:text-[48px] max-lg:text-[42px] max-md:text-[32px] max-xs:text-[24px] font-[800] ';
17
19
 
18
20
  const sectionRefs = [
21
+ useRef<HTMLDivElement | null>(null),
22
+ useRef<HTMLDivElement | null>(null),
23
+ useRef<HTMLDivElement | null>(null),
19
24
  useRef<HTMLDivElement | null>(null),
20
25
  useRef<HTMLDivElement | null>(null),
21
26
  useRef<HTMLDivElement | null>(null),
@@ -23,8 +28,12 @@ const CountingSection = (props: {
23
28
  ];
24
29
 
25
30
  const { count: caseOutcomeCount } = useCountNum(initialData.consult_cnt, 0, isCountMount, -16.5);
31
+ const { count: caseMandateCount } = useCountNum(initialData.mandate_cnt, 0, isCountMount, -16.5);
26
32
  const { count: professionalCount } = useCountNum(initialData.professional_cnt, 0, isCountMount);
33
+ const { count: caseOutcomeDayCount } = useCountNum(initialData.consult_cnt_day, 0, isCountMount);
34
+ const { count: caseMandateDayCount } = useCountNum(initialData.mandate_cnt_day, 0, isCountMount);
27
35
  const { count: nationwideOfficeCount } = useCountNum(initialData.office_cnt, 0, isCountMount);
36
+
28
37
  //애니메이션
29
38
  useEffect(() => {
30
39
  const options: IntersectionObserverInit = {
@@ -34,6 +43,18 @@ const CountingSection = (props: {
34
43
  const callback: IntersectionObserverCallback = (entries, observer) => {
35
44
  entries.forEach((entry, index) => {
36
45
  if (entry.isIntersecting) {
46
+ if (entry.intersectionRatio >= 0.75) {
47
+ sectionRefs[6].current?.classList.remove('opacity-0');
48
+ sectionRefs[6].current?.classList.add(`animate-[fadeInUp_1.6s]`);
49
+ }
50
+ if (entry.intersectionRatio >= 0.7) {
51
+ sectionRefs[5].current?.classList.remove('opacity-0');
52
+ sectionRefs[5].current?.classList.add(`animate-[fadeInUp_1.4s]`);
53
+ }
54
+ if (entry.intersectionRatio >= 0.65) {
55
+ sectionRefs[4].current?.classList.remove('opacity-0');
56
+ sectionRefs[4].current?.classList.add(`animate-[fadeInUp_1.2s]`);
57
+ }
37
58
  if (entry.intersectionRatio >= 0.75) {
38
59
  sectionRefs[3].current?.classList.remove('opacity-0');
39
60
  sectionRefs[3].current?.classList.add(`animate-[fadeInUp_1.6s]`);
@@ -72,7 +93,7 @@ const CountingSection = (props: {
72
93
  <section
73
94
  ref={targetRef}
74
95
  className={
75
- 'relative flex h-[460px] w-full items-center justify-center bg-[#F2F2F2] max-lg:h-[300px] max-sm:h-full max-sm:py-20 max-xs:py-16'
96
+ 'relative flex h-[460px] w-full items-center justify-center bg-[#F2F2F2] max-lg:h-[300px] max-sm:h-full max-sm:py-20 max-xs:py-16 flex-col gap-[40px]'
76
97
  }
77
98
  >
78
99
  {props.bgUrl ? (
@@ -87,9 +108,8 @@ const CountingSection = (props: {
87
108
  className={
88
109
  'relative z-10 grid h-[110px] w-[90%] max-w-[1340px] grid-cols-3 text-center leading-tight ' +
89
110
  'max-lg:h-[80px] max-lg:w-full ' +
90
- 'max-md:h-[60px] ' +
91
- ' sm:grid sm:grid-cols-3 ' +
92
- 'max-xs:h-[50px] '
111
+ 'max-sm:h-[80px] sm:grid sm:grid-cols-3 ' +
112
+ 'max-xs:h-[60px] '
93
113
  }
94
114
  style={{ color: props.fontColor ? props.fontColor : 'black' }}
95
115
  >
@@ -98,13 +118,7 @@ const CountingSection = (props: {
98
118
  <span className={'mt-1 text-[13px] max-xs:text-[10px]'}>
99
119
  *{initialData.consult_date.toLocaleString()}
100
120
  </span>
101
- <p
102
- className={
103
- 'text-[50px] max-xl:text-[48px] max-lg:text-[42px] max-md:text-[30px] max-xs:text-[24px] font-[800]'
104
- }
105
- >
106
- {caseOutcomeCount.toLocaleString()} +
107
- </p>
121
+ <p className={numClass}>{caseOutcomeCount.toLocaleString()} +</p>
108
122
  </div>
109
123
  <div
110
124
  style={{
@@ -114,28 +128,55 @@ const CountingSection = (props: {
114
128
  borderLeft: 'solid 1px'
115
129
  }}
116
130
  ref={sectionRefs[2]}
117
- className={'flex flex-col justify-between opacity-0'}
131
+ className={'flex flex-col justify-between border-x-[0.05vw] border-solid border-black opacity-100'}
118
132
  >
119
- <p className={'text-[24px] leading-none max-lg:text-[18px] max-xs:text-[16px]'}>전문가</p>
133
+ <p className={'text-[24px] leading-none max-lg:text-[18px] max-xs:text-[16px]'}>누적 수임건수</p>
134
+ <span className={'mt-1 text-[13px] max-xs:text-[10px]'}>
135
+ *{initialData.consult_date.toLocaleString()}
136
+ </span>
120
137
 
121
- <p
122
- className={
123
- 'text-[50px] max-xl:text-[48px] max-lg:text-[42px] max-md:text-[30px] max-xs:text-[24px] font-[800]'
124
- }
125
- >
126
- {professionalCount} +
138
+ <p className={numClass}>{caseMandateCount.toLocaleString()} +</p>
139
+ </div>
140
+ <div ref={sectionRefs[2]} className={'flex flex-col justify-between opacity-0'}>
141
+ <p className={'text-[24px] leading-none max-lg:text-[18px] max-xs:text-[16px]'}>전문가</p>
142
+ <p className={numClass}>{professionalCount} +</p>
143
+ </div>
144
+ </div>
145
+ <div
146
+ className={
147
+ 'relative z-10 grid h-[110px] w-[90%] max-w-[1340px] grid-cols-3 text-center leading-tight ' +
148
+ 'max-lg:h-[80px] max-lg:w-full ' +
149
+ 'max-sm:h-[80px] sm:grid sm:grid-cols-3 ' +
150
+ 'max-xs:h-[60px]'
151
+ }
152
+ style={{ color: props.fontColor ? props.fontColor : 'black' }}
153
+ >
154
+ <div ref={sectionRefs[4]} className={'flex flex-col justify-between opacity-0 '}>
155
+ <p className={'text-[24px] leading-none max-lg:text-[18px] max-xs:text-[16px]'}>
156
+ 일 평균 상담건수
157
+ <br />
127
158
  </p>
159
+ <p className={numClass}>{caseOutcomeDayCount} +</p>
128
160
  </div>
129
- <div ref={sectionRefs[3]} className={'flex flex-col justify-between opacity-0'}>
130
- <p className={'text-[24px] leading-none max-lg:text-[18px] max-xs:text-[16px]'}>전국대응거점</p>
131
-
132
- <p
133
- className={
134
- 'text-[50px] max-xl:text-[48px] max-lg:text-[42px] max-md:text-[30px] max-xs:text-[24px] font-[800]'
135
- }
136
- >
137
- {nationwideOfficeCount}
161
+ <div
162
+ style={{
163
+ borderLeftColor: props.fontColor ? props.fontColor : 'black',
164
+ borderRightColor: props.fontColor ? props.fontColor : 'black',
165
+ borderRight: 'solid 1px',
166
+ borderLeft: 'solid 1px'
167
+ }}
168
+ ref={sectionRefs[5]}
169
+ className={'flex flex-col justify-between opacity-0'}
170
+ >
171
+ <p className={'text-[24px] leading-none max-lg:text-[18px] max-xs:text-[16px]'}>
172
+ 일 평균 수임건수
173
+ <br />
138
174
  </p>
175
+ <p className={numClass}>{caseMandateDayCount} +</p>
176
+ </div>
177
+ <div ref={sectionRefs[6]} className={'flex flex-col justify-between opacity-0'}>
178
+ <p className={'text-[24px] max-lg:text-[18px]'}>전국대응거점</p>
179
+ <p className={numClass}>{nationwideOfficeCount}</p>
139
180
  </div>
140
181
  </div>
141
182
  </section>
@@ -18,13 +18,12 @@ export const Default = {
18
18
  setSelectRegion: () => { },
19
19
  initialData: {
20
20
  lawyer_cnt: 230,
21
- office_cnt: 39,
22
- consult_cnt: 361053,
21
+ office_cnt: 41,
22
+ consult_cnt: 101938,
23
23
  success_cnt: 27002,
24
- consult_date: '',
25
24
  center_cnt: 22,
26
25
  regenerTotal_cnt: 7526723016,
27
- professional_cnt: 550,
26
+ professional_cnt: 240,
28
27
  weekday: '06:00 ~ 24:00',
29
28
  weekend: '06:00 ~ 24:00',
30
29
  consult_time: '365일 24시간 상담과 긴급대응 가능',
@@ -50,7 +49,11 @@ export const Default = {
50
49
  divorce_inherit_success: 6332,
51
50
  comp_administration_success: 1465,
52
51
  aggregationDate: '2024.1.2~2024.8.31',
53
- main_date: '2024년 1~8월 기준'
52
+ main_date: '2024년 1~8월 기준',
53
+ consult_date: '지난 3년간 기준',
54
+ mandate_cnt: 26941,
55
+ consult_cnt_day: 146,
56
+ mandate_cnt_day: 67
54
57
  }
55
58
  }
56
59
  };
@@ -26,13 +26,12 @@ export const Default: Story = {
26
26
  setSelectRegion: () => {},
27
27
  initialData: {
28
28
  lawyer_cnt: 230,
29
- office_cnt: 39,
30
- consult_cnt: 361053,
29
+ office_cnt: 41,
30
+ consult_cnt: 101938,
31
31
  success_cnt: 27002,
32
- consult_date: '',
33
32
  center_cnt: 22,
34
33
  regenerTotal_cnt: 7526723016,
35
- professional_cnt: 550,
34
+ professional_cnt: 240,
36
35
  weekday: '06:00 ~ 24:00',
37
36
  weekend: '06:00 ~ 24:00',
38
37
  consult_time: '365일 24시간 상담과 긴급대응 가능',
@@ -58,7 +57,11 @@ export const Default: Story = {
58
57
  divorce_inherit_success: 6332,
59
58
  comp_administration_success: 1465,
60
59
  aggregationDate: '2024.1.2~2024.8.31',
61
- main_date: '2024년 1~8월 기준'
60
+ main_date: '2024년 1~8월 기준',
61
+ consult_date: '지난 3년간 기준',
62
+ mandate_cnt: 26941,
63
+ consult_cnt_day: 146,
64
+ mandate_cnt_day: 67
62
65
  }
63
66
  }
64
67
  };
@@ -8,7 +8,6 @@ export interface IInitialDataTypes {
8
8
  professional_cnt: number;
9
9
  weekday: string;
10
10
  weekend: string;
11
- consult_date: string;
12
11
  consult_time: string;
13
12
  success_2024: number;
14
13
  field_center: string[];
@@ -19,6 +18,10 @@ export interface IInitialDataTypes {
19
18
  comp_administration_success: number;
20
19
  aggregationDate: string;
21
20
  main_date: string;
21
+ consult_date: string;
22
+ mandate_cnt: number;
23
+ consult_cnt_day: number;
24
+ mandate_cnt_day: number;
22
25
  }
23
26
  export interface ICenter {
24
27
  code: string;
@@ -8,7 +8,6 @@ export interface IInitialDataTypes {
8
8
  professional_cnt: number;
9
9
  weekday: string;
10
10
  weekend: string;
11
- consult_date: string;
12
11
  consult_time: string;
13
12
  success_2024: number;
14
13
  field_center: string[];
@@ -19,6 +18,10 @@ export interface IInitialDataTypes {
19
18
  comp_administration_success: number;
20
19
  aggregationDate: string;
21
20
  main_date: string;
21
+ consult_date: string;
22
+ mandate_cnt: number;
23
+ consult_cnt_day: number;
24
+ mandate_cnt_day: number;
22
25
  }
23
26
  export interface ICenter {
24
27
  code: string;
@@ -1447,6 +1447,10 @@ video {
1447
1447
  gap: 3px;
1448
1448
  }
1449
1449
 
1450
+ .gap-\[40px\] {
1451
+ gap: 40px;
1452
+ }
1453
+
1450
1454
  .gap-\[65px\] {
1451
1455
  gap: 65px;
1452
1456
  }
@@ -1516,6 +1520,11 @@ video {
1516
1520
  border-width: 1px;
1517
1521
  }
1518
1522
 
1523
+ .border-x-\[0\.05vw\] {
1524
+ border-left-width: 0.05vw;
1525
+ border-right-width: 0.05vw;
1526
+ }
1527
+
1519
1528
  .border-b-\[1px\] {
1520
1529
  border-bottom-width: 1px;
1521
1530
  }
@@ -3049,10 +3058,6 @@ body {
3049
3058
  height: 53px;
3050
3059
  }
3051
3060
 
3052
- .max-md\:h-\[60px\] {
3053
- height: 60px;
3054
- }
3055
-
3056
3061
  .max-md\:h-\[85\%\] {
3057
3062
  height: 85%;
3058
3063
  }
@@ -3126,8 +3131,8 @@ body {
3126
3131
  font-size: 14px;
3127
3132
  }
3128
3133
 
3129
- .max-md\:text-\[30px\] {
3130
- font-size: 30px;
3134
+ .max-md\:text-\[32px\] {
3135
+ font-size: 32px;
3131
3136
  }
3132
3137
 
3133
3138
  .max-md\:text-\[38px\] {
@@ -3157,6 +3162,10 @@ body {
3157
3162
  height: 48px;
3158
3163
  }
3159
3164
 
3165
+ .max-sm\:h-\[80px\] {
3166
+ height: 80px;
3167
+ }
3168
+
3160
3169
  .max-sm\:h-full {
3161
3170
  height: 100%;
3162
3171
  }
@@ -3315,14 +3324,14 @@ body {
3315
3324
  height: 200px;
3316
3325
  }
3317
3326
 
3318
- .max-xs\:h-\[50px\] {
3319
- height: 50px;
3320
- }
3321
-
3322
3327
  .max-xs\:h-\[55px\] {
3323
3328
  height: 55px;
3324
3329
  }
3325
3330
 
3331
+ .max-xs\:h-\[60px\] {
3332
+ height: 60px;
3333
+ }
3334
+
3326
3335
  .max-xs\:h-\[800px\] {
3327
3336
  height: 800px;
3328
3337
  }