@daeryun/dr_components 0.5.83 → 0.5.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/SearchBar/search.webp +0 -0
- package/dist/asset/images/faq/Ellipse.webp +0 -0
- package/dist/asset/images/faq/cal.webp +0 -0
- package/dist/asset/images/faq/check.webp +0 -0
- package/dist/asset/images/faq/down.webp +0 -0
- package/dist/asset/images/faq/eye.webp +0 -0
- package/dist/asset/images/faq/plus.webp +0 -0
- package/dist/asset/images/faq/right.webp +0 -0
- package/dist/asset/images/faq/vector_blu.svg +3 -0
- package/dist/asset/images/faq/vector_stroke.svg +3 -0
- package/dist/asset/images/fieldNew/field_mark.png +0 -0
- package/dist/asset/images/fieldNew/v_arrow.png +0 -0
- package/dist/asset/images/fieldNew/vector_blu.png +0 -0
- package/dist/asset/images/fieldNew/vector_stroke.png +0 -0
- package/dist/asset/images/seo/left.webp +0 -0
- package/dist/asset/images/seo/right.webp +0 -0
- package/dist/asset/images/seo/secConsulting/choice_call.webp +0 -0
- package/dist/asset/images/seo/secConsulting/choice_kakao.webp +0 -0
- package/dist/asset/images/seo/secConsulting/online.svg +36 -0
- package/dist/asset/images/seo/successCase/dia_dot.svg +3 -0
- package/dist/asset/images/seo/successCase/right_arrow.svg +4 -0
- package/dist/asset/images/seo/successCase/up_right.svg +3 -0
- package/dist/components/FieldNew/RelatedGroup.d.ts +6 -0
- package/dist/components/FieldNew/RelatedGroup.jsx +28 -0
- package/dist/components/FieldNew/RelatedGroup.stories.d.ts +12 -0
- package/dist/components/FieldNew/RelatedGroup.stories.jsx +15 -0
- package/dist/components/FieldNew/RelatedGroup.stories.tsx +23 -0
- package/dist/components/FieldNew/RelatedGroup.tsx +41 -0
- package/dist/components/SearchBar/SearchBar.d.ts +16 -0
- package/dist/components/SearchBar/SearchBar.jsx +90 -0
- package/dist/components/SearchBar/SearchBar.stories.d.ts +6 -0
- package/dist/components/SearchBar/SearchBar.stories.jsx +21 -0
- package/dist/components/SearchBar/SearchBar.stories.tsx +28 -0
- package/dist/components/SearchBar/SearchBar.tsx +173 -0
- package/dist/components/Seo/FieldCase.d.ts +5 -0
- package/dist/components/Seo/FieldCase.jsx +48 -0
- package/dist/components/Seo/FieldCase.tsx +85 -0
- package/dist/components/Seo/Lawyer.d.ts +5 -0
- package/dist/components/Seo/Lawyer.jsx +66 -0
- package/dist/components/Seo/Lawyer.tsx +148 -0
- package/dist/components/Seo/SeoConsulting.d.ts +6 -0
- package/dist/components/Seo/SeoConsulting.jsx +173 -0
- package/dist/components/Seo/SeoConsulting.tsx +272 -0
- package/dist/components/Seo/SuccessCase.d.ts +6 -0
- package/dist/components/Seo/SuccessCase.jsx +57 -0
- package/dist/components/Seo/SuccessCase.tsx +95 -0
- package/dist/components/Seo/right_arrow.svg +4 -0
- package/dist/components/TuiViewer/TuiViewer.d.ts +3 -0
- package/dist/components/TuiViewer/TuiViewer.jsx +7 -0
- package/dist/components/TuiViewer/TuiViewer.tsx +14 -0
- package/dist/components/common/strength/index.js +53 -34
- package/dist/components/common/strength/index.ts +53 -34
- package/dist/components/common/types/faq/index.d.ts +11 -0
- package/dist/components/common/types/faq/index.js +1 -0
- package/dist/components/common/types/faq/index.ts +11 -0
- package/dist/components/common/types/seo/index.d.ts +27 -0
- package/dist/components/common/types/seo/index.js +1 -0
- package/dist/components/common/types/seo/index.ts +29 -0
- package/dist/components/index.js +2 -0
- package/dist/components/index.ts +2 -3
- package/dist/components/page/Faq/Detail/FaqDetail.d.ts +22 -0
- package/dist/components/page/Faq/Detail/FaqDetail.jsx +136 -0
- package/dist/components/page/Faq/Detail/FaqDetail.tsx +277 -0
- package/dist/components/page/Faq/Detail/FaqList.stories.d.ts +6 -0
- package/dist/components/page/Faq/Detail/FaqList.stories.jsx +187 -0
- package/dist/components/page/Faq/Detail/FaqList.stories.tsx +208 -0
- package/dist/components/page/Faq/FaqList.d.ts +23 -0
- package/dist/components/page/Faq/FaqList.jsx +99 -0
- package/dist/components/page/Faq/FaqList.stories.d.ts +6 -0
- package/dist/components/page/Faq/FaqList.stories.jsx +76 -0
- package/dist/components/page/Faq/FaqList.stories.tsx +93 -0
- package/dist/components/page/Faq/FaqList.tsx +197 -0
- package/dist/components/page/Faq/GroupList.d.ts +9 -0
- package/dist/components/page/Faq/GroupList.jsx +30 -0
- package/dist/components/page/Faq/GroupList.tsx +57 -0
- package/dist/components/page/Faq/GroupSelectBox.d.ts +9 -0
- package/dist/components/page/Faq/GroupSelectBox.jsx +67 -0
- package/dist/components/page/Faq/GroupSelectBox.tsx +117 -0
- package/dist/components/page/Strength/StrengthIntro.jsx +5 -8
- package/dist/components/page/Strength/StrengthIntro.tsx +5 -8
- package/dist/components/page/index.d.ts +2 -0
- package/dist/components/page/index.js +2 -0
- package/dist/components/page/index.ts +2 -0
- package/dist/styles/globals.css +1148 -6
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import Link from 'next/link';
|
|
2
|
+
import Image from 'next/image';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
|
|
5
|
+
import { IFieldTypes } from '../common/types/seo';
|
|
6
|
+
|
|
7
|
+
import IconArrow from '../../asset/images/seo/successCase/up_right.svg';
|
|
8
|
+
import IconRightArrow from '../../asset/images/seo/successCase/right_arrow.svg';
|
|
9
|
+
import IconDot from '../../asset/images/seo/successCase/dia_dot.svg';
|
|
10
|
+
|
|
11
|
+
export const FieldCase = ({ fieldData }: { fieldData: IFieldTypes[] }) => {
|
|
12
|
+
return (
|
|
13
|
+
<div
|
|
14
|
+
className={
|
|
15
|
+
'relative h-auto w-full border-l-[1px] border-t-[1px] border-solid border-[#B9B9B9] pb-[45px] pl-[26px] pt-[30px] ' +
|
|
16
|
+
'before:absolute before:left-0 before:top-0 before:block before:aspect-square before:w-[15px] before:bg-[#B9B9B9] before:content-[""] '
|
|
17
|
+
}
|
|
18
|
+
>
|
|
19
|
+
<span className={'flex h-fit w-full items-center justify-between'}>
|
|
20
|
+
<p
|
|
21
|
+
className={
|
|
22
|
+
'text-[26px] tracking-[-0.5px] max-3xl:text-[24px] max-xl:text-[26px] ' +
|
|
23
|
+
'font-[800] text-[#80377A] '
|
|
24
|
+
}
|
|
25
|
+
>
|
|
26
|
+
관련 업무분야
|
|
27
|
+
</p>
|
|
28
|
+
<Link
|
|
29
|
+
href={'/field/area'}
|
|
30
|
+
title={'업무분야 더보기'}
|
|
31
|
+
className={
|
|
32
|
+
'flex h-[35px] w-[100px] items-center justify-center gap-[4px] bg-[#5D5D5D] ' +
|
|
33
|
+
'hover:bg-[#722D6D] ' +
|
|
34
|
+
//1500px
|
|
35
|
+
'w-[100px] max-3xl:h-[30px] max-3xl:w-[90px] '
|
|
36
|
+
}
|
|
37
|
+
>
|
|
38
|
+
<p className={'w-fit text-[18px] font-[600] leading-none text-white max-3xl:text-[16px] '}>
|
|
39
|
+
더보기
|
|
40
|
+
</p>
|
|
41
|
+
<IconRightArrow className={'h-auto w-[14px] max-3xl:w-[12px] '} />
|
|
42
|
+
</Link>
|
|
43
|
+
</span>
|
|
44
|
+
<span className={'mt-[30px] flex flex-col gap-3 '}>
|
|
45
|
+
{fieldData?.map(i => (
|
|
46
|
+
<Link
|
|
47
|
+
href={i.pathname + i.idx}
|
|
48
|
+
key={i.pathname + i.idx}
|
|
49
|
+
className={
|
|
50
|
+
'flex w-fit items-start gap-[10px] text-[20px] font-medium tracking-[-0.4px] hover:text-[#285FA7] ' +
|
|
51
|
+
//1500px
|
|
52
|
+
'max-3xl:text-[18px] ' +
|
|
53
|
+
//1280px
|
|
54
|
+
'max-xl:text-[20px] ' +
|
|
55
|
+
//768px
|
|
56
|
+
'max-md:text-[18px]'
|
|
57
|
+
}
|
|
58
|
+
>
|
|
59
|
+
<IconDot
|
|
60
|
+
className={
|
|
61
|
+
'mt-3 inline shrink-0 ' +
|
|
62
|
+
//1500px
|
|
63
|
+
'max-3xl:mt-[9px]'
|
|
64
|
+
}
|
|
65
|
+
/>
|
|
66
|
+
<div>
|
|
67
|
+
{i.title_text}
|
|
68
|
+
<IconArrow
|
|
69
|
+
className={
|
|
70
|
+
'mb-[5px] ml-2 inline h-[10px] w-[10px] ' +
|
|
71
|
+
//1500px
|
|
72
|
+
'max-3xl:h-[9px] max-3xl:w-[9px] ' +
|
|
73
|
+
//1280px
|
|
74
|
+
'max-xl:mb-[3px] max-xl:h-[10px] max-xl:w-[10px] ' +
|
|
75
|
+
//1500px
|
|
76
|
+
'max-md:mb-[7px] max-md:h-[9px] max-md:w-[9px] '
|
|
77
|
+
}
|
|
78
|
+
/>
|
|
79
|
+
</div>
|
|
80
|
+
</Link>
|
|
81
|
+
))}
|
|
82
|
+
</span>
|
|
83
|
+
</div>
|
|
84
|
+
);
|
|
85
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import Link from 'next/link';
|
|
2
|
+
import Image from 'next/image';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import Mark from '../Mark/Mark';
|
|
5
|
+
import { lawyerCode } from '../../lib';
|
|
6
|
+
import IconRightArrow from '../../asset/images/seo/successCase/right_arrow.svg';
|
|
7
|
+
export const Lawyer = ({ lawyerData, isSuccess }) => {
|
|
8
|
+
const imagePath = process.env.NEXT_PUBLIC_S3_URL + '';
|
|
9
|
+
const lawyerImagePath = imagePath + '/upload/lawyer';
|
|
10
|
+
return (<div className={'relative h-auto w-full border-l-[1px] border-t-[1px] border-solid border-[#B9B9B9] pb-[45px] pl-[26px] pt-[30px] ' +
|
|
11
|
+
'before:absolute before:left-0 before:top-0 before:block before:aspect-square before:w-[15px] before:bg-[#B9B9B9] before:content-[""] '}>
|
|
12
|
+
<span className={'flex h-fit w-full items-center justify-between'}>
|
|
13
|
+
<p className={'text-[26px] tracking-[-0.5px] max-3xl:text-[24px] max-xl:text-[26px] ' +
|
|
14
|
+
'font-[800] text-[#80377A] '}>
|
|
15
|
+
관련 구성원
|
|
16
|
+
</p>
|
|
17
|
+
<Link href={'/lawyer'} title={'구성원 더보기'} className={'flex h-[35px] w-[100px] items-center justify-center gap-[4px] bg-[#5D5D5D] ' +
|
|
18
|
+
'hover:bg-[#722D6D] ' +
|
|
19
|
+
//1500px
|
|
20
|
+
'w-[100px] max-3xl:h-[30px] max-3xl:w-[90px] '}>
|
|
21
|
+
<p className={'w-fit text-[18px] font-[600] leading-none text-white max-3xl:text-[16px] '}>
|
|
22
|
+
더보기
|
|
23
|
+
</p>
|
|
24
|
+
<IconRightArrow className={'h-auto w-[14px] max-3xl:w-[12px] '}/>
|
|
25
|
+
</Link>
|
|
26
|
+
</span>
|
|
27
|
+
<span className={'mt-[46px] flex flex-col gap-[40px] ' +
|
|
28
|
+
//1280px
|
|
29
|
+
'max-xl:grid max-xl:grid-cols-2 max-xl:gap-x-[10px] ' +
|
|
30
|
+
//768px
|
|
31
|
+
'max-md:grid-cols-1'} itemScope itemType="https://schema.org/ItemList" data-item-list-order="https://schema.org/ItemListUnordered" data-number-of-items={lawyerData.length}>
|
|
32
|
+
{lawyerData === null || lawyerData === void 0 ? void 0 : lawyerData.map((i, idx) => (<div className={'relative flex min-h-[125px] w-full gap-[12px]'} key={'lawyer_name_' + i.lawyer_name} itemScope itemProp="itemListElement" itemType="https://schema.org/ListItem">
|
|
33
|
+
<meta itemProp="position" content={String(idx + 1)}/>
|
|
34
|
+
<Link href={'/lawyer/' + i.l_id} title={`${i.lawyer_name} 변호사 프로필 페이지 바로가기`} className={'absolute z-10 h-full w-full'} itemProp="url"/>
|
|
35
|
+
<div className={'relative h-[125px] w-[110px] shrink-0 overflow-hidden bg-[#F8F8F8]'} itemScope itemType="https://schema.org/Person">
|
|
36
|
+
<Image src={lawyerImagePath + '/' + i.img_url} alt={i.lawyer_name + '변호사님'} fill className={'h-full w-full translate-y-[5%] scale-95 object-contain'} itemProp="image"/>
|
|
37
|
+
<Mark type={i.mark} color={'#e8bb71'} className={'absolute bottom-[5px] right-[5px] h-auto w-[25%]'}/>
|
|
38
|
+
</div>
|
|
39
|
+
<span className={'flex flex-1 flex-col justify-between gap-[5px]'}>
|
|
40
|
+
<span className={'relative flex w-full flex-col gap-[5px]'}>
|
|
41
|
+
<meta itemProp="name" content={`${i.lawyer_name} 변호사`}/>
|
|
42
|
+
<p className={'text-[23px] font-bold leading-none tracking-[-0.46px] text-[#434343]'}>
|
|
43
|
+
{i.lawyer_name}
|
|
44
|
+
</p>
|
|
45
|
+
<p className={'text-[14px] font-medium leading-none tracking-[-0.4px] text-[#818181]'} itemProp="jobTitle">
|
|
46
|
+
{i.lawyer_position}
|
|
47
|
+
</p>
|
|
48
|
+
{lawyerCode.find(code => code === i.lawyer_code) ? (<Link href={'/mail?lawyer=' + i.lawyer_name} rel={'nofollow'} className={'absolute right-0 top-0 z-[11] block h-fit w-fit max-xl:right-[20px]'} aria-label={i.lawyer_name + '변호사에게 메일보내기'}>
|
|
49
|
+
<Image src={'https://d1tgonli21s4df.cloudfront.net/lawyer/email_icon.webp'} alt={'이메일'} width={64} height={64} className={'w-[32px] max-lg:w-[28px] max-xs:w-[25px]'}/>
|
|
50
|
+
</Link>) : (<></>)}
|
|
51
|
+
</span>
|
|
52
|
+
<p className={'whitespace-pre-line text-[17px] font-[600] leading-[1.3] tracking-[-0.34px] text-[#285FA7] ' +
|
|
53
|
+
//1500px
|
|
54
|
+
'max-3xl:text-[15px] ' +
|
|
55
|
+
//1280px
|
|
56
|
+
'max-xl:text-[17px]'}>
|
|
57
|
+
{isSuccess ? (i.center_ability ? i.center_ability : i.l_ability) : i.l_ability}
|
|
58
|
+
</p>
|
|
59
|
+
{i.l_tel ? (<p className={'text-[15px] font-[600] tracking-[-0.3px] text-[#434343]'}>
|
|
60
|
+
T. {i.l_tel}
|
|
61
|
+
</p>) : ('')}
|
|
62
|
+
</span>
|
|
63
|
+
</div>))}
|
|
64
|
+
</span>
|
|
65
|
+
</div>);
|
|
66
|
+
};
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import Link from 'next/link';
|
|
2
|
+
import Image from 'next/image';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import Mark from '../Mark/Mark';
|
|
5
|
+
import { lawyerCode } from '../../lib';
|
|
6
|
+
|
|
7
|
+
import IconRightArrow from '../../asset/images/seo/successCase/right_arrow.svg';
|
|
8
|
+
|
|
9
|
+
export const Lawyer = ({ lawyerData, isSuccess }: { lawyerData: any[]; isSuccess?: boolean }) => {
|
|
10
|
+
const imagePath: string = process.env.NEXT_PUBLIC_S3_URL + '';
|
|
11
|
+
const lawyerImagePath: string = imagePath + '/upload/lawyer';
|
|
12
|
+
|
|
13
|
+
return (
|
|
14
|
+
<div
|
|
15
|
+
className={
|
|
16
|
+
'relative h-auto w-full border-l-[1px] border-t-[1px] border-solid border-[#B9B9B9] pb-[45px] pl-[26px] pt-[30px] ' +
|
|
17
|
+
'before:absolute before:left-0 before:top-0 before:block before:aspect-square before:w-[15px] before:bg-[#B9B9B9] before:content-[""] '
|
|
18
|
+
}
|
|
19
|
+
>
|
|
20
|
+
<span className={'flex h-fit w-full items-center justify-between'}>
|
|
21
|
+
<p
|
|
22
|
+
className={
|
|
23
|
+
'text-[26px] tracking-[-0.5px] max-3xl:text-[24px] max-xl:text-[26px] ' +
|
|
24
|
+
'font-[800] text-[#80377A] '
|
|
25
|
+
}
|
|
26
|
+
>
|
|
27
|
+
관련 구성원
|
|
28
|
+
</p>
|
|
29
|
+
<Link
|
|
30
|
+
href={'/lawyer'}
|
|
31
|
+
title={'구성원 더보기'}
|
|
32
|
+
className={
|
|
33
|
+
'flex h-[35px] w-[100px] items-center justify-center gap-[4px] bg-[#5D5D5D] ' +
|
|
34
|
+
'hover:bg-[#722D6D] ' +
|
|
35
|
+
//1500px
|
|
36
|
+
'w-[100px] max-3xl:h-[30px] max-3xl:w-[90px] '
|
|
37
|
+
}
|
|
38
|
+
>
|
|
39
|
+
<p className={'w-fit text-[18px] font-[600] leading-none text-white max-3xl:text-[16px] '}>
|
|
40
|
+
더보기
|
|
41
|
+
</p>
|
|
42
|
+
<IconRightArrow className={'h-auto w-[14px] max-3xl:w-[12px] '} />
|
|
43
|
+
</Link>
|
|
44
|
+
</span>
|
|
45
|
+
<span
|
|
46
|
+
className={
|
|
47
|
+
'mt-[46px] flex flex-col gap-[40px] ' +
|
|
48
|
+
//1280px
|
|
49
|
+
'max-xl:grid max-xl:grid-cols-2 max-xl:gap-x-[10px] ' +
|
|
50
|
+
//768px
|
|
51
|
+
'max-md:grid-cols-1'
|
|
52
|
+
}
|
|
53
|
+
itemScope
|
|
54
|
+
itemType="https://schema.org/ItemList"
|
|
55
|
+
data-item-list-order="https://schema.org/ItemListUnordered"
|
|
56
|
+
data-number-of-items={lawyerData.length}
|
|
57
|
+
>
|
|
58
|
+
{lawyerData?.map((i, idx: number) => (
|
|
59
|
+
<div
|
|
60
|
+
className={'relative flex min-h-[125px] w-full gap-[12px]'}
|
|
61
|
+
key={'lawyer_name_' + i.lawyer_name}
|
|
62
|
+
itemScope
|
|
63
|
+
itemProp="itemListElement"
|
|
64
|
+
itemType="https://schema.org/ListItem"
|
|
65
|
+
>
|
|
66
|
+
<meta itemProp="position" content={String(idx + 1)} />
|
|
67
|
+
<Link
|
|
68
|
+
href={'/lawyer/' + i.l_id}
|
|
69
|
+
title={`${i.lawyer_name} 변호사 프로필 페이지 바로가기`}
|
|
70
|
+
className={'absolute z-10 h-full w-full'}
|
|
71
|
+
itemProp="url"
|
|
72
|
+
/>
|
|
73
|
+
<div
|
|
74
|
+
className={'relative h-[125px] w-[110px] shrink-0 overflow-hidden bg-[#F8F8F8]'}
|
|
75
|
+
itemScope
|
|
76
|
+
itemType="https://schema.org/Person"
|
|
77
|
+
>
|
|
78
|
+
<Image
|
|
79
|
+
src={lawyerImagePath + '/' + i.img_url}
|
|
80
|
+
alt={i.lawyer_name + '변호사님'}
|
|
81
|
+
fill
|
|
82
|
+
className={'h-full w-full translate-y-[5%] scale-95 object-contain'}
|
|
83
|
+
itemProp="image"
|
|
84
|
+
/>
|
|
85
|
+
<Mark
|
|
86
|
+
type={i.mark}
|
|
87
|
+
color={'#e8bb71'}
|
|
88
|
+
className={'absolute bottom-[5px] right-[5px] h-auto w-[25%]'}
|
|
89
|
+
/>
|
|
90
|
+
</div>
|
|
91
|
+
<span className={'flex flex-1 flex-col justify-between gap-[5px]'}>
|
|
92
|
+
<span className={'relative flex w-full flex-col gap-[5px]'}>
|
|
93
|
+
<meta itemProp="name" content={`${i.lawyer_name} 변호사`} />
|
|
94
|
+
<p className={'text-[23px] font-bold leading-none tracking-[-0.46px] text-[#434343]'}>
|
|
95
|
+
{i.lawyer_name}
|
|
96
|
+
</p>
|
|
97
|
+
<p
|
|
98
|
+
className={'text-[14px] font-medium leading-none tracking-[-0.4px] text-[#818181]'}
|
|
99
|
+
itemProp="jobTitle"
|
|
100
|
+
>
|
|
101
|
+
{i.lawyer_position}
|
|
102
|
+
</p>
|
|
103
|
+
{lawyerCode.find(code => code === i.lawyer_code) ? (
|
|
104
|
+
<Link
|
|
105
|
+
href={'/mail?lawyer=' + i.lawyer_name}
|
|
106
|
+
rel={'nofollow'}
|
|
107
|
+
className={
|
|
108
|
+
'absolute right-0 top-0 z-[11] block h-fit w-fit max-xl:right-[20px]'
|
|
109
|
+
}
|
|
110
|
+
aria-label={i.lawyer_name + '변호사에게 메일보내기'}
|
|
111
|
+
>
|
|
112
|
+
<Image
|
|
113
|
+
src={'https://d1tgonli21s4df.cloudfront.net/lawyer/email_icon.webp'}
|
|
114
|
+
alt={'이메일'}
|
|
115
|
+
width={64}
|
|
116
|
+
height={64}
|
|
117
|
+
className={'w-[32px] max-lg:w-[28px] max-xs:w-[25px]'}
|
|
118
|
+
/>
|
|
119
|
+
</Link>
|
|
120
|
+
) : (
|
|
121
|
+
<></>
|
|
122
|
+
)}
|
|
123
|
+
</span>
|
|
124
|
+
<p
|
|
125
|
+
className={
|
|
126
|
+
'whitespace-pre-line text-[17px] font-[600] leading-[1.3] tracking-[-0.34px] text-[#285FA7] ' +
|
|
127
|
+
//1500px
|
|
128
|
+
'max-3xl:text-[15px] ' +
|
|
129
|
+
//1280px
|
|
130
|
+
'max-xl:text-[17px]'
|
|
131
|
+
}
|
|
132
|
+
>
|
|
133
|
+
{isSuccess ? (i.center_ability ? i.center_ability : i.l_ability) : i.l_ability}
|
|
134
|
+
</p>
|
|
135
|
+
{i.l_tel ? (
|
|
136
|
+
<p className={'text-[15px] font-[600] tracking-[-0.3px] text-[#434343]'}>
|
|
137
|
+
T. {i.l_tel}
|
|
138
|
+
</p>
|
|
139
|
+
) : (
|
|
140
|
+
''
|
|
141
|
+
)}
|
|
142
|
+
</span>
|
|
143
|
+
</div>
|
|
144
|
+
))}
|
|
145
|
+
</span>
|
|
146
|
+
</div>
|
|
147
|
+
);
|
|
148
|
+
};
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import Link from 'next/link';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Image from 'next/image';
|
|
4
|
+
import * as gtag from '../../lib/gtag';
|
|
5
|
+
import CallImg from '../../asset/images/seo/secConsulting/choice_call.webp';
|
|
6
|
+
import KakaoImg from '../../asset/images/seo/secConsulting/choice_kakao.webp';
|
|
7
|
+
import OnlineImg from '../../asset/images/seo/secConsulting/online.svg';
|
|
8
|
+
const SeoConsulting = ({ tel, customTitle }) => {
|
|
9
|
+
const TelClick = () => {
|
|
10
|
+
gtag.event({
|
|
11
|
+
action: 'contents_tel',
|
|
12
|
+
category: 'consult',
|
|
13
|
+
label: '컨텐츠 내 전화버튼',
|
|
14
|
+
value: '1'
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
const kakaoClick = () => {
|
|
18
|
+
gtag.event({
|
|
19
|
+
action: 'contents_kakao',
|
|
20
|
+
category: 'consult',
|
|
21
|
+
label: '컨텐츠 내 카톡버튼',
|
|
22
|
+
value: '1'
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
const onlineClick = () => {
|
|
26
|
+
gtag.event({
|
|
27
|
+
action: 'contents_online',
|
|
28
|
+
category: 'consult',
|
|
29
|
+
label: '컨텐츠 내 온라인버튼',
|
|
30
|
+
value: '1'
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
return (<div className={'flex items-center justify-between gap-[50px] border-[1px] border-solid border-[#D0D0D0] px-[25px] py-[24px] ' +
|
|
34
|
+
//1024px
|
|
35
|
+
'max-lg:gap-[30px] ' +
|
|
36
|
+
//900px
|
|
37
|
+
'max-md2:flex-col max-md2:items-start'}>
|
|
38
|
+
<span>
|
|
39
|
+
<p className={'text-[34px] font-bold leading-[1.25] tracking-[-0.96px] ' +
|
|
40
|
+
//1500px
|
|
41
|
+
'max-3xl:text-[30px] ' +
|
|
42
|
+
//640px
|
|
43
|
+
'max-sm:text-[26px] '}>
|
|
44
|
+
{customTitle ? customTitle : process.env.NEXT_PUBLIC_KEYWORD}변호사{' '}
|
|
45
|
+
<br className={'max-md2:hidden max-2sm:block'}/> 법률상담예약
|
|
46
|
+
</p>
|
|
47
|
+
<p className={'text-[20px] max-3xl:text-[18px] 3xl:max-w-[430px] ' +
|
|
48
|
+
'mt-[26px] break-keep leading-[1.25] tracking-[-0.8px] text-[#4B4B4B] ' +
|
|
49
|
+
//640px
|
|
50
|
+
'max-sm:text-[16px]'}>
|
|
51
|
+
모든 상담은 전문변호사가 사건 검토를 마친 뒤 <br className={'max-md2:hidden max-2sm:block'}/>
|
|
52
|
+
<b>전문적으로 진행하기에 예약제로 실시됩니다. </b>
|
|
53
|
+
<br />
|
|
54
|
+
<br className={'max-md2:hidden max-2sm:block'}/> 가급적 빠른 상담 예약을 권유드리며,
|
|
55
|
+
<br className={'max-md2:hidden max-2sm:block'}/> 예약 시간 준수를 부탁드립니다.
|
|
56
|
+
<br /> 만족스러운 상담을 위해 최선을 다하겠습니다.
|
|
57
|
+
</p>
|
|
58
|
+
</span>
|
|
59
|
+
<span className={'grid max-w-[540px] flex-1 grid-cols-2 ' +
|
|
60
|
+
//900px
|
|
61
|
+
'max-md2:w-full max-md2:max-w-[unset] ' +
|
|
62
|
+
//640px
|
|
63
|
+
'max-sm:grid-cols-3 '}>
|
|
64
|
+
<Link href={`tel:${tel}`} className={'col-span-2 flex h-[150px] w-full items-center justify-between bg-[#F8FDFF] px-[25px] ' +
|
|
65
|
+
//640px
|
|
66
|
+
'max-sm:col-span-1 max-sm:flex-col max-sm:px-0 max-sm:py-[30px] ' +
|
|
67
|
+
//480px
|
|
68
|
+
'max-xs:h-[130px] max-xs:py-[20px]'} onClick={() => {
|
|
69
|
+
TelClick();
|
|
70
|
+
}}>
|
|
71
|
+
<span>
|
|
72
|
+
<p className={'text-[24px] font-bold tracking-[-0.8px] ' +
|
|
73
|
+
//640px
|
|
74
|
+
'max-sm:text-[20px] ' +
|
|
75
|
+
//520px
|
|
76
|
+
'max-2sm:text-[18px] ' +
|
|
77
|
+
//480px
|
|
78
|
+
'max-xs:mt-[10px] max-xs:text-[16px]'}>
|
|
79
|
+
전화예약
|
|
80
|
+
</p>
|
|
81
|
+
<p className={'mt-[4px] text-[16px] leading-[1.25] tracking-[-1.1px] ' +
|
|
82
|
+
//640px
|
|
83
|
+
'max-sm:hidden '}>
|
|
84
|
+
365일 24시간 상담과
|
|
85
|
+
<br className="2sm:hidden"/> 긴급대응 가능
|
|
86
|
+
</p>
|
|
87
|
+
</span>
|
|
88
|
+
<Image src={CallImg} alt={''} width={116} height={116} className={'aspect-square w-[60px] max-w-[60px] ' +
|
|
89
|
+
//1500px
|
|
90
|
+
'max-4xl:w-[14%] ' +
|
|
91
|
+
//640px
|
|
92
|
+
'max-sm:w-[50px] ' +
|
|
93
|
+
//480px
|
|
94
|
+
'max-xs:w-[40px]'}/>
|
|
95
|
+
</Link>
|
|
96
|
+
<Link href="https://pf.kakao.com/_xgxoTlK/chat" target="_blank" className={' flex h-[150px] w-full items-start justify-between bg-[#FFFEF2] px-[25px] py-[30px] ' +
|
|
97
|
+
//640px
|
|
98
|
+
'max-sm:col-span-1 max-sm:flex-col max-sm:items-center max-sm:px-0 max-sm:py-[30px] ' +
|
|
99
|
+
//480px
|
|
100
|
+
'max-xs:h-[130px] max-xs:py-[20px]'} onClick={() => {
|
|
101
|
+
kakaoClick();
|
|
102
|
+
}}>
|
|
103
|
+
<span className={'flex h-full flex-col justify-between ' +
|
|
104
|
+
//640px
|
|
105
|
+
'max-sm:h-fit '}>
|
|
106
|
+
<p className={'text-[20px] font-bold tracking-[-0.8px] ' +
|
|
107
|
+
//640px
|
|
108
|
+
'max-sm:text-[20px] ' +
|
|
109
|
+
//520px
|
|
110
|
+
'max-2sm:text-[18px] ' +
|
|
111
|
+
//480px
|
|
112
|
+
'max-xs:mt-[10px] max-xs:text-[16px]'}>
|
|
113
|
+
카톡예약
|
|
114
|
+
</p>
|
|
115
|
+
<span className={' text-[16px] leading-[1.25] tracking-[-1.1px] text-[#454545] ' +
|
|
116
|
+
//640px
|
|
117
|
+
'max-sm:hidden '}>
|
|
118
|
+
<p className={'after:inline-block after:h-[17px] after:w-[17px] after:content-[""] ' +
|
|
119
|
+
'after:bg-[url("/images/new_choice/channel.webp")] after:bg-contain after:bg-no-repeat ' +
|
|
120
|
+
'after:ml-[5px] after:translate-y-[2px] ' +
|
|
121
|
+
//325px
|
|
122
|
+
'max-3xs:after:h-[14px] max-3xs:after:w-[14px]'}>
|
|
123
|
+
카카오톡채널
|
|
124
|
+
</p>
|
|
125
|
+
<p> 법무법인 대륜 변호사</p>
|
|
126
|
+
</span>
|
|
127
|
+
</span>
|
|
128
|
+
<Image src={KakaoImg} alt={''} width={116} height={116} className={'aspect-square w-[60px] max-w-[60px] ' +
|
|
129
|
+
//1500px
|
|
130
|
+
'max-4xl:w-[25%] ' +
|
|
131
|
+
//640px
|
|
132
|
+
'max-sm:w-[50px] ' +
|
|
133
|
+
//480px
|
|
134
|
+
'max-xs:w-[40px]'}/>
|
|
135
|
+
</Link>
|
|
136
|
+
<Link href="/choice" className={'flex h-[150px] w-full items-start justify-between bg-[#FAFAFA] px-[25px] py-[30px] ' +
|
|
137
|
+
//640px
|
|
138
|
+
'max-sm:col-span-1 max-sm:flex-col max-sm:items-center max-sm:px-0 max-sm:py-[30px] ' +
|
|
139
|
+
//480px
|
|
140
|
+
'max-xs:h-[130px] max-xs:py-[20px]'} onClick={() => {
|
|
141
|
+
onlineClick();
|
|
142
|
+
}}>
|
|
143
|
+
<span className={'flex h-full flex-col justify-between ' +
|
|
144
|
+
//640px
|
|
145
|
+
'max-sm:h-fit '}>
|
|
146
|
+
<p className={'text-[20px] font-bold tracking-[-0.8px] ' +
|
|
147
|
+
//640px
|
|
148
|
+
'max-sm:text-[20px] ' +
|
|
149
|
+
//520px
|
|
150
|
+
'max-2sm:text-[18px] ' +
|
|
151
|
+
//480px
|
|
152
|
+
'max-xs:mt-[10px] max-xs:text-[16px]'}>
|
|
153
|
+
온라인예약
|
|
154
|
+
</p>
|
|
155
|
+
<p className={'mt-[4px] text-[16px] leading-[1.25] tracking-[-1.1px] ' +
|
|
156
|
+
//640px
|
|
157
|
+
'max-sm:hidden '}>
|
|
158
|
+
맞춤 법률서비스를
|
|
159
|
+
<br /> 제공합니다.
|
|
160
|
+
</p>
|
|
161
|
+
</span>
|
|
162
|
+
<OnlineImg className={'aspect-square w-[60px] max-w-[60px] ' +
|
|
163
|
+
//1500px
|
|
164
|
+
'max-4xl:w-[25%] ' +
|
|
165
|
+
//640px
|
|
166
|
+
'max-sm:w-[50px] ' +
|
|
167
|
+
//480px
|
|
168
|
+
'max-xs:w-[40px]'}/>
|
|
169
|
+
</Link>
|
|
170
|
+
</span>
|
|
171
|
+
</div>);
|
|
172
|
+
};
|
|
173
|
+
export default SeoConsulting;
|