@daeryun/dr_components 0.2.27 → 0.2.29
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/mark/tax.svg +10 -0
- package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
- package/dist/components/BrochureBtn/BrochureBtn.d.ts +0 -1
- package/dist/components/BrochureBtn/BrochureBtn.jsx +3 -4
- package/dist/components/BrochureBtn/BrochureBtn.stories.d.ts +0 -1
- package/dist/components/BrochureBtn/BrochureBtn.stories.jsx +7 -3
- package/dist/components/BrochureBtn/BrochureBtn.stories.tsx +7 -3
- package/dist/components/BrochureBtn/BrochureBtn.tsx +4 -11
- package/dist/components/BrochureBtn/MedicalBrochureBtn.d.ts +8 -0
- package/dist/components/BrochureBtn/MedicalBrochureBtn.jsx +35 -0
- package/dist/components/BrochureBtn/MedicalBrochureBtn.tsx +88 -0
- package/dist/components/Footer/Footer.stories.d.ts +1 -0
- package/dist/components/Footer/Footer.stories.jsx +16 -0
- package/dist/components/Footer/Footer.stories.tsx +19 -0
- package/dist/components/Footer/index.jsx +21 -11
- package/dist/components/Footer/index.tsx +63 -24
- package/dist/components/Header/MobileMenu.jsx +1 -1
- package/dist/components/Header/MobileMenu.tsx +0 -1
- package/dist/components/Header/PCMenu.jsx +1 -1
- package/dist/components/Header/PCMenu.tsx +1 -6
- package/dist/components/Mark/Mark.jsx +2 -1
- package/dist/components/Mark/Mark.stories.jsx +1 -1
- package/dist/components/Mark/Mark.stories.tsx +1 -1
- package/dist/components/Mark/Mark.tsx +10 -0
- package/dist/lib/utils.d.ts +1 -0
- package/dist/lib/utils.js +2 -0
- package/dist/lib/utils.ts +3 -0
- package/dist/styles/globals.css +20 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -9,6 +9,22 @@ const meta = {
|
|
|
9
9
|
};
|
|
10
10
|
export default meta;
|
|
11
11
|
export const Default = {
|
|
12
|
+
render: args => {
|
|
13
|
+
const queryClient = new QueryClient();
|
|
14
|
+
return (<QueryClientProvider client={queryClient}>
|
|
15
|
+
<Footer {...args}/>
|
|
16
|
+
</QueryClientProvider>);
|
|
17
|
+
},
|
|
18
|
+
args: {
|
|
19
|
+
tel: '1800-7905',
|
|
20
|
+
logo: Logo,
|
|
21
|
+
groupsData: [],
|
|
22
|
+
isBrochureBtn: true,
|
|
23
|
+
aceUrl: 'https://example.com',
|
|
24
|
+
isMedical: false
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
export const medicalBrochureBtn = {
|
|
12
28
|
render: args => {
|
|
13
29
|
const queryClient = new QueryClient();
|
|
14
30
|
return (<QueryClientProvider client={queryClient}>
|
|
@@ -15,6 +15,25 @@ export default meta;
|
|
|
15
15
|
type Story = StoryObj<typeof meta>;
|
|
16
16
|
|
|
17
17
|
export const Default: Story = {
|
|
18
|
+
render: args => {
|
|
19
|
+
const queryClient = new QueryClient();
|
|
20
|
+
return (
|
|
21
|
+
<QueryClientProvider client={queryClient}>
|
|
22
|
+
<Footer {...args} />
|
|
23
|
+
</QueryClientProvider>
|
|
24
|
+
);
|
|
25
|
+
},
|
|
26
|
+
args: {
|
|
27
|
+
tel: '1800-7905',
|
|
28
|
+
logo: Logo,
|
|
29
|
+
groupsData: [],
|
|
30
|
+
isBrochureBtn: true,
|
|
31
|
+
aceUrl: 'https://example.com',
|
|
32
|
+
isMedical: false
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export const medicalBrochureBtn: Story = {
|
|
18
37
|
render: args => {
|
|
19
38
|
const queryClient = new QueryClient();
|
|
20
39
|
return (
|
|
@@ -22,6 +22,7 @@ import sns03 from '/public/images/footer/sns_03.webp';
|
|
|
22
22
|
import sns04 from '/public/images/footer/sns_04.webp';
|
|
23
23
|
import sns05 from '/public/images/footer/sns_05.webp';
|
|
24
24
|
import BrochureBtn from '../BrochureBtn/BrochureBtn';
|
|
25
|
+
import MedicalBrochureBtn from '../BrochureBtn/MedicalBrochureBtn';
|
|
25
26
|
const NewFooter = ({ groupsData, tel, logo, aceUrl, isBrochureBtn, isLogoLong, isMedical }) => {
|
|
26
27
|
const router = useRouter();
|
|
27
28
|
const mobile = require('is-mobile');
|
|
@@ -153,7 +154,9 @@ const NewFooter = ({ groupsData, tel, logo, aceUrl, isBrochureBtn, isLogoLong, i
|
|
|
153
154
|
}, []);
|
|
154
155
|
return (<footer className={'relative mb-[30px] flex h-[550px] w-full items-center justify-center border-t border-solid border-[#A8A8A8] bg-white font-[SUIT] text-[18px] ' +
|
|
155
156
|
(isBrochureBtn
|
|
156
|
-
?
|
|
157
|
+
? isMedical
|
|
158
|
+
? 'max-xl:h-[730px] max-md:h-[670px] max-xs:h-[850px] max-2xs:h-[890px] '
|
|
159
|
+
: 'max-xl:h-[650px] max-md:h-[600px] max-xs:h-[750px] max-2xs:h-[730px] '
|
|
157
160
|
: 'max-xs:h-[700px] max-2xs:h-[670px] ') +
|
|
158
161
|
'max-lg:mb-[70px] '}>
|
|
159
162
|
{/*top button*/}
|
|
@@ -180,17 +183,24 @@ const NewFooter = ({ groupsData, tel, logo, aceUrl, isBrochureBtn, isLogoLong, i
|
|
|
180
183
|
<div className={'flex gap-[36px] max-xxl:gap-[20px] max-xl:hidden '}>
|
|
181
184
|
<FooterLinkList />
|
|
182
185
|
</div>
|
|
183
|
-
{isBrochureBtn ? (<span className={'flex w-full flex-1 items-center justify-center gap-[40px] max-md:gap-[5px] max-2sm:gap-[10px]'}>
|
|
186
|
+
{isBrochureBtn && !isMedical ? (<span className={'flex w-full flex-1 items-center justify-center gap-[40px] max-md:gap-[5px] max-2sm:gap-[10px]'}>
|
|
184
187
|
<FooterSelectBox wrapperRef={wrapperRef} groupsData={groupsData} isGroups={isGroups} routeLocation={routeLocation} setIsOpen={setIsOpen} isOpen={isOpen} isBrochureBtn={isBrochureBtn}/>
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
188
|
+
<BrochureBtn width={'280px'} height={'60px'} className={'xl:hidden ' +
|
|
189
|
+
//768px
|
|
190
|
+
'max-md:mx-[-10px] max-md:scale-90 ' +
|
|
191
|
+
//590px
|
|
192
|
+
'max-[590px]:mx-[-30px] max-[590px]:scale-[.75] ' +
|
|
193
|
+
//480px
|
|
194
|
+
'max-xs:hidden'}/>
|
|
195
|
+
</span>) : isBrochureBtn && isMedical ? (<span className={'flex w-full flex-1 flex-col items-center justify-center gap-[20px] max-md:gap-[15px] max-2sm:gap-[10px]'}>
|
|
196
|
+
<FooterSelectBox wrapperRef={wrapperRef} groupsData={groupsData} isGroups={isGroups} routeLocation={routeLocation} setIsOpen={setIsOpen} isOpen={isOpen} isBrochureBtn={isBrochureBtn}/>
|
|
197
|
+
<MedicalBrochureBtn width={'280px'} height={'60px'} wrapClassName={'max-xs:hidden'} className={'xl:hidden ' +
|
|
198
|
+
//768px
|
|
199
|
+
'max-md:mx-[-10px] max-md:scale-90 ' +
|
|
200
|
+
//590px
|
|
201
|
+
'max-[590px]:mx-[-30px] max-[590px]:scale-[.75] '}/>
|
|
192
202
|
</span>) : (<FooterSelectBox wrapperRef={wrapperRef} groupsData={groupsData} isGroups={isGroups} routeLocation={routeLocation} setIsOpen={setIsOpen} isOpen={isOpen} isBrochureBtn={isBrochureBtn}/>)}
|
|
193
|
-
{isBrochureBtn ? (<
|
|
203
|
+
{isBrochureBtn && isMedical ? (<MedicalBrochureBtn rounded={false} width={'100%'} height={'55px'} wrapClassName={'xs:hidden flex-col '} className={'mt-[20px]'}/>) : isBrochureBtn ? (<BrochureBtn rounded={false} width={'100%'} height={'55px'} className={'mt-[20px] xs:hidden'}/>) : (<></>)}
|
|
194
204
|
</div>
|
|
195
205
|
|
|
196
206
|
{/*xl일때부터 or en*/}
|
|
@@ -249,7 +259,7 @@ const NewFooter = ({ groupsData, tel, logo, aceUrl, isBrochureBtn, isLogoLong, i
|
|
|
249
259
|
<Link href="https://www.instagram.com/daeryun_lawfirm/?utm_medium=copy_link" target="_blank" rel="noopener noreferrer nofollow">
|
|
250
260
|
<Image draggable={false} src={sns05} alt="법무법인(유한) 대륜 인스타그램" width={66} height={66} className={snsClass}/>
|
|
251
261
|
</Link>
|
|
252
|
-
{isBrochureBtn ? (<
|
|
262
|
+
{isBrochureBtn && isMedical ? (<MedicalBrochureBtn width={'280px'} height={'58px'} wrapClassName={'ml-4 max-xl:hidden'} className={'-translate-y-2'}/>) : isBrochureBtn ? (<BrochureBtn width={'280px'} height={'58px'} className={'ml-4 -translate-y-2 max-xl:hidden'}/>) : (<></>)}
|
|
253
263
|
</div>
|
|
254
264
|
</div>
|
|
255
265
|
</Wrapper>
|
|
@@ -14,6 +14,7 @@ import sns03 from '/public/images/footer/sns_03.webp';
|
|
|
14
14
|
import sns04 from '/public/images/footer/sns_04.webp';
|
|
15
15
|
import sns05 from '/public/images/footer/sns_05.webp';
|
|
16
16
|
import BrochureBtn from '../BrochureBtn/BrochureBtn';
|
|
17
|
+
import MedicalBrochureBtn from '../BrochureBtn/MedicalBrochureBtn';
|
|
17
18
|
|
|
18
19
|
interface GroupsProps {
|
|
19
20
|
list: IGroupsData[];
|
|
@@ -164,7 +165,9 @@ const NewFooter = ({ groupsData, tel, logo, aceUrl, isBrochureBtn, isLogoLong, i
|
|
|
164
165
|
className={
|
|
165
166
|
'relative mb-[30px] flex h-[550px] w-full items-center justify-center border-t border-solid border-[#A8A8A8] bg-white font-[SUIT] text-[18px] ' +
|
|
166
167
|
(isBrochureBtn
|
|
167
|
-
?
|
|
168
|
+
? isMedical
|
|
169
|
+
? 'max-xl:h-[730px] max-md:h-[670px] max-xs:h-[850px] max-2xs:h-[890px] '
|
|
170
|
+
: 'max-xl:h-[650px] max-md:h-[600px] max-xs:h-[750px] max-2xs:h-[730px] '
|
|
168
171
|
: 'max-xs:h-[700px] max-2xs:h-[670px] ') +
|
|
169
172
|
'max-lg:mb-[70px] '
|
|
170
173
|
}
|
|
@@ -205,7 +208,7 @@ const NewFooter = ({ groupsData, tel, logo, aceUrl, isBrochureBtn, isLogoLong, i
|
|
|
205
208
|
<div className={'flex gap-[36px] max-xxl:gap-[20px] max-xl:hidden '}>
|
|
206
209
|
<FooterLinkList />
|
|
207
210
|
</div>
|
|
208
|
-
{isBrochureBtn ? (
|
|
211
|
+
{isBrochureBtn && !isMedical ? (
|
|
209
212
|
<span
|
|
210
213
|
className={
|
|
211
214
|
'flex w-full flex-1 items-center justify-center gap-[40px] max-md:gap-[5px] max-2sm:gap-[10px]'
|
|
@@ -220,24 +223,47 @@ const NewFooter = ({ groupsData, tel, logo, aceUrl, isBrochureBtn, isLogoLong, i
|
|
|
220
223
|
isOpen={isOpen}
|
|
221
224
|
isBrochureBtn={isBrochureBtn}
|
|
222
225
|
/>
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
226
|
+
<BrochureBtn
|
|
227
|
+
width={'280px'}
|
|
228
|
+
height={'60px'}
|
|
229
|
+
className={
|
|
230
|
+
'xl:hidden ' +
|
|
231
|
+
//768px
|
|
232
|
+
'max-md:mx-[-10px] max-md:scale-90 ' +
|
|
233
|
+
//590px
|
|
234
|
+
'max-[590px]:mx-[-30px] max-[590px]:scale-[.75] ' +
|
|
235
|
+
//480px
|
|
236
|
+
'max-xs:hidden'
|
|
237
|
+
}
|
|
238
|
+
/>
|
|
239
|
+
</span>
|
|
240
|
+
) : isBrochureBtn && isMedical ? (
|
|
241
|
+
<span
|
|
242
|
+
className={
|
|
243
|
+
'flex w-full flex-1 flex-col items-center justify-center gap-[20px] max-md:gap-[15px] max-2sm:gap-[10px]'
|
|
244
|
+
}
|
|
245
|
+
>
|
|
246
|
+
<FooterSelectBox
|
|
247
|
+
wrapperRef={wrapperRef}
|
|
248
|
+
groupsData={groupsData}
|
|
249
|
+
isGroups={isGroups}
|
|
250
|
+
routeLocation={routeLocation}
|
|
251
|
+
setIsOpen={setIsOpen}
|
|
252
|
+
isOpen={isOpen}
|
|
253
|
+
isBrochureBtn={isBrochureBtn}
|
|
254
|
+
/>
|
|
255
|
+
<MedicalBrochureBtn
|
|
256
|
+
width={'280px'}
|
|
257
|
+
height={'60px'}
|
|
258
|
+
wrapClassName={'max-xs:hidden'}
|
|
259
|
+
className={
|
|
260
|
+
'xl:hidden ' +
|
|
261
|
+
//768px
|
|
262
|
+
'max-md:mx-[-10px] max-md:scale-90 ' +
|
|
263
|
+
//590px
|
|
264
|
+
'max-[590px]:mx-[-30px] max-[590px]:scale-[.75] '
|
|
265
|
+
}
|
|
266
|
+
/>
|
|
241
267
|
</span>
|
|
242
268
|
) : (
|
|
243
269
|
<FooterSelectBox
|
|
@@ -250,9 +276,16 @@ const NewFooter = ({ groupsData, tel, logo, aceUrl, isBrochureBtn, isLogoLong, i
|
|
|
250
276
|
isBrochureBtn={isBrochureBtn}
|
|
251
277
|
/>
|
|
252
278
|
)}
|
|
253
|
-
{isBrochureBtn ? (
|
|
279
|
+
{isBrochureBtn && isMedical ? (
|
|
280
|
+
<MedicalBrochureBtn
|
|
281
|
+
rounded={false}
|
|
282
|
+
width={'100%'}
|
|
283
|
+
height={'55px'}
|
|
284
|
+
wrapClassName={'xs:hidden flex-col '}
|
|
285
|
+
className={'mt-[20px]'}
|
|
286
|
+
/>
|
|
287
|
+
) : isBrochureBtn ? (
|
|
254
288
|
<BrochureBtn
|
|
255
|
-
isMedical={isMedical}
|
|
256
289
|
rounded={false}
|
|
257
290
|
width={'100%'}
|
|
258
291
|
height={'55px'}
|
|
@@ -387,9 +420,15 @@ const NewFooter = ({ groupsData, tel, logo, aceUrl, isBrochureBtn, isLogoLong, i
|
|
|
387
420
|
className={snsClass}
|
|
388
421
|
/>
|
|
389
422
|
</Link>
|
|
390
|
-
{isBrochureBtn ? (
|
|
423
|
+
{isBrochureBtn && isMedical ? (
|
|
424
|
+
<MedicalBrochureBtn
|
|
425
|
+
width={'280px'}
|
|
426
|
+
height={'58px'}
|
|
427
|
+
wrapClassName={'ml-4 max-xl:hidden'}
|
|
428
|
+
className={'-translate-y-2'}
|
|
429
|
+
/>
|
|
430
|
+
) : isBrochureBtn ? (
|
|
391
431
|
<BrochureBtn
|
|
392
|
-
isMedical={isMedical}
|
|
393
432
|
width={'280px'}
|
|
394
433
|
height={'58px'}
|
|
395
434
|
className={'ml-4 -translate-y-2 max-xl:hidden'}
|
|
@@ -199,7 +199,7 @@ const MobileMenu = ({ handleMenuToggle, opacity, menuToggle, routes, tel, keywor
|
|
|
199
199
|
<Image src={Call} width={57} height={57} alt={'전화상담'} className={'h-auto w-[30px]'}/>
|
|
200
200
|
{tel}
|
|
201
201
|
</Link>
|
|
202
|
-
{isBrochureBtn ? (<BrochureBtn width={'280px'} height={'58px'} className={'scale-75 max-md:-mx-[23px] max-xs:scale-[0.7] max-2xs:-mx-[15px] max-2xs:mt-1 '}
|
|
202
|
+
{isBrochureBtn ? (<BrochureBtn width={'280px'} height={'58px'} className={'scale-75 max-md:-mx-[23px] max-xs:scale-[0.7] max-2xs:-mx-[15px] max-2xs:mt-1 '}/>) : (<></>)}
|
|
203
203
|
</div>
|
|
204
204
|
</nav>
|
|
205
205
|
</span>
|
|
@@ -120,7 +120,7 @@ const PCMenu = ({ handleMenuToggle, opacity, menuToggle, tel, routes, isBrochure
|
|
|
120
120
|
</span>
|
|
121
121
|
</div>
|
|
122
122
|
</Link>
|
|
123
|
-
{isBrochureBtn ? (<BrochureBtn width={'280px'} height={'58px'} className={'ml-16'}
|
|
123
|
+
{isBrochureBtn ? (<BrochureBtn width={'280px'} height={'58px'} className={'ml-16'}/>) : (<></>)}
|
|
124
124
|
</div>
|
|
125
125
|
</div>
|
|
126
126
|
</div>
|
|
@@ -228,12 +228,7 @@ const PCMenu = ({ handleMenuToggle, opacity, menuToggle, tel, routes, isBrochure
|
|
|
228
228
|
</div>
|
|
229
229
|
</Link>
|
|
230
230
|
{isBrochureBtn ? (
|
|
231
|
-
<BrochureBtn
|
|
232
|
-
width={'280px'}
|
|
233
|
-
height={'58px'}
|
|
234
|
-
className={'ml-16'}
|
|
235
|
-
isMedical={isMedical}
|
|
236
|
-
/>
|
|
231
|
+
<BrochureBtn width={'280px'} height={'58px'} className={'ml-16'} />
|
|
237
232
|
) : (
|
|
238
233
|
<></>
|
|
239
234
|
)}
|
|
@@ -5,11 +5,12 @@ import Military from '../../asset/images/mark/military.svg';
|
|
|
5
5
|
import Trial from '../../asset/images/mark/trial.svg';
|
|
6
6
|
import Accounting from '../../asset/images/mark/accounting.svg';
|
|
7
7
|
import Customs from '../../asset/images/mark/customs.svg';
|
|
8
|
+
import Tax from '../../asset/images/mark/tax.svg';
|
|
8
9
|
// 변호사 마크 컴포넌트 ---------------------
|
|
9
10
|
const Mark = (props) => {
|
|
10
11
|
const { type, color, className = '', svgClassName = '' } = props;
|
|
11
12
|
return (<span className={className}>
|
|
12
|
-
{type === 'court' ? (<Court fill={color} height="100%" width="100%" alt={'법원마크'} title={'법원마크'} className={svgClassName}/>) : type === 'police' ? (<Police fill={color} height="100%" width="100%" alt={'경찰마크'} title={'경찰마크'} className={svgClassName}/>) : type === 'military' ? (<Military fill={color} height="100%" width="100%" alt={'국방마크'} title={'국방마크'} className={svgClassName}/>) : type === 'prosecution' ? (<Prosecution fill={color} height="100%" width="100%" alt={'검찰마크'} title={'검찰마크'} className={svgClassName}/>) : type === 'trial' ? (<Trial fill={color} height="100%" width="100%" alt={'변호사마크'} title={'변호사마크'} className={svgClassName}/>) : type === 'accounting' ? (<Accounting fill={color} height="100%" width="100%" alt={'회계사마크'} title={'회계사마크'} className={svgClassName}/>) : type === 'customs' ? (<Customs fill={color} height="100%" width="100%" alt={'관세사마크'} title={'관세사마크'} className={svgClassName}/>) : (<></>)}
|
|
13
|
+
{type === 'court' ? (<Court fill={color} height="100%" width="100%" alt={'법원마크'} title={'법원마크'} className={svgClassName}/>) : type === 'police' ? (<Police fill={color} height="100%" width="100%" alt={'경찰마크'} title={'경찰마크'} className={svgClassName}/>) : type === 'military' ? (<Military fill={color} height="100%" width="100%" alt={'국방마크'} title={'국방마크'} className={svgClassName}/>) : type === 'prosecution' ? (<Prosecution fill={color} height="100%" width="100%" alt={'검찰마크'} title={'검찰마크'} className={svgClassName}/>) : type === 'trial' ? (<Trial fill={color} height="100%" width="100%" alt={'변호사마크'} title={'변호사마크'} className={svgClassName}/>) : type === 'accounting' ? (<Accounting fill={color} height="100%" width="100%" alt={'회계사마크'} title={'회계사마크'} className={svgClassName}/>) : type === 'customs' ? (<Customs fill={color} height="100%" width="100%" alt={'관세사마크'} title={'관세사마크'} className={svgClassName}/>) : type === 'tax' ? (<Tax fill={color} height="100%" width="100%" alt={'세무사마크'} title={'세무사마크'} className={svgClassName}/>) : (<></>)}
|
|
13
14
|
</span>);
|
|
14
15
|
};
|
|
15
16
|
export default Mark;
|
|
@@ -5,7 +5,7 @@ const meta = {
|
|
|
5
5
|
argTypes: {
|
|
6
6
|
type: {
|
|
7
7
|
control: 'select',
|
|
8
|
-
options: ['court', 'police', 'prosecution', 'military', 'trial', 'accounting', 'customs']
|
|
8
|
+
options: ['court', 'police', 'prosecution', 'military', 'trial', 'accounting', 'customs', 'tax']
|
|
9
9
|
},
|
|
10
10
|
color: { control: 'color' }
|
|
11
11
|
}
|
|
@@ -7,7 +7,7 @@ const meta: Meta<typeof Mark> = {
|
|
|
7
7
|
argTypes: {
|
|
8
8
|
type: {
|
|
9
9
|
control: 'select',
|
|
10
|
-
options: ['court', 'police', 'prosecution', 'military', 'trial', 'accounting', 'customs']
|
|
10
|
+
options: ['court', 'police', 'prosecution', 'military', 'trial', 'accounting', 'customs', 'tax']
|
|
11
11
|
},
|
|
12
12
|
color: { control: 'color' }
|
|
13
13
|
}
|
|
@@ -5,6 +5,7 @@ import Military from '../../asset/images/mark/military.svg';
|
|
|
5
5
|
import Trial from '../../asset/images/mark/trial.svg';
|
|
6
6
|
import Accounting from '../../asset/images/mark/accounting.svg';
|
|
7
7
|
import Customs from '../../asset/images/mark/customs.svg';
|
|
8
|
+
import Tax from '../../asset/images/mark/tax.svg';
|
|
8
9
|
|
|
9
10
|
// 변호사 마크 컴포넌트 ---------------------
|
|
10
11
|
|
|
@@ -80,6 +81,15 @@ const Mark = (props: {
|
|
|
80
81
|
title={'관세사마크'}
|
|
81
82
|
className={svgClassName}
|
|
82
83
|
/>
|
|
84
|
+
) : type === 'tax' ? (
|
|
85
|
+
<Tax
|
|
86
|
+
fill={color}
|
|
87
|
+
height="100%"
|
|
88
|
+
width="100%"
|
|
89
|
+
alt={'세무사마크'}
|
|
90
|
+
title={'세무사마크'}
|
|
91
|
+
className={svgClassName}
|
|
92
|
+
/>
|
|
83
93
|
) : (
|
|
84
94
|
<></>
|
|
85
95
|
)}
|
package/dist/lib/utils.d.ts
CHANGED
|
@@ -26,3 +26,4 @@ export declare const consonantRegExp: (str: string, testStr: string) => true | R
|
|
|
26
26
|
export declare const getDomainHandler: (centerCode: string, subDomain: string) => string;
|
|
27
27
|
export declare const replaceInitialData: (str: string, initialData: IInitialDataTypes) => string;
|
|
28
28
|
export declare const getSeoTemplateSearchTitle: (str: string) => string[];
|
|
29
|
+
export declare const lawyerCode: string[];
|
package/dist/lib/utils.js
CHANGED
package/dist/lib/utils.ts
CHANGED
|
@@ -402,3 +402,6 @@ export const getSeoTemplateSearchTitle = (str: string) => {
|
|
|
402
402
|
.replace(/(?<!특정|소년|성|재산)범죄/g, ' ')
|
|
403
403
|
.split(' ');
|
|
404
404
|
};
|
|
405
|
+
|
|
406
|
+
// '변호사' 코드
|
|
407
|
+
export const lawyerCode = ['LY021', 'LY020', 'LY001', 'LY002', 'LY003', 'LY004', 'LY005', 'LY006', 'LY007', 'LY024'];
|
package/dist/styles/globals.css
CHANGED
|
@@ -4496,6 +4496,10 @@ body {
|
|
|
4496
4496
|
height: 650px;
|
|
4497
4497
|
}
|
|
4498
4498
|
|
|
4499
|
+
.max-xl\:h-\[730px\] {
|
|
4500
|
+
height: 730px;
|
|
4501
|
+
}
|
|
4502
|
+
|
|
4499
4503
|
.max-xl\:w-\[22px\] {
|
|
4500
4504
|
width: 22px;
|
|
4501
4505
|
}
|
|
@@ -5525,6 +5529,10 @@ body {
|
|
|
5525
5529
|
height: 62.56%;
|
|
5526
5530
|
}
|
|
5527
5531
|
|
|
5532
|
+
.max-md\:h-\[670px\] {
|
|
5533
|
+
height: 670px;
|
|
5534
|
+
}
|
|
5535
|
+
|
|
5528
5536
|
.max-md\:h-\[70px\] {
|
|
5529
5537
|
height: 70px;
|
|
5530
5538
|
}
|
|
@@ -5658,6 +5666,10 @@ body {
|
|
|
5658
5666
|
justify-content: center;
|
|
5659
5667
|
}
|
|
5660
5668
|
|
|
5669
|
+
.max-md\:gap-\[0px\] {
|
|
5670
|
+
gap: 0px;
|
|
5671
|
+
}
|
|
5672
|
+
|
|
5661
5673
|
.max-md\:gap-\[10px\] {
|
|
5662
5674
|
gap: 10px;
|
|
5663
5675
|
}
|
|
@@ -6171,6 +6183,10 @@ body {
|
|
|
6171
6183
|
height: 750px;
|
|
6172
6184
|
}
|
|
6173
6185
|
|
|
6186
|
+
.max-xs\:h-\[850px\] {
|
|
6187
|
+
height: 850px;
|
|
6188
|
+
}
|
|
6189
|
+
|
|
6174
6190
|
.max-xs\:h-full {
|
|
6175
6191
|
height: 100%;
|
|
6176
6192
|
}
|
|
@@ -6445,6 +6461,10 @@ body {
|
|
|
6445
6461
|
height: 730px;
|
|
6446
6462
|
}
|
|
6447
6463
|
|
|
6464
|
+
.max-2xs\:h-\[890px\] {
|
|
6465
|
+
height: 890px;
|
|
6466
|
+
}
|
|
6467
|
+
|
|
6448
6468
|
.max-2xs\:w-\[40px\] {
|
|
6449
6469
|
width: 40px;
|
|
6450
6470
|
}
|