@daeryun/dr_components 1.0.79 → 1.0.81
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/Daeryuntalk/ChatItem/ChatPrivacyAuth.jsx +9 -5
- package/dist/components/Daeryuntalk/ChatItem/ChatPrivacyAuth.tsx +11 -5
- package/dist/components/Daeryuntalk/_ui/buttons/Button1.jsx +1 -0
- package/dist/components/Daeryuntalk/_ui/buttons/Button1.tsx +1 -0
- package/dist/components/Daeryuntalk/_ui/checkboxs/CheckBox1.d.ts +8 -0
- package/dist/components/Daeryuntalk/_ui/checkboxs/CheckBox1.jsx +15 -0
- package/dist/components/Daeryuntalk/_ui/checkboxs/CheckBox1.tsx +38 -0
- package/dist/components/Seo/SeoConsulting.jsx +2 -2
- package/dist/components/Seo/SeoConsulting.tsx +2 -2
- package/dist/components/common/integrate/index.d.ts +1 -1
- package/dist/components/common/types/strength_new/index.d.ts +3 -0
- package/dist/components/common/types/strength_new/index.ts +3 -0
- package/dist/components/page/Choice/Choice.jsx +9 -4
- package/dist/components/page/Choice/Choice.tsx +9 -4
- package/dist/components/page/Integrate/Broadcast.jsx +6 -10
- package/dist/components/page/Integrate/Broadcast.tsx +6 -11
- package/dist/components/page/Integrate/Field.jsx +7 -11
- package/dist/components/page/Integrate/Field.tsx +7 -12
- package/dist/components/page/Integrate/LawInfo.jsx +6 -10
- package/dist/components/page/Integrate/LawInfo.tsx +6 -11
- package/dist/components/page/Integrate/Lawyer.jsx +6 -10
- package/dist/components/page/Integrate/Lawyer.tsx +6 -11
- package/dist/components/page/Integrate/Map.jsx +3 -7
- package/dist/components/page/Integrate/Map.tsx +3 -8
- package/dist/components/page/Integrate/Reply.jsx +6 -10
- package/dist/components/page/Integrate/Reply.tsx +7 -11
- package/dist/components/page/Integrate/Success.jsx +6 -10
- package/dist/components/page/Integrate/Success.tsx +6 -11
- package/dist/components/page/Integrate/Title.jsx +28 -12
- package/dist/components/page/Integrate/Title.tsx +28 -28
- package/dist/components/page/StrengthNew/StrengthNew.jsx +2 -0
- package/dist/components/page/StrengthNew/StrengthNew.tsx +6 -0
- package/dist/components/page/StrengthNew/components/common/LawyerSection.jsx +1 -2
- package/dist/components/page/StrengthNew/components/common/LawyerSection.tsx +8 -2
- package/dist/styles/globals.css +399 -370
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -37,7 +37,7 @@ const Success = (props: {
|
|
|
37
37
|
const itemsToAdd = 4;
|
|
38
38
|
|
|
39
39
|
// successList에서 잘라낼 시작 인덱스 계산
|
|
40
|
-
const startIndex =
|
|
40
|
+
const startIndex = allTabList.length;
|
|
41
41
|
const endIndex = startIndex + itemsToAdd;
|
|
42
42
|
const newItems = list.successList.slice(startIndex, endIndex);
|
|
43
43
|
const updatedList = [...allTabList, ...newItems];
|
|
@@ -59,10 +59,10 @@ const Success = (props: {
|
|
|
59
59
|
};
|
|
60
60
|
|
|
61
61
|
useEffect(() => {
|
|
62
|
-
if (allTabList.length
|
|
63
|
-
setAllTabList(list.successList.slice(0, 2));
|
|
62
|
+
if (allTabList.length <= 4) {
|
|
63
|
+
setAllTabList(list.successList.slice(0, isMobileSize ? 2 : 4));
|
|
64
64
|
}
|
|
65
|
-
}, [list.successList]);
|
|
65
|
+
}, [list.successList, isMobileSize]);
|
|
66
66
|
|
|
67
67
|
return (
|
|
68
68
|
<>
|
|
@@ -82,12 +82,7 @@ const Success = (props: {
|
|
|
82
82
|
/>
|
|
83
83
|
{list.successList?.length !== 0 && (
|
|
84
84
|
<div className={'mb-9 mt-9 grid gap-[30px] sm:grid-cols-2'}>
|
|
85
|
-
{(tab === '전체'
|
|
86
|
-
? isMobileSize === true
|
|
87
|
-
? allTabList
|
|
88
|
-
: list.successList.slice(0, 4)
|
|
89
|
-
: list.successList
|
|
90
|
-
).map((item, index) => {
|
|
85
|
+
{(tab === '전체' ? allTabList : list.successList).map((item, index) => {
|
|
91
86
|
return (
|
|
92
87
|
<Link
|
|
93
88
|
href={
|
|
@@ -170,7 +165,7 @@ const Success = (props: {
|
|
|
170
165
|
}}
|
|
171
166
|
/>
|
|
172
167
|
)}{' '}
|
|
173
|
-
{tab === '전체' &&
|
|
168
|
+
{tab === '전체' && (
|
|
174
169
|
<ViewMore
|
|
175
170
|
flag={allTabList.length != listCount.success}
|
|
176
171
|
func={() => {
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import Image from 'next/image';
|
|
2
1
|
import React from 'react';
|
|
3
|
-
import Link from 'next/link';
|
|
4
2
|
import { useSearchParams } from 'next/navigation';
|
|
5
3
|
export const Title = (props) => {
|
|
6
4
|
const searchParams = useSearchParams();
|
|
@@ -14,16 +12,34 @@ export const Title = (props) => {
|
|
|
14
12
|
({props.count.toLocaleString()})
|
|
15
13
|
</span>)}
|
|
16
14
|
</p>
|
|
17
|
-
{props.tab === '전체' && !props.noMoreView && (
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
15
|
+
{/*{props.tab === '전체' && !props.noMoreView && (*/}
|
|
16
|
+
{/* <Link*/}
|
|
17
|
+
{/* aria-label={props.type + '탭으로 이동'}*/}
|
|
18
|
+
{/* href={`/integrate?search=${querySearch}&tab=${props.type}`}*/}
|
|
19
|
+
{/* tabIndex={0}*/}
|
|
20
|
+
{/* className={*/}
|
|
21
|
+
{/* 'flex cursor-pointer items-center justify-between text-black sm:mt-3 lg:mt-6 xl:mt-7 '*/}
|
|
22
|
+
{/* }*/}
|
|
23
|
+
{/* onClick={() => {*/}
|
|
24
|
+
{/* props.onClick(props.type);*/}
|
|
25
|
+
{/* }}*/}
|
|
26
|
+
{/* onKeyDown={(e: any) => {*/}
|
|
27
|
+
{/* if (e.key === 'Enter') {*/}
|
|
28
|
+
{/* props.onClick(props.type);*/}
|
|
29
|
+
{/* }*/}
|
|
30
|
+
{/* }}*/}
|
|
31
|
+
{/* >*/}
|
|
32
|
+
{/* <span className={'mt-[1px] max-sm:hidden'}>더보기</span>*/}
|
|
33
|
+
{/* <Image*/}
|
|
34
|
+
{/* src={'/images/integrate/right.webp'}*/}
|
|
35
|
+
{/* alt={''}*/}
|
|
36
|
+
{/* title={''}*/}
|
|
37
|
+
{/* width={30}*/}
|
|
38
|
+
{/* height={30}*/}
|
|
39
|
+
{/* className={'ml-3 h-[14px] w-[22px]'}*/}
|
|
40
|
+
{/* />*/}
|
|
41
|
+
{/* </Link>*/}
|
|
42
|
+
{/*)}*/}
|
|
27
43
|
</div>
|
|
28
44
|
<div className={'border-b-[2px] border-solid border-[#B5B5B5] ' + `${props.noUnderBorder ? 'hidden' : ''}`}></div>
|
|
29
45
|
</div>);
|
|
@@ -29,34 +29,34 @@ export const Title = (props: {
|
|
|
29
29
|
</span>
|
|
30
30
|
)}
|
|
31
31
|
</p>
|
|
32
|
-
{props.tab === '전체' && !props.noMoreView && (
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
)}
|
|
32
|
+
{/*{props.tab === '전체' && !props.noMoreView && (*/}
|
|
33
|
+
{/* <Link*/}
|
|
34
|
+
{/* aria-label={props.type + '탭으로 이동'}*/}
|
|
35
|
+
{/* href={`/integrate?search=${querySearch}&tab=${props.type}`}*/}
|
|
36
|
+
{/* tabIndex={0}*/}
|
|
37
|
+
{/* className={*/}
|
|
38
|
+
{/* 'flex cursor-pointer items-center justify-between text-black sm:mt-3 lg:mt-6 xl:mt-7 '*/}
|
|
39
|
+
{/* }*/}
|
|
40
|
+
{/* onClick={() => {*/}
|
|
41
|
+
{/* props.onClick(props.type);*/}
|
|
42
|
+
{/* }}*/}
|
|
43
|
+
{/* onKeyDown={(e: any) => {*/}
|
|
44
|
+
{/* if (e.key === 'Enter') {*/}
|
|
45
|
+
{/* props.onClick(props.type);*/}
|
|
46
|
+
{/* }*/}
|
|
47
|
+
{/* }}*/}
|
|
48
|
+
{/* >*/}
|
|
49
|
+
{/* <span className={'mt-[1px] max-sm:hidden'}>더보기</span>*/}
|
|
50
|
+
{/* <Image*/}
|
|
51
|
+
{/* src={'/images/integrate/right.webp'}*/}
|
|
52
|
+
{/* alt={''}*/}
|
|
53
|
+
{/* title={''}*/}
|
|
54
|
+
{/* width={30}*/}
|
|
55
|
+
{/* height={30}*/}
|
|
56
|
+
{/* className={'ml-3 h-[14px] w-[22px]'}*/}
|
|
57
|
+
{/* />*/}
|
|
58
|
+
{/* </Link>*/}
|
|
59
|
+
{/*)}*/}
|
|
60
60
|
</div>
|
|
61
61
|
<div
|
|
62
62
|
className={'border-b-[2px] border-solid border-[#B5B5B5] ' + `${props.noUnderBorder ? 'hidden' : ''}`}
|
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
import BannerSection from './components/common/BannerSection';
|
|
3
3
|
import IntroSection from './components/main/IntroSection';
|
|
4
4
|
import ViewMoreSection from './components/common/ViewMoreSection';
|
|
5
|
+
import LawyerSection from './components/common/LawyerSection';
|
|
5
6
|
const StrengthNew = ({ data, common, initialData }) => {
|
|
6
7
|
return (<div className={'font-[NotoSansKR]'}>
|
|
7
8
|
<BannerSection title={data.title_1} subTitle={data.title_2} menu={common.menu} initialData={initialData}/>
|
|
8
9
|
<IntroSection data={data}/>
|
|
9
10
|
<ViewMoreSection view_more_section_title={common.view_more_section_title} view_more_list={common.view_more_list} initialData={initialData}/>
|
|
11
|
+
<LawyerSection lawyer_title_1={data.lawyer_title_1} lawyer_title_2={data.lawyer_title_2} lawyer_link_list={data.lawyer_link_list}/>
|
|
10
12
|
</div>);
|
|
11
13
|
};
|
|
12
14
|
export default StrengthNew;
|
|
@@ -4,6 +4,7 @@ import { IInitialDataTypes } from '../../common';
|
|
|
4
4
|
import BannerSection from './components/common/BannerSection';
|
|
5
5
|
import IntroSection from './components/main/IntroSection';
|
|
6
6
|
import ViewMoreSection from './components/common/ViewMoreSection';
|
|
7
|
+
import LawyerSection from './components/common/LawyerSection';
|
|
7
8
|
const StrengthNew = ({
|
|
8
9
|
data,
|
|
9
10
|
common,
|
|
@@ -22,6 +23,11 @@ const StrengthNew = ({
|
|
|
22
23
|
view_more_list={common.view_more_list}
|
|
23
24
|
initialData={initialData}
|
|
24
25
|
/>
|
|
26
|
+
<LawyerSection
|
|
27
|
+
lawyer_title_1={data.lawyer_title_1}
|
|
28
|
+
lawyer_title_2={data.lawyer_title_2}
|
|
29
|
+
lawyer_link_list={data.lawyer_link_list}
|
|
30
|
+
/>
|
|
25
31
|
</div>
|
|
26
32
|
);
|
|
27
33
|
};
|
|
@@ -24,8 +24,7 @@ const LawyerSection = ({ lawyer_title_1, lawyer_title_2, lawyer_link_list }) =>
|
|
|
24
24
|
'max-md:pl-5 max-md:leading-[1.3] '}>
|
|
25
25
|
<p className={'tracking-[-0.04em]'} dangerouslySetInnerHTML={{ __html: lawyer_title_1 }}/>
|
|
26
26
|
|
|
27
|
-
{
|
|
28
|
-
{pathname.includes('people') ? (<p className={'pl-[245px] tracking-[-0.04em] max-3xl:pl-[195px] max-xl:pl-[172px] max-lg:pl-[70px] max-md:mt-[10px] max-md:pl-0'} dangerouslySetInnerHTML={{ __html: lawyer_title_2 }}/>) : pathname.includes('infra') ? (<p className={'pl-[92px] tracking-[-0.04em] max-3xl:pl-[76px] max-xl:pl-[67px] max-lg:pl-[55px] max-[850px]:pl-0 max-md:mt-[10px] max-md:pl-0'} dangerouslySetInnerHTML={{ __html: lawyer_title_2 }}/>) : pathname.includes('customer') ? (<p className={'pl-[284px] tracking-[-0.04em] max-3xl:pl-[226px] max-xl:pl-[196px] max-lg:pl-[91px] max-md:mt-[10px] max-md:pl-0'} dangerouslySetInnerHTML={{ __html: lawyer_title_2 }}/>) : (
|
|
27
|
+
{pathname === '/strength' ? (<p className={'pl-[116px] tracking-[-0.04em] max-3xl:pl-[92px] max-xl:pl-[80px] max-lg:pl-[70px] max-md:mt-[10px] max-md:pl-0'} dangerouslySetInnerHTML={{ __html: lawyer_title_2 }}/>) : pathname.includes('people') ? (<p className={'pl-[245px] tracking-[-0.04em] max-3xl:pl-[195px] max-xl:pl-[172px] max-lg:pl-[70px] max-md:mt-[10px] max-md:pl-0'} dangerouslySetInnerHTML={{ __html: lawyer_title_2 }}/>) : pathname.includes('infra') ? (<p className={'pl-[92px] tracking-[-0.04em] max-3xl:pl-[76px] max-xl:pl-[67px] max-lg:pl-[55px] max-[850px]:pl-0 max-md:mt-[10px] max-md:pl-0'} dangerouslySetInnerHTML={{ __html: lawyer_title_2 }}/>) : pathname.includes('customer') ? (<p className={'pl-[284px] tracking-[-0.04em] max-3xl:pl-[226px] max-xl:pl-[196px] max-lg:pl-[91px] max-md:mt-[10px] max-md:pl-0'} dangerouslySetInnerHTML={{ __html: lawyer_title_2 }}/>) : (
|
|
29
28
|
// 사건 처리 시스템
|
|
30
29
|
<p className={'pl-[215px] tracking-[-0.04em] max-3xl:pl-[171px] max-xl:pl-[147px] max-lg:pl-[52px] max-md:mt-[10px] max-md:pl-0'} dangerouslySetInnerHTML={{ __html: lawyer_title_2 }}/>)}
|
|
31
30
|
</div>
|
|
@@ -73,8 +73,14 @@ const LawyerSection = ({
|
|
|
73
73
|
>
|
|
74
74
|
<p className={'tracking-[-0.04em]'} dangerouslySetInnerHTML={{ __html: lawyer_title_1 }} />
|
|
75
75
|
|
|
76
|
-
{
|
|
77
|
-
|
|
76
|
+
{pathname === '/strength' ? (
|
|
77
|
+
<p
|
|
78
|
+
className={
|
|
79
|
+
'pl-[116px] tracking-[-0.04em] max-3xl:pl-[92px] max-xl:pl-[80px] max-lg:pl-[70px] max-md:mt-[10px] max-md:pl-0'
|
|
80
|
+
}
|
|
81
|
+
dangerouslySetInnerHTML={{ __html: lawyer_title_2 }}
|
|
82
|
+
/>
|
|
83
|
+
) : pathname.includes('people') ? (
|
|
78
84
|
<p
|
|
79
85
|
className={
|
|
80
86
|
'pl-[245px] tracking-[-0.04em] max-3xl:pl-[195px] max-xl:pl-[172px] max-lg:pl-[70px] max-md:mt-[10px] max-md:pl-0'
|