@daeryun/dr_components 0.1.84 → 0.1.86
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/choice/choice_call.webp +0 -0
- package/dist/asset/images/choice/choice_kakao.webp +0 -0
- package/dist/asset/images/choice/choice_stepIcon_01.webp +0 -0
- package/dist/asset/images/choice/choice_stepIcon_02.webp +0 -0
- package/dist/asset/images/choice/choice_stepIcon_03.webp +0 -0
- package/dist/asset/images/choice/choice_stepIcon_04.webp +0 -0
- package/dist/asset/images/choice/choice_tri.webp +0 -0
- package/dist/asset/images/choice/mt_icon.svg +16 -0
- package/dist/asset/images/choice/new_choice_consult.webp +0 -0
- package/dist/asset/images/choice/new_choice_consulting.webp +0 -0
- package/dist/asset/images/fix/call_m.webp +0 -0
- package/dist/asset/images/fix/kakao_m.webp +0 -0
- package/dist/asset/images/fix/online_m.webp +0 -0
- package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
- package/dist/components/Fix/index.jsx +287 -105
- package/dist/components/Fix/index.tsx +532 -210
- package/dist/components/page/Choice/Choice.d.ts +8 -0
- package/dist/components/page/Choice/Choice.jsx +640 -0
- package/dist/components/page/Choice/Choice.stories.d.ts +6 -0
- package/dist/components/page/Choice/Choice.stories.jsx +51 -0
- package/dist/components/page/Choice/Choice.stories.tsx +62 -0
- package/dist/components/page/Choice/Choice.tsx +972 -0
- package/dist/components/page/index.d.ts +0 -0
- package/dist/components/page/index.js +1 -0
- package/dist/components/page/index.ts +0 -0
- package/dist/styles/globals.css +1129 -37
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import Choice from './Choice';
|
|
2
|
+
const meta = {
|
|
3
|
+
component: Choice,
|
|
4
|
+
title: 'ChoicePage'
|
|
5
|
+
};
|
|
6
|
+
export default meta;
|
|
7
|
+
export const Default = {
|
|
8
|
+
render: () => {
|
|
9
|
+
return (<div className={'font-[SUIT]'}>
|
|
10
|
+
<Choice tel={'1800-1111'} initialData={{
|
|
11
|
+
lawyer_cnt: 230,
|
|
12
|
+
office_cnt: 41,
|
|
13
|
+
consult_cnt: 101938,
|
|
14
|
+
success_cnt: 27002,
|
|
15
|
+
center_cnt: 22,
|
|
16
|
+
regenerTotal_cnt: 7526723016,
|
|
17
|
+
professional_cnt: 240,
|
|
18
|
+
weekday: '06:00 ~ 24:00',
|
|
19
|
+
weekend: '06:00 ~ 24:00',
|
|
20
|
+
consult_time: '365일 24시간 상담과 긴급대응 가능',
|
|
21
|
+
success_2024: 27002,
|
|
22
|
+
field_center: [
|
|
23
|
+
'CT0001',
|
|
24
|
+
'CT0002',
|
|
25
|
+
'CT0005',
|
|
26
|
+
'CT0006',
|
|
27
|
+
'CT0012',
|
|
28
|
+
'CT0013',
|
|
29
|
+
'CT0015',
|
|
30
|
+
'CT0016',
|
|
31
|
+
'CT0018',
|
|
32
|
+
'CT0019',
|
|
33
|
+
'CT0024',
|
|
34
|
+
'CT0025',
|
|
35
|
+
'CT0026'
|
|
36
|
+
],
|
|
37
|
+
success_2024_ko: '2만 7,002',
|
|
38
|
+
compensation_regener_success: 9891,
|
|
39
|
+
detective_success: 9314,
|
|
40
|
+
divorce_inherit_success: 6332,
|
|
41
|
+
comp_administration_success: 1465,
|
|
42
|
+
aggregationDate: '2024.1.2~2024.8.31',
|
|
43
|
+
main_date: '2024년 1~8월 기준',
|
|
44
|
+
consult_date: '지난 3년간 기준',
|
|
45
|
+
mandate_cnt: 26941,
|
|
46
|
+
consult_cnt_day: 146,
|
|
47
|
+
mandate_cnt_day: 67
|
|
48
|
+
}}/>
|
|
49
|
+
</div>);
|
|
50
|
+
}
|
|
51
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import Choice from './Choice';
|
|
2
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
|
+
|
|
4
|
+
const meta: Meta<typeof Choice> = {
|
|
5
|
+
component: Choice,
|
|
6
|
+
title: 'ChoicePage'
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export default meta;
|
|
10
|
+
|
|
11
|
+
type Story = StoryObj<typeof meta>;
|
|
12
|
+
|
|
13
|
+
export const Default: Story = {
|
|
14
|
+
render: () => {
|
|
15
|
+
return (
|
|
16
|
+
<div className={'font-[SUIT]'}>
|
|
17
|
+
<Choice
|
|
18
|
+
tel={'1800-1111'}
|
|
19
|
+
initialData={{
|
|
20
|
+
lawyer_cnt: 230,
|
|
21
|
+
office_cnt: 41,
|
|
22
|
+
consult_cnt: 101938,
|
|
23
|
+
success_cnt: 27002,
|
|
24
|
+
center_cnt: 22,
|
|
25
|
+
regenerTotal_cnt: 7526723016,
|
|
26
|
+
professional_cnt: 240,
|
|
27
|
+
weekday: '06:00 ~ 24:00',
|
|
28
|
+
weekend: '06:00 ~ 24:00',
|
|
29
|
+
consult_time: '365일 24시간 상담과 긴급대응 가능',
|
|
30
|
+
success_2024: 27002,
|
|
31
|
+
field_center: [
|
|
32
|
+
'CT0001',
|
|
33
|
+
'CT0002',
|
|
34
|
+
'CT0005',
|
|
35
|
+
'CT0006',
|
|
36
|
+
'CT0012',
|
|
37
|
+
'CT0013',
|
|
38
|
+
'CT0015',
|
|
39
|
+
'CT0016',
|
|
40
|
+
'CT0018',
|
|
41
|
+
'CT0019',
|
|
42
|
+
'CT0024',
|
|
43
|
+
'CT0025',
|
|
44
|
+
'CT0026'
|
|
45
|
+
],
|
|
46
|
+
success_2024_ko: '2만 7,002',
|
|
47
|
+
compensation_regener_success: 9891,
|
|
48
|
+
detective_success: 9314,
|
|
49
|
+
divorce_inherit_success: 6332,
|
|
50
|
+
comp_administration_success: 1465,
|
|
51
|
+
aggregationDate: '2024.1.2~2024.8.31',
|
|
52
|
+
main_date: '2024년 1~8월 기준',
|
|
53
|
+
consult_date: '지난 3년간 기준',
|
|
54
|
+
mandate_cnt: 26941,
|
|
55
|
+
consult_cnt_day: 146,
|
|
56
|
+
mandate_cnt_day: 67
|
|
57
|
+
}}
|
|
58
|
+
/>
|
|
59
|
+
</div>
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
};
|