@daeryun/dr_components 1.1.34 → 1.1.36

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,11 +5,13 @@ import { useState } from 'react';
5
5
  const Map = ({
6
6
  onClick,
7
7
  selectRegion,
8
- isFirstClick
8
+ isFirstClick,
9
+ isConsultCenter
9
10
  }: {
10
11
  onClick: (select: string, key: string) => void;
11
12
  selectRegion: string;
12
13
  isFirstClick: boolean; // 처음 클릭하는건지 체크 - 모바일에서 제일 처음 접근시 '서울'이 깜박이게
14
+ isConsultCenter?: boolean; //상담 센터 > 색상 다름
13
15
  }) => {
14
16
  const [incheonHover, setIncheonHover] = useState<boolean>(false);
15
17
  return (
@@ -26,9 +28,7 @@ const Map = ({
26
28
  transition: fill 0.3s ease;
27
29
  cursor: pointer;
28
30
  }
29
- .cls-2:hover {
30
- fill: #A7B3C8
31
- }
31
+ ${isConsultCenter ? `.cls-2:hover {fill: #39590C4D }` : `.cls-2:hover {fill: #A7B3C8 }`}
32
32
  .cls-1 {
33
33
  fill: #494949;
34
34
  font-size: 17px;
@@ -53,7 +53,7 @@ const Map = ({
53
53
  onClick(e.currentTarget.id, 'goyang');
54
54
  }
55
55
  }}
56
- className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'경기북부'.includes(selectRegion) || selectRegion === 'goyang' ? '!fill-[#254B80]' : ''}`}
56
+ className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'경기북부'.includes(selectRegion) || selectRegion === 'goyang' ? (isConsultCenter ? ' !fill-[#39590C] ' : ' !fill-[#254B80] ') : ''}`}
57
57
  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"
58
58
  />
59
59
  <path
@@ -67,7 +67,7 @@ const Map = ({
67
67
  onClick(e.currentTarget.id, 'wonju');
68
68
  }
69
69
  }}
70
- className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'강원'.includes(selectRegion) || selectRegion === 'wonju' ? '!fill-[#254B80]' : ''}`}
70
+ className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'강원'.includes(selectRegion) || selectRegion === 'wonju' ? (isConsultCenter ? ' !fill-[#39590C] ' : ' !fill-[#254B80] ') : ''}`}
71
71
  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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15.2,2-4.4,5.8-6.5,9.8-7.5.2,0,.4,0,.5-.1-3.7-4.5-9.8-6.8-12.4-11.1Z"
72
72
  />
73
73
  <path
@@ -81,7 +81,7 @@ const Map = ({
81
81
  }
82
82
  }}
83
83
  id={'인천·부천'}
84
- className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'인천·부천'.includes(selectRegion) || selectRegion === 'incheonbon' ? '!fill-[#254B80]' : incheonHover ? ' !fill-[#A7B3C8] ' : ''}`}
84
+ className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'인천·부천'.includes(selectRegion) || selectRegion === 'incheonbon' ? (isConsultCenter ? ' !fill-[#39590C] ' : ' !fill-[#254B80] ') : incheonHover ? (isConsultCenter ? ' !fill-[#39590C4D] ' : ' !fill-[#A7B3C8] ') : ''}`}
85
85
  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"
86
86
  />
87
87
  <path
@@ -95,7 +95,7 @@ const Map = ({
95
95
  }
96
96
  }}
97
97
  id={'서울'}
98
- className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'서울'.includes(selectRegion) || selectRegion === 'seoulbon' ? (isFirstClick ? 'max-md:animate-map_flicker md:!fill-[#254B80] ' : '!fill-[#254B80]') : ''}`}
98
+ className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'서울'.includes(selectRegion) || selectRegion === 'seoulbon' ? (isFirstClick ? (isConsultCenter ? ' max-md:animate-map_flicker_consult ' : ' max-md:animate-map_flicker ') + (isConsultCenter ? ' md:!fill-[#39590C] ' : 'md:!fill-[#254B80] ') : isConsultCenter ? ' !fill-[#39590C] ' : ' !fill-[#254B80] ') : ''}`}
99
99
  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"
100
100
  />
101
101
  <g
@@ -109,7 +109,7 @@ const Map = ({
109
109
  onClick(e.currentTarget.id, 'suwonbon');
110
110
  }
111
111
  }}
112
- className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'경기남부'.includes(selectRegion) || selectRegion === 'suwonbon' ? '!fill-[#254B80]' : ''}`}
112
+ className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'경기남부'.includes(selectRegion) || selectRegion === 'suwonbon' ? (isConsultCenter ? ' !fill-[#39590C] ' : ' !fill-[#254B80] ') : ''}`}
113
113
  >
114
114
  <path d="M223.6,309.6c.4.5.8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-9.6,6.2-6.5.5.2,1,.5,1.5.7.8.4,1.7.9,2.5,1.5,1.6,1.1,3.2,2.3,4.7,3.4.7.6,1.5,1.1,2.2,1.7.7.5,1.4,1,2.1,1.4,2,1.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" />
@@ -124,7 +124,7 @@ const Map = ({
124
124
  onClick(e.currentTarget.id, 'daejeon');
125
125
  }
126
126
  }}
127
- className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'대전·충남'.includes(selectRegion) || selectRegion === 'daejeon' ? '!fill-[#254B80]' : ''}`}
127
+ className={`cls-2 transition-[fill] ease-linear focus:outline-none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1-1,.2-2.1.3-3.2Z"
130
130
  />
@@ -139,7 +139,7 @@ const Map = ({
139
139
  onClick(e.currentTarget.id, 'cheongju');
140
140
  }
141
141
  }}
142
- className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'충북'.includes(selectRegion) || selectRegion === 'cheongju' ? '!fill-[#254B80]' : ''}`}
142
+ className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'충북'.includes(selectRegion) || selectRegion === 'cheongju' ? (isConsultCenter ? ' !fill-[#39590C] ' : ' !fill-[#254B80] ') : ''}`}
143
143
  >
144
144
  <path d="M298,477.7s0,0,0,0c-.4-.2-.9-.5-1.4-.7.5.2.9.5,1.4.7Z" />
145
145
  <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" />
@@ -156,7 +156,7 @@ const Map = ({
156
156
  onClick(e.currentTarget.id, 'daegumain');
157
157
  }
158
158
  }}
159
- className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'대구·경북'.includes(selectRegion) || selectRegion === 'daegumain' ? '!fill-[#254B80]' : ''}`}
159
+ className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'대구·경북'.includes(selectRegion) || selectRegion === 'daegumain' ? (isConsultCenter ? ' !fill-[#39590C] ' : ' !fill-[#254B80] ') : ''}`}
160
160
  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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+170,7 @@ const Map = ({
170
170
  }
171
171
  }}
172
172
  id={'전북'}
173
- className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'전북'.includes(selectRegion) || selectRegion === 'jeonju' ? '!fill-[#254B80]' : ''}`}
173
+ className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'전북'.includes(selectRegion) || selectRegion === 'jeonju' ? (isConsultCenter ? ' !fill-[#39590C] ' : ' !fill-[#254B80] ') : ''}`}
174
174
  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"
175
175
  />
176
176
  <path
@@ -184,7 +184,7 @@ const Map = ({
184
184
  }
185
185
  }}
186
186
  id={'부산·울산·경남'}
187
- className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'부산·울산·경남'.includes(selectRegion) || selectRegion === 'busan1' ? '!fill-[#254B80]' : ''}`}
187
+ className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'부산·울산·경남'.includes(selectRegion) || selectRegion === 'busan1' ? (isConsultCenter ? ' !fill-[#39590C] ' : ' !fill-[#254B80] ') : ''}`}
188
188
  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"
189
189
  />
190
190
  <g
@@ -198,7 +198,7 @@ const Map = ({
198
198
  onClick(e.currentTarget.id, 'gwangjumain');
199
199
  }
200
200
  }}
201
- className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'광주·전남'.includes(selectRegion) || selectRegion === 'gwangjumain' ? '!fill-[#254B80]' : ''}`}
201
+ className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'광주·전남'.includes(selectRegion) || selectRegion === 'gwangjumain' ? (isConsultCenter ? ' !fill-[#39590C] ' : ' !fill-[#254B80] ') : ''}`}
202
202
  >
203
203
  <path d="M69.9,698.2c-1.5-2,0-.6-2.1-2.1-2.1,6.9-4.2,13.8-6.2,20.7-8.7-2.9-9.9,2-18.7,4.1.2,7.6,1.2,6.4,4.1,10.4,11.4-2.6,16.2-8.4,31.1-8.3,1.3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8.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" />
@@ -215,7 +215,7 @@ const Map = ({
215
215
  }
216
216
  }}
217
217
  id={'제주도'}
218
- className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'제주도'.includes(selectRegion) || selectRegion === 'jeju' ? '!fill-[#254B80]' : ''}`}
218
+ className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'제주도'.includes(selectRegion) || selectRegion === 'jeju' ? (isConsultCenter ? ' !fill-[#39590C] ' : ' !fill-[#254B80] ') : ''}`}
219
219
  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"
220
220
  />
221
221
 
@@ -4,7 +4,7 @@ import 'swiper/css/navigation';
4
4
  import 'swiper/css/pagination';
5
5
  import { IInitialDataTypes } from '../common';
6
6
  import { IMapAlt } from '../common/types/map';
7
- declare const MapSection: ({ initialData, selectRegion, setSelectRegion, setMapFixOpen, Title, isGroup, mapAltList }: {
7
+ declare const MapSection: ({ initialData, selectRegion, setSelectRegion, setMapFixOpen, Title, isGroup, mapAltList, isConsultCenter }: {
8
8
  initialData: IInitialDataTypes;
9
9
  selectRegion: string;
10
10
  setSelectRegion: any;
@@ -12,5 +12,6 @@ declare const MapSection: ({ initialData, selectRegion, setSelectRegion, setMapF
12
12
  Title: React.ReactNode;
13
13
  isGroup?: boolean;
14
14
  mapAltList?: IMapAlt[];
15
+ isConsultCenter?: boolean;
15
16
  }) => React.JSX.Element;
16
17
  export default MapSection;
@@ -11,7 +11,7 @@ import AreaImage from '../MapFix/AreaImage';
11
11
  import { newNapArea } from '../common';
12
12
  import Map from './Map';
13
13
  import Link from 'next/link';
14
- const MapSection = ({ initialData, selectRegion, setSelectRegion, setMapFixOpen, Title, isGroup = true, mapAltList }) => {
14
+ const MapSection = ({ initialData, selectRegion, setSelectRegion, setMapFixOpen, Title, isGroup = true, mapAltList, isConsultCenter }) => {
15
15
  const router = useRouter();
16
16
  const { width } = useBrowser();
17
17
  const [mapAreas, setMapAreas] = useState([]);
@@ -63,7 +63,7 @@ const MapSection = ({ initialData, selectRegion, setSelectRegion, setMapFixOpen,
63
63
  if (width < 769) {
64
64
  setMapFixOpen(true);
65
65
  }
66
- }} isFirstClick={isFirstClick}/>
66
+ }} isConsultCenter={isConsultCenter} isFirstClick={isFirstClick}/>
67
67
  </div>
68
68
  </Wrapper>
69
69
  </section>);
@@ -21,7 +21,8 @@ const MapSection = ({
21
21
  setMapFixOpen,
22
22
  Title,
23
23
  isGroup = true,
24
- mapAltList
24
+ mapAltList,
25
+ isConsultCenter
25
26
  }: {
26
27
  initialData: IInitialDataTypes;
27
28
  selectRegion: string;
@@ -30,6 +31,7 @@ const MapSection = ({
30
31
  Title: React.ReactNode;
31
32
  isGroup?: boolean;
32
33
  mapAltList?: IMapAlt[];
34
+ isConsultCenter?: boolean;
33
35
  }) => {
34
36
  const router = useRouter();
35
37
 
@@ -148,6 +150,7 @@ const MapSection = ({
148
150
  setMapFixOpen(true);
149
151
  }
150
152
  }}
153
+ isConsultCenter={isConsultCenter}
151
154
  isFirstClick={isFirstClick}
152
155
  />
153
156
  </div>
@@ -1,11 +1,18 @@
1
1
  'use client';
2
2
  import React from 'react';
3
3
  import Link from 'next/link';
4
+ import Pagination from '../../Pagination/Pagination';
5
+ import PageTitleBox from '../../PageTitleBox/PageTitleBox';
6
+ import { ImgTypes } from '../../PageTitleBox/ImgTypes';
4
7
  import PageWrapper from '../../Layout/PageWrapper';
5
8
  import SearchBar from '../../SearchBar/SearchBar';
6
- import Pagination from '../../Pagination/Pagination';
7
9
  const NoticeList = ({ SearchBarProps, PaginationProps, noticeName, noticeList, currentCodeDesc, isUseHeaderComponent, nameFilter, search, indexOfFirstPost, indexOfLastPost, postPerPage, currentPage, router }) => {
8
10
  return (<>
11
+ <PageTitleBox titleTxt={'공지사항'} subTxt={<>
12
+ 법무법인(유한) 대륜의
13
+ <br />
14
+ 다양한 새소식을 전달합니다
15
+ </>} imgType={ImgTypes.NOTICE} isUseHeaderComponent/>
9
16
  <PageWrapper>
10
17
  <SearchBar label={'검색어를 입력해주세요.'} onChange={SearchBarProps.handleInputChange} onClick={SearchBarProps.handleSearch} search={SearchBarProps.searchInput} placeholder={'검색어를 입력해주세요.'} isKeyPress={true} marginTop={[70, 50, 50]}/>
11
18
  <div className={'mb-10 flex w-full cursor-pointer border-[1px] border-solid border-[#DBDBDB] text-center '}>
@@ -117,7 +124,9 @@ const NoticeList = ({ SearchBarProps, PaginationProps, noticeName, noticeList, c
117
124
  </tr>)}
118
125
  </tbody>
119
126
  </table>
120
- {noticeList && noticeList.length > 0 ? (<Pagination currentPage={PaginationProps.currentPage} onPageChange={PaginationProps.onPaginationChange} totalPages={Math.ceil(PaginationProps.totalCount / 9)}/>) : (<></>)}
127
+ {noticeList && noticeList.length > 0 ? (<div className={'mb-[100px] max-lg:mb-[70px] max-xs:mb-[64px]'}>
128
+ <Pagination currentPage={PaginationProps.currentPage} onPageChange={PaginationProps.onPaginationChange} totalPages={Math.ceil(PaginationProps.totalCount / 9)}/>
129
+ </div>) : (<></>)}
121
130
  </div>
122
131
  </PageWrapper>
123
132
  </>);
@@ -11,8 +11,12 @@ declare global {
11
11
  }
12
12
  }
13
13
  import Link from 'next/link';
14
+ import Pagination from '../../Pagination/Pagination';
15
+ import PageTitleBox from '../../PageTitleBox/PageTitleBox';
16
+ import { ImgTypes } from '../../PageTitleBox/ImgTypes';
14
17
  import PageWrapper from '../../Layout/PageWrapper';
15
18
  import SearchBar from '../../SearchBar/SearchBar';
19
+
16
20
  // 공지사항 데이터 타입 정의
17
21
  interface INoticeTypes {
18
22
  id: number;
@@ -22,7 +26,6 @@ interface INoticeTypes {
22
26
  top_count?: number;
23
27
  timestamp?: string;
24
28
  }
25
- import Pagination from '../../Pagination/Pagination';
26
29
 
27
30
  interface ISearchBarProps {
28
31
  handleInputChange: (e: React.FormEvent<HTMLInputElement>) => void;
@@ -72,6 +75,18 @@ const NoticeList = ({
72
75
  }: NoticeListProps) => {
73
76
  return (
74
77
  <>
78
+ <PageTitleBox
79
+ titleTxt={'공지사항'}
80
+ subTxt={
81
+ <>
82
+ 법무법인(유한) 대륜의
83
+ <br />
84
+ 다양한 새소식을 전달합니다
85
+ </>
86
+ }
87
+ imgType={ImgTypes.NOTICE}
88
+ isUseHeaderComponent
89
+ />
75
90
  <PageWrapper>
76
91
  <SearchBar
77
92
  label={'검색어를 입력해주세요.'}
@@ -249,11 +264,13 @@ const NoticeList = ({
249
264
  </tbody>
250
265
  </table>
251
266
  {noticeList && noticeList.length > 0 ? (
252
- <Pagination
253
- currentPage={PaginationProps.currentPage}
254
- onPageChange={PaginationProps.onPaginationChange}
255
- totalPages={Math.ceil(PaginationProps.totalCount / 9)}
256
- />
267
+ <div className={'mb-[100px] max-lg:mb-[70px] max-xs:mb-[64px]'}>
268
+ <Pagination
269
+ currentPage={PaginationProps.currentPage}
270
+ onPageChange={PaginationProps.onPaginationChange}
271
+ totalPages={Math.ceil(PaginationProps.totalCount / 9)}
272
+ />
273
+ </div>
257
274
  ) : (
258
275
  <></>
259
276
  )}
@@ -3,13 +3,15 @@ import { htmlUrlDecode } from '../../../../lib';
3
3
  const H2Contents = ({ h2Template, index, faqCount }) => {
4
4
  const { active_faq } = h2Template;
5
5
  const getItemScope = () => {
6
- if (active_faq === false && (faqCount === 0 || faqCount === undefined)) {
6
+ const negativeActiveFaqValue = (active_faq === false || active_faq === null || active_faq === undefined) && false;
7
+ if (negativeActiveFaqValue && (faqCount === 0 || faqCount === undefined)) {
7
8
  return true;
8
9
  }
9
10
  return undefined;
10
11
  };
11
12
  const getItemProp = (category) => {
12
- if (active_faq === false && (faqCount === 0 || faqCount === undefined)) {
13
+ const negativeActiveFaqValue = (active_faq === false || active_faq === null || active_faq === undefined) && false;
14
+ if (negativeActiveFaqValue && (faqCount === 0 || faqCount === undefined)) {
13
15
  switch (category) {
14
16
  case 'mainEntity':
15
17
  return 'mainEntity';
@@ -26,7 +28,8 @@ const H2Contents = ({ h2Template, index, faqCount }) => {
26
28
  return undefined;
27
29
  };
28
30
  const getItemType = (category) => {
29
- if (active_faq === false && (faqCount === 0 || faqCount === undefined)) {
31
+ const negativeActiveFaqValue = (active_faq === false || active_faq === null || active_faq === undefined) && false;
32
+ if (negativeActiveFaqValue && (faqCount === 0 || faqCount === undefined)) {
30
33
  switch (category) {
31
34
  case 'question':
32
35
  return 'https://schema.org/Question';
@@ -17,7 +17,10 @@ const H2Contents = ({
17
17
  const { active_faq } = h2Template;
18
18
 
19
19
  const getItemScope = (): boolean | undefined => {
20
- if (active_faq === false && ((faqCount as number) === 0 || faqCount === undefined)) {
20
+ const negativeActiveFaqValue =
21
+ (active_faq === false || active_faq === null || active_faq === undefined) && false;
22
+
23
+ if (negativeActiveFaqValue && ((faqCount as number) === 0 || faqCount === undefined)) {
21
24
  return true;
22
25
  }
23
26
 
@@ -25,7 +28,10 @@ const H2Contents = ({
25
28
  };
26
29
 
27
30
  const getItemProp = (category: ItemPropTypes): string | undefined => {
28
- if (active_faq === false && ((faqCount as number) === 0 || faqCount === undefined)) {
31
+ const negativeActiveFaqValue =
32
+ (active_faq === false || active_faq === null || active_faq === undefined) && false;
33
+
34
+ if (negativeActiveFaqValue && ((faqCount as number) === 0 || faqCount === undefined)) {
29
35
  switch (category) {
30
36
  case 'mainEntity':
31
37
  return 'mainEntity';
@@ -44,7 +50,10 @@ const H2Contents = ({
44
50
  };
45
51
 
46
52
  const getItemType = (category: ItemTypes): string | undefined => {
47
- if (active_faq === false && ((faqCount as number) === 0 || faqCount === undefined)) {
53
+ const negativeActiveFaqValue =
54
+ (active_faq === false || active_faq === null || active_faq === undefined) && false;
55
+
56
+ if (negativeActiveFaqValue && ((faqCount as number) === 0 || faqCount === undefined)) {
48
57
  switch (category) {
49
58
  case 'question':
50
59
  return 'https://schema.org/Question';
@@ -5,13 +5,15 @@ import FieldIcon from '../../../../asset/images/success_new/field_icon.webp';
5
5
  const H3Contents = ({ h3Template, faqCount }) => {
6
6
  const { active_faq } = h3Template;
7
7
  const getItemScope = () => {
8
- if (active_faq === false && (faqCount === 0 || faqCount === undefined)) {
8
+ const negativeActiveFaqValue = (active_faq === false || active_faq === null || active_faq === undefined) && false;
9
+ if (negativeActiveFaqValue) {
9
10
  return true;
10
11
  }
11
12
  return undefined;
12
13
  };
13
14
  const getItemProp = (category) => {
14
- if (active_faq === false && (faqCount === 0 || faqCount === undefined)) {
15
+ const negativeActiveFaqValue = (active_faq === false || active_faq === null || active_faq === undefined) && false;
16
+ if (negativeActiveFaqValue && (faqCount === 0 || faqCount === undefined)) {
15
17
  switch (category) {
16
18
  case 'mainEntity':
17
19
  return 'mainEntity';
@@ -28,7 +30,8 @@ const H3Contents = ({ h3Template, faqCount }) => {
28
30
  return undefined;
29
31
  };
30
32
  const getItemType = (category) => {
31
- if (active_faq === false && (faqCount === 0 || faqCount === undefined)) {
33
+ const negativeActiveFaqValue = (active_faq === false || active_faq === null || active_faq === undefined) && false;
34
+ if (negativeActiveFaqValue && (faqCount === 0 || faqCount === undefined)) {
32
35
  switch (category) {
33
36
  case 'question':
34
37
  return 'https://schema.org/Question';
@@ -11,7 +11,10 @@ const H3Contents = ({ h3Template, faqCount }: { h3Template: ISeoTemplateTypes; f
11
11
  const { active_faq } = h3Template;
12
12
 
13
13
  const getItemScope = (): boolean | undefined => {
14
- if (active_faq === false && ((faqCount as number) === 0 || faqCount === undefined)) {
14
+ const negativeActiveFaqValue =
15
+ (active_faq === false || active_faq === null || active_faq === undefined) && false;
16
+
17
+ if (negativeActiveFaqValue) {
15
18
  return true;
16
19
  }
17
20
 
@@ -19,7 +22,10 @@ const H3Contents = ({ h3Template, faqCount }: { h3Template: ISeoTemplateTypes; f
19
22
  };
20
23
 
21
24
  const getItemProp = (category: ItemPropTypes): string | undefined => {
22
- if (active_faq === false && ((faqCount as number) === 0 || faqCount === undefined)) {
25
+ const negativeActiveFaqValue =
26
+ (active_faq === false || active_faq === null || active_faq === undefined) && false;
27
+
28
+ if (negativeActiveFaqValue && ((faqCount as number) === 0 || faqCount === undefined)) {
23
29
  switch (category) {
24
30
  case 'mainEntity':
25
31
  return 'mainEntity';
@@ -38,7 +44,10 @@ const H3Contents = ({ h3Template, faqCount }: { h3Template: ISeoTemplateTypes; f
38
44
  };
39
45
 
40
46
  const getItemType = (category: ItemTypes): string | undefined => {
41
- if (active_faq === false && ((faqCount as number) === 0 || faqCount === undefined)) {
47
+ const negativeActiveFaqValue =
48
+ (active_faq === false || active_faq === null || active_faq === undefined) && false;
49
+
50
+ if (negativeActiveFaqValue && ((faqCount as number) === 0 || faqCount === undefined)) {
42
51
  switch (category) {
43
52
  case 'question':
44
53
  return 'https://schema.org/Question';
@@ -107,7 +107,7 @@
107
107
  }
108
108
 
109
109
  /*
110
- ! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com
110
+ ! tailwindcss v3.4.18 | MIT License | https://tailwindcss.com
111
111
  */
112
112
 
113
113
  /*
@@ -6473,6 +6473,14 @@ html {
6473
6473
  fill: #254B80 !important;
6474
6474
  }
6475
6475
 
6476
+ .\!fill-\[\#39590C4D\] {
6477
+ fill: #39590C4D !important;
6478
+ }
6479
+
6480
+ .\!fill-\[\#39590C\] {
6481
+ fill: #39590C !important;
6482
+ }
6483
+
6476
6484
  .\!fill-\[\#A7B3C8\] {
6477
6485
  fill: #A7B3C8 !important;
6478
6486
  }
@@ -9023,20 +9031,16 @@ html {
9023
9031
 
9024
9032
  .backdrop-blur-\[4px\] {
9025
9033
  --tw-backdrop-blur: blur(4px);
9026
- -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
9027
9034
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
9028
9035
  }
9029
9036
 
9030
9037
  .backdrop-blur-sm {
9031
9038
  --tw-backdrop-blur: blur(4px);
9032
- -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
9033
9039
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
9034
9040
  }
9035
9041
 
9036
9042
  .transition {
9037
- transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
9038
9043
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
9039
- transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
9040
9044
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
9041
9045
  transition-duration: 150ms;
9042
9046
  }
@@ -15507,6 +15511,36 @@ body {
15507
15511
  animation: map_flicker 1s ease-in-out infinite;
15508
15512
  }
15509
15513
 
15514
+ @keyframes map_flicker_consult {
15515
+ 0% {
15516
+ fill: #39590C4D;
15517
+ }
15518
+
15519
+ 80% {
15520
+ fill: #39590C;
15521
+ }
15522
+
15523
+ 100% {
15524
+ fill: #39590C;
15525
+ }
15526
+
15527
+ 0% {
15528
+ fill: #39590C4D;
15529
+ }
15530
+
15531
+ 80% {
15532
+ fill: #39590C;
15533
+ }
15534
+
15535
+ 100% {
15536
+ fill: #39590C;
15537
+ }
15538
+ }
15539
+
15540
+ .max-md\:animate-map_flicker_consult {
15541
+ animation: map_flicker_consult 1s ease-in-out infinite;
15542
+ }
15543
+
15510
15544
  .max-md\:grid-cols-1 {
15511
15545
  grid-template-columns: repeat(1, minmax(0, 1fr));
15512
15546
  }
@@ -17869,6 +17903,10 @@ body {
17869
17903
  margin-bottom: 60px;
17870
17904
  }
17871
17905
 
17906
+ .max-xs\:mb-\[64px\] {
17907
+ margin-bottom: 64px;
17908
+ }
17909
+
17872
17910
  .max-xs\:mb-\[70px\] {
17873
17911
  margin-bottom: 70px;
17874
17912
  }
@@ -20408,6 +20446,10 @@ body {
20408
20446
  fill: #254B80 !important;
20409
20447
  }
20410
20448
 
20449
+ .md\:\!fill-\[\#39590C\] {
20450
+ fill: #39590C !important;
20451
+ }
20452
+
20411
20453
  .md\:py-4 {
20412
20454
  padding-top: 1rem;
20413
20455
  padding-bottom: 1rem;