@daeryun/dr_components 0.5.0 → 0.5.2

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.
Files changed (65) hide show
  1. package/dist/asset/images/system/svg/Arrow_Right_LG.svg +3 -0
  2. package/dist/asset/images/system/svg/arrow_system.svg +3 -0
  3. package/dist/asset/images/system/system_allocation.webp +0 -0
  4. package/dist/asset/images/system/system_btn_1.webp +0 -0
  5. package/dist/asset/images/system/system_btn_2.webp +0 -0
  6. package/dist/asset/images/system/system_btn_3.webp +0 -0
  7. package/dist/asset/images/system/system_consult_now.webp +0 -0
  8. package/dist/asset/images/system/system_consult_now_m.webp +0 -0
  9. package/dist/asset/images/system/system_consult_now_t.webp +0 -0
  10. package/dist/asset/images/system/system_consultation.webp +0 -0
  11. package/dist/asset/images/system/system_consultation_img.webp +0 -0
  12. package/dist/asset/images/system/system_consultation_img_m.webp +0 -0
  13. package/dist/asset/images/system/system_consultation_img_t.webp +0 -0
  14. package/dist/asset/images/system/system_consultation_txt.webp +0 -0
  15. package/dist/asset/images/system/system_post.webp +0 -0
  16. package/dist/asset/images/system/system_sec1_bg.webp +0 -0
  17. package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
  18. package/dist/components/common/system/index.d.ts +14 -0
  19. package/dist/components/common/system/index.jsx +37 -0
  20. package/dist/components/common/system/index.tsx +40 -0
  21. package/dist/components/page/LawyerDetail/LawyerDetail.stories.d.ts +1 -0
  22. package/dist/components/page/LawyerDetail/LawyerDetail.stories.jsx +2130 -0
  23. package/dist/components/page/LawyerDetail/LawyerDetail.stories.tsx +2141 -0
  24. package/dist/components/page/LawyerDetail/component/BasicInfo.jsx +14 -5
  25. package/dist/components/page/LawyerDetail/component/BasicInfo.tsx +15 -5
  26. package/dist/components/page/LawyerDetail/component/CareerList.jsx +7 -7
  27. package/dist/components/page/LawyerDetail/component/CareerList.tsx +7 -7
  28. package/dist/components/page/LawyerDetail/component/MobileRelatedPage.jsx +0 -2
  29. package/dist/components/page/LawyerDetail/component/MobileRelatedPage.tsx +0 -3
  30. package/dist/components/page/LawyerDetail/component/MobileSpeciality.jsx +0 -2
  31. package/dist/components/page/LawyerDetail/component/MobileSpeciality.tsx +1 -2
  32. package/dist/components/page/LawyerDetail/component/PcTabButton.tsx +0 -2
  33. package/dist/components/page/System/AllocationSystem.d.ts +2 -0
  34. package/dist/components/page/System/AllocationSystem.jsx +64 -0
  35. package/dist/components/page/System/AllocationSystem.tsx +94 -0
  36. package/dist/components/page/System/ConsultNow.d.ts +2 -0
  37. package/dist/components/page/System/ConsultNow.jsx +64 -0
  38. package/dist/components/page/System/ConsultNow.tsx +113 -0
  39. package/dist/components/page/System/ConsultationSystem.d.ts +2 -0
  40. package/dist/components/page/System/ConsultationSystem.jsx +96 -0
  41. package/dist/components/page/System/ConsultationSystem.tsx +163 -0
  42. package/dist/components/page/System/PostSystem.d.ts +2 -0
  43. package/dist/components/page/System/PostSystem.jsx +55 -0
  44. package/dist/components/page/System/PostSystem.tsx +79 -0
  45. package/dist/components/page/System/System.stories.d.ts +6 -0
  46. package/dist/components/page/System/System.stories.jsx +14 -0
  47. package/dist/components/page/System/System.stories.tsx +21 -0
  48. package/dist/components/page/System/SystemLayout.d.ts +7 -0
  49. package/dist/components/page/System/SystemLayout.jsx +49 -0
  50. package/dist/components/page/System/SystemLayout.tsx +89 -0
  51. package/dist/components/page/System/SystemPage.d.ts +1 -1
  52. package/dist/components/page/System/SystemPage.jsx +13 -1
  53. package/dist/components/page/System/SystemPage.tsx +17 -1
  54. package/dist/components/page/System/SystemTextBox.d.ts +7 -0
  55. package/dist/components/page/System/SystemTextBox.jsx +29 -0
  56. package/dist/components/page/System/SystemTextBox.tsx +35 -0
  57. package/dist/components/page/System/SystemTitle.d.ts +3 -0
  58. package/dist/components/page/System/SystemTitle.jsx +87 -0
  59. package/dist/components/page/System/SystemTitle.tsx +162 -0
  60. package/dist/components/page/System/SystemWrapper.d.ts +8 -0
  61. package/dist/components/page/System/SystemWrapper.jsx +31 -0
  62. package/dist/components/page/System/SystemWrapper.tsx +38 -0
  63. package/dist/styles/globals.css +680 -4
  64. package/dist/tsconfig.tsbuildinfo +1 -1
  65. package/package.json +1 -1
@@ -9,6 +9,8 @@ const BasicInfo = ({ lawyerInfo, codeList, integrateSearch }) => {
9
9
  const imagePath = process.env.NEXT_PUBLIC_S3_URL + '';
10
10
  const lawyerImagePath = imagePath + '/upload/lawyer';
11
11
  const [isMobile, setIsMobile] = useState(false);
12
+ //lawyerInfo l_ablilty 길이가 너무 긴경우
13
+ const [cssFlag, setCssFlag] = useState(false);
12
14
  const handleOnClickLawyerTel = () => {
13
15
  if (isMobile) {
14
16
  insert('lawyer_tel', isMobile);
@@ -29,6 +31,14 @@ const BasicInfo = ({ lawyerInfo, codeList, integrateSearch }) => {
29
31
  const is_mobile = mobile();
30
32
  setIsMobile(is_mobile);
31
33
  }, []);
34
+ useEffect(() => {
35
+ var _a, _b;
36
+ if (lawyerInfo.l_ability) {
37
+ const flag1 = lawyerInfo.l_ability.length > 30;
38
+ const flag2 = ((_a = lawyerInfo.l_ability) === null || _a === void 0 ? void 0 : _a.split('\n').length) > 1 && ((_b = lawyerInfo.l_ability) === null || _b === void 0 ? void 0 : _b.split('\n')[0].length) > 14;
39
+ setCssFlag(flag1 || flag2);
40
+ }
41
+ }, [lawyerInfo]);
32
42
  return (<div className={'relative w-full pb-[120px] max-md:pb-0'}>
33
43
  {/*#F8F8F8 배경 768px부터 hidden*/}
34
44
  <div className={'absolute bottom-0 h-[386px] w-full bg-[#F8F8F8] max-md:hidden'}></div>
@@ -62,7 +72,7 @@ const BasicInfo = ({ lawyerInfo, codeList, integrateSearch }) => {
62
72
  {/*lawyer_code, l_ability, tel pc*/}
63
73
  <div className={'absolute bottom-[-50px] right-10 z-10 grid w-full grid-cols-3 place-items-center bg-[#1E395C] text-center text-[24px] leading-[1.25] tracking-[-0.9px] text-white ' +
64
74
  'tracking-[-0.9px] ' +
65
- (lawyerInfo.l_ability && lawyerInfo.l_ability.length > 30
75
+ (cssFlag
66
76
  ? 'h-[100px] max-w-[1050px] max-xl:h-[110px] max-xl:max-w-[820px] max-lg:h-[100px] max-lg:max-w-[700px] max-md2:h-[90px] max-md2:max-w-[640px] '
67
77
  : 'h-[100px] max-w-[900px] max-xl:h-[90px] max-xl:max-w-[800px] max-lg:h-[80px] max-lg:max-w-[700px] max-md2:h-[75px] max-md2:max-w-[640px] ') +
68
78
  'max-xl:text-[22px] ' +
@@ -74,10 +84,9 @@ const BasicInfo = ({ lawyerInfo, codeList, integrateSearch }) => {
74
84
  {searchColorLawyerText(codeList.filter((item) => item.code === lawyerInfo.lawyer_code)[0].code_name, integrateSearch)}
75
85
  <span className={'absolute right-0 top-1/2 block h-[50px] w-[2px] -translate-y-1/2 bg-white bg-opacity-20'}></span>
76
86
  </p>
77
- <h2 className={(lawyerInfo.l_ability && lawyerInfo.l_ability.length > 30
78
- ? 'break-keep px-1 xl:whitespace-pre-wrap '
79
- : 'whitespace-pre-wrap break-keep px-3 ') + 'relative w-full font-[500]'}>
80
- {lawyerInfo.l_ability}
87
+ <h2 className={(cssFlag ? 'break-keep px-1 ' : 'whitespace-pre-wrap break-keep px-3 ') +
88
+ 'relative w-full font-[500]'}>
89
+ {searchColorLawyerText(lawyerInfo.l_ability, integrateSearch)}
81
90
 
82
91
  <span className={'absolute right-0 top-1/2 block h-[50px] w-[2px] -translate-y-1/2 bg-white bg-opacity-20'}></span>
83
92
  </h2>
@@ -19,6 +19,8 @@ const BasicInfo = ({
19
19
  const imagePath: string = process.env.NEXT_PUBLIC_S3_URL + '';
20
20
  const lawyerImagePath: string = imagePath + '/upload/lawyer';
21
21
  const [isMobile, setIsMobile] = useState<boolean>(false);
22
+ //lawyerInfo l_ablilty 길이가 너무 긴경우
23
+ const [cssFlag, setCssFlag] = useState<boolean>(false);
22
24
 
23
25
  const handleOnClickLawyerTel = () => {
24
26
  if (isMobile) {
@@ -43,6 +45,15 @@ const BasicInfo = ({
43
45
  setIsMobile(is_mobile);
44
46
  }, []);
45
47
 
48
+ useEffect(() => {
49
+ if (lawyerInfo.l_ability) {
50
+ const flag1: boolean = lawyerInfo.l_ability.length > 30;
51
+ const flag2: boolean =
52
+ lawyerInfo.l_ability?.split('\n').length > 1 && lawyerInfo.l_ability?.split('\n')[0].length > 14;
53
+ setCssFlag(flag1 || flag2);
54
+ }
55
+ }, [lawyerInfo]);
56
+
46
57
  return (
47
58
  <div className={'relative w-full pb-[120px] max-md:pb-0'}>
48
59
  {/*#F8F8F8 배경 768px부터 hidden*/}
@@ -124,7 +135,7 @@ const BasicInfo = ({
124
135
  className={
125
136
  'absolute bottom-[-50px] right-10 z-10 grid w-full grid-cols-3 place-items-center bg-[#1E395C] text-center text-[24px] leading-[1.25] tracking-[-0.9px] text-white ' +
126
137
  'tracking-[-0.9px] ' +
127
- (lawyerInfo.l_ability && lawyerInfo.l_ability.length > 30
138
+ (cssFlag
128
139
  ? 'h-[100px] max-w-[1050px] max-xl:h-[110px] max-xl:max-w-[820px] max-lg:h-[100px] max-lg:max-w-[700px] max-md2:h-[90px] max-md2:max-w-[640px] '
129
140
  : 'h-[100px] max-w-[900px] max-xl:h-[90px] max-xl:max-w-[800px] max-lg:h-[80px] max-lg:max-w-[700px] max-md2:h-[75px] max-md2:max-w-[640px] ') +
130
141
  'max-xl:text-[22px] ' +
@@ -147,12 +158,11 @@ const BasicInfo = ({
147
158
  </p>
148
159
  <h2
149
160
  className={
150
- (lawyerInfo.l_ability && lawyerInfo.l_ability.length > 30
151
- ? 'break-keep px-1 xl:whitespace-pre-wrap '
152
- : 'whitespace-pre-wrap break-keep px-3 ') + 'relative w-full font-[500]'
161
+ (cssFlag ? 'break-keep px-1 ' : 'whitespace-pre-wrap break-keep px-3 ') +
162
+ 'relative w-full font-[500]'
153
163
  }
154
164
  >
155
- {lawyerInfo.l_ability}
165
+ {searchColorLawyerText(lawyerInfo.l_ability, integrateSearch)}
156
166
 
157
167
  <span
158
168
  className={
@@ -25,7 +25,7 @@ const CareerList = ({ lawyerInfo, careerList, certiList, codeList, speciality, s
25
25
  'max-xl:pl-[26px]'}>
26
26
  {careerList
27
27
  .filter((item) => item.career_code === 'LC002')
28
- .map((item, index) => (<li key={index}>
28
+ .map((item, index) => (<li key={'LC002 ' + index}>
29
29
  <span className={'relative text-[20px] font-[400] leading-[40px] tracking-[-0.5px] ' +
30
30
  'before:absolute before:left-[-30px] before:mr-[5px] before:inline-block before:scale-[1.5] before:text-[#D0D0D0] before:content-["•"] ' +
31
31
  //1280px
@@ -69,7 +69,7 @@ const CareerList = ({ lawyerInfo, careerList, certiList, codeList, speciality, s
69
69
  'max-xl:pl-[26px]'}>
70
70
  {careerList
71
71
  .filter((item) => item.career_code === 'LC003')
72
- .map((item, index) => (<li key={index}>
72
+ .map((item, index) => (<li key={'LC003 ' + index}>
73
73
  <span className={'relative text-[20px] font-[400] leading-[40px] tracking-[-0.5px] ' +
74
74
  'before:absolute before:left-[-30px] before:mr-[5px] before:inline-block before:scale-[1.5] before:text-[#D0D0D0] before:content-["•"] ' +
75
75
  //1280px
@@ -105,7 +105,7 @@ const CareerList = ({ lawyerInfo, careerList, certiList, codeList, speciality, s
105
105
  'max-xl:pl-[26px]'}>
106
106
  {careerList
107
107
  .filter((item) => item.career_code === 'LC006')
108
- .map((item, index) => (<li key={index}>
108
+ .map((item, index) => (<li key={'LC006 ' + index}>
109
109
  <span className={'relative text-[20px] font-[400] leading-[40px] tracking-[-0.5px] ' +
110
110
  'before:absolute before:left-[-30px] before:mr-[5px] before:inline-block before:scale-[1.5] before:text-[#D0D0D0] before:content-["•"] ' +
111
111
  //1280px
@@ -141,7 +141,7 @@ const CareerList = ({ lawyerInfo, careerList, certiList, codeList, speciality, s
141
141
  'max-xl:pl-[26px]'}>
142
142
  {careerList
143
143
  .filter((item) => item.career_code === 'LC001')
144
- .map((item, index) => (<li key={index}>
144
+ .map((item, index) => (<li key={'LC001 ' + index}>
145
145
  <span className={'relative text-[20px] font-[400] leading-[40px] tracking-[-0.5px] ' +
146
146
  'before:absolute before:left-[-30px] before:mr-[5px] before:inline-block before:scale-[1.5] before:text-[#D0D0D0] before:content-["•"] ' +
147
147
  //1280px
@@ -177,7 +177,7 @@ const CareerList = ({ lawyerInfo, careerList, certiList, codeList, speciality, s
177
177
  'max-xl:pl-[26px]'}>
178
178
  {careerList
179
179
  .filter((item) => item.career_code === 'LC004')
180
- .map((item, index) => (<li key={index}>
180
+ .map((item, index) => (<li key={'LC004 ' + index}>
181
181
  <span className={'relative text-[20px] font-[400] leading-[40px] tracking-[-0.5px] ' +
182
182
  'before:absolute before:left-[-30px] before:mr-[5px] before:inline-block before:scale-[1.5] before:text-[#D0D0D0] before:content-["•"] ' +
183
183
  //1280px
@@ -210,7 +210,7 @@ const CareerList = ({ lawyerInfo, careerList, certiList, codeList, speciality, s
210
210
  <ul className={'pl-[36px] ' +
211
211
  //768px
212
212
  'max-xl:pl-[26px]'}>
213
- {certiList.map((item, index) => (<li key={index}>
213
+ {certiList.map((item, index) => (<li key={'자격증 ' + index}>
214
214
  <span className={'relative text-[20px] font-[400] leading-[40px] tracking-[-0.5px] ' +
215
215
  'before:absolute before:left-[-30px] before:mr-[5px] before:inline-block before:scale-[1.5] before:text-[#D0D0D0] before:content-["•"] ' +
216
216
  //1280px
@@ -245,7 +245,7 @@ const CareerList = ({ lawyerInfo, careerList, certiList, codeList, speciality, s
245
245
  const careerTxt = item.career_txt
246
246
  ? item.career_txt.replace('일반소송', '민사').replace('중재', '손해배상')
247
247
  : '';
248
- return (<Link href={url} target="_blank" key={index} className={'mr-[5px] mt-[5px] inline-block basis-[100%] flex-wrap rounded-[20px] border-[1px] border-solid border-[#dfdfdf] px-[10px] py-[4px] text-[16px] font-[700] tracking-[-0.9px] text-[#555] ' +
248
+ return (<Link href={url} target="_blank" key={'관련 업무분야 ' + index} className={'mr-[5px] mt-[5px] inline-block basis-[100%] flex-wrap rounded-[20px] border-[1px] border-solid border-[#dfdfdf] px-[10px] py-[4px] text-[16px] font-[700] tracking-[-0.9px] text-[#555] ' +
249
249
  'group hover:border-[#285FA7] hover:text-[#285FA7] '}>
250
250
  <span className={'flex items-center gap-[2px]'}>
251
251
  <Image src={'https://d1tgonli21s4df.cloudfront.net/lawyer/hover_off.webp'} alt={careerTxt + '전문변호사'} width={6} height={6} className={'group-hover:hidden'}/>
@@ -72,7 +72,7 @@ const CareerList = ({
72
72
  {careerList
73
73
  .filter((item: any) => item.career_code === 'LC002')
74
74
  .map((item: any, index) => (
75
- <li key={index}>
75
+ <li key={'LC002 ' + index}>
76
76
  <span
77
77
  className={
78
78
  'relative text-[20px] font-[400] leading-[40px] tracking-[-0.5px] ' +
@@ -147,7 +147,7 @@ const CareerList = ({
147
147
  {careerList
148
148
  .filter((item: any) => item.career_code === 'LC003')
149
149
  .map((item: any, index) => (
150
- <li key={index}>
150
+ <li key={'LC003 ' + index}>
151
151
  <span
152
152
  className={
153
153
  'relative text-[20px] font-[400] leading-[40px] tracking-[-0.5px] ' +
@@ -203,7 +203,7 @@ const CareerList = ({
203
203
  {careerList
204
204
  .filter((item: any) => item.career_code === 'LC006')
205
205
  .map((item: any, index) => (
206
- <li key={index}>
206
+ <li key={'LC006 ' + index}>
207
207
  <span
208
208
  className={
209
209
  'relative text-[20px] font-[400] leading-[40px] tracking-[-0.5px] ' +
@@ -259,7 +259,7 @@ const CareerList = ({
259
259
  {careerList
260
260
  .filter((item: any) => item.career_code === 'LC001')
261
261
  .map((item: any, index) => (
262
- <li key={index}>
262
+ <li key={'LC001 ' + index}>
263
263
  <span
264
264
  className={
265
265
  'relative text-[20px] font-[400] leading-[40px] tracking-[-0.5px] ' +
@@ -316,7 +316,7 @@ const CareerList = ({
316
316
  {careerList
317
317
  .filter((item: any) => item.career_code === 'LC004')
318
318
  .map((item: any, index) => (
319
- <li key={index}>
319
+ <li key={'LC004 ' + index}>
320
320
  <span
321
321
  className={
322
322
  'relative text-[20px] font-[400] leading-[40px] tracking-[-0.5px] ' +
@@ -370,7 +370,7 @@ const CareerList = ({
370
370
  }
371
371
  >
372
372
  {certiList.map((item: any, index: number) => (
373
- <li key={index}>
373
+ <li key={'자격증 ' + index}>
374
374
  <span
375
375
  className={
376
376
  'relative text-[20px] font-[400] leading-[40px] tracking-[-0.5px] ' +
@@ -427,7 +427,7 @@ const CareerList = ({
427
427
  <Link
428
428
  href={url}
429
429
  target="_blank"
430
- key={index}
430
+ key={'관련 업무분야 ' + index}
431
431
  className={
432
432
  'mr-[5px] mt-[5px] inline-block basis-[100%] flex-wrap rounded-[20px] border-[1px] border-solid border-[#dfdfdf] px-[10px] py-[4px] text-[16px] font-[700] tracking-[-0.9px] text-[#555] ' +
433
433
  'group hover:border-[#285FA7] hover:text-[#285FA7] '
@@ -1,9 +1,7 @@
1
1
  import Link from 'next/link';
2
2
  import Image from 'next/image';
3
3
  import React from 'react';
4
- import { useTranslation } from 'next-i18next';
5
4
  const MobileRelatedPage = ({ lawyerInfo, broadcastList, reviewList, successList, isLawyer }) => {
6
- const { t } = useTranslation('common');
7
5
  return (<span className={'flex w-full gap-[20px] lg:hidden ' +
8
6
  //768px
9
7
  'max-md:gap-2 ' +
@@ -1,7 +1,6 @@
1
1
  import Link from 'next/link';
2
2
  import Image from 'next/image';
3
3
  import React from 'react';
4
- import { useTranslation } from 'next-i18next';
5
4
  import { IBoard, ILawyer, ISuccess } from '../ILawyerDetailTypes';
6
5
 
7
6
  const MobileRelatedPage = ({
@@ -17,8 +16,6 @@ const MobileRelatedPage = ({
17
16
  reviewList: IBoard[];
18
17
  successList: ISuccess[];
19
18
  }) => {
20
- const { t } = useTranslation('common');
21
-
22
19
  return (
23
20
  <span
24
21
  className={
@@ -1,10 +1,8 @@
1
1
  import Link from 'next/link';
2
2
  import Image from 'next/image';
3
3
  import React, { useState } from 'react';
4
- import { useTranslation } from 'next-i18next';
5
4
  import { searchColorLawyerText } from '../../../common/integrate';
6
5
  const MobileSpeciality = ({ speciality, codeList, maxLines, integrateSearch }) => {
7
- const { t } = useTranslation('common'); //모바일 전문분야 더보기 버튼
8
6
  const [mobileCareerViewMore, setMobileCareerViewMore] = useState(false);
9
7
  return (<section className={'mx-auto mt-[80px] max-w-screen-2xl ' +
10
8
  //1024px
@@ -1,7 +1,7 @@
1
1
  import Link from 'next/link';
2
2
  import Image from 'next/image';
3
3
  import React, { useState } from 'react';
4
- import { useTranslation } from 'next-i18next';
4
+
5
5
  import { ILawyerCareer } from '../ILawyerDetailTypes';
6
6
  import { searchColorLawyerText } from '../../../common/integrate';
7
7
 
@@ -16,7 +16,6 @@ const MobileSpeciality = ({
16
16
  codeList: any[];
17
17
  integrateSearch: string;
18
18
  }) => {
19
- const { t } = useTranslation('common'); //모바일 전문분야 더보기 버튼
20
19
  const [mobileCareerViewMore, setMobileCareerViewMore] = useState<boolean>(false);
21
20
  return (
22
21
  <section
@@ -1,7 +1,5 @@
1
1
  'use client';
2
2
  import React, { useState } from 'react';
3
- import { useRouter } from 'next/navigation';
4
- import { useTranslation } from 'next-i18next';
5
3
  import { ILawyerCareer } from '../ILawyerDetailTypes';
6
4
 
7
5
  const PcTabButton = ({
@@ -0,0 +1,2 @@
1
+ declare const AllocationSystem: () => import("react").JSX.Element;
2
+ export default AllocationSystem;
@@ -0,0 +1,64 @@
1
+ 'use client';
2
+ import SystemLayout from './SystemLayout';
3
+ import SystemTextBox from './SystemTextBox';
4
+ import { allocationList } from '../../common/system';
5
+ const AllocationSystem = () => {
6
+ return (<SystemLayout id={'system_allocation'} classNames={'mt-[120px] max-lg:mt-[80px] max-md:mt-[60px] max-md:pt-[16px]'}>
7
+ <SystemTextBox className={''}>
8
+ 정확한 소송진단이 완료되면, 사건을 가장 적합한 전문가와 전담 그룹에 정확히 배정하게 됩니다.
9
+ <br />
10
+ <br />
11
+ 대륜은 주사무소에서 사건을 일괄 관리하고 있으며,{' '}
12
+ <span className={'font-[800]'}>체계적인 사건 배분</span>을 통해 안정적이고 투명한 법률 서비스를 제공하고
13
+ 있습니다.
14
+ </SystemTextBox>
15
+ <span className={'mt-[80px] grid w-full grid-cols-2 gap-x-[50px] gap-y-[40px] ' +
16
+ 'max-6xl:gap-x-[16px] max-6xl:gap-y-[36px] ' +
17
+ 'max-xl:mt-[60px] ' +
18
+ 'max-md:mt-[40px] max-md:grid-cols-1 '}>
19
+ {allocationList.map((item, index) => (<div key={'allocationList_' + index} className={'relative flex flex-col gap-[40px] border-b-[1px] border-t-[1px] border-solid border-black p-[40px] text-[#58595B] ' +
20
+ 'group transition-colors duration-300 hover:lg:border-[#04325A] hover:lg:bg-[#04325A] hover:lg:text-white ' +
21
+ 'max-xl:px-[20px] ' +
22
+ 'max-lg:gap-[26px] max-lg:px-0 max-lg:py-[36px] ' +
23
+ 'max-md:gap-[20px]'}>
24
+ <p className={'absolute right-[40px] top-[30px] text-[100px] font-[200] leading-none text-[#EBEBEB] ' +
25
+ 'transition-colors duration-300 group-hover:lg:text-[#003F76] ' +
26
+ 'max-6xl:top-[40px] max-6xl:text-[80px] ' +
27
+ 'max-xl:right-[20px] max-xl:top-[35px] ' +
28
+ 'max-lg:right-0 max-lg:top-[35px] max-lg:text-[70px] ' +
29
+ 'max-md:top-[30px] '}>
30
+ 0{index + 1}
31
+ </p>
32
+ <p className={'z-[1] whitespace-pre-wrap text-[32px] font-[800] leading-[1.37] tracking-[-1.28px] ' +
33
+ //1500px
34
+ 'max-6xl:text-[28px] ' +
35
+ //1280px
36
+ 'max-xl:text-[26px] ' +
37
+ //1024px
38
+ 'max-lg:text-[24px] ' +
39
+ //768px
40
+ 'max-md:text-[22px] ' +
41
+ //520px
42
+ 'max-2sm:text-[20px] '}>
43
+ {item.title}
44
+ </p>
45
+ <p className={'z-[1] text-[24px] leading-[1.6] tracking-[-0.96px] ' +
46
+ //1500px
47
+ 'max-3xl:text-[22px] ' +
48
+ //1024px
49
+ 'max-lg:text-[20px] max-lg:leading-[1.8] ' +
50
+ //768px
51
+ 'max-md:text-[18px] ' +
52
+ //520px
53
+ 'max-2sm:text-[16px] '}>
54
+ {item.text}
55
+ </p>
56
+ </div>))}
57
+ </span>
58
+ <SystemTextBox className={'mt-[80px] max-xl:mt-[60px] max-md:mt-[40px]'}>
59
+ 사건 해결에 최적화된 배당 시스템은 결과로 증명합니다. 고객은 만족할 만한 법률 서비스를 받고, 변호사는
60
+ 사건 해결에만 집중할 수 있도록 시스템 고도화에 최선을 다하고 있습니다.
61
+ </SystemTextBox>
62
+ </SystemLayout>);
63
+ };
64
+ export default AllocationSystem;
@@ -0,0 +1,94 @@
1
+ 'use client';
2
+
3
+ import SystemLayout from './SystemLayout';
4
+ import SystemTextBox from './SystemTextBox';
5
+ import { allocationList } from '../../common/system';
6
+
7
+ const AllocationSystem = () => {
8
+ return (
9
+ <SystemLayout
10
+ id={'system_allocation'}
11
+ classNames={'mt-[120px] max-lg:mt-[80px] max-md:mt-[60px] max-md:pt-[16px]'}
12
+ >
13
+ <SystemTextBox className={''}>
14
+ 정확한 소송진단이 완료되면, 사건을 가장 적합한 전문가와 전담 그룹에 정확히 배정하게 됩니다.
15
+ <br />
16
+ <br />
17
+ 대륜은 주사무소에서 사건을 일괄 관리하고 있으며,{' '}
18
+ <span className={'font-[800]'}>체계적인 사건 배분</span>을 통해 안정적이고 투명한 법률 서비스를 제공하고
19
+ 있습니다.
20
+ </SystemTextBox>
21
+ <span
22
+ className={
23
+ 'mt-[80px] grid w-full grid-cols-2 gap-x-[50px] gap-y-[40px] ' +
24
+ 'max-6xl:gap-x-[16px] max-6xl:gap-y-[36px] ' +
25
+ 'max-xl:mt-[60px] ' +
26
+ 'max-md:mt-[40px] max-md:grid-cols-1 '
27
+ }
28
+ >
29
+ {allocationList.map((item, index) => (
30
+ <div
31
+ key={'allocationList_' + index}
32
+ className={
33
+ 'relative flex flex-col gap-[40px] border-b-[1px] border-t-[1px] border-solid border-black p-[40px] text-[#58595B] ' +
34
+ 'group transition-colors duration-300 hover:lg:border-[#04325A] hover:lg:bg-[#04325A] hover:lg:text-white ' +
35
+ 'max-xl:px-[20px] ' +
36
+ 'max-lg:gap-[26px] max-lg:px-0 max-lg:py-[36px] ' +
37
+ 'max-md:gap-[20px]'
38
+ }
39
+ >
40
+ <p
41
+ className={
42
+ 'absolute right-[40px] top-[30px] text-[100px] font-[200] leading-none text-[#EBEBEB] ' +
43
+ 'transition-colors duration-300 group-hover:lg:text-[#003F76] ' +
44
+ 'max-6xl:top-[40px] max-6xl:text-[80px] ' +
45
+ 'max-xl:right-[20px] max-xl:top-[35px] ' +
46
+ 'max-lg:right-0 max-lg:top-[35px] max-lg:text-[70px] ' +
47
+ 'max-md:top-[30px] '
48
+ }
49
+ >
50
+ 0{index + 1}
51
+ </p>
52
+ <p
53
+ className={
54
+ 'z-[1] whitespace-pre-wrap text-[32px] font-[800] leading-[1.37] tracking-[-1.28px] ' +
55
+ //1500px
56
+ 'max-6xl:text-[28px] ' +
57
+ //1280px
58
+ 'max-xl:text-[26px] ' +
59
+ //1024px
60
+ 'max-lg:text-[24px] ' +
61
+ //768px
62
+ 'max-md:text-[22px] ' +
63
+ //520px
64
+ 'max-2sm:text-[20px] '
65
+ }
66
+ >
67
+ {item.title}
68
+ </p>
69
+ <p
70
+ className={
71
+ 'z-[1] text-[24px] leading-[1.6] tracking-[-0.96px] ' +
72
+ //1500px
73
+ 'max-3xl:text-[22px] ' +
74
+ //1024px
75
+ 'max-lg:text-[20px] max-lg:leading-[1.8] ' +
76
+ //768px
77
+ 'max-md:text-[18px] ' +
78
+ //520px
79
+ 'max-2sm:text-[16px] '
80
+ }
81
+ >
82
+ {item.text}
83
+ </p>
84
+ </div>
85
+ ))}
86
+ </span>
87
+ <SystemTextBox className={'mt-[80px] max-xl:mt-[60px] max-md:mt-[40px]'}>
88
+ 사건 해결에 최적화된 배당 시스템은 결과로 증명합니다. 고객은 만족할 만한 법률 서비스를 받고, 변호사는
89
+ 사건 해결에만 집중할 수 있도록 시스템 고도화에 최선을 다하고 있습니다.
90
+ </SystemTextBox>
91
+ </SystemLayout>
92
+ );
93
+ };
94
+ export default AllocationSystem;
@@ -0,0 +1,2 @@
1
+ declare const ConsultNow: () => import("react").JSX.Element;
2
+ export default ConsultNow;
@@ -0,0 +1,64 @@
1
+ 'use client';
2
+ import SystemWrapper from './SystemWrapper';
3
+ import Image from 'next/image';
4
+ import Link from 'next/link';
5
+ import useBrowser from '../../hook/useBrowser';
6
+ import IconArrow from '../../../asset/images/system/svg/Arrow_Right_LG.svg';
7
+ import BgImgP from '../../../asset/images/system/system_consult_now.webp';
8
+ import BgImgT from '../../../asset/images/system/system_consult_now_t.webp';
9
+ import BgImgM from '../../../asset/images/system/system_consult_now_m.webp';
10
+ const ConsultNow = () => {
11
+ const { width } = useBrowser(true);
12
+ return (<section className={'mb-[170px] mt-[140px] ' +
13
+ //1024px
14
+ 'max-lg:mb-[120px] max-lg:mt-[100px] ' +
15
+ //768px
16
+ 'max-md:mb-[90px] max-md:mt-[60px] '}>
17
+ <SystemWrapper>
18
+ <div className={'relative w-full px-[40px] py-[80px] text-center ' +
19
+ //1024px
20
+ 'max-lg:py-[70px] ' +
21
+ //768px
22
+ 'max-md:px-[20px] max-md:py-[56px] '}>
23
+ {width >= 1024 ? (<Image src={BgImgP} alt={''} fill className={'absolute left-0 top-0 z-[-1] h-full w-full object-cover'}/>) : width > 768 ? (<Image src={BgImgT} alt={''} fill className={'absolute left-0 top-0 z-[-1] h-full w-full object-cover'}/>) : (<Image src={BgImgM} alt={''} fill className={'absolute left-0 top-0 z-[-1] h-full w-full object-cover'}/>)}
24
+
25
+ <p className={'text-[32px] leading-[1.55] tracking-[-1.44px] text-[#58595B] ' +
26
+ //1500px
27
+ 'max-3xl:text-[30px] ' +
28
+ //1280px
29
+ 'max-xl:text-[28px] ' +
30
+ //1024px
31
+ 'max-lg:text-[26px] ' +
32
+ //768px
33
+ 'max-md:text-[24px] max-md:leading-[1.8] ' +
34
+ //520px
35
+ 'max-2sm:text-[20px] '}>
36
+ <span className={'font-[800]'}>
37
+ 법률 서비스의 <br className={'md:hidden'}/>
38
+ 시작과 끝을 책임지는 대륜,
39
+ </span>
40
+ <br />
41
+ 처음부터 제대로 상담받고, <br className={'md:hidden'}/>
42
+ 신뢰할 수 있는 전문가와 함께하세요.
43
+ </p>
44
+ <Link href={'/choice'} className={'mx-auto mt-[60px] flex w-fit items-center gap-[12px] rounded-full border-[1px] border-solid border-[#58595B] px-[30px] py-[20px] ' +
45
+ 'text-[24px] font-[500] leading-none text-[#58595B] ' +
46
+ 'group transition-colors hover:border-[#04325A] hover:bg-[#04325A] hover:text-white ' +
47
+ //1500px
48
+ 'max-3xl:text-[22px] ' +
49
+ //1024px
50
+ 'max-lg:mt-[27px] max-lg:py-[15px] max-lg:text-[20px] ' +
51
+ //768px
52
+ 'max-md:px-[20px] max-md:text-[18px] ' +
53
+ //520px
54
+ 'max-2sm:text-[16px]'}>
55
+ 상담 예약 접수 바로가기
56
+ <IconArrow className={'aspect-square w-[26px] stroke-[#58595B] transition-colors group-hover:stroke-white ' +
57
+ //1024px
58
+ 'max-lg:w-[24px] '}/>
59
+ </Link>
60
+ </div>
61
+ </SystemWrapper>
62
+ </section>);
63
+ };
64
+ export default ConsultNow;
@@ -0,0 +1,113 @@
1
+ 'use client';
2
+
3
+ import SystemWrapper from './SystemWrapper';
4
+ import Image from 'next/image';
5
+ import Link from 'next/link';
6
+ import useBrowser from '../../hook/useBrowser';
7
+
8
+ import IconArrow from '../../../asset/images/system/svg/Arrow_Right_LG.svg';
9
+ import BgImgP from '../../../asset/images/system/system_consult_now.webp';
10
+ import BgImgT from '../../../asset/images/system/system_consult_now_t.webp';
11
+ import BgImgM from '../../../asset/images/system/system_consult_now_m.webp';
12
+
13
+ const ConsultNow = () => {
14
+ const { width } = useBrowser(true);
15
+
16
+ return (
17
+ <section
18
+ className={
19
+ 'mb-[170px] mt-[140px] ' +
20
+ //1024px
21
+ 'max-lg:mb-[120px] max-lg:mt-[100px] ' +
22
+ //768px
23
+ 'max-md:mb-[90px] max-md:mt-[60px] '
24
+ }
25
+ >
26
+ <SystemWrapper>
27
+ <div
28
+ className={
29
+ 'relative w-full px-[40px] py-[80px] text-center ' +
30
+ //1024px
31
+ 'max-lg:py-[70px] ' +
32
+ //768px
33
+ 'max-md:px-[20px] max-md:py-[56px] '
34
+ }
35
+ >
36
+ {width >= 1024 ? (
37
+ <Image
38
+ src={BgImgP}
39
+ alt={''}
40
+ fill
41
+ className={'absolute left-0 top-0 z-[-1] h-full w-full object-cover'}
42
+ />
43
+ ) : width > 768 ? (
44
+ <Image
45
+ src={BgImgT}
46
+ alt={''}
47
+ fill
48
+ className={'absolute left-0 top-0 z-[-1] h-full w-full object-cover'}
49
+ />
50
+ ) : (
51
+ <Image
52
+ src={BgImgM}
53
+ alt={''}
54
+ fill
55
+ className={'absolute left-0 top-0 z-[-1] h-full w-full object-cover'}
56
+ />
57
+ )}
58
+
59
+ <p
60
+ className={
61
+ 'text-[32px] leading-[1.55] tracking-[-1.44px] text-[#58595B] ' +
62
+ //1500px
63
+ 'max-3xl:text-[30px] ' +
64
+ //1280px
65
+ 'max-xl:text-[28px] ' +
66
+ //1024px
67
+ 'max-lg:text-[26px] ' +
68
+ //768px
69
+ 'max-md:text-[24px] max-md:leading-[1.8] ' +
70
+ //520px
71
+ 'max-2sm:text-[20px] '
72
+ }
73
+ >
74
+ <span className={'font-[800]'}>
75
+ 법률 서비스의 <br className={'md:hidden'} />
76
+ 시작과 끝을 책임지는 대륜,
77
+ </span>
78
+ <br />
79
+ 처음부터 제대로 상담받고, <br className={'md:hidden'} />
80
+ 신뢰할 수 있는 전문가와 함께하세요.
81
+ </p>
82
+ <Link
83
+ href={'/choice'}
84
+ className={
85
+ 'mx-auto mt-[60px] flex w-fit items-center gap-[12px] rounded-full border-[1px] border-solid border-[#58595B] px-[30px] py-[20px] ' +
86
+ 'text-[24px] font-[500] leading-none text-[#58595B] ' +
87
+ 'group transition-colors hover:border-[#04325A] hover:bg-[#04325A] hover:text-white ' +
88
+ //1500px
89
+ 'max-3xl:text-[22px] ' +
90
+ //1024px
91
+ 'max-lg:mt-[27px] max-lg:py-[15px] max-lg:text-[20px] ' +
92
+ //768px
93
+ 'max-md:px-[20px] max-md:text-[18px] ' +
94
+ //520px
95
+ 'max-2sm:text-[16px]'
96
+ }
97
+ >
98
+ 상담 예약 접수 바로가기
99
+ <IconArrow
100
+ className={
101
+ 'aspect-square w-[26px] stroke-[#58595B] transition-colors group-hover:stroke-white ' +
102
+ //1024px
103
+ 'max-lg:w-[24px] '
104
+ }
105
+ />
106
+ </Link>
107
+ </div>
108
+ </SystemWrapper>
109
+ </section>
110
+ );
111
+ };
112
+
113
+ export default ConsultNow;
@@ -0,0 +1,2 @@
1
+ declare const ConsultationSystem: () => import("react").JSX.Element;
2
+ export default ConsultationSystem;