@daeryun/dr_components 0.2.96 → 0.2.98
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/components/page/index.d.ts +0 -4
- package/dist/components/page/index.js +0 -4
- package/dist/components/page/index.ts +0 -4
- package/dist/styles/globals.css +115 -2077
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/components/page/MyCase/MyCase.stories.d.ts +0 -6
- package/dist/components/page/MyCase/MyCase.stories.jsx +0 -17
- package/dist/components/page/MyCase/MyCase.stories.tsx +0 -25
- package/dist/components/page/MyCase/MyCaseApp.d.ts +0 -2
- package/dist/components/page/MyCase/MyCaseApp.jsx +0 -19
- package/dist/components/page/MyCase/MyCaseApp.tsx +0 -32
- package/dist/components/page/MyCase/MyCasePage.d.ts +0 -3
- package/dist/components/page/MyCase/MyCasePage.jsx +0 -21
- package/dist/components/page/MyCase/MyCasePage.tsx +0 -32
- package/dist/components/page/MyCase/[id]/MyCaseDetail.stories.d.ts +0 -6
- package/dist/components/page/MyCase/[id]/MyCaseDetail.stories.jsx +0 -17
- package/dist/components/page/MyCase/[id]/MyCaseDetail.stories.tsx +0 -25
- package/dist/components/page/MyCase/[id]/MyCaseDetailApp.d.ts +0 -3
- package/dist/components/page/MyCase/[id]/MyCaseDetailApp.jsx +0 -66
- package/dist/components/page/MyCase/[id]/MyCaseDetailApp.tsx +0 -159
- package/dist/components/page/MyCase/[id]/MyCaseDetailPage.d.ts +0 -3
- package/dist/components/page/MyCase/[id]/MyCaseDetailPage.jsx +0 -65
- package/dist/components/page/MyCase/[id]/MyCaseDetailPage.tsx +0 -157
- package/dist/components/page/MyCase/[id]/_component/ContactInfo.d.ts +0 -2
- package/dist/components/page/MyCase/[id]/_component/ContactInfo.jsx +0 -79
- package/dist/components/page/MyCase/[id]/_component/ContactInfo.tsx +0 -102
- package/dist/components/page/MyCase/[id]/_component/DetailInfo.d.ts +0 -6
- package/dist/components/page/MyCase/[id]/_component/DetailInfo.jsx +0 -44
- package/dist/components/page/MyCase/[id]/_component/DetailInfo.tsx +0 -94
- package/dist/components/page/MyCase/[id]/_component/TimeLine.d.ts +0 -6
- package/dist/components/page/MyCase/[id]/_component/TimeLine.jsx +0 -46
- package/dist/components/page/MyCase/[id]/_component/TimeLine.tsx +0 -72
- package/dist/components/page/MyCase/[id]/_component/_caseInquiry/CaseInquiry.d.ts +0 -11
- package/dist/components/page/MyCase/[id]/_component/_caseInquiry/CaseInquiry.jsx +0 -80
- package/dist/components/page/MyCase/[id]/_component/_caseInquiry/CaseInquiry.tsx +0 -188
- package/dist/components/page/MyCase/[id]/_component/_document/Document.d.ts +0 -6
- package/dist/components/page/MyCase/[id]/_component/_document/Document.jsx +0 -35
- package/dist/components/page/MyCase/[id]/_component/_document/Document.tsx +0 -59
- package/dist/components/page/MyCase/[id]/_component/_document/DocumentLine.d.ts +0 -6
- package/dist/components/page/MyCase/[id]/_component/_document/DocumentLine.jsx +0 -76
- package/dist/components/page/MyCase/[id]/_component/_document/DocumentLine.tsx +0 -94
- package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryAddModal.d.ts +0 -7
- package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryAddModal.jsx +0 -107
- package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryAddModal.tsx +0 -150
- package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryConfirmModal.d.ts +0 -7
- package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryConfirmModal.jsx +0 -25
- package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryConfirmModal.tsx +0 -55
- package/dist/components/page/MyCase/[id]/_component/_modal/ModalCotainer.d.ts +0 -7
- package/dist/components/page/MyCase/[id]/_component/_modal/ModalCotainer.jsx +0 -26
- package/dist/components/page/MyCase/[id]/_component/_modal/ModalCotainer.tsx +0 -39
- package/dist/components/page/MyCase/[id]/_component/_textarea/TextArea.d.ts +0 -7
- package/dist/components/page/MyCase/[id]/_component/_textarea/TextArea.jsx +0 -4
- package/dist/components/page/MyCase/[id]/_component/_textarea/TextArea.tsx +0 -24
- package/dist/components/page/MyCase/_actions/action.d.ts +0 -35
- package/dist/components/page/MyCase/_actions/action.js +0 -145
- package/dist/components/page/MyCase/_actions/action.ts +0 -165
- package/dist/components/page/MyCase/_component/CaseAppContainer.d.ts +0 -2
- package/dist/components/page/MyCase/_component/CaseAppContainer.jsx +0 -117
- package/dist/components/page/MyCase/_component/CaseAppContainer.tsx +0 -255
- package/dist/components/page/MyCase/_component/CasePageContainer.d.ts +0 -2
- package/dist/components/page/MyCase/_component/CasePageContainer.jsx +0 -106
- package/dist/components/page/MyCase/_component/CasePageContainer.tsx +0 -244
- package/dist/components/page/MyCase/_component/_breadCrumble/CategoryMenuApp.d.ts +0 -7
- package/dist/components/page/MyCase/_component/_breadCrumble/CategoryMenuApp.jsx +0 -47
- package/dist/components/page/MyCase/_component/_breadCrumble/CategoryMenuApp.tsx +0 -77
- package/dist/components/page/MyCase/_component/_breadCrumble/CategoryMenuPage.d.ts +0 -8
- package/dist/components/page/MyCase/_component/_breadCrumble/CategoryMenuPage.jsx +0 -47
- package/dist/components/page/MyCase/_component/_breadCrumble/CategoryMenuPage.tsx +0 -77
- package/dist/components/page/MyCase/_component/_button/Badge.d.ts +0 -14
- package/dist/components/page/MyCase/_component/_button/Badge.jsx +0 -16
- package/dist/components/page/MyCase/_component/_button/Badge.tsx +0 -22
- package/dist/components/page/MyCase/_component/_button/SubColor1Button.d.ts +0 -7
- package/dist/components/page/MyCase/_component/_button/SubColor1Button.jsx +0 -9
- package/dist/components/page/MyCase/_component/_button/SubColor1Button.tsx +0 -33
- package/dist/components/page/MyCase/_component/_button/SubMenuButton.d.ts +0 -7
- package/dist/components/page/MyCase/_component/_button/SubMenuButton.jsx +0 -9
- package/dist/components/page/MyCase/_component/_button/SubMenuButton.tsx +0 -31
- package/dist/components/page/MyCase/_component/_empty/EmptyTable.d.ts +0 -6
- package/dist/components/page/MyCase/_component/_empty/EmptyTable.jsx +0 -75
- package/dist/components/page/MyCase/_component/_empty/EmptyTable.tsx +0 -85
- package/dist/components/page/MyCase/_component/_layout/CaseLayout.d.ts +0 -7
- package/dist/components/page/MyCase/_component/_layout/CaseLayout.jsx +0 -11
- package/dist/components/page/MyCase/_component/_layout/CaseLayout.tsx +0 -29
- package/dist/components/page/MyCase/_component/_layout/CaseWrapper.d.ts +0 -12
- package/dist/components/page/MyCase/_component/_layout/CaseWrapper.jsx +0 -25
- package/dist/components/page/MyCase/_component/_layout/CaseWrapper.tsx +0 -41
- package/dist/components/page/MyCase/_component/_layout/HeaderLayout.d.ts +0 -4
- package/dist/components/page/MyCase/_component/_layout/HeaderLayout.jsx +0 -4
- package/dist/components/page/MyCase/_component/_layout/HeaderLayout.tsx +0 -5
- package/dist/components/page/MyCase/_component/_layout/IntroAppWrapper.d.ts +0 -10
- package/dist/components/page/MyCase/_component/_layout/IntroAppWrapper.jsx +0 -29
- package/dist/components/page/MyCase/_component/_layout/IntroAppWrapper.tsx +0 -80
- package/dist/components/page/MyCase/_component/_layout/IntroPageWrapper.d.ts +0 -10
- package/dist/components/page/MyCase/_component/_layout/IntroPageWrapper.jsx +0 -31
- package/dist/components/page/MyCase/_component/_layout/IntroPageWrapper.tsx +0 -81
- package/dist/components/page/MyCase/_component/_loading/Loading.d.ts +0 -2
- package/dist/components/page/MyCase/_component/_loading/Loading.jsx +0 -89
- package/dist/components/page/MyCase/_component/_loading/Loading.tsx +0 -92
- package/dist/components/page/MyCase/_component/_pagination/PaginationComponentApp.d.ts +0 -10
- package/dist/components/page/MyCase/_component/_pagination/PaginationComponentApp.jsx +0 -82
- package/dist/components/page/MyCase/_component/_pagination/PaginationComponentApp.tsx +0 -137
- package/dist/components/page/MyCase/_component/_pagination/PaginationComponentPage.d.ts +0 -10
- package/dist/components/page/MyCase/_component/_pagination/PaginationComponentPage.jsx +0 -81
- package/dist/components/page/MyCase/_component/_pagination/PaginationComponentPage.tsx +0 -135
- package/dist/components/page/MyCase/_component/_table/CaseTabSwiper.d.ts +0 -9
- package/dist/components/page/MyCase/_component/_table/CaseTabSwiper.jsx +0 -65
- package/dist/components/page/MyCase/_component/_table/CaseTabSwiper.tsx +0 -79
- package/dist/components/page/MyCase/_component/_table/CaseTable.d.ts +0 -9
- package/dist/components/page/MyCase/_component/_table/CaseTable.jsx +0 -63
- package/dist/components/page/MyCase/_component/_table/CaseTable.tsx +0 -94
- package/dist/components/page/MyCase/_component/_table/CaseTableMo.d.ts +0 -9
- package/dist/components/page/MyCase/_component/_table/CaseTableMo.jsx +0 -11
- package/dist/components/page/MyCase/_component/_table/CaseTableMo.tsx +0 -28
- package/dist/components/page/MyCase/_component/_table/CaseTableMoBox.d.ts +0 -5
- package/dist/components/page/MyCase/_component/_table/CaseTableMoBox.jsx +0 -35
- package/dist/components/page/MyCase/_component/_table/CaseTableMoBox.tsx +0 -43
- package/dist/components/page/MyCase/_component/_table/CaseTableMoPage.d.ts +0 -9
- package/dist/components/page/MyCase/_component/_table/CaseTableMoPage.jsx +0 -11
- package/dist/components/page/MyCase/_component/_table/CaseTableMoPage.tsx +0 -28
- package/dist/components/page/MyCase/_fetchers/addMyCaseQuestion.d.ts +0 -6
- package/dist/components/page/MyCase/_fetchers/addMyCaseQuestion.js +0 -31
- package/dist/components/page/MyCase/_fetchers/addMyCaseQuestion.ts +0 -22
- package/dist/components/page/MyCase/_fetchers/getCase.d.ts +0 -5
- package/dist/components/page/MyCase/_fetchers/getCase.js +0 -30
- package/dist/components/page/MyCase/_fetchers/getCase.ts +0 -21
- package/dist/components/page/MyCase/_fetchers/getCaseList.d.ts +0 -7
- package/dist/components/page/MyCase/_fetchers/getCaseList.js +0 -30
- package/dist/components/page/MyCase/_fetchers/getCaseList.ts +0 -24
- package/dist/components/page/MyCase/_fetchers/getCourtFileList.d.ts +0 -5
- package/dist/components/page/MyCase/_fetchers/getCourtFileList.js +0 -30
- package/dist/components/page/MyCase/_fetchers/getCourtFileList.ts +0 -21
- package/dist/components/page/MyCase/_fetchers/getMyCaseQuestion.d.ts +0 -7
- package/dist/components/page/MyCase/_fetchers/getMyCaseQuestion.js +0 -30
- package/dist/components/page/MyCase/_fetchers/getMyCaseQuestion.ts +0 -24
- package/dist/components/page/MyCase/_fetchers/getMyFileList.d.ts +0 -5
- package/dist/components/page/MyCase/_fetchers/getMyFileList.js +0 -30
- package/dist/components/page/MyCase/_fetchers/getMyFileList.ts +0 -21
- package/dist/components/page/MyCase/_fetchers/getTimeLine.d.ts +0 -5
- package/dist/components/page/MyCase/_fetchers/getTimeLine.js +0 -30
- package/dist/components/page/MyCase/_fetchers/getTimeLine.ts +0 -21
- package/dist/components/page/MyCase/_lib/catagoryMenuName.d.ts +0 -8
- package/dist/components/page/MyCase/_lib/catagoryMenuName.js +0 -8
- package/dist/components/page/MyCase/_lib/catagoryMenuName.ts +0 -11
- package/dist/components/page/MyCase/_lib/catagoryMenuNameApp.d.ts +0 -7
- package/dist/components/page/MyCase/_lib/catagoryMenuNameApp.js +0 -8
- package/dist/components/page/MyCase/_lib/catagoryMenuNameApp.ts +0 -11
- package/dist/components/page/MyCase/_lib/pagination/locale/ko_KR.d.ts +0 -15
- package/dist/components/page/MyCase/_lib/pagination/locale/ko_KR.js +0 -21
- package/dist/components/page/MyCase/_type/type.d.ts +0 -73
- package/dist/components/page/MyCase/_type/type.js +0 -1
- package/dist/components/page/MyCase/_type/type.ts +0 -81
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { twMerge } from 'tailwind-merge';
|
|
2
|
-
|
|
3
|
-
const SubMenuButton = ({
|
|
4
|
-
onClick,
|
|
5
|
-
title,
|
|
6
|
-
isSelected,
|
|
7
|
-
outerClassName
|
|
8
|
-
}: {
|
|
9
|
-
onClick: () => void;
|
|
10
|
-
title: string;
|
|
11
|
-
isSelected: boolean;
|
|
12
|
-
outerClassName?: string;
|
|
13
|
-
}) => {
|
|
14
|
-
return (
|
|
15
|
-
<button
|
|
16
|
-
className={twMerge(
|
|
17
|
-
`swiper-slide sm-top:h-[39px] sm-top:px-[16px] sm-top:body_large2_tb lg:body_medium2 flex h-[34px] w-fit items-center justify-center rounded-[20px] px-[16px] transition-all duration-300 lg:h-[41px] lg:px-[20px] ${isSelected ? 'bg-grayScale1' : 'bg-transparent'}`,
|
|
18
|
-
outerClassName
|
|
19
|
-
)}
|
|
20
|
-
onClick={onClick}
|
|
21
|
-
>
|
|
22
|
-
<p
|
|
23
|
-
className={`label_large2_mo sm-top:label_large2_tb lg:label_large2 ${isSelected ? 'text-white' : 'text-black'}`}
|
|
24
|
-
>
|
|
25
|
-
{title}
|
|
26
|
-
</p>
|
|
27
|
-
</button>
|
|
28
|
-
);
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
export default SubMenuButton;
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import Image from 'next/image';
|
|
2
|
-
import caseIcon1 from '../../../../../asset/images/myCase/icon/case_icon1.webp';
|
|
3
|
-
import caseIcon2 from '../../../../../asset/images/myCase/icon/case_icon2.webp';
|
|
4
|
-
import caseIcon3 from '../../../../../asset/images/myCase/icon/case_icon3.webp';
|
|
5
|
-
import caseIcon4 from '../../../../../asset/images/myCase/icon/case_icon4.webp';
|
|
6
|
-
import caseIcon5 from '../../../../../asset/images/myCase/icon/case_icon5.webp';
|
|
7
|
-
const titleList = {
|
|
8
|
-
ongoing: {
|
|
9
|
-
0: {
|
|
10
|
-
title: '아직 의뢰한 사건이 없어요.',
|
|
11
|
-
subTitle: '상담을 접수하시면 법률 상담을 도와드릴게요!',
|
|
12
|
-
img: caseIcon1,
|
|
13
|
-
width: 'w-[36px] sm-top:w-[43.2px] lg:w-[60px] ',
|
|
14
|
-
height: 'h-[40px] sm-top:h-[48px] lg:h-[66px] ',
|
|
15
|
-
marginTop: 'mt-[60px] sm-top:mt-[80px] lg:mt-[85px] '
|
|
16
|
-
},
|
|
17
|
-
1: {
|
|
18
|
-
title: '해당 사건이 없어요.',
|
|
19
|
-
subTitle: '',
|
|
20
|
-
img: caseIcon2,
|
|
21
|
-
width: 'w-[35.64px] sm-top:w-[44.13px] lg:w-[66px] ',
|
|
22
|
-
height: 'h-[39.6px] sm-top:h-[49.03px] lg:h-[66px] ',
|
|
23
|
-
marginTop: 'mt-[71.24px] sm-top:mt-[96.53px] lg:mt-[105px]'
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
closed: {
|
|
27
|
-
0: {
|
|
28
|
-
title: '종결된 사건이 없어요.',
|
|
29
|
-
subTitle: '',
|
|
30
|
-
img: caseIcon3,
|
|
31
|
-
width: 'w-[37.8px] sm-top:w-[44px] lg:w-[59.4px] ',
|
|
32
|
-
height: 'h-[42px] sm-top:h-[48.88px] lg:h-[66px] ',
|
|
33
|
-
marginTop: 'mt-[70px] sm-top:mt-[95px] lg:mt-[103px]'
|
|
34
|
-
},
|
|
35
|
-
1: {
|
|
36
|
-
title: '종결된 사건이 없어요.',
|
|
37
|
-
subTitle: '',
|
|
38
|
-
img: caseIcon3,
|
|
39
|
-
width: 'w-[37.8px] sm-top:w-[44px] lg:w-[59.4px] ',
|
|
40
|
-
height: 'h-[42px] sm-top:h-[48.88px] lg:h-[66px] ',
|
|
41
|
-
marginTop: 'mt-[70px] sm-top:mt-[95px] lg:mt-[103px]'
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
file: {
|
|
45
|
-
0: {
|
|
46
|
-
title: '현재 제출한 문서가 없어요.',
|
|
47
|
-
subTitle: '',
|
|
48
|
-
img: caseIcon4,
|
|
49
|
-
width: 'w-[39.9px] sm-top:w-[49.4px] lg:w-[62.7px] ',
|
|
50
|
-
height: 'h-[42px] sm-top:h-[52px] lg:h-[66px] ',
|
|
51
|
-
marginTop: 'mt-[36px] sm-top:mt-[83px] lg:mt-[67px]'
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
caseInquiry: {
|
|
55
|
-
0: {
|
|
56
|
-
title: '문의한 내역이 없어요.',
|
|
57
|
-
subTitle: '',
|
|
58
|
-
img: caseIcon5,
|
|
59
|
-
width: 'w-[42px] sm-top:w-[52px] lg:w-[66px] ',
|
|
60
|
-
height: 'h-[42px] sm-top:h-[52px] lg:h-[66px] ',
|
|
61
|
-
marginTop: 'mt-[84px] sm-top:mt-[106px] lg:mt-[76px]'
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
const EmptyTable = ({ tap, subTap, isMinHeight = true }) => {
|
|
66
|
-
const { title, subTitle, img, width, height, marginTop } = titleList[tap][subTap];
|
|
67
|
-
return (<div className={`sm-top:gap-[20px] flex gap-[14px] ${isMinHeight ? 'min-h-[350px]' : ''} w-full flex-col items-center lg:gap-[40px] ${marginTop}`}>
|
|
68
|
-
<Image src={img} alt="case_icon" width={60} height={60} className={`${width} ${height}`}/>
|
|
69
|
-
<div className="flex flex-col items-center justify-center ">
|
|
70
|
-
<p className="body_medium1_mo sm-top:body_medium1_tb lg:body_medium1">{title}</p>
|
|
71
|
-
{subTitle && <p className="body_medium1_mo sm-top:body_medium1_tb lg:body_medium1">{subTitle}</p>}
|
|
72
|
-
</div>
|
|
73
|
-
</div>);
|
|
74
|
-
};
|
|
75
|
-
export default EmptyTable;
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import Image from 'next/image';
|
|
2
|
-
import caseIcon1 from '../../../../../asset/images/myCase/icon/case_icon1.webp';
|
|
3
|
-
import caseIcon2 from '../../../../../asset/images/myCase/icon/case_icon2.webp';
|
|
4
|
-
import caseIcon3 from '../../../../../asset/images/myCase/icon/case_icon3.webp';
|
|
5
|
-
import caseIcon4 from '../../../../../asset/images/myCase/icon/case_icon4.webp';
|
|
6
|
-
import caseIcon5 from '../../../../../asset/images/myCase/icon/case_icon5.webp';
|
|
7
|
-
|
|
8
|
-
const titleList = {
|
|
9
|
-
ongoing: {
|
|
10
|
-
0: {
|
|
11
|
-
title: '아직 의뢰한 사건이 없어요.',
|
|
12
|
-
subTitle: '상담을 접수하시면 법률 상담을 도와드릴게요!',
|
|
13
|
-
img: caseIcon1,
|
|
14
|
-
width: 'w-[36px] sm-top:w-[43.2px] lg:w-[60px] ',
|
|
15
|
-
height: 'h-[40px] sm-top:h-[48px] lg:h-[66px] ',
|
|
16
|
-
marginTop: 'mt-[60px] sm-top:mt-[80px] lg:mt-[85px] '
|
|
17
|
-
},
|
|
18
|
-
1: {
|
|
19
|
-
title: '해당 사건이 없어요.',
|
|
20
|
-
subTitle: '',
|
|
21
|
-
img: caseIcon2,
|
|
22
|
-
width: 'w-[35.64px] sm-top:w-[44.13px] lg:w-[66px] ',
|
|
23
|
-
height: 'h-[39.6px] sm-top:h-[49.03px] lg:h-[66px] ',
|
|
24
|
-
marginTop: 'mt-[71.24px] sm-top:mt-[96.53px] lg:mt-[105px]'
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
closed: {
|
|
28
|
-
0: {
|
|
29
|
-
title: '종결된 사건이 없어요.',
|
|
30
|
-
subTitle: '',
|
|
31
|
-
img: caseIcon3,
|
|
32
|
-
width: 'w-[37.8px] sm-top:w-[44px] lg:w-[59.4px] ',
|
|
33
|
-
height: 'h-[42px] sm-top:h-[48.88px] lg:h-[66px] ',
|
|
34
|
-
marginTop: 'mt-[70px] sm-top:mt-[95px] lg:mt-[103px]'
|
|
35
|
-
},
|
|
36
|
-
1: {
|
|
37
|
-
title: '종결된 사건이 없어요.',
|
|
38
|
-
subTitle: '',
|
|
39
|
-
img: caseIcon3,
|
|
40
|
-
width: 'w-[37.8px] sm-top:w-[44px] lg:w-[59.4px] ',
|
|
41
|
-
height: 'h-[42px] sm-top:h-[48.88px] lg:h-[66px] ',
|
|
42
|
-
marginTop: 'mt-[70px] sm-top:mt-[95px] lg:mt-[103px]'
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
file: {
|
|
46
|
-
0: {
|
|
47
|
-
title: '현재 제출한 문서가 없어요.',
|
|
48
|
-
subTitle: '',
|
|
49
|
-
img: caseIcon4,
|
|
50
|
-
width: 'w-[39.9px] sm-top:w-[49.4px] lg:w-[62.7px] ',
|
|
51
|
-
height: 'h-[42px] sm-top:h-[52px] lg:h-[66px] ',
|
|
52
|
-
marginTop: 'mt-[36px] sm-top:mt-[83px] lg:mt-[67px]'
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
caseInquiry: {
|
|
56
|
-
0: {
|
|
57
|
-
title: '문의한 내역이 없어요.',
|
|
58
|
-
subTitle: '',
|
|
59
|
-
img: caseIcon5,
|
|
60
|
-
width: 'w-[42px] sm-top:w-[52px] lg:w-[66px] ',
|
|
61
|
-
height: 'h-[42px] sm-top:h-[52px] lg:h-[66px] ',
|
|
62
|
-
marginTop: 'mt-[84px] sm-top:mt-[106px] lg:mt-[76px]'
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
const EmptyTable = ({ tap, subTap, isMinHeight = true }: { tap: string; subTap: number; isMinHeight?: boolean }) => {
|
|
68
|
-
const { title, subTitle, img, width, height, marginTop } =
|
|
69
|
-
titleList[tap as keyof typeof titleList][subTap as keyof (typeof titleList)[keyof typeof titleList]];
|
|
70
|
-
return (
|
|
71
|
-
<div
|
|
72
|
-
className={`sm-top:gap-[20px] flex gap-[14px] ${
|
|
73
|
-
isMinHeight ? 'min-h-[350px]' : ''
|
|
74
|
-
} w-full flex-col items-center lg:gap-[40px] ${marginTop}`}
|
|
75
|
-
>
|
|
76
|
-
<Image src={img} alt="case_icon" width={60} height={60} className={`${width} ${height}`} />
|
|
77
|
-
<div className="flex flex-col items-center justify-center ">
|
|
78
|
-
<p className="body_medium1_mo sm-top:body_medium1_tb lg:body_medium1">{title}</p>
|
|
79
|
-
{subTitle && <p className="body_medium1_mo sm-top:body_medium1_tb lg:body_medium1">{subTitle}</p>}
|
|
80
|
-
</div>
|
|
81
|
-
</div>
|
|
82
|
-
);
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
export default EmptyTable;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
declare const CaseLayout: ({ outerClassName, innerClassName, children, isMobilePadding }: {
|
|
2
|
-
outerClassName?: string;
|
|
3
|
-
innerClassName?: string;
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
isMobilePadding?: boolean;
|
|
6
|
-
}) => import("react").JSX.Element;
|
|
7
|
-
export default CaseLayout;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { twMerge } from 'tailwind-merge';
|
|
2
|
-
import CaseWrapper from './CaseWrapper';
|
|
3
|
-
const CaseLayout = ({ outerClassName, innerClassName, children, isMobilePadding = true }) => {
|
|
4
|
-
return (<CaseWrapper className={outerClassName} isMobilePadding={isMobilePadding}>
|
|
5
|
-
<div className={twMerge('sm-top:rounded-[24px] z-[1] w-full rounded-[12px] bg-grayScale8 lg:rounded-[36px] ' +
|
|
6
|
-
innerClassName)}>
|
|
7
|
-
{children}
|
|
8
|
-
</div>
|
|
9
|
-
</CaseWrapper>);
|
|
10
|
-
};
|
|
11
|
-
export default CaseLayout;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { twMerge } from 'tailwind-merge';
|
|
2
|
-
import CaseWrapper from './CaseWrapper';
|
|
3
|
-
import HeaderLayout from './HeaderLayout';
|
|
4
|
-
const CaseLayout = ({
|
|
5
|
-
outerClassName,
|
|
6
|
-
innerClassName,
|
|
7
|
-
children,
|
|
8
|
-
isMobilePadding = true
|
|
9
|
-
}: {
|
|
10
|
-
outerClassName?: string;
|
|
11
|
-
innerClassName?: string;
|
|
12
|
-
children: React.ReactNode;
|
|
13
|
-
isMobilePadding?: boolean;
|
|
14
|
-
}) => {
|
|
15
|
-
return (
|
|
16
|
-
<CaseWrapper className={outerClassName} isMobilePadding={isMobilePadding}>
|
|
17
|
-
<div
|
|
18
|
-
className={twMerge(
|
|
19
|
-
'sm-top:rounded-[24px] z-[1] w-full rounded-[12px] bg-grayScale8 lg:rounded-[36px] ' +
|
|
20
|
-
innerClassName
|
|
21
|
-
)}
|
|
22
|
-
>
|
|
23
|
-
{children}
|
|
24
|
-
</div>
|
|
25
|
-
</CaseWrapper>
|
|
26
|
-
);
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
export default CaseLayout;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
interface WrapperProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
className?: string;
|
|
5
|
-
innerClassName?: string;
|
|
6
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
7
|
-
isLine?: boolean;
|
|
8
|
-
isLinePadding?: boolean;
|
|
9
|
-
isMobilePadding?: boolean;
|
|
10
|
-
}
|
|
11
|
-
declare const CaseWrapper: React.FC<WrapperProps>;
|
|
12
|
-
export default CaseWrapper;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
-
var t = {};
|
|
3
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
-
t[p] = s[p];
|
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
-
t[p[i]] = s[p[i]];
|
|
9
|
-
}
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import React, { useRef } from 'react';
|
|
13
|
-
const CaseWrapper = (_a) => {
|
|
14
|
-
var { children, className = '', ref = null,
|
|
15
|
-
// isLine,
|
|
16
|
-
// isLinePadding = true,
|
|
17
|
-
innerClassName, isMobilePadding = true } = _a, others = __rest(_a, ["children", "className", "ref", "innerClassName", "isMobilePadding"]);
|
|
18
|
-
const lineRef = useRef(null);
|
|
19
|
-
// const { flagStandardBoolean } = useElementObserve(lineRef, 0.2);
|
|
20
|
-
return (<div className={` ${isMobilePadding ? 'px-[20px] 2sm:px-[40px]' : ''} sm-top:px-[60px] mx-auto h-full w-full max-w-[1520px] lg:px-[80px] 3xl:px-[140px] 6xl:px-0 ` +
|
|
21
|
-
className} ref={ref} {...others}>
|
|
22
|
-
{children}
|
|
23
|
-
</div>);
|
|
24
|
-
};
|
|
25
|
-
export default CaseWrapper;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode, useRef } from 'react';
|
|
2
|
-
// import useElementObserve from '../../../hook/useElementObserve';
|
|
3
|
-
|
|
4
|
-
interface WrapperProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
className?: string; // 스타일 추가
|
|
7
|
-
innerClassName?: string; // 스타일 추가
|
|
8
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
9
|
-
isLine?: boolean;
|
|
10
|
-
isLinePadding?: boolean;
|
|
11
|
-
isMobilePadding?: boolean;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
const CaseWrapper: React.FC<WrapperProps> = ({
|
|
15
|
-
children,
|
|
16
|
-
className = '',
|
|
17
|
-
ref = null,
|
|
18
|
-
// isLine,
|
|
19
|
-
// isLinePadding = true,
|
|
20
|
-
innerClassName,
|
|
21
|
-
isMobilePadding = true,
|
|
22
|
-
...others
|
|
23
|
-
}) => {
|
|
24
|
-
const lineRef = useRef(null);
|
|
25
|
-
// const { flagStandardBoolean } = useElementObserve(lineRef, 0.2);
|
|
26
|
-
|
|
27
|
-
return (
|
|
28
|
-
<div
|
|
29
|
-
className={
|
|
30
|
-
` ${isMobilePadding ? 'px-[20px] 2sm:px-[40px]' : ''} sm-top:px-[60px] mx-auto h-full w-full max-w-[1520px] lg:px-[80px] 3xl:px-[140px] 6xl:px-0 ` +
|
|
31
|
-
className
|
|
32
|
-
}
|
|
33
|
-
ref={ref}
|
|
34
|
-
{...others}
|
|
35
|
-
>
|
|
36
|
-
{children}
|
|
37
|
-
</div>
|
|
38
|
-
);
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
export default CaseWrapper;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { StaticImageData } from 'next/image';
|
|
2
|
-
declare const IntroWrapper: ({ backgroundImage, backgroundImageTb, backgroundImageMo, outerClassName, title, subTitle }: {
|
|
3
|
-
backgroundImage?: string | StaticImageData;
|
|
4
|
-
backgroundImageTb?: string | StaticImageData;
|
|
5
|
-
backgroundImageMo?: string | StaticImageData;
|
|
6
|
-
outerClassName?: string;
|
|
7
|
-
title?: string;
|
|
8
|
-
subTitle?: string;
|
|
9
|
-
}) => import("react").JSX.Element;
|
|
10
|
-
export default IntroWrapper;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import Image from 'next/image';
|
|
3
|
-
import Wrapper from '../../../../Layout/Wrapper';
|
|
4
|
-
import CaseWrapper from './CaseWrapper';
|
|
5
|
-
import CategoryMenuApp from '../_breadCrumble/CategoryMenuApp';
|
|
6
|
-
const IntroWrapper = ({ backgroundImage, backgroundImageTb, backgroundImageMo, outerClassName, title, subTitle }) => {
|
|
7
|
-
return (<div className={'absolute top-[70px] w-screen min-w-[360px] md:top-[78px] md2:top-[88px] ' + outerClassName}>
|
|
8
|
-
{backgroundImage ? (<>
|
|
9
|
-
{backgroundImageTb && (<Image unoptimized src={backgroundImageTb} alt="background" fill className="object-cover max-sm:hidden lg:hidden"/>)}
|
|
10
|
-
{backgroundImageMo && (<Image unoptimized src={backgroundImageMo} alt="background" fill className="sm-top:hidden object-cover"/>)}
|
|
11
|
-
<Image unoptimized src={backgroundImage} alt="background" fill className="hidden object-cover lg:block"/>
|
|
12
|
-
</>) : (<></>)}
|
|
13
|
-
|
|
14
|
-
<Wrapper>
|
|
15
|
-
<div className={'w-full lg:flex lg:flex-row lg:items-center lg:justify-center'}>
|
|
16
|
-
<CategoryMenuApp />
|
|
17
|
-
</div>
|
|
18
|
-
</Wrapper>
|
|
19
|
-
<CaseWrapper>
|
|
20
|
-
<div className={'relative w-full '}>
|
|
21
|
-
<p className={'title_large_mo sm-top:title_large_tb lg:title_large '}>{title}</p>
|
|
22
|
-
<p className={'title_small_mo sm-top:title_small_tb lg:title_small max-sm-top:mt-[8px] sm-top:mt-[12px] mt-[8px] '}>
|
|
23
|
-
{subTitle}
|
|
24
|
-
</p>
|
|
25
|
-
</div>
|
|
26
|
-
</CaseWrapper>
|
|
27
|
-
</div>);
|
|
28
|
-
};
|
|
29
|
-
export default IntroWrapper;
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import Image, { StaticImageData } from 'next/image';
|
|
3
|
-
import Wrapper from '../../../../Layout/Wrapper';
|
|
4
|
-
|
|
5
|
-
import CaseWrapper from './CaseWrapper';
|
|
6
|
-
import CategoryMenuApp from '../_breadCrumble/CategoryMenuApp';
|
|
7
|
-
|
|
8
|
-
const IntroWrapper = ({
|
|
9
|
-
backgroundImage,
|
|
10
|
-
backgroundImageTb,
|
|
11
|
-
backgroundImageMo,
|
|
12
|
-
outerClassName,
|
|
13
|
-
title,
|
|
14
|
-
subTitle
|
|
15
|
-
}: {
|
|
16
|
-
backgroundImage?: string | StaticImageData;
|
|
17
|
-
backgroundImageTb?: string | StaticImageData;
|
|
18
|
-
backgroundImageMo?: string | StaticImageData;
|
|
19
|
-
outerClassName?: string;
|
|
20
|
-
title?: string;
|
|
21
|
-
subTitle?: string;
|
|
22
|
-
}) => {
|
|
23
|
-
return (
|
|
24
|
-
<div
|
|
25
|
-
className={'absolute top-[70px] w-screen min-w-[360px] md:top-[78px] md2:top-[88px] ' + outerClassName}
|
|
26
|
-
>
|
|
27
|
-
{backgroundImage ? (
|
|
28
|
-
<>
|
|
29
|
-
{backgroundImageTb && (
|
|
30
|
-
<Image
|
|
31
|
-
unoptimized
|
|
32
|
-
src={backgroundImageTb}
|
|
33
|
-
alt="background"
|
|
34
|
-
fill
|
|
35
|
-
className="object-cover max-sm:hidden lg:hidden"
|
|
36
|
-
/>
|
|
37
|
-
)}
|
|
38
|
-
{backgroundImageMo && (
|
|
39
|
-
<Image
|
|
40
|
-
unoptimized
|
|
41
|
-
src={backgroundImageMo}
|
|
42
|
-
alt="background"
|
|
43
|
-
fill
|
|
44
|
-
className="sm-top:hidden object-cover"
|
|
45
|
-
/>
|
|
46
|
-
)}
|
|
47
|
-
<Image
|
|
48
|
-
unoptimized
|
|
49
|
-
src={backgroundImage}
|
|
50
|
-
alt="background"
|
|
51
|
-
fill
|
|
52
|
-
className="hidden object-cover lg:block"
|
|
53
|
-
/>
|
|
54
|
-
</>
|
|
55
|
-
) : (
|
|
56
|
-
<></>
|
|
57
|
-
)}
|
|
58
|
-
|
|
59
|
-
<Wrapper>
|
|
60
|
-
<div className={'w-full lg:flex lg:flex-row lg:items-center lg:justify-center'}>
|
|
61
|
-
<CategoryMenuApp />
|
|
62
|
-
</div>
|
|
63
|
-
</Wrapper>
|
|
64
|
-
<CaseWrapper>
|
|
65
|
-
<div className={'relative w-full '}>
|
|
66
|
-
<p className={'title_large_mo sm-top:title_large_tb lg:title_large '}>{title}</p>
|
|
67
|
-
<p
|
|
68
|
-
className={
|
|
69
|
-
'title_small_mo sm-top:title_small_tb lg:title_small max-sm-top:mt-[8px] sm-top:mt-[12px] mt-[8px] '
|
|
70
|
-
}
|
|
71
|
-
>
|
|
72
|
-
{subTitle}
|
|
73
|
-
</p>
|
|
74
|
-
</div>
|
|
75
|
-
</CaseWrapper>
|
|
76
|
-
</div>
|
|
77
|
-
);
|
|
78
|
-
};
|
|
79
|
-
|
|
80
|
-
export default IntroWrapper;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { StaticImageData } from 'next/image';
|
|
2
|
-
declare const IntroWrapper: ({ backgroundImage, backgroundImageTb, backgroundImageMo, outerClassName, title, subTitle }: {
|
|
3
|
-
backgroundImage?: string | StaticImageData;
|
|
4
|
-
backgroundImageTb?: string | StaticImageData;
|
|
5
|
-
backgroundImageMo?: string | StaticImageData;
|
|
6
|
-
outerClassName?: string;
|
|
7
|
-
title?: string;
|
|
8
|
-
subTitle?: string;
|
|
9
|
-
}) => import("react").JSX.Element;
|
|
10
|
-
export default IntroWrapper;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import Image from 'next/image';
|
|
3
|
-
import Wrapper from '../../../../Layout/Wrapper';
|
|
4
|
-
import CategoryMenuPage from '../_breadCrumble/CategoryMenuPage';
|
|
5
|
-
import { useTranslation } from 'next-i18next';
|
|
6
|
-
import CaseWrapper from './CaseWrapper';
|
|
7
|
-
const IntroWrapper = ({ backgroundImage, backgroundImageTb, backgroundImageMo, outerClassName, title, subTitle }) => {
|
|
8
|
-
const { t } = useTranslation('common');
|
|
9
|
-
return (<div className={'absolute top-[70px] w-screen min-w-[360px] md:top-[78px] md2:top-[88px] ' + outerClassName}>
|
|
10
|
-
{backgroundImage ? (<>
|
|
11
|
-
{backgroundImageTb && (<Image unoptimized src={backgroundImageTb} alt="background" fill className="object-cover max-sm:hidden lg:hidden"/>)}
|
|
12
|
-
{backgroundImageMo && (<Image unoptimized src={backgroundImageMo} alt="background" fill className="sm-top:hidden object-cover"/>)}
|
|
13
|
-
<Image unoptimized src={backgroundImage} alt="background" fill className="hidden object-cover lg:block"/>
|
|
14
|
-
</>) : (<></>)}
|
|
15
|
-
|
|
16
|
-
<Wrapper>
|
|
17
|
-
<div className={'w-full lg:flex lg:flex-row lg:items-center lg:justify-center'}>
|
|
18
|
-
<CategoryMenuPage t={t}/>
|
|
19
|
-
</div>
|
|
20
|
-
</Wrapper>
|
|
21
|
-
<CaseWrapper>
|
|
22
|
-
<div className={'relative w-full '}>
|
|
23
|
-
<p className={'title_large_mo sm-top:title_large_tb lg:title_large '}>{title}</p>
|
|
24
|
-
<p className={'title_small_mo sm-top:title_small_tb lg:title_small max-sm-top:mt-[8px] sm-top:mt-[12px] mt-[8px] '}>
|
|
25
|
-
{subTitle}
|
|
26
|
-
</p>
|
|
27
|
-
</div>
|
|
28
|
-
</CaseWrapper>
|
|
29
|
-
</div>);
|
|
30
|
-
};
|
|
31
|
-
export default IntroWrapper;
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import Image, { StaticImageData } from 'next/image';
|
|
3
|
-
import Wrapper from '../../../../Layout/Wrapper';
|
|
4
|
-
import CategoryMenuPage from '../_breadCrumble/CategoryMenuPage';
|
|
5
|
-
import { useTranslation } from 'next-i18next';
|
|
6
|
-
import CaseWrapper from './CaseWrapper';
|
|
7
|
-
|
|
8
|
-
const IntroWrapper = ({
|
|
9
|
-
backgroundImage,
|
|
10
|
-
backgroundImageTb,
|
|
11
|
-
backgroundImageMo,
|
|
12
|
-
outerClassName,
|
|
13
|
-
title,
|
|
14
|
-
subTitle
|
|
15
|
-
}: {
|
|
16
|
-
backgroundImage?: string | StaticImageData;
|
|
17
|
-
backgroundImageTb?: string | StaticImageData;
|
|
18
|
-
backgroundImageMo?: string | StaticImageData;
|
|
19
|
-
outerClassName?: string;
|
|
20
|
-
title?: string;
|
|
21
|
-
subTitle?: string;
|
|
22
|
-
}) => {
|
|
23
|
-
const { t } = useTranslation('common');
|
|
24
|
-
return (
|
|
25
|
-
<div
|
|
26
|
-
className={'absolute top-[70px] w-screen min-w-[360px] md:top-[78px] md2:top-[88px] ' + outerClassName}
|
|
27
|
-
>
|
|
28
|
-
{backgroundImage ? (
|
|
29
|
-
<>
|
|
30
|
-
{backgroundImageTb && (
|
|
31
|
-
<Image
|
|
32
|
-
unoptimized
|
|
33
|
-
src={backgroundImageTb}
|
|
34
|
-
alt="background"
|
|
35
|
-
fill
|
|
36
|
-
className="object-cover max-sm:hidden lg:hidden"
|
|
37
|
-
/>
|
|
38
|
-
)}
|
|
39
|
-
{backgroundImageMo && (
|
|
40
|
-
<Image
|
|
41
|
-
unoptimized
|
|
42
|
-
src={backgroundImageMo}
|
|
43
|
-
alt="background"
|
|
44
|
-
fill
|
|
45
|
-
className="sm-top:hidden object-cover"
|
|
46
|
-
/>
|
|
47
|
-
)}
|
|
48
|
-
<Image
|
|
49
|
-
unoptimized
|
|
50
|
-
src={backgroundImage}
|
|
51
|
-
alt="background"
|
|
52
|
-
fill
|
|
53
|
-
className="hidden object-cover lg:block"
|
|
54
|
-
/>
|
|
55
|
-
</>
|
|
56
|
-
) : (
|
|
57
|
-
<></>
|
|
58
|
-
)}
|
|
59
|
-
|
|
60
|
-
<Wrapper>
|
|
61
|
-
<div className={'w-full lg:flex lg:flex-row lg:items-center lg:justify-center'}>
|
|
62
|
-
<CategoryMenuPage t={t} />
|
|
63
|
-
</div>
|
|
64
|
-
</Wrapper>
|
|
65
|
-
<CaseWrapper>
|
|
66
|
-
<div className={'relative w-full '}>
|
|
67
|
-
<p className={'title_large_mo sm-top:title_large_tb lg:title_large '}>{title}</p>
|
|
68
|
-
<p
|
|
69
|
-
className={
|
|
70
|
-
'title_small_mo sm-top:title_small_tb lg:title_small max-sm-top:mt-[8px] sm-top:mt-[12px] mt-[8px] '
|
|
71
|
-
}
|
|
72
|
-
>
|
|
73
|
-
{subTitle}
|
|
74
|
-
</p>
|
|
75
|
-
</div>
|
|
76
|
-
</CaseWrapper>
|
|
77
|
-
</div>
|
|
78
|
-
);
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
export default IntroWrapper;
|