@daeryun/dr_components 1.1.43 → 1.1.44

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.
@@ -41,14 +41,16 @@ export const Lawyer = ({ lawyerData }) => {
41
41
  </div>
42
42
  <span className={'flex flex-1 flex-col justify-between gap-[5px]'}>
43
43
  <span className={'relative flex w-full flex-col gap-[5px]'}>
44
- <meta itemProp="name" content={`${i.lawyer_name} ${i.lawyer_position}`}/>
45
- <p className={'text-[23px] font-bold leading-none tracking-[-0.46px] text-[#434343]'}>
46
- {i.lawyer_name}
44
+ <meta itemProp="name" content={`${i.lawyer_name} 변호사`}/>
45
+ <p className={'pr-[35px] text-[23px] font-bold leading-none tracking-[-0.46px] text-[#434343]'}>
46
+ {i.lawyer_name.include('(')
47
+ ? i.lawyer_name.split('(')[1].replace(')', '')
48
+ : i.lawyer_name}
47
49
  </p>
48
50
  <p className={'text-[14px] font-medium leading-none tracking-[-0.4px] text-[#818181]'} itemProp="jobTitle">
49
51
  {i.lawyer_position}
50
52
  </p>
51
- {lawyerCode.find(code => code === i.lawyer_code) ? (<Link href={'https://www.daeryunlaw.com/mail?lawyer=' + i.lawyer_name} target={'_blank'} rel={'nofollow'} className={'absolute right-0 top-0 z-[11] block h-fit w-fit max-xl:right-[20px]'} aria-label={i.lawyer_name + '변호사에게 메일보내기'}>
53
+ {lawyerCode.find(code => code === i.lawyer_code) ? (<Link href={'https://www.daeryunlaw.com/mail?lawyer=' + i.lawyer_name} target={'_blank'} rel={'nofollow'} className={'absolute right-0 top-0 z-[11] block h-fit w-fit max-xl:right-[0px]'} aria-label={i.lawyer_name + '변호사에게 메일보내기'}>
52
54
  <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]'}/>
53
55
  </Link>) : (<></>)}
54
56
  </span>
@@ -91,9 +91,15 @@ export const Lawyer = ({ lawyerData }: { lawyerData: any[] }) => {
91
91
  </div>
92
92
  <span className={'flex flex-1 flex-col justify-between gap-[5px]'}>
93
93
  <span className={'relative flex w-full flex-col gap-[5px]'}>
94
- <meta itemProp="name" content={`${i.lawyer_name} ${i.lawyer_position}`} />
95
- <p className={'text-[23px] font-bold leading-none tracking-[-0.46px] text-[#434343]'}>
96
- {i.lawyer_name}
94
+ <meta itemProp="name" content={`${i.lawyer_name} 변호사`} />
95
+ <p
96
+ className={
97
+ 'pr-[35px] text-[23px] font-bold leading-none tracking-[-0.46px] text-[#434343]'
98
+ }
99
+ >
100
+ {i.lawyer_name.include('(')
101
+ ? i.lawyer_name.split('(')[1].replace(')', '')
102
+ : i.lawyer_name}
97
103
  </p>
98
104
  <p
99
105
  className={'text-[14px] font-medium leading-none tracking-[-0.4px] text-[#818181]'}
@@ -106,9 +112,7 @@ export const Lawyer = ({ lawyerData }: { lawyerData: any[] }) => {
106
112
  href={'https://www.daeryunlaw.com/mail?lawyer=' + i.lawyer_name}
107
113
  target={'_blank'}
108
114
  rel={'nofollow'}
109
- className={
110
- 'absolute right-0 top-0 z-[11] block h-fit w-fit max-xl:right-[20px]'
111
- }
115
+ className={'absolute right-0 top-0 z-[11] block h-fit w-fit max-xl:right-[0px]'}
112
116
  aria-label={i.lawyer_name + '변호사에게 메일보내기'}
113
117
  >
114
118
  <Image