@daeryun/dr_components 0.7.81 → 0.7.83
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/CountingSection/CountingSection.stories.jsx +2 -55
- package/dist/components/CountingSection/CountingSection.stories.tsx +2 -55
- package/dist/components/MapSection/MapSection.stories.jsx +2 -55
- package/dist/components/MapSection/MapSection.stories.tsx +2 -55
- package/dist/components/Seo/SeoStrength.jsx +1 -1
- package/dist/components/Seo/SeoStrength.stories.jsx +2 -55
- package/dist/components/Seo/SeoStrength.stories.tsx +2 -57
- package/dist/components/Seo/SeoStrength.tsx +1 -1
- package/dist/components/common/initialData/index.d.ts +2 -0
- package/dist/components/common/initialData/index.js +62 -0
- package/dist/components/common/initialData/index.ts +65 -0
- package/dist/components/common/integrate/index.d.ts +1 -1
- package/dist/components/common/strength/index.js +7 -7
- package/dist/components/common/strength/index.ts +7 -7
- package/dist/components/common/types/index.d.ts +7 -1
- package/dist/components/common/types/index.ts +7 -1
- package/dist/components/page/Choice/Choice.stories.jsx +2 -55
- package/dist/components/page/Choice/Choice.stories.tsx +2 -58
- package/dist/components/page/Faq/Detail/FaqList.stories.jsx +2 -56
- package/dist/components/page/Faq/Detail/FaqList.stories.tsx +2 -56
- package/dist/components/page/Strength/Strength.stories.jsx +2 -55
- package/dist/components/page/Strength/Strength.stories.tsx +2 -55
- package/dist/components/page/Strength/StrengthIntro.jsx +4 -5
- package/dist/components/page/Strength/StrengthIntro.tsx +4 -5
- package/dist/lib/utils.js +7 -4
- package/dist/lib/utils.ts +9 -4
- package/dist/styles/globals.css +305 -301
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
2
|
import FaqDetail from './FaqDetail';
|
|
3
3
|
import { IFaqTypes } from '../../../common/types/faq';
|
|
4
|
+
import { initInitialData } from '../../../common/initialData';
|
|
4
5
|
|
|
5
6
|
const meta: Meta<typeof FaqDetail> = {
|
|
6
7
|
component: FaqDetail,
|
|
@@ -24,61 +25,6 @@ const faqData: IFaqTypes = {
|
|
|
24
25
|
question_contents:
|
|
25
26
|
'이번에 회사의 규모가 커지면서 근로와 관련된 계약서검토를 받으니 취업규칙 작성이 필요하다는 걸 뒤늦게 알게 됐습니다. 그런데 취업규칙이라는게 사업주 혼자서 결정하고 쓰는게 아니더라고요.취업규칙을 만들거나 수정할 때 뭘 유의해야는지 알려주실 수 있나요?'
|
|
26
27
|
};
|
|
27
|
-
const initialData = {
|
|
28
|
-
lawyer_cnt: 230,
|
|
29
|
-
office_cnt: 41,
|
|
30
|
-
consult_cnt: 137668,
|
|
31
|
-
success_cnt: 27002,
|
|
32
|
-
center_cnt: 22,
|
|
33
|
-
regenerTotal_cnt: 7526723016,
|
|
34
|
-
professional_cnt: 240,
|
|
35
|
-
total_cnt: 620,
|
|
36
|
-
weekday: '06:00 ~ 24:00',
|
|
37
|
-
weekend: '06:00 ~ 24:00',
|
|
38
|
-
consult_time: '365일 24시간 상담과 긴급대응 가능',
|
|
39
|
-
success_2024: 27002,
|
|
40
|
-
field_center: [
|
|
41
|
-
'CT0001',
|
|
42
|
-
'CT0002',
|
|
43
|
-
'CT0005',
|
|
44
|
-
'CT0006',
|
|
45
|
-
'CT0012',
|
|
46
|
-
'CT0013',
|
|
47
|
-
'CT0015',
|
|
48
|
-
'CT0016',
|
|
49
|
-
'CT0018',
|
|
50
|
-
'CT0019',
|
|
51
|
-
'CT0024',
|
|
52
|
-
'CT0025',
|
|
53
|
-
'CT0026',
|
|
54
|
-
'CT0008',
|
|
55
|
-
'CT0007',
|
|
56
|
-
'CT0003',
|
|
57
|
-
'CT0010',
|
|
58
|
-
'CT0017',
|
|
59
|
-
'CT0004',
|
|
60
|
-
'CT0022',
|
|
61
|
-
'CT0009',
|
|
62
|
-
'CT0011',
|
|
63
|
-
'CT0014',
|
|
64
|
-
'CT0021'
|
|
65
|
-
],
|
|
66
|
-
success_2024_ko: '2만 7,002',
|
|
67
|
-
compensation_regener_success: 9891,
|
|
68
|
-
detective_success: 9314,
|
|
69
|
-
divorce_inherit_success: 6332,
|
|
70
|
-
comp_administration_success: 1465,
|
|
71
|
-
aggregationDate: '2024.1.2~2024.8.31',
|
|
72
|
-
main_date: '2024년 1~8월 기준',
|
|
73
|
-
comp_cnt: 878,
|
|
74
|
-
consult_date: '지난 3년간 기준',
|
|
75
|
-
mandate_cnt: 30505,
|
|
76
|
-
consult_cnt_day: 175,
|
|
77
|
-
mandate_cnt_day: 73,
|
|
78
|
-
month_business_day: '2024년 11월 영업일 기준',
|
|
79
|
-
current_month: 3,
|
|
80
|
-
pro_count: 300
|
|
81
|
-
};
|
|
82
28
|
const fieldData = [
|
|
83
29
|
{ field_title: '기업법률자문', idx: 4228, pathname: '/field_new/', title_text: '기업법무 · 기업법률자문' },
|
|
84
30
|
{ field_title: '기업인수', idx: 4699, pathname: '/field_new/', title_text: 'M&A · 기업인수' },
|
|
@@ -191,7 +137,7 @@ export const Default: Story = {
|
|
|
191
137
|
tel={'0000-0000'}
|
|
192
138
|
code_desc={'comp'}
|
|
193
139
|
code_name={'기업법무'}
|
|
194
|
-
initialData={
|
|
140
|
+
initialData={initInitialData}
|
|
195
141
|
pnData={{
|
|
196
142
|
next_idx: 328,
|
|
197
143
|
next_title: '취업규칙을 작성하며 계약서검토할 때 조심해야 할 부분은 무엇인가요?',
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import Strength from './Strength';
|
|
2
|
+
import { initInitialData } from '../../common/initialData';
|
|
2
3
|
const meta = {
|
|
3
4
|
component: Strength,
|
|
4
5
|
title: 'StrengthPage'
|
|
@@ -11,60 +12,6 @@ export const Default = {
|
|
|
11
12
|
</div>);
|
|
12
13
|
},
|
|
13
14
|
args: {
|
|
14
|
-
initialData:
|
|
15
|
-
lawyer_cnt: 230,
|
|
16
|
-
office_cnt: 41,
|
|
17
|
-
consult_cnt: 137668,
|
|
18
|
-
success_cnt: 27002,
|
|
19
|
-
center_cnt: 22,
|
|
20
|
-
regenerTotal_cnt: 7526723016,
|
|
21
|
-
professional_cnt: 240,
|
|
22
|
-
total_cnt: 620,
|
|
23
|
-
weekday: '06:00 ~ 24:00',
|
|
24
|
-
weekend: '06:00 ~ 24:00',
|
|
25
|
-
consult_time: '365일 24시간 상담과 긴급대응 가능',
|
|
26
|
-
success_2024: 27002,
|
|
27
|
-
field_center: [
|
|
28
|
-
'CT0001',
|
|
29
|
-
'CT0002',
|
|
30
|
-
'CT0005',
|
|
31
|
-
'CT0006',
|
|
32
|
-
'CT0012',
|
|
33
|
-
'CT0013',
|
|
34
|
-
'CT0015',
|
|
35
|
-
'CT0016',
|
|
36
|
-
'CT0018',
|
|
37
|
-
'CT0019',
|
|
38
|
-
'CT0024',
|
|
39
|
-
'CT0025',
|
|
40
|
-
'CT0026',
|
|
41
|
-
'CT0008',
|
|
42
|
-
'CT0007',
|
|
43
|
-
'CT0003',
|
|
44
|
-
'CT0010',
|
|
45
|
-
'CT0017',
|
|
46
|
-
'CT0004',
|
|
47
|
-
'CT0022',
|
|
48
|
-
'CT0009',
|
|
49
|
-
'CT0011',
|
|
50
|
-
'CT0014',
|
|
51
|
-
'CT0021'
|
|
52
|
-
],
|
|
53
|
-
success_2024_ko: '2만 7,002',
|
|
54
|
-
compensation_regener_success: 9891,
|
|
55
|
-
detective_success: 9314,
|
|
56
|
-
divorce_inherit_success: 6332,
|
|
57
|
-
comp_administration_success: 1465,
|
|
58
|
-
aggregationDate: '2024.1.2~2024.8.31',
|
|
59
|
-
main_date: '2024년 1~8월 기준',
|
|
60
|
-
comp_cnt: 878,
|
|
61
|
-
consult_date: '지난 3년간 기준',
|
|
62
|
-
mandate_cnt: 30505,
|
|
63
|
-
consult_cnt_day: 175,
|
|
64
|
-
mandate_cnt_day: 73,
|
|
65
|
-
month_business_day: '2024년 11월 영업일 기준',
|
|
66
|
-
current_month: 3,
|
|
67
|
-
pro_count: 300
|
|
68
|
-
}
|
|
15
|
+
initialData: initInitialData
|
|
69
16
|
}
|
|
70
17
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
2
|
import Strength from './Strength';
|
|
3
|
+
import { initInitialData } from '../../common/initialData';
|
|
3
4
|
|
|
4
5
|
const meta: Meta<typeof Strength> = {
|
|
5
6
|
component: Strength,
|
|
@@ -18,60 +19,6 @@ export const Default: Story = {
|
|
|
18
19
|
);
|
|
19
20
|
},
|
|
20
21
|
args: {
|
|
21
|
-
initialData:
|
|
22
|
-
lawyer_cnt: 230,
|
|
23
|
-
office_cnt: 41,
|
|
24
|
-
consult_cnt: 137668,
|
|
25
|
-
success_cnt: 27002,
|
|
26
|
-
center_cnt: 22,
|
|
27
|
-
regenerTotal_cnt: 7526723016,
|
|
28
|
-
professional_cnt: 240,
|
|
29
|
-
total_cnt: 620,
|
|
30
|
-
weekday: '06:00 ~ 24:00',
|
|
31
|
-
weekend: '06:00 ~ 24:00',
|
|
32
|
-
consult_time: '365일 24시간 상담과 긴급대응 가능',
|
|
33
|
-
success_2024: 27002,
|
|
34
|
-
field_center: [
|
|
35
|
-
'CT0001',
|
|
36
|
-
'CT0002',
|
|
37
|
-
'CT0005',
|
|
38
|
-
'CT0006',
|
|
39
|
-
'CT0012',
|
|
40
|
-
'CT0013',
|
|
41
|
-
'CT0015',
|
|
42
|
-
'CT0016',
|
|
43
|
-
'CT0018',
|
|
44
|
-
'CT0019',
|
|
45
|
-
'CT0024',
|
|
46
|
-
'CT0025',
|
|
47
|
-
'CT0026',
|
|
48
|
-
'CT0008',
|
|
49
|
-
'CT0007',
|
|
50
|
-
'CT0003',
|
|
51
|
-
'CT0010',
|
|
52
|
-
'CT0017',
|
|
53
|
-
'CT0004',
|
|
54
|
-
'CT0022',
|
|
55
|
-
'CT0009',
|
|
56
|
-
'CT0011',
|
|
57
|
-
'CT0014',
|
|
58
|
-
'CT0021'
|
|
59
|
-
],
|
|
60
|
-
success_2024_ko: '2만 7,002',
|
|
61
|
-
compensation_regener_success: 9891,
|
|
62
|
-
detective_success: 9314,
|
|
63
|
-
divorce_inherit_success: 6332,
|
|
64
|
-
comp_administration_success: 1465,
|
|
65
|
-
aggregationDate: '2024.1.2~2024.8.31',
|
|
66
|
-
main_date: '2024년 1~8월 기준',
|
|
67
|
-
comp_cnt: 878,
|
|
68
|
-
consult_date: '지난 3년간 기준',
|
|
69
|
-
mandate_cnt: 30505,
|
|
70
|
-
consult_cnt_day: 175,
|
|
71
|
-
mandate_cnt_day: 73,
|
|
72
|
-
month_business_day: '2024년 11월 영업일 기준',
|
|
73
|
-
current_month: 3,
|
|
74
|
-
pro_count: 300
|
|
75
|
-
}
|
|
22
|
+
initialData: initInitialData
|
|
76
23
|
}
|
|
77
24
|
};
|
|
@@ -122,14 +122,13 @@ const StrengthIntro = ({ initialData }) => {
|
|
|
122
122
|
'max-xl:h-[200px] max-xl:pl-[30px] ' +
|
|
123
123
|
'max-md:flex max-md:h-[160px] max-md:flex-col max-md:justify-center max-md:pl-[30px] max-md:pt-0 '}>
|
|
124
124
|
<span>
|
|
125
|
-
{
|
|
126
|
-
<span className={'block xl:mt-3'}>
|
|
127
|
-
{' '}
|
|
125
|
+
<span className={'block max-xl:mt-2 max-md:mt-0 xl:mb-2'}>
|
|
128
126
|
<LgText className={'text-[#AB0634]'} isSmall>
|
|
129
|
-
{initialData.
|
|
127
|
+
{initialData.experience_cnt.toLocaleString()}
|
|
130
128
|
</LgText>{' '}
|
|
131
|
-
건의
|
|
129
|
+
건의
|
|
132
130
|
</span>
|
|
131
|
+
총 사건처리 경험건수
|
|
133
132
|
</span>
|
|
134
133
|
<Arrow isRed/>
|
|
135
134
|
</span>
|
|
@@ -182,14 +182,13 @@ const StrengthIntro = ({ initialData }: { initialData: IInitialDataTypes }) => {
|
|
|
182
182
|
}
|
|
183
183
|
>
|
|
184
184
|
<span>
|
|
185
|
-
{
|
|
186
|
-
<span className={'block xl:mt-3'}>
|
|
187
|
-
{' '}
|
|
185
|
+
<span className={'block max-xl:mt-2 max-md:mt-0 xl:mb-2'}>
|
|
188
186
|
<LgText className={'text-[#AB0634]'} isSmall>
|
|
189
|
-
{initialData.
|
|
187
|
+
{initialData.experience_cnt.toLocaleString()}
|
|
190
188
|
</LgText>{' '}
|
|
191
|
-
건의
|
|
189
|
+
건의
|
|
192
190
|
</span>
|
|
191
|
+
총 사건처리 경험건수
|
|
193
192
|
</span>
|
|
194
193
|
<Arrow isRed />
|
|
195
194
|
</span>
|
package/dist/lib/utils.js
CHANGED
|
@@ -346,7 +346,6 @@ export const replaceInitialData = (str, initialData) => {
|
|
|
346
346
|
.replace('*center_cnt*', initialData.center_cnt.toLocaleString())
|
|
347
347
|
.replace('*regenerTotal_cnt*', initialData.regenerTotal_cnt.toLocaleString())
|
|
348
348
|
.replace('*professional_cnt*', initialData.professional_cnt.toLocaleString())
|
|
349
|
-
.replace('*consult_time*', initialData.consult_time)
|
|
350
349
|
.replace('*success_2024*', initialData.success_2024.toLocaleString())
|
|
351
350
|
.replace('*success_2024_ko*', initialData.success_2024_ko)
|
|
352
351
|
.replace('*compensation_regener_success*', initialData.compensation_regener_success.toLocaleString())
|
|
@@ -354,11 +353,15 @@ export const replaceInitialData = (str, initialData) => {
|
|
|
354
353
|
.replace('*divorce_inherit_success*', initialData.divorce_inherit_success.toLocaleString())
|
|
355
354
|
.replace('*comp_administration_success*', initialData.comp_administration_success.toLocaleString())
|
|
356
355
|
.replace('*aggregationDate*', initialData.aggregationDate.toLocaleString())
|
|
357
|
-
.replace('*consult_date*', initialData.consult_date.toLocaleString())
|
|
358
|
-
.replace('*main_date*', initialData.main_date.toLocaleString())
|
|
359
356
|
.replace('*total_cnt*', initialData.total_cnt.toLocaleString())
|
|
360
357
|
.replace('*pro_count*', initialData.pro_count.toLocaleString())
|
|
361
|
-
.replace('*
|
|
358
|
+
.replace('*month_business_day*', initialData.month_business_day)
|
|
359
|
+
.replace('*consult_date*', initialData.consult_date)
|
|
360
|
+
.replace('*main_date*', initialData.main_date)
|
|
361
|
+
.replace('*consult_time*', initialData.consult_time)
|
|
362
|
+
.replace('*mandate_cnt*', initialData.mandate_cnt.toLocaleString())
|
|
363
|
+
.replace('*experience_cnt*', initialData.experience_cnt.toLocaleString())
|
|
364
|
+
.replace('*experience_cnt_day*', initialData.experience_cnt_day.toLocaleString());
|
|
362
365
|
};
|
|
363
366
|
//seo template 쿼리내부 공통 함수
|
|
364
367
|
export const getSeoTemplateSearchTitle = (str) => {
|
package/dist/lib/utils.ts
CHANGED
|
@@ -379,19 +379,24 @@ export const replaceInitialData = (str: string, initialData: IInitialDataTypes)
|
|
|
379
379
|
.replace('*center_cnt*', initialData.center_cnt.toLocaleString())
|
|
380
380
|
.replace('*regenerTotal_cnt*', initialData.regenerTotal_cnt.toLocaleString())
|
|
381
381
|
.replace('*professional_cnt*', initialData.professional_cnt.toLocaleString())
|
|
382
|
-
.replace('*consult_time*', initialData.consult_time)
|
|
383
382
|
.replace('*success_2024*', initialData.success_2024.toLocaleString())
|
|
384
383
|
.replace('*success_2024_ko*', initialData.success_2024_ko)
|
|
384
|
+
|
|
385
385
|
.replace('*compensation_regener_success*', initialData.compensation_regener_success.toLocaleString())
|
|
386
386
|
.replace('*detective_success*', initialData.detective_success.toLocaleString())
|
|
387
387
|
.replace('*divorce_inherit_success*', initialData.divorce_inherit_success.toLocaleString())
|
|
388
388
|
.replace('*comp_administration_success*', initialData.comp_administration_success.toLocaleString())
|
|
389
389
|
.replace('*aggregationDate*', initialData.aggregationDate.toLocaleString())
|
|
390
|
-
.replace('*consult_date*', initialData.consult_date.toLocaleString())
|
|
391
|
-
.replace('*main_date*', initialData.main_date.toLocaleString())
|
|
392
390
|
.replace('*total_cnt*', initialData.total_cnt.toLocaleString())
|
|
393
391
|
.replace('*pro_count*', initialData.pro_count.toLocaleString())
|
|
394
|
-
|
|
392
|
+
|
|
393
|
+
.replace('*month_business_day*', initialData.month_business_day)
|
|
394
|
+
.replace('*consult_date*', initialData.consult_date)
|
|
395
|
+
.replace('*main_date*', initialData.main_date)
|
|
396
|
+
.replace('*consult_time*', initialData.consult_time)
|
|
397
|
+
.replace('*mandate_cnt*', initialData.mandate_cnt.toLocaleString())
|
|
398
|
+
.replace('*experience_cnt*', initialData.experience_cnt.toLocaleString())
|
|
399
|
+
.replace('*experience_cnt_day*', initialData.experience_cnt_day.toLocaleString());
|
|
395
400
|
};
|
|
396
401
|
|
|
397
402
|
//seo template 쿼리내부 공통 함수
|