@daeryun/dr_components 0.1.56 → 0.1.57
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/components/CountingSection/CountingSection.stories.jsx +1 -1
- package/dist/components/CountingSection/CountingSection.stories.tsx +1 -1
- package/dist/components/Footer/IFooterTypes.d.ts +1 -1
- package/dist/components/Footer/IFooterTypes.ts +1 -1
- package/dist/components/Footer/index.jsx +34 -8
- package/dist/components/Footer/index.tsx +36 -8
- package/dist/components/MapSection/Map.d.ts +5 -0
- package/dist/components/MapSection/Map.jsx +203 -0
- package/dist/components/MapSection/Map.tsx +330 -0
- package/dist/components/MapSection/MapSection.d.ts +13 -0
- package/dist/components/MapSection/MapSection.jsx +74 -0
- package/dist/components/MapSection/MapSection.stories.d.ts +8 -0
- package/dist/components/MapSection/MapSection.stories.jsx +55 -0
- package/dist/components/MapSection/MapSection.stories.tsx +63 -0
- package/dist/components/MapSection/MapSection.tsx +154 -0
- package/dist/components/common/data/index.d.ts +1 -0
- package/dist/components/common/data/index.js +213 -0
- package/dist/components/common/data/index.ts +215 -0
- package/dist/styles/globals.css +348 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
import { useState } from 'react';
|
|
2
|
+
|
|
3
|
+
const Map = ({ onClick, selectRegion }: { onClick: (select: string, key: string) => void; selectRegion: string }) => {
|
|
4
|
+
const [incheonHover, setIncheonHover] = useState<boolean>(false);
|
|
5
|
+
return (
|
|
6
|
+
<span className={'relative block h-full w-full '} id={'map'}>
|
|
7
|
+
<svg width={'100%'} height={'100%'} xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 544 852">
|
|
8
|
+
<defs>
|
|
9
|
+
<style>
|
|
10
|
+
{`
|
|
11
|
+
|
|
12
|
+
.cls-2 {
|
|
13
|
+
stroke: #8c8c8c40;
|
|
14
|
+
fill: #f9f9f9;
|
|
15
|
+
stroke-width: .25px
|
|
16
|
+
transition: fill 0.3s ease;
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
}
|
|
19
|
+
.cls-2:hover {
|
|
20
|
+
fill: #A7B3C8
|
|
21
|
+
}
|
|
22
|
+
.cls-1 {
|
|
23
|
+
fill: #494949;
|
|
24
|
+
font-family: SUIT-Medium, SUIT;
|
|
25
|
+
font-size: 17px;
|
|
26
|
+
font-weight: 500;
|
|
27
|
+
letter-spacing: -.04em;
|
|
28
|
+
pointer-events: none;
|
|
29
|
+
}
|
|
30
|
+
`}
|
|
31
|
+
</style>
|
|
32
|
+
</defs>
|
|
33
|
+
|
|
34
|
+
<g>
|
|
35
|
+
<g id="Layer_1">
|
|
36
|
+
<path
|
|
37
|
+
tabIndex={0}
|
|
38
|
+
id={'경기북부'}
|
|
39
|
+
onClick={e => {
|
|
40
|
+
onClick(e.currentTarget.id, 'goyang');
|
|
41
|
+
}}
|
|
42
|
+
onKeyUp={e => {
|
|
43
|
+
if (e.key === 'Enter') {
|
|
44
|
+
onClick(e.currentTarget.id, 'goyang');
|
|
45
|
+
}
|
|
46
|
+
}}
|
|
47
|
+
className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'경기북부'.includes(selectRegion) || selectRegion === 'goyang' ? '!fill-[#254B80]' : ''}`}
|
|
48
|
+
d="M167.4,181.8c1.6.7,3,1.4,4.2,1.9.2,0,.3.1.5.2h0s0,0,0,0c0-.2,0-.3.1-.5.5-1.6,1-3,1.3-3.8,1.9-1.2,5-3.1,8.5-5.7,9.7-7.2,11.4-10.5,16.3-10.8,4.6-.3,10.5,2.2,11.1,5.6,0,.3.1.5,0,.9-1.2,5.6-6.2,7.5-2.5,15.5,1.8,3.8,4.4,3.6,7,3.3,5-1.7,7.9-1.8,7.9-1.8,0,0,.5,1.4,11.4,3.7,10.9,2.3,4.7-2.5,11.2-5.1,6.2-2.5,8.5.1,12.9-2-1.9-2.3-.6-5.1,1.4-11,3.5-10.4-5.5-10.4-4.1-16.6,1.4-6.2,25.6-9,5.5-21.4-20-12.4-14.5-14.5-18-22.1-3.5-7.6-14.5,0-20.7-10.4-6.2-10.4-9.7,6.2-14.5-7.6-3.6-10.2-3.4-19.9-7.4-20.8.7.3,1.3.4,1.8.6-1.5-1.5-3.8-1.1-7.8,2.1-3.9,3.2-8.4,4.8-13.5,5.4.4.2.9.4,1.7.4,4.8,0-11.8,1.5-14.9,7-3.1,5.5-13.5,4.5-19,1.4-5.5-3.1-12.1-3.8-14.5,4.1,0,0-9.3-5.2-5.9,11.4,3.5,16.6-14.2,4.1-14.2,4.1,0,0-6.9-6.9-5.9,7.3,1,14.2,7.3,12.1,2.4,16.6-4.8,4.5,6.9,3.1,3.1,12.1-1,2.5-1.3,5-1.3,7.4,10.9,2.9,14.5,13.5,28.6,16.1l4.1-6.2h4.1v2.1c1.2,1.4,1.8,5.1,2.1,9.7,2.7,1,5.6,2.2,8.4,3.4,3,1.2,5.9,2.5,8.2,3.6Z"
|
|
49
|
+
/>
|
|
50
|
+
<path
|
|
51
|
+
tabIndex={0}
|
|
52
|
+
id={'강원'}
|
|
53
|
+
onClick={e => {
|
|
54
|
+
onClick(e.currentTarget.id, 'wonju');
|
|
55
|
+
}}
|
|
56
|
+
onKeyUp={e => {
|
|
57
|
+
if (e.key === 'Enter') {
|
|
58
|
+
onClick(e.currentTarget.id, 'wonju');
|
|
59
|
+
}
|
|
60
|
+
}}
|
|
61
|
+
className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'강원'.includes(selectRegion) || selectRegion === 'wonju' ? '!fill-[#254B80]' : ''}`}
|
|
62
|
+
d="M480.1,254.5c-.7-4.8-1.4-9.7-2.1-14.5-4.7-12.1-14.2-25.2-20.7-35.3-1.4-5.5-2.8-11.1-4.1-16.6-12.2-22.4-40.3-43-51.9-64.3-10-18.4-32.4-97.9-43.6-105.8-1.6-1.7-2.9-2-4.4-1.7-.4,1.8-.9,4.1-1.6,7.1-3.3,16.5-5.1,17.7-24.3,30.3-19.2,12.6-22.8,2.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|
|
66
|
+
onClick={e => {
|
|
67
|
+
onClick(e.currentTarget.id, 'incheonbon');
|
|
68
|
+
}}
|
|
69
|
+
onKeyUp={e => {
|
|
70
|
+
if (e.key === 'Enter') {
|
|
71
|
+
onClick(e.currentTarget.id, 'incheonbon');
|
|
72
|
+
}
|
|
73
|
+
}}
|
|
74
|
+
id={'인천·부천'}
|
|
75
|
+
className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'인천·부천'.includes(selectRegion) || selectRegion === 'incheonbon' ? '!fill-[#254B80]' : incheonHover ? ' !fill-[#A7B3C8] ' : ''}`}
|
|
76
|
+
d="M203,209.4c0-.3-.1-.6-.1-.8-.2,0-.5,0-.7,0-1,0-2,0-3.1.1-9.3.5-13.3-.3-15.7-2.1-4.2-3-10.6-9.4-11.4-10.2-1.3-1.2-1.5-3.1-1.5-4.4,0-1.3,0-2.8,1.3-6.8.1-.4.3-.9.4-1.3,0,0,0,0,0,0h0c-.2,0-.3-.2-.5-.2-1.2-.6-2.6-1.2-4.2-1.9-2.3-1.1-5.2-2.3-8.2-3.6-2.8-1.2-5.7-2.4-8.4-3.4,0,0,0,0,0,0,.3,5.5-.8,11.9-1,16.9h-2.1c-2.1-4.4-3.7-5.9-4.1-12.4-4.4-.5-8.2-.5-12.4-2.1-2.1,5.9-.7,7.1,0,14.5,19.7-.7,33,11.2,36.9,28.3,0,0,0,0,0,0,2,.4,2.7.6,4.3.6,14.1.5,17.8,7,26.9-1.1,1.5-1.4,2.6-2.6,3.2-3.6,0,0,0,0,0,0,2-3.2.9-5.1.4-6.4Z"
|
|
77
|
+
/>
|
|
78
|
+
<path
|
|
79
|
+
tabIndex={0}
|
|
80
|
+
onClick={e => {
|
|
81
|
+
onClick(e.currentTarget.id, 'seoulbon');
|
|
82
|
+
}}
|
|
83
|
+
onKeyUp={e => {
|
|
84
|
+
if (e.key === 'Enter') {
|
|
85
|
+
onClick(e.currentTarget.id, 'seoulbon');
|
|
86
|
+
}
|
|
87
|
+
}}
|
|
88
|
+
id={'서울'}
|
|
89
|
+
className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'서울'.includes(selectRegion) || selectRegion === 'seoulbon' ? '!fill-[#254B80]' : ''}`}
|
|
90
|
+
d="M207.2,185.2c-3.7-8.1,1.2-9.9,2.5-15.5,0-.4,0-.6,0-.9-.7-3.4-6.5-5.9-11.1-5.6-4.9.3-6.6,3.6-16.3,10.8-3.5,2.6-6.6,4.5-8.5,5.7-.3.9-.8,2.2-1.3,3.8,0,.2,0,.3-.1.5-.2.5-.3.9-.4,1.3-1.2,4-1.4,5.4-1.3,6.8,0,1.3.2,3.2,1.5,4.4.9.8,7.2,7.2,11.4,10.2,2.4,1.7,6.4,2.6,15.7,2.1,1.1,0,2.1-.1,3.1-.1.2,0,.5,0,.7,0,.5,0,.9,0,1.4,0,1.7,0,3.4,0,5.1,0,.3-.8,1.1-1.5,2.8-2.3,8.1-3.7,12.4-4.4,9.3-13.7-1.5-4.5-4-4.5-6.6-4.2-.2,0-.4,0-.7,0-2.6.3-5.2.5-7-3.3Z"
|
|
91
|
+
/>
|
|
92
|
+
<g
|
|
93
|
+
id={'경기남부'}
|
|
94
|
+
tabIndex={0}
|
|
95
|
+
onClick={e => {
|
|
96
|
+
onClick(e.currentTarget.id, 'suwonbon');
|
|
97
|
+
}}
|
|
98
|
+
onKeyUp={e => {
|
|
99
|
+
if (e.key === 'Enter') {
|
|
100
|
+
onClick(e.currentTarget.id, 'suwonbon');
|
|
101
|
+
}
|
|
102
|
+
}}
|
|
103
|
+
className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'경기남부'.includes(selectRegion) || selectRegion === 'suwonbon' ? '!fill-[#254B80]' : ''}`}
|
|
104
|
+
>
|
|
105
|
+
<path d="M223.6,309.6c.4.5.8.9,1.2,1.4.3.4.6.7.9,1-.3-.3-.6-.7-.9-1-.3-.4-.7-.9-1.2-1.4Z" />
|
|
106
|
+
<path d="M281,197.2s.7-2.8-13.1-8.3c-5.9-2.4-9-3.8-10.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2,3.9,1.9,5.5,1.3.1,0,.3-.1.4-.2.4-.2.8-.5,1.2-.9,0,0,0,0,0,0,0,0,0,0,0,0,.5-.5,1.1-1,1.7-1.5.6-.4,1.2-.9,1.9-1.3,1.3-.8,2.6-1.5,4-2.1,1.6-.7,3.2-1.3,4.5-1.8,1.8-.6,3-1,3-1,0,0-3.5-9,6.2-11.1,2.2-.5,4.4-1,6.5-1.6,1.7-.5,3.3-1,4.8-1.6.4-.2.9-.4,1.3-.6.7-.3,1.3-.6,2-1,1.3-.7,2.4-1.5,3.4-2.4.5-.5,1-.9,1.4-1.5.5-.6.9-1.1,1.2-1.8.4-.6.7-1.3.9-2,.2-.5.4-.9.6-1.3.3-.5.6-1,.9-1.4.4-.5.8-.9,1.2-1.3,1.1-1,2.3-1.8,3.4-2.3.4-.2.7-.3,1.1-.4.4-.1.8-.3,1.2-.4.3,0,.6-.1.8-.2,1.5-.3,2.7-.3,2.7-.3h0s0,0,0,0c0,0,2.6-2.2,4.8-7.3.2-.5.4-1,.6-1.5.3-.9.6-1.8.9-2.9.1-.5.2-1.1.3-1.6-.1,0-.3,0-.4,0,1.2-7.8-1.4-16.1,3.1-24.5,4.8-9,7.6-6.9,1.4-16.6-6.2-9.7,4.8-6.2,6.9-6.2s.8-.3,1.3-.7c0,0,0,0,0,0,0,0,0,0,0,0,.7-.7,1.4-1.8,1.8-2.9,1-3.2-1.1-7.3-15-7.3Z" />
|
|
107
|
+
</g>
|
|
108
|
+
<path
|
|
109
|
+
tabIndex={0}
|
|
110
|
+
onClick={e => {
|
|
111
|
+
onClick(e.currentTarget.id, 'daejeon');
|
|
112
|
+
}}
|
|
113
|
+
onKeyUp={e => {
|
|
114
|
+
if (e.key === 'Enter') {
|
|
115
|
+
onClick(e.currentTarget.id, 'daejeon');
|
|
116
|
+
}
|
|
117
|
+
}}
|
|
118
|
+
className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'대전·충남'.includes(selectRegion) || selectRegion === 'daejeon' ? '!fill-[#254B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={0}
|
|
124
|
+
id={'충북'}
|
|
125
|
+
onClick={e => {
|
|
126
|
+
onClick(e.currentTarget.id, 'cheongju');
|
|
127
|
+
}}
|
|
128
|
+
onKeyUp={e => {
|
|
129
|
+
if (e.key === 'Enter') {
|
|
130
|
+
onClick(e.currentTarget.id, 'cheongju');
|
|
131
|
+
}
|
|
132
|
+
}}
|
|
133
|
+
className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'충북'.includes(selectRegion) || selectRegion === 'cheongju' ? '!fill-[#254B80]' : ''}`}
|
|
134
|
+
>
|
|
135
|
+
<path d="M298,477.7s0,0,0,0c-.4-.2-.9-.5-1.4-.7.5.2.9.5,1.4.7Z" />
|
|
136
|
+
<path d="M220.6,307.5s0,0,0,0c.2-.2.4-.3.6-.5,0,0,0,0,0,0-.2.2-.4.4-.6.6Z" />
|
|
137
|
+
<path d="M397.9,280.8c-6.2-6.2-9,0-23.5-5.5-14.5-5.5-31.1,4.8-29-2.1.8-2.6,4.6-4.8,8.3-6.7,1.6-.8,3.1-1.6,4.5-2.2,3.8-2,5.8-3.6.4-4.8-11.8-2.8-16.6,0-29.7-.7-13.1-.7-17.3,1.4-17.3-8.3s-7.6-2.8-7.6,8.3-2.8,17.3-11.8,8.3c-6.5-6.5-5.1-11.9-10.3-11.5,0,.5-.2,1.1-.3,1.6-.3,1-.6,2-.9,2.9-2.2,6.2-5.4,8.9-5.4,8.9h0s-1.1,0-2.7.3c-.3,0-.5.1-.8.2-2.2.6-4.9,1.8-6.8,4.4-.3.4-.6.9-.9,1.4-.2.4-.4.9-.6,1.3-.5,1.4-1.3,2.7-2.2,3.8-1.7,2.1-4,3.6-6.7,4.9-.4.2-.9.4-1.3.6-1.5.6-3.1,1.1-4.8,1.6-2.1.6-4.3,1.1-6.5,1.6-9.7,2.1-6.2,11.1-6.2,11.1,0,0-6.4,1.7-11.5,4.8-.7.4-1.3.8-1.9,1.3-.4.3-.8.6-1.1.9.3.4.7.8,1,1.1.5.5.9,1.1,1.3,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.3,1.3-.7,2-1.2.2-.2.4-.4.7-.6.4-.5.8-1,1.2-1.5.2-.3.3-.6.5-.9.2-.4.4-.9.6-1.3.4-.9.6-2,.8-3.1s.3-2.3.3-3.6c0-1.9.4-3.6,1-5.2.4-1,1-2,1.7-2.9s1.5-1.8,2.5-2.6c.9-.8,2-1.6,3.1-2.4,1.7-1.2,3.6-2.3,5.7-3.4,2.8-1.5,5.8-3,9-4.6,3.1-1.6,5.7-3.2,7.8-4.8.6-.4,1.1-.8,1.6-1.2-1.2-.9-2.4-1.9-3.4-3Z" />
|
|
138
|
+
</g>
|
|
139
|
+
<path
|
|
140
|
+
tabIndex={0}
|
|
141
|
+
id={'대구·경북'}
|
|
142
|
+
onClick={e => {
|
|
143
|
+
onClick(e.currentTarget.id, 'daegumain');
|
|
144
|
+
}}
|
|
145
|
+
onKeyUp={e => {
|
|
146
|
+
if (e.key === 'Enter') {
|
|
147
|
+
onClick(e.currentTarget.id, 'daegumain');
|
|
148
|
+
}
|
|
149
|
+
}}
|
|
150
|
+
className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'대구·경북'.includes(selectRegion) || selectRegion === 'daegumain' ? '!fill-[#254B80]' : ''}`}
|
|
151
|
+
d="M495.1,470c1.4-6.2,2.8-12.4,4.1-18.7-1.6-6.2-6.2-28.5-4.1-35.3,11.2-36.5,15.9-105.1-1-146.9-.5-1.2-1.3-2.5-2.1-3.5-4.1.9-7.9,3.1-9.8,7.5-5.5,12.4-9,21.4-16.6,15.2-6.6-5.4-11.2-9.8-16.4-7.6-.6.3-1.2.7-1.9,1.2-1.2.9-2.9,2-4.9,3-8,4.1-20.5,7.6-20.5,1.4s-6.2-10.4-7.6-2.8c-1.1,6.3-7.5,4.5-13.2.2-.5.4-1,.8-1.6,1.2-2.1,1.6-4.7,3.2-7.8,4.8-3.2,1.6-6.3,3.1-9,4.6-2.1,1.1-4,2.2-5.7,3.4-1.1.8-2.2,1.6-3.1,2.4-.9.8-1.8,1.7-2.5,2.6s-1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jeonju');
|
|
157
|
+
}}
|
|
158
|
+
onKeyUp={e => {
|
|
159
|
+
if (e.key === 'Enter') {
|
|
160
|
+
onClick(e.currentTarget.id, 'jeonju');
|
|
161
|
+
}
|
|
162
|
+
}}
|
|
163
|
+
id={'전북'}
|
|
164
|
+
className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'전북'.includes(selectRegion) || selectRegion === 'jeonju' ? '!fill-[#254B80]' : ''}`}
|
|
165
|
+
d="M284.2,451.4c-4.2,0-9.4-2.6-19.5-7.2.9,1.6,1.5,3,1.5,4.5,0,5.5-4.8,6.9-4.8,6.9,0,0-8.3-11.8-10.4,2.8-2.1,14.5-18.7-6.2-18.7-6.2,0,0-9.7-9.7-10.4-15.9-.7-6.2-6.2,6.2-6.9,4.2-.7-2.1-9.7-4.2-15.9,2.1-6.2,6.2-12.4,0-12.4-6.2s-13.1-8.3-21.4-6.9c-8.3,1.4-2.1,1.4-4.8,15.2-2.8,13.8-5.5.7-11.1,6.2-5.5,5.5-3.5,4.1-11.8,4.1s-3.4.5-5.5,1.4c-3.5-2.7-5.7-5.9-8.3-9,3.1,3.7,5.6,7.5,10.4,10.4-1.9,5.5-5.5,5.8-8.3,10.4-2.3,2.3-2.3,5.4-2.1,10.4h18.7v2.1l-6.2,4.1c.7,4.4,1.4,6.1,4.1,8.3v8.3c-5.5-.7-11.1-1.4-16.6-2.1-4.7,10.5-15.8,15.9-24.9,21.8,1.5,2.4,1.8,2.7,2.1,7.3,9,.7,18,1.4,27,2.1v8.3c-6.5,1.5-13,3-19.5,4.5,3,2.1,1.5,6.9,1.5,10.2,0,5.4,1.5,13,18.4,9.2,16.9-3.8,12.3-1.5,15.3-15.3,3.1-13.8,24.5,3.1,24.5,3.1,0,0,16.1-15.3,13,8.4-3.1,23.7,16.1,7.7,25.3,7.7s6.1,3.1,18.4,3.1,13.8-10.7,18.4-8.4c2.9,1.4,10.3,7.4,15.5,11.7,1.7-6.6,5.4-5.3,5.4-15.4s4.2-12.4,0-22.8c-4.1-10.4-13.1-2.1-.7-27,0,0,13.1-13.8,16.6-19.4,3.5-5.5,7.6-15.2,16.6-11.1.5.2.9.5,1.4.7.7-5.1,1.6-10.6,2.8-15.9,3.5-15.9-11.8-10.4-16.6-10.4Z"
|
|
166
|
+
/>
|
|
167
|
+
<path
|
|
168
|
+
tabIndex={0}
|
|
169
|
+
onClick={e => {
|
|
170
|
+
onClick(e.currentTarget.id, 'busan1');
|
|
171
|
+
}}
|
|
172
|
+
onKeyUp={e => {
|
|
173
|
+
if (e.key === 'Enter') {
|
|
174
|
+
onClick(e.currentTarget.id, 'busan1');
|
|
175
|
+
}
|
|
176
|
+
}}
|
|
177
|
+
id={'부산·울산·경남'}
|
|
178
|
+
className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'부산·울산·경남'.includes(selectRegion) || selectRegion === 'busan1' ? '!fill-[#254B80]' : ''}`}
|
|
179
|
+
d="M495.8,511.5c-7.6-2.8-4.1-2.8-7.6,2.1-3.5,4.8-10.4,1.4-13.1-7.6-2.8-9-16.6,1.4-21.4,4.8-3.4,2.5-5.1,7.3-5.8,10-.1.5-.2,1-.3,1.4,0,.2,0,.4,0,.4h0s-9.7-2.8-9.7-2.8c0,0-9.7-2.8-16.6,9.7-6.9,12.5-13.1.7-15.9-3.5-2.8-4.1-9.7-1.4-20.1-1.4s-2.1-9-12.4-8.3c-10.4.7-3.5,4.1-13.8,3.5-10.4-.7-6.2-4.8-14.5-.7-8.3,4.2-11.1-9.7-13.1-23.5-2.1-13.8-6.9-11.1-16.6-10.4-9.7.7-9-4.1-18-8.3-9-4.1-13.1,5.5-16.6,11.1-3.5,5.5-16.6,19.4-16.6,19.4-12.4,24.9-3.5,16.6.7,27,4.2,10.4,0,10.4,0,22.8s-5.5,7.6-6.2,21.4c-.7,13.8,2.1,7.6,12.4,23.5,10.4,15.9,8.3,13.1,8.3,28.3s-.1,8.5-.3,11.9c2.6.8,5,1.3,7.2-.1,3.3-2.2,5.2-6,8.3-8.3,3-1.6,2.4.7,8.3,2.1.4-4.4,0-4.1,2.1-6.2,2.5-3.2,4.7-3.9,10.4-4.1-.4,8-2.8,17.5,0,20.7,4.5,5.9,27.4,5.6,31.1,2.1,9.2,1,5.9,5.5,10.4,10.4v2.1h8.3c-1.3-6.2-3.8-7.9-6.2-12.4,6.5-3.4,11.9-9.1,12.4-18.7-3.5.7-6.9,1.4-10.4,2.1,1.4-4.1,2.8-8.3,4.2-12.4,9.7.2,18.7-1.2,22.8,6.2h4.1c-1.4-4.1-2.8-8.3-4.1-12.4,2.1-2,1.1-.4,2.1-4.1,10.7,2.5,11.7,9.1,23.7,10.2,1,.1,2.1.2,3.3.2,2.1-3.5,4.1-6.9,6.2-10.4,1.4,2,3.3,6.2-.3,8.7l.3,4.4c2.8-2.1,1.4-4.8,4.1-6.9,3.6-2.2,3.4,2.2,9.3-2.1l5.2,10.4c2.9,1.5,7-4.5,14.5-2.1l4.1-8.3c10.6-6.1,13.4-4.9,12.4-22.8,8.3-3.8,12.3-9.3,18.7-14.5,0-.7-.2-1.3-.3-2-.6-3.4-1.8-6.5-3.8-8.4.7-9.9,4-7,6.2-14.5,2.4,2.1,4.8,4.1,7.3,6.2,2.6-6.7,4.7-22,7.1-38.1-3.8-3.7-8.2-6.3-11.5-7.5Z"
|
|
180
|
+
/>
|
|
181
|
+
<g
|
|
182
|
+
tabIndex={0}
|
|
183
|
+
id={'광주·전남'}
|
|
184
|
+
onClick={e => {
|
|
185
|
+
onClick(e.currentTarget.id, 'gwangjumain');
|
|
186
|
+
}}
|
|
187
|
+
onKeyUp={e => {
|
|
188
|
+
if (e.key === 'Enter') {
|
|
189
|
+
onClick(e.currentTarget.id, 'gwangjumain');
|
|
190
|
+
}
|
|
191
|
+
}}
|
|
192
|
+
className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'광주·전남'.includes(selectRegion) || selectRegion === 'gwangjumain' ? '!fill-[#254B80]' : ''}`}
|
|
193
|
+
>
|
|
194
|
+
<path d="M69.9,698.2c-1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,6.1-2.2,8.2-.6,16.6,0,8.8-19.2,19.6-15.7,24.9-43.6h2.1c3.1,8.1,5.2,19.5,8.3,27,7.6-1.7,9.3-4.7,16.6-2.1,3.5-9.2.3-17.7,0-29h10.4c8.8-15.7,21.7-5.5,33.2-16.6,4.8.4,5.2.9,8.3,2.1-.6,4.1-1.7,8.1-4.1,10.4-1.5,2,0,.6-2.1,2.1l-2.1-6.2-6.2,2.1c.7,3.5,1.4,6.9,2.1,10.4l-4.2,2.1c-1.3,3.4-1.9.4-6.2,0-.7,3.5-1.4,6.9-2.1,10.4,13.2.2,12.4,5.3,20.7,8.3,5.2-6.3,14.8-13.2,22.8-16.6-.5-8.6-5.2-16.8-10.4-20.7-.1-8.8,2.8-15.5,8.3-18.7,2.3-2.3,8.6-3.7,12.4-4.1,1.9,10.4,1,22.6,0,33.2l3.1,1,7.3-1c-1.2-7-1.2-7.6,0-14.5h4.1c1.9,3.5,3.9,5.2,7.3,7.3h1c2.1-7.6,4.3-13.4,4.1-23.9-6.5.5-8,2.1-12.4,4.1-3.5-4.8-6.9-9.7-10.4-14.5v-4.1c4.8,2.1,9.7,4.1,14.5,6.2,5-11.9,10.5-9.7,15.6-8.2.2-3.4.3-7.3.3-11.9,0-15.2,2.1-12.4-8.3-28.3Z" />
|
|
196
|
+
</g>
|
|
197
|
+
|
|
198
|
+
<path
|
|
199
|
+
tabIndex={0}
|
|
200
|
+
onClick={e => {
|
|
201
|
+
onClick(e.currentTarget.id, 'jeju');
|
|
202
|
+
}}
|
|
203
|
+
onKeyUp={e => {
|
|
204
|
+
if (e.key === 'Enter') {
|
|
205
|
+
onClick(e.currentTarget.id, 'jeju');
|
|
206
|
+
}
|
|
207
|
+
}}
|
|
208
|
+
id={'제주도'}
|
|
209
|
+
className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'제주도'.includes(selectRegion) || selectRegion === 'jeju' ? '!fill-[#254B80]' : ''}`}
|
|
210
|
+
d="M125.9,793.4c24.9-.6,27.9,6.4,41.5,14.5v6.2c-4.8,6.2-9.7,12.4-14.5,18.7-9.9,7-51.8,13.7-64.3,8.3-8.4-3.6-12,5.9-14.5,2.1-7.8-4-12.8-10.4-12.4-22.8,1.4-.4,2.8-.7,4.1-1,7-3.9,10.4-12,16.6-15.6,13.7-7.8,33.8.8,43.6-10.4Z"
|
|
211
|
+
/>
|
|
212
|
+
|
|
213
|
+
<path
|
|
214
|
+
className="cls-2 transition-[fill] ease-linear focus:outline-none "
|
|
215
|
+
d="M264.6,444c-1-1.7-2.3-3.5-3.5-5.6,1.2,2.1,2.5,3.9,3.5,5.6Z"
|
|
216
|
+
/>
|
|
217
|
+
|
|
218
|
+
<text
|
|
219
|
+
className={`cls-1 ${'강원'.includes(selectRegion) || selectRegion === 'wonju' ? '!fill-white' : ''}`}
|
|
220
|
+
transform="translate(338 171)"
|
|
221
|
+
>
|
|
222
|
+
<tspan x="0" y="0">
|
|
223
|
+
강원
|
|
224
|
+
</tspan>
|
|
225
|
+
</text>
|
|
226
|
+
<text
|
|
227
|
+
className={`cls-1 ${'충북'.includes(selectRegion) || selectRegion === 'cheongju' ? '!fill-white' : ''}`}
|
|
228
|
+
transform="translate(266.6 322.1)"
|
|
229
|
+
>
|
|
230
|
+
<tspan x="0" y="0">
|
|
231
|
+
충북
|
|
232
|
+
</tspan>
|
|
233
|
+
</text>
|
|
234
|
+
<text
|
|
235
|
+
className={`cls-1 ${'대전·충남'.includes(selectRegion) || selectRegion === 'daejeon' ? '!fill-white' : ''}`}
|
|
236
|
+
transform="translate(145 382)"
|
|
237
|
+
>
|
|
238
|
+
<tspan x="0" y="0">
|
|
239
|
+
대전·충남
|
|
240
|
+
</tspan>
|
|
241
|
+
</text>
|
|
242
|
+
<text
|
|
243
|
+
className={`cls-1 ${'대구·경북'.includes(selectRegion) || selectRegion === 'daegumain' ? '!fill-white' : ''}`}
|
|
244
|
+
transform="translate(372 408.6)"
|
|
245
|
+
>
|
|
246
|
+
<tspan x="0" y="0">
|
|
247
|
+
대구·경북
|
|
248
|
+
</tspan>
|
|
249
|
+
</text>
|
|
250
|
+
<text
|
|
251
|
+
className={`cls-1 ${'부산·울산·경남'.includes(selectRegion) || selectRegion === 'busan1' ? '!fill-white' : ''}`}
|
|
252
|
+
transform="translate(317.7 573.2)"
|
|
253
|
+
>
|
|
254
|
+
<tspan x="0" y="0">
|
|
255
|
+
부산·울산·경남
|
|
256
|
+
</tspan>
|
|
257
|
+
</text>
|
|
258
|
+
<text
|
|
259
|
+
className={`cls-1 ${'전북'.includes(selectRegion) || selectRegion === 'jeonju' ? '!fill-white' : ''}`}
|
|
260
|
+
transform="translate(187.3 506.6)"
|
|
261
|
+
>
|
|
262
|
+
<tspan x="0" y="0">
|
|
263
|
+
전북
|
|
264
|
+
</tspan>
|
|
265
|
+
</text>
|
|
266
|
+
<text
|
|
267
|
+
className={`cls-1 ${'광주·전남'.includes(selectRegion) || selectRegion === 'gwangjumain' ? '!fill-white' : ''}`}
|
|
268
|
+
transform="translate(143.7 625.4)"
|
|
269
|
+
>
|
|
270
|
+
<tspan x="0" y="0">
|
|
271
|
+
광주·전남
|
|
272
|
+
</tspan>
|
|
273
|
+
</text>
|
|
274
|
+
<text
|
|
275
|
+
className={`cls-1 ${'제주도'.includes(selectRegion) || selectRegion === 'jeju' ? '!fill-white' : ''}`}
|
|
276
|
+
transform="translate(91.1 826.4)"
|
|
277
|
+
>
|
|
278
|
+
<tspan x="0" y="0">
|
|
279
|
+
제주도
|
|
280
|
+
</tspan>
|
|
281
|
+
</text>
|
|
282
|
+
<text
|
|
283
|
+
className={`cls-1 ${'경기북부'.includes(selectRegion) || selectRegion === 'goyang' ? '!fill-white' : ''}`}
|
|
284
|
+
transform="translate(171.9 142.2)"
|
|
285
|
+
>
|
|
286
|
+
<tspan x="0" y="0">
|
|
287
|
+
경기북부
|
|
288
|
+
</tspan>
|
|
289
|
+
</text>
|
|
290
|
+
<text
|
|
291
|
+
className={`cls-1 ${'경기남부'.includes(selectRegion) || selectRegion === 'suwonbon' ? '!fill-white' : ''}`}
|
|
292
|
+
transform="translate(195 260)"
|
|
293
|
+
>
|
|
294
|
+
<tspan x="0" y="0">
|
|
295
|
+
경기남부
|
|
296
|
+
</tspan>
|
|
297
|
+
</text>
|
|
298
|
+
<text
|
|
299
|
+
className={`cls-1 ${'서울'.includes(selectRegion) || selectRegion === 'seoulbon' ? '!fill-white' : ''}`}
|
|
300
|
+
transform="translate(176.5 196)"
|
|
301
|
+
>
|
|
302
|
+
<tspan x="0" y="0">
|
|
303
|
+
서울
|
|
304
|
+
</tspan>
|
|
305
|
+
</text>
|
|
306
|
+
<text
|
|
307
|
+
onMouseOver={() => {
|
|
308
|
+
setIncheonHover(true);
|
|
309
|
+
}}
|
|
310
|
+
onMouseOut={() => {
|
|
311
|
+
setIncheonHover(false);
|
|
312
|
+
}}
|
|
313
|
+
onClick={e => {
|
|
314
|
+
onClick('인천·부천', 'incheonbon');
|
|
315
|
+
}}
|
|
316
|
+
className={`cls-1 !pointer-events-auto cursor-pointer`}
|
|
317
|
+
transform="translate(90 215)"
|
|
318
|
+
>
|
|
319
|
+
<tspan x="0" y="0">
|
|
320
|
+
인천·부천
|
|
321
|
+
</tspan>
|
|
322
|
+
</text>
|
|
323
|
+
</g>
|
|
324
|
+
</g>
|
|
325
|
+
</svg>
|
|
326
|
+
</span>
|
|
327
|
+
);
|
|
328
|
+
};
|
|
329
|
+
|
|
330
|
+
export default Map;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import 'swiper/css';
|
|
3
|
+
import 'swiper/css/navigation';
|
|
4
|
+
import 'swiper/css/pagination';
|
|
5
|
+
import { IInitialDataTypes } from '../common';
|
|
6
|
+
declare const MapSection: ({ initialData, selectRegion, setSelectRegion, setMapFixOpen, Title }: {
|
|
7
|
+
initialData: IInitialDataTypes;
|
|
8
|
+
selectRegion: string;
|
|
9
|
+
setSelectRegion: any;
|
|
10
|
+
setMapFixOpen: any;
|
|
11
|
+
Title?: React.ReactNode;
|
|
12
|
+
}) => React.JSX.Element;
|
|
13
|
+
export default MapSection;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import React, { useEffect, useState } from 'react';
|
|
2
|
+
import Image from 'next/image';
|
|
3
|
+
import 'swiper/css';
|
|
4
|
+
import 'swiper/css/navigation';
|
|
5
|
+
import 'swiper/css/pagination';
|
|
6
|
+
import { useRouter } from 'next/router';
|
|
7
|
+
import Wrapper from '../Layout/Wrapper';
|
|
8
|
+
import useBrowser from '../common/hook/useBrowser';
|
|
9
|
+
import AreaImage from '../MapFix/AreaImage';
|
|
10
|
+
import { newNapArea } from '../common';
|
|
11
|
+
import Map from './Map';
|
|
12
|
+
import Link from 'next/link';
|
|
13
|
+
const MapSection = ({ initialData, selectRegion, setSelectRegion, setMapFixOpen, Title }) => {
|
|
14
|
+
const router = useRouter();
|
|
15
|
+
const { width } = useBrowser();
|
|
16
|
+
const [mapAreas, setMapAreas] = useState([]);
|
|
17
|
+
useEffect(() => {
|
|
18
|
+
const data = newNapArea[selectRegion];
|
|
19
|
+
setMapAreas(data);
|
|
20
|
+
}, [selectRegion]);
|
|
21
|
+
return (<section className={'relative h-full w-full overflow-hidden'}>
|
|
22
|
+
{/*배경*/}
|
|
23
|
+
<Image src={'https://d1tgonli21s4df.cloudfront.net/main_new/images_office_bg.webp'} alt="" fill className={'object-cover max-sm:object-left '} draggable="false"/>
|
|
24
|
+
|
|
25
|
+
<Wrapper className={'flex h-full w-full overflow-hidden pb-[239px] pt-[180px] max-xl:py-[150px] max-md:flex-col max-sm:py-[80px]'}>
|
|
26
|
+
<div className={'w-[60%] pb-[200px] max-3xl:pb-[140px] max-lg:w-[63%] max-md2:w-[65%] max-md:w-full max-md:pb-0'}>
|
|
27
|
+
{Title ? (Title) : (<span className={'flex items-end pb-[1.1%]'}>
|
|
28
|
+
<p className={`!font-[NanumSquare] text-[173px] font-[800] leading-[0.8] tracking-[-3.46px] text-black max-3xl:text-[150px] max-xxl:text-[120px] max-lg:text-[90px] max-md:text-[80px] ` +
|
|
29
|
+
' max-sm:text-[100px] max-2xs:text-[70px] '}>
|
|
30
|
+
{initialData.office_cnt}
|
|
31
|
+
</p>
|
|
32
|
+
<span className={'pb-[8px] pl-[20px] justify-between max-3xl:pb-[6px] max-xxl:pb-[3px] max-lg:pl-[10px] max-sm:pl-3'}>
|
|
33
|
+
<p className={'text-[80px] font-[900] leading-none tracking-[-3.2px] ' +
|
|
34
|
+
'max-3xl:text-[70px] max-xxl:text-[60px] max-lg:text-[45px] max-md:text-[40px] max-sm:text-[45px] max-2xs:text-[35px]'}>
|
|
35
|
+
OFFICE
|
|
36
|
+
</p>
|
|
37
|
+
</span>
|
|
38
|
+
</span>)}
|
|
39
|
+
|
|
40
|
+
<div className={'relative mt-[55px] flex w-full justify-end max-3xl:mt-10 max-lg:mt-5 max-md:hidden '}>
|
|
41
|
+
<Link className={'flex h-[82px] w-[386px] justify-between items-center px-[41px] text-[24px] font-bold text-white ' +
|
|
42
|
+
'max-3xl:h-[70px] max-3xl:w-[300px] max-3xl:px-[24px] max-3xl:text-[20px] ' +
|
|
43
|
+
'max-lg:h-[50px] max-lg:w-[230px] max-lg:px-4 max-lg:text-[16px] ' +
|
|
44
|
+
'bg-black rounded-full'} href={'/map'} aria-label={'오시는길 페이지로 이동'}>
|
|
45
|
+
VIEW MORE OFFICES
|
|
46
|
+
<Image src={'https://d1tgonli21s4df.cloudfront.net/comp/main/section5/icon_arrow_white.webp'} alt={''} width={52} height={39} draggable={'false'} className={'h-auto w-[34px] max-3xl:w-[28px] max-lg:w-[20px]'}/>
|
|
47
|
+
</Link>
|
|
48
|
+
</div>
|
|
49
|
+
{/*지도 grid*/}
|
|
50
|
+
<div className={`mt-[84px] max-3xl:mt-14 max-lg:mt-7 max-md:hidden `}>
|
|
51
|
+
<p className={'sr-only'}>{selectRegion}</p>
|
|
52
|
+
|
|
53
|
+
<div className={'grid grid-cols-4 gap-3 max-lg:gap-2 max-md2:gap-1'} tabIndex={-1} aria-label={selectRegion + ' 선택됨.'}>
|
|
54
|
+
{mapAreas && mapAreas.length > 0 ? (mapAreas.map((area, index) => {
|
|
55
|
+
return <AreaImage key={index} area={area}/>;
|
|
56
|
+
})) : (<></>)}
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
</div>
|
|
60
|
+
<div className={'absolute right-10 top-[180px] z-50 h-[80%] w-[40%] ' +
|
|
61
|
+
'max-lg:right-0 max-lg:top-[140px] ' +
|
|
62
|
+
' max-md:relative max-md:top-0 max-md:mx-auto max-md:h-[85%] max-md:w-[85%] ' +
|
|
63
|
+
'max-xs:mt-10 max-xs:h-full max-xs:w-full max-xs:scale-110'}>
|
|
64
|
+
<Map selectRegion={selectRegion} onClick={select => {
|
|
65
|
+
setSelectRegion(select);
|
|
66
|
+
if (width < 769) {
|
|
67
|
+
setMapFixOpen(true);
|
|
68
|
+
}
|
|
69
|
+
}}/>
|
|
70
|
+
</div>
|
|
71
|
+
</Wrapper>
|
|
72
|
+
</section>);
|
|
73
|
+
};
|
|
74
|
+
export default MapSection;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import MapSection from './MapSection';
|
|
2
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
|
+
import '../../styles/globals.css';
|
|
4
|
+
import '../../styles/font_style.css';
|
|
5
|
+
declare const meta: Meta<typeof MapSection>;
|
|
6
|
+
export default meta;
|
|
7
|
+
type Story = StoryObj<typeof meta>;
|
|
8
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import MapSection from './MapSection';
|
|
2
|
+
import '../../styles/globals.css';
|
|
3
|
+
import '../../styles/font_style.css';
|
|
4
|
+
const meta = {
|
|
5
|
+
component: MapSection,
|
|
6
|
+
title: 'MapSection'
|
|
7
|
+
};
|
|
8
|
+
export default meta;
|
|
9
|
+
export const Default = {
|
|
10
|
+
render: args => {
|
|
11
|
+
return (<div className={'font-[SUIT]'}>
|
|
12
|
+
<MapSection {...args}/>
|
|
13
|
+
</div>);
|
|
14
|
+
},
|
|
15
|
+
args: {
|
|
16
|
+
selectRegion: '서울',
|
|
17
|
+
setMapFixOpen: () => { },
|
|
18
|
+
setSelectRegion: () => { },
|
|
19
|
+
initialData: {
|
|
20
|
+
lawyer_cnt: 230,
|
|
21
|
+
office_cnt: 39,
|
|
22
|
+
consult_cnt: 361053,
|
|
23
|
+
success_cnt: 27002,
|
|
24
|
+
center_cnt: 22,
|
|
25
|
+
regenerTotal_cnt: 7526723016,
|
|
26
|
+
professional_cnt: 550,
|
|
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
|
+
}
|
|
54
|
+
}
|
|
55
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import MapSection from './MapSection';
|
|
2
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
|
+
import '../../styles/globals.css';
|
|
4
|
+
import '../../styles/font_style.css';
|
|
5
|
+
|
|
6
|
+
const meta: Meta<typeof MapSection> = {
|
|
7
|
+
component: MapSection,
|
|
8
|
+
title: 'MapSection'
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export default meta;
|
|
12
|
+
|
|
13
|
+
type Story = StoryObj<typeof meta>;
|
|
14
|
+
|
|
15
|
+
export const Default: Story = {
|
|
16
|
+
render: args => {
|
|
17
|
+
return (
|
|
18
|
+
<div className={'font-[SUIT]'}>
|
|
19
|
+
<MapSection {...args} />
|
|
20
|
+
</div>
|
|
21
|
+
);
|
|
22
|
+
},
|
|
23
|
+
args: {
|
|
24
|
+
selectRegion: '서울',
|
|
25
|
+
setMapFixOpen: () => {},
|
|
26
|
+
setSelectRegion: () => {},
|
|
27
|
+
initialData: {
|
|
28
|
+
lawyer_cnt: 230,
|
|
29
|
+
office_cnt: 39,
|
|
30
|
+
consult_cnt: 361053,
|
|
31
|
+
success_cnt: 27002,
|
|
32
|
+
center_cnt: 22,
|
|
33
|
+
regenerTotal_cnt: 7526723016,
|
|
34
|
+
professional_cnt: 550,
|
|
35
|
+
weekday: '06:00 ~ 24:00',
|
|
36
|
+
weekend: '06:00 ~ 24:00',
|
|
37
|
+
consult_time: '365일 24시간 상담과 긴급대응 가능',
|
|
38
|
+
success_2024: 27002,
|
|
39
|
+
field_center: [
|
|
40
|
+
'CT0001',
|
|
41
|
+
'CT0002',
|
|
42
|
+
'CT0005',
|
|
43
|
+
'CT0006',
|
|
44
|
+
'CT0012',
|
|
45
|
+
'CT0013',
|
|
46
|
+
'CT0015',
|
|
47
|
+
'CT0016',
|
|
48
|
+
'CT0018',
|
|
49
|
+
'CT0019',
|
|
50
|
+
'CT0024',
|
|
51
|
+
'CT0025',
|
|
52
|
+
'CT0026'
|
|
53
|
+
],
|
|
54
|
+
success_2024_ko: '2만 7,002',
|
|
55
|
+
compensation_regener_success: 9891,
|
|
56
|
+
detective_success: 9314,
|
|
57
|
+
divorce_inherit_success: 6332,
|
|
58
|
+
comp_administration_success: 1465,
|
|
59
|
+
aggregationDate: '2024.1.2~2024.8.31',
|
|
60
|
+
main_date: '2024년 1~8월 기준'
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
};
|