@daeryun/dr_components 0.8.58 → 0.8.60
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/cjs/tsconfig-cjs.tsbuildinfo +1 -1
- package/dist/components/page/FieldNew/FieldNew.jsx +1 -1
- package/dist/components/page/FieldNew/FieldNew.tsx +1 -1
- package/dist/components/page/FieldNew/FieldNewView.jsx +1 -1
- package/dist/components/page/FieldNew/FieldNewView.tsx +1 -1
- package/dist/components/page/LawInfoNew/LawInfoNew.jsx +1 -1
- package/dist/components/page/LawInfoNew/LawInfoNew.tsx +1 -1
- package/dist/components/page/LawInfoNew/LawInfoNewView.jsx +1 -1
- package/dist/components/page/LawInfoNew/LawInfoNewView.tsx +1 -1
- package/dist/components/page/SuccessNew/SuccessNew.jsx +1 -1
- package/dist/components/page/SuccessNew/SuccessNew.tsx +1 -1
- package/dist/components/page/SuccessNew/SuccessNewView.jsx +1 -1
- package/dist/components/page/SuccessNew/SuccessNewView.tsx +1 -1
- package/dist/components/page/SuccessNew/components/Lawyer.d.ts +4 -0
- package/dist/components/page/SuccessNew/components/Lawyer.jsx +66 -0
- package/dist/components/page/SuccessNew/components/Lawyer.tsx +150 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,150 @@
|
|
|
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
|
+
|
|
8
|
+
export const Lawyer = ({ lawyerData }: { lawyerData: any[] }) => {
|
|
9
|
+
const imagePath: string = process.env.NEXT_PUBLIC_S3_URL + '';
|
|
10
|
+
const lawyerImagePath: string = imagePath + '/upload/lawyer';
|
|
11
|
+
|
|
12
|
+
return (
|
|
13
|
+
<div
|
|
14
|
+
id={'related_lawyer'}
|
|
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
|
+
sizes={'110px'}
|
|
83
|
+
className={'h-full w-full translate-y-[5%] scale-95 object-contain'}
|
|
84
|
+
itemProp="image"
|
|
85
|
+
/>
|
|
86
|
+
<Mark
|
|
87
|
+
type={i.mark}
|
|
88
|
+
color={'#e8bb71'}
|
|
89
|
+
className={'absolute bottom-[5px] right-[5px] h-auto w-[25%]'}
|
|
90
|
+
/>
|
|
91
|
+
</div>
|
|
92
|
+
<span className={'flex flex-1 flex-col justify-between gap-[5px]'}>
|
|
93
|
+
<span className={'relative flex w-full flex-col gap-[5px]'}>
|
|
94
|
+
<meta itemProp="name" content={`${i.lawyer_name} 변호사`} />
|
|
95
|
+
<p className={'text-[23px] font-bold leading-none tracking-[-0.46px] text-[#434343]'}>
|
|
96
|
+
{i.lawyer_name}
|
|
97
|
+
</p>
|
|
98
|
+
<p
|
|
99
|
+
className={'text-[14px] font-medium leading-none tracking-[-0.4px] text-[#818181]'}
|
|
100
|
+
itemProp="jobTitle"
|
|
101
|
+
>
|
|
102
|
+
{i.lawyer_position}
|
|
103
|
+
</p>
|
|
104
|
+
{lawyerCode.find(code => code === i.lawyer_code) ? (
|
|
105
|
+
<Link
|
|
106
|
+
href={'https://www.daeryunlaw.com/mail?lawyer=' + i.lawyer_name}
|
|
107
|
+
target={'_blank'}
|
|
108
|
+
rel={'nofollow'}
|
|
109
|
+
className={
|
|
110
|
+
'absolute right-0 top-0 z-[11] block h-fit w-fit max-xl:right-[20px]'
|
|
111
|
+
}
|
|
112
|
+
aria-label={i.lawyer_name + '변호사에게 메일보내기'}
|
|
113
|
+
>
|
|
114
|
+
<Image
|
|
115
|
+
src={'https://d1tgonli21s4df.cloudfront.net/lawyer/email_icon.webp'}
|
|
116
|
+
alt={'이메일'}
|
|
117
|
+
width={64}
|
|
118
|
+
height={64}
|
|
119
|
+
className={'w-[32px] max-lg:w-[28px] max-xs:w-[25px]'}
|
|
120
|
+
/>
|
|
121
|
+
</Link>
|
|
122
|
+
) : (
|
|
123
|
+
<></>
|
|
124
|
+
)}
|
|
125
|
+
</span>
|
|
126
|
+
<p
|
|
127
|
+
className={
|
|
128
|
+
'whitespace-pre-line text-[17px] font-[600] leading-[1.3] tracking-[-0.34px] text-[#285FA7] ' +
|
|
129
|
+
//1500px
|
|
130
|
+
'max-3xl:text-[15px] ' +
|
|
131
|
+
//1280px
|
|
132
|
+
'max-xl:text-[17px]'
|
|
133
|
+
}
|
|
134
|
+
>
|
|
135
|
+
{i.career_txt ? i.career_txt : i.l_ability}
|
|
136
|
+
</p>
|
|
137
|
+
{i.l_tel ? (
|
|
138
|
+
<p className={'text-[15px] font-[600] tracking-[-0.3px] text-[#434343]'}>
|
|
139
|
+
T. {i.l_tel}
|
|
140
|
+
</p>
|
|
141
|
+
) : (
|
|
142
|
+
''
|
|
143
|
+
)}
|
|
144
|
+
</span>
|
|
145
|
+
</div>
|
|
146
|
+
))}
|
|
147
|
+
</span>
|
|
148
|
+
</div>
|
|
149
|
+
);
|
|
150
|
+
};
|