@daeryun/dr_components 1.3.54 → 1.3.56

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.
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  const HeaderWrapper = ({ children, className = '' }) => {
3
- return (<div className={'relative mx-auto w-full max-w-[1920px] px-[40px] max-[2120px]:px-[140px] max-3xl:px-[80px] max-xl:w-[100%] max-lg:px-[60px] max-sm:px-5 ' +
3
+ return (<div className={'relative mx-auto w-full max-w-[1920px] px-[40px] max-[2120px]:px-[140px] max-3xl:px-[80px] max-xl:w-[100%] max-lg:px-[60px] max-md2:px-[40px] max-sm:px-5 ' +
4
4
  (className ? className : '')}>
5
5
  {children}
6
6
  </div>);
@@ -10,7 +10,7 @@ const HeaderWrapper: React.FC<HeaderWrapperProps> = ({ children, className = ''
10
10
  return (
11
11
  <div
12
12
  className={
13
- 'relative mx-auto w-full max-w-[1920px] px-[40px] max-[2120px]:px-[140px] max-3xl:px-[80px] max-xl:w-[100%] max-lg:px-[60px] max-sm:px-5 ' +
13
+ 'relative mx-auto w-full max-w-[1920px] px-[40px] max-[2120px]:px-[140px] max-3xl:px-[80px] max-xl:w-[100%] max-lg:px-[60px] max-md2:px-[40px] max-sm:px-5 ' +
14
14
  (className ? className : '')
15
15
  }
16
16
  >
@@ -43,7 +43,7 @@ const BroadcastDetail = ({ broadcast, lawyers }) => {
43
43
  <div className={'h-[2px] w-[100%] bg-[#a2a2a2] max-sm:mt-[10px]'}></div>
44
44
  <div className={'my-8 flex flex-col gap-[14px]'}>
45
45
  <h1 className={'text-[20px] font-[800] sm:text-[30px]'}>{broadcast.title}</h1>
46
- <div className={'mt-[5px] flex justify-start gap-[40px] max-xs:gap-[18px] max-xs:text-[15px]'}>
46
+ <div className={'mt-[5px] flex justify-start gap-[40px] max-xs:gap-3 max-xs:text-[14px]'}>
47
47
  <div className={'text-[grey]'}>
48
48
  언론매체 <span className={'ml-[5px] text-[#111111] max-xs:ml-[3px]'}>{broadcast.author}</span>
49
49
  </div>
@@ -75,10 +75,10 @@ const BroadcastDetail = ({ broadcast, lawyers }) => {
75
75
  'max-sm:'}>
76
76
  관련 구성원
77
77
  </p>
78
- <div className={'flex w-full gap-x-[20px] ' + 'max-sm:grid max-sm:grid-cols-3 max-sm:gap-y-[10px] '}>
78
+ <div className={'flex w-full flex-wrap gap-x-[20px] gap-y-5 max-sm:grid max-sm:grid-cols-3 '}>
79
79
  {lawyers &&
80
80
  lawyers.map((item) => {
81
- return item.l_del === 'N' ? (<Link href={'/lawyer/' + item.l_id} key={item.l_id}>
81
+ return item.l_del === 'N' ? (<Link className={'w-[100px] ' + (item.l_name.includes('(') ? 'h-[160px]' : 'h-[115px]')} href={'/lawyer/' + item.l_id} key={item.l_id}>
82
82
  <div className={'cursor-pointer '}>
83
83
  <div className={'max-h-[90px] max-w-[90px] overflow-hidden rounded-full bg-[#fafafa] ' +
84
84
  'max-sm:mx-auto max-sm:min-w-[90px]'}>
@@ -87,7 +87,10 @@ const BroadcastDetail = ({ broadcast, lawyers }) => {
87
87
  </div>
88
88
  <p className={'text-center text-[14px] font-[500] tracking-[-0.04em] text-[#585858] ' +
89
89
  'max-sm:mt-[5px]'}>
90
- {item.l_name}
90
+ {item.l_name.includes('(') ? (<>
91
+ {item.l_name.split('(')[0]}
92
+ <br /> ({item.l_name.split('(')[1]}
93
+ </>) : (item.l_name)}
91
94
  </p>
92
95
  </div>
93
96
  </Link>) : (<div className={''}>
@@ -77,7 +77,7 @@ const BroadcastDetail = ({ broadcast, lawyers }: { broadcast: BroadCastDetailDat
77
77
  <div className={'h-[2px] w-[100%] bg-[#a2a2a2] max-sm:mt-[10px]'}></div>
78
78
  <div className={'my-8 flex flex-col gap-[14px]'}>
79
79
  <h1 className={'text-[20px] font-[800] sm:text-[30px]'}>{broadcast.title}</h1>
80
- <div className={'mt-[5px] flex justify-start gap-[40px] max-xs:gap-[18px] max-xs:text-[15px]'}>
80
+ <div className={'mt-[5px] flex justify-start gap-[40px] max-xs:gap-3 max-xs:text-[14px]'}>
81
81
  <div className={'text-[grey]'}>
82
82
  언론매체 <span className={'ml-[5px] text-[#111111] max-xs:ml-[3px]'}>{broadcast.author}</span>
83
83
  </div>
@@ -148,15 +148,17 @@ const BroadcastDetail = ({ broadcast, lawyers }: { broadcast: BroadCastDetailDat
148
148
  >
149
149
  관련 구성원
150
150
  </p>
151
- <div
152
- className={
153
- 'flex w-full gap-x-[20px] ' + 'max-sm:grid max-sm:grid-cols-3 max-sm:gap-y-[10px] '
154
- }
155
- >
151
+ <div className={'flex w-full flex-wrap gap-x-[20px] gap-y-5 max-sm:grid max-sm:grid-cols-3 '}>
156
152
  {lawyers &&
157
153
  lawyers.map((item: ILawyerInfo) => {
158
154
  return item.l_del === 'N' ? (
159
- <Link href={'/lawyer/' + item.l_id} key={item.l_id}>
155
+ <Link
156
+ className={
157
+ 'w-[100px] ' + (item.l_name.includes('(') ? 'h-[160px]' : 'h-[115px]')
158
+ }
159
+ href={'/lawyer/' + item.l_id}
160
+ key={item.l_id}
161
+ >
160
162
  <div className={'cursor-pointer '}>
161
163
  <div
162
164
  className={
@@ -182,7 +184,14 @@ const BroadcastDetail = ({ broadcast, lawyers }: { broadcast: BroadCastDetailDat
182
184
  'max-sm:mt-[5px]'
183
185
  }
184
186
  >
185
- {item.l_name}
187
+ {item.l_name.includes('(') ? (
188
+ <>
189
+ {item.l_name.split('(')[0]}
190
+ <br /> ({item.l_name.split('(')[1]}
191
+ </>
192
+ ) : (
193
+ item.l_name
194
+ )}
186
195
  </p>
187
196
  </div>
188
197
  </Link>
@@ -2513,6 +2513,10 @@ html {
2513
2513
  height: 111px;
2514
2514
  }
2515
2515
 
2516
+ .h-\[115px\] {
2517
+ height: 115px;
2518
+ }
2519
+
2516
2520
  .h-\[120px\] {
2517
2521
  height: 120px;
2518
2522
  }
@@ -19655,6 +19659,10 @@ body {
19655
19659
  gap: 0.5rem;
19656
19660
  }
19657
19661
 
19662
+ .max-xs\:gap-3 {
19663
+ gap: 0.75rem;
19664
+ }
19665
+
19658
19666
  .max-xs\:gap-5 {
19659
19667
  gap: 1.25rem;
19660
19668
  }
@@ -19663,10 +19671,6 @@ body {
19663
19671
  gap: 10px;
19664
19672
  }
19665
19673
 
19666
- .max-xs\:gap-\[18px\] {
19667
- gap: 18px;
19668
- }
19669
-
19670
19674
  .max-xs\:gap-\[20px\] {
19671
19675
  gap: 20px;
19672
19676
  }