@daeryun/dr_components 1.0.22 → 1.0.23
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/Seo/SeoConsulting.jsx +3 -2
- package/dist/components/Seo/SeoConsulting.tsx +3 -2
- package/dist/components/common/integrate/index.d.ts +1 -1
- package/dist/components/common/strength/index.js +1 -1
- package/dist/components/common/strength/index.ts +1 -1
- package/dist/components/page/Login/Login.tsx +2 -5
- package/dist/components/page/Login/LoginComp/LoginContainer.jsx +1 -1
- package/dist/components/page/Login/LoginComp/LoginContainer.tsx +2 -1
- package/dist/components/page/Login/LoginComp/SignContainer.tsx +0 -2
- package/dist/components/page/Login/LoginComp/Update/MyPageOptionalCheckBox.tsx +1 -0
- package/dist/components/page/Login/LoginShareCheckContainer.jsx +1 -1
- package/dist/components/page/Login/LoginShareCheckContainer.tsx +1 -1
- package/dist/components/page/Login/Sign.tsx +1 -1
- package/dist/components/page/Login/_api/logout.ts +0 -2
- package/dist/components/page/MyCase/[id]/MyCaseDetailPage.tsx +1 -1
- package/dist/components/page/MyCase/[id]/_component/ContactInfo.jsx +1 -1
- package/dist/components/page/MyCase/[id]/_component/ContactInfo.tsx +1 -1
- package/dist/components/page/MyCase/[id]/_component/DetailInfo.jsx +6 -6
- package/dist/components/page/MyCase/[id]/_component/DetailInfo.tsx +6 -7
- package/dist/components/page/MyCase/[id]/_component/MyCaseDetailPageContainer.jsx +1 -1
- package/dist/components/page/MyCase/[id]/_component/MyCaseDetailPageContainer.tsx +4 -6
- package/dist/components/page/MyCase/[id]/_component/_caseInquiry/CaseInquiry.jsx +1 -1
- package/dist/components/page/MyCase/[id]/_component/_caseInquiry/CaseInquiry.tsx +2 -1
- package/dist/components/page/MyCase/[id]/_component/_document/DocumentLine.jsx +1 -1
- package/dist/components/page/MyCase/[id]/_component/_document/DocumentLine.tsx +1 -1
- package/dist/components/page/MyCase/[id]/_component/_document/FileUpload.js +1 -1
- package/dist/components/page/MyCase/[id]/_component/_document/FileUpload.ts +1 -1
- package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryAddModal.tsx +2 -1
- package/dist/components/page/MyCase/[id]/_component/_modal/ContractModal.tsx +1 -1
- package/dist/components/page/MyCase/[id]/_component/_modal/ModalCotainer.jsx +1 -1
- package/dist/components/page/MyCase/[id]/_component/_modal/ModalCotainer.tsx +2 -1
- package/dist/components/page/MyCase/[id]/_component/_textarea/TextArea.jsx +1 -1
- package/dist/components/page/MyCase/[id]/_component/_textarea/TextArea.tsx +1 -1
- package/dist/components/page/MyCase/_actions/action.d.ts +1 -1
- package/dist/components/page/MyCase/_actions/action.ts +1 -1
- package/dist/components/page/MyCase/_component/CaseContainer.jsx +1 -1
- package/dist/components/page/MyCase/_component/CaseContainer.tsx +1 -2
- package/dist/components/page/MyCase/_component/_breadCrumble/CategoryMenu.tsx +1 -0
- package/dist/components/page/MyCase/_component/_button/SubColor1Button.jsx +2 -2
- package/dist/components/page/MyCase/_component/_button/SubColor1Button.tsx +2 -2
- package/dist/components/page/MyCase/_component/_empty/EmptyTable.tsx +1 -0
- package/dist/components/page/MyCase/_component/_layout/CaseLayout.jsx +1 -1
- package/dist/components/page/MyCase/_component/_layout/CaseLayout.tsx +2 -2
- package/dist/components/page/MyCase/_component/_layout/CaseWrapper.tsx +1 -0
- package/dist/components/page/MyCase/_component/_table/CaseTabSwiper.tsx +1 -1
- package/dist/components/page/MyCase/_component/_table/CaseTable.tsx +1 -0
- package/dist/components/page/MyCase/_component/_table/CaseTableMo.tsx +0 -2
- package/dist/components/page/Strength/StrengthIntro.jsx +1 -1
- package/dist/components/page/Strength/StrengthIntro.tsx +1 -1
- package/dist/styles/globals.css +346 -346
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { useQuery } from 'react-query';
|
|
2
|
-
import getCase from '../../_fetchers/getCase';
|
|
3
|
-
import { useState } from 'react';
|
|
4
1
|
import { DetailList } from '../../_type/type';
|
|
5
2
|
import Image from 'next/image';
|
|
6
3
|
import Link from 'next/link';
|
|
7
4
|
import CaseLayout from '../../_component/_layout/CaseLayout';
|
|
8
5
|
import Loading from '../../_component/_loading/Loading';
|
|
9
6
|
import caseLookupLinkout from '../../../../../asset/images/myCase/icon/case_lookup_linkout.webp';
|
|
7
|
+
|
|
10
8
|
const Line = ({
|
|
11
9
|
title,
|
|
12
10
|
content,
|
|
@@ -52,9 +50,9 @@ const DetailInfo = ({ detailList, isLoading }: { detailList: DetailList; isLoadi
|
|
|
52
50
|
<Line title="진행단계" content={detailList?.state} />
|
|
53
51
|
<Line title="사건 시작일" content={detailList?.accept_date} />
|
|
54
52
|
<Line title="사건 종료일" content={detailList?.end_date} />
|
|
55
|
-
<Line title="담당 변호사" content={detailList?.lawyer} />
|
|
56
|
-
<Line title="담당 전문가" content={detailList?.specialists?.map(item => item).join(', ')} />
|
|
57
|
-
<Line title="담당 비서" content={detailList?.assistants?.map(item => item).join(', ')} />
|
|
53
|
+
{/* <Line title="담당 변호사" content={detailList?.lawyer} /> */}
|
|
54
|
+
{/* <Line title="담당 전문가" content={detailList?.specialists?.map(item => item).join(', ')} /> */}
|
|
55
|
+
{/* <Line title="담당 비서" content={detailList?.assistants?.map(item => item).join(', ')} /> */}
|
|
58
56
|
<Line
|
|
59
57
|
title="나의 정보"
|
|
60
58
|
content={`${detailList?.my_info?.position} / ${detailList?.my_info?.name} / ${detailList?.my_info?.tel}`}
|
|
@@ -64,7 +62,8 @@ const DetailInfo = ({ detailList, isLoading }: { detailList: DetailList; isLoadi
|
|
|
64
62
|
content={
|
|
65
63
|
detailList?.other_info.length > 0
|
|
66
64
|
? detailList?.other_info.map(
|
|
67
|
-
(info, index) =>
|
|
65
|
+
(info, index) =>
|
|
66
|
+
`${info.position ?? '-'} / ${info.name ?? '-'} / ${info.tel ?? '-'}`
|
|
68
67
|
)
|
|
69
68
|
: '-'
|
|
70
69
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import React, { useEffect, useState
|
|
2
|
+
import React, { Suspense, useEffect, useState } from 'react';
|
|
3
3
|
import IntroWrapper from '../../_component/_layout/IntroWrapper';
|
|
4
4
|
import SubMenuButton from '../../_component/_button/SubMenuButton';
|
|
5
5
|
import HeaderLayout from '../../_component/_layout/HeaderLayout';
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import React, { useEffect, useState
|
|
3
|
+
import React, { Suspense, useEffect, useState } from 'react';
|
|
4
4
|
import IntroWrapper from '../../_component/_layout/IntroWrapper';
|
|
5
|
-
import CaseLayout from '../../_component/_layout/CaseLayout';
|
|
6
5
|
import SubMenuButton from '../../_component/_button/SubMenuButton';
|
|
7
6
|
import HeaderLayout from '../../_component/_layout/HeaderLayout';
|
|
8
7
|
import DetailInfo from './../_component/DetailInfo';
|
|
9
|
-
import { useParams,
|
|
10
|
-
import {
|
|
11
|
-
import getCase from '../../_fetchers/getCase';
|
|
12
|
-
import { DetailList, FetchType, FileList, Question, TimeLineData } from '../../_type/type';
|
|
8
|
+
import { useParams, useRouter, useSearchParams } from 'next/navigation';
|
|
9
|
+
import { DetailList, FileList, Question, TimeLineData } from '../../_type/type';
|
|
13
10
|
import {
|
|
14
11
|
useActionGetCourtFileList,
|
|
15
12
|
useActionGetDetailList,
|
|
@@ -26,6 +23,7 @@ import ContactInfo from './../_component/ContactInfo';
|
|
|
26
23
|
import CaseInquiry from './../_component/_caseInquiry/CaseInquiry';
|
|
27
24
|
import CaseTabSwiper from '../../_component/_table/CaseTabSwiper';
|
|
28
25
|
import Document from './_document/Document';
|
|
26
|
+
|
|
29
27
|
const MyCaseDetailPageContainer = ({ jwt }: { jwt?: string }) => {
|
|
30
28
|
const [selected, setSelected] = useState<string>('사건 정보');
|
|
31
29
|
const router = useRouter();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Image from 'next/image';
|
|
2
2
|
import CaseLayout from '../../../_component/_layout/CaseLayout';
|
|
3
|
-
import { useRef, useState
|
|
3
|
+
import { Suspense, useRef, useState } from 'react';
|
|
4
4
|
import CaseInquiryAddModal from '../_modal/CaseInquiryAddModal';
|
|
5
5
|
import EmptyTable from '../../../_component/_empty/EmptyTable';
|
|
6
6
|
import dayjs from 'dayjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Image from 'next/image';
|
|
2
2
|
import CaseLayout from '../../../_component/_layout/CaseLayout';
|
|
3
3
|
import { Question } from '../../../_type/type';
|
|
4
|
-
import {
|
|
4
|
+
import { Suspense, useRef, useState } from 'react';
|
|
5
5
|
import CaseInquiryAddModal from '../_modal/CaseInquiryAddModal';
|
|
6
6
|
import EmptyTable from '../../../_component/_empty/EmptyTable';
|
|
7
7
|
import dayjs from 'dayjs';
|
|
@@ -11,6 +11,7 @@ import client from '../../../../../../asset/images/myCase/icon/client.webp';
|
|
|
11
11
|
import daeryun from '../../../../../../asset/images/myCase/icon/daeryun.webp';
|
|
12
12
|
import arrowB from '../../../../../../asset/images/myCase/arrow_b.webp';
|
|
13
13
|
import Loading from '../../../_component/_loading/Loading';
|
|
14
|
+
|
|
14
15
|
const AnswerBox = ({
|
|
15
16
|
item,
|
|
16
17
|
isOpen,
|
|
@@ -12,11 +12,11 @@ import dayjs from 'dayjs';
|
|
|
12
12
|
import { useEffect, useState } from 'react';
|
|
13
13
|
import hwp from '../../../../../../asset/images/myCase/icon/hwp.webp';
|
|
14
14
|
import jpg from '../../../../../../asset/images/myCase/icon/jpg.webp';
|
|
15
|
+
import jpeg from '../../../../../../asset/images/myCase/icon/jpg.webp';
|
|
15
16
|
import pdf from '../../../../../../asset/images/myCase/icon/pdf.webp';
|
|
16
17
|
import png from '../../../../../../asset/images/myCase/icon/png.webp';
|
|
17
18
|
import word from '../../../../../../asset/images/myCase/icon/word.webp';
|
|
18
19
|
import xls from '../../../../../../asset/images/myCase/icon/xls.webp';
|
|
19
|
-
import jpeg from '../../../../../../asset/images/myCase/icon/jpg.webp';
|
|
20
20
|
import unkown from '../../../../../../asset/images/myCase/icon/defaultIcon.webp';
|
|
21
21
|
import download from '../../../../../../asset/images/myCase/icon/download.webp';
|
|
22
22
|
const icon = {
|
|
@@ -4,11 +4,11 @@ import { FileList } from '../../../_type/type';
|
|
|
4
4
|
import { useEffect, useState } from 'react';
|
|
5
5
|
import hwp from '../../../../../../asset/images/myCase/icon/hwp.webp';
|
|
6
6
|
import jpg from '../../../../../../asset/images/myCase/icon/jpg.webp';
|
|
7
|
+
import jpeg from '../../../../../../asset/images/myCase/icon/jpg.webp';
|
|
7
8
|
import pdf from '../../../../../../asset/images/myCase/icon/pdf.webp';
|
|
8
9
|
import png from '../../../../../../asset/images/myCase/icon/png.webp';
|
|
9
10
|
import word from '../../../../../../asset/images/myCase/icon/word.webp';
|
|
10
11
|
import xls from '../../../../../../asset/images/myCase/icon/xls.webp';
|
|
11
|
-
import jpeg from '../../../../../../asset/images/myCase/icon/jpg.webp';
|
|
12
12
|
import unkown from '../../../../../../asset/images/myCase/icon/defaultIcon.webp';
|
|
13
13
|
import download from '../../../../../../asset/images/myCase/icon/download.webp';
|
|
14
14
|
|
|
@@ -8,7 +8,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
import { useDropzone } from 'react-dropzone';
|
|
11
|
-
import {
|
|
11
|
+
import { useCallback, useState } from 'react';
|
|
12
12
|
import { useActionPostMyFileUpload } from '../../../_actions/action';
|
|
13
13
|
const FileUpload = ({ id, refetch }) => {
|
|
14
14
|
const [uploadedFiles, setUploadedFiles] = useState([]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useDropzone } from 'react-dropzone';
|
|
2
|
-
import {
|
|
2
|
+
import { useCallback, useState } from 'react';
|
|
3
3
|
import { useActionPostMyFileUpload } from '../../../_actions/action';
|
|
4
4
|
|
|
5
5
|
const FileUpload = ({ id, refetch }: { id: string; refetch: () => void }) => {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import Image from 'next/image';
|
|
2
2
|
import ModalContainer from './ModalCotainer';
|
|
3
3
|
import TextArea from '../_textarea/TextArea';
|
|
4
|
-
import {
|
|
4
|
+
import { useState } from 'react';
|
|
5
5
|
import { useActionPostMyCaseQuestion } from '../../../_actions/action';
|
|
6
6
|
import Loading from '../../../_component/_loading/Loading';
|
|
7
7
|
import CaseInquiryConfirmModal from './CaseInquiryConfirmModal';
|
|
8
8
|
import close from '../../../../../../asset/images/myCase/icon/close.webp';
|
|
9
|
+
|
|
9
10
|
const CaseInquiryAddModal = ({
|
|
10
11
|
isOpen,
|
|
11
12
|
onClose,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Image from 'next/image';
|
|
2
2
|
import ModalContainer from './ModalCotainer';
|
|
3
3
|
|
|
4
|
-
import {
|
|
4
|
+
import { useState } from 'react';
|
|
5
5
|
|
|
6
6
|
import close from '../../../../../../asset/images/myCase/icon/close.webp';
|
|
7
7
|
import { ContractImage } from '../../../_type/type';
|
|
@@ -16,7 +16,7 @@ const ModalContainer = ({ isOpen, onClose, children }) => {
|
|
|
16
16
|
return ReactDOM.createPortal(isOpen && (<div className="fixed inset-0 z-[9999] flex items-center justify-center bg-[#3D3D3DCC] " // z-index를 높게 설정
|
|
17
17
|
onClick={onClose} // 배경 클릭 시 모달 닫기
|
|
18
18
|
>
|
|
19
|
-
<div className="flex
|
|
19
|
+
<div className="z-60 flex h-full w-full items-center justify-center" // z-index를 더 높게 설정
|
|
20
20
|
>
|
|
21
21
|
{children}
|
|
22
22
|
</div>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { useEffect } from 'react';
|
|
2
2
|
import ReactDOM from 'react-dom';
|
|
3
|
+
|
|
3
4
|
interface ModalContainerProps {
|
|
4
5
|
isOpen: boolean; // 모달 열림 상태
|
|
5
6
|
onClose: () => void; // 모달 닫기 함수
|
|
@@ -26,7 +27,7 @@ const ModalContainer: React.FC<ModalContainerProps> = ({ isOpen, onClose, childr
|
|
|
26
27
|
onClick={onClose} // 배경 클릭 시 모달 닫기
|
|
27
28
|
>
|
|
28
29
|
<div
|
|
29
|
-
className="flex
|
|
30
|
+
className="z-60 flex h-full w-full items-center justify-center" // z-index를 더 높게 설정
|
|
30
31
|
>
|
|
31
32
|
{children}
|
|
32
33
|
</div>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const TextArea = ({ placeholder, value, onChange, isCheck }) => {
|
|
2
|
-
return (<textarea value={value} className={`body_medium2_mo sm-top:
|
|
2
|
+
return (<textarea value={value} className={`body_medium2_mo sm-top:body_medium2_tb lg:body_medium2 h-[232px] w-full resize-none rounded-[10px] border border-solid p-[16px] placeholder:text-grayScale3 sm-top:h-[368px] sm-top:p-[32px] lg:h-[512px] lg:p-[36px] ${isCheck ? 'border-mycaseMainColor' : 'border-grayScale5'}`} placeholder={placeholder} onChange={onChange}/>);
|
|
3
3
|
};
|
|
4
4
|
export default TextArea;
|
|
@@ -12,7 +12,7 @@ const TextArea = ({
|
|
|
12
12
|
return (
|
|
13
13
|
<textarea
|
|
14
14
|
value={value}
|
|
15
|
-
className={`body_medium2_mo sm-top:
|
|
15
|
+
className={`body_medium2_mo sm-top:body_medium2_tb lg:body_medium2 h-[232px] w-full resize-none rounded-[10px] border border-solid p-[16px] placeholder:text-grayScale3 sm-top:h-[368px] sm-top:p-[32px] lg:h-[512px] lg:p-[36px] ${
|
|
16
16
|
isCheck ? 'border-mycaseMainColor' : 'border-grayScale5'
|
|
17
17
|
}`}
|
|
18
18
|
placeholder={placeholder}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DetailList, FetchType, FileList, PaymentList, Question, TimeLineData } from '../_type/type';
|
|
2
2
|
export declare const useActionGetCaseList: ({ tapState, pageNumber, pageSize }: {
|
|
3
3
|
tapState: string;
|
|
4
4
|
pageNumber: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMutation, useQuery } from '@tanstack/react-query';
|
|
2
|
-
import {
|
|
2
|
+
import { DetailList, FetchType, FileList, PaymentList, Question, TimeLineData } from '../_type/type';
|
|
3
3
|
import getCase from '../_fetchers/getCase';
|
|
4
4
|
import getTimeLine from '../_fetchers/getTimeLine';
|
|
5
5
|
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Suspense, useState } from 'react';
|
|
2
2
|
import CaseLayout from './_layout/CaseLayout';
|
|
3
3
|
|
|
4
4
|
import EmptyTable from './_empty/EmptyTable';
|
|
5
5
|
import { useRouter, useSearchParams } from 'next/navigation';
|
|
6
6
|
import Loading from './_loading/Loading';
|
|
7
7
|
import { useActionGetCaseList } from '../_actions/action';
|
|
8
|
-
import CaseTabSwiper from './_table/CaseTabSwiper';
|
|
9
8
|
import CaseTableMo from './_table/CaseTableMo';
|
|
10
9
|
|
|
11
10
|
const CaseTap = ({
|
|
@@ -6,6 +6,7 @@ import Link from 'next/link';
|
|
|
6
6
|
import home from '../../../../../asset/images/myCase/home.webp';
|
|
7
7
|
import navArr from '../../../../../asset/images/myCase/nav_arr.webp';
|
|
8
8
|
import arrow2 from '../../../../../asset/images/myCase/arrow_2.webp';
|
|
9
|
+
|
|
9
10
|
type CategoryMenuType = {
|
|
10
11
|
// t: (key: string) => string;
|
|
11
12
|
isMargin?: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { twMerge } from 'tailwind-merge';
|
|
2
2
|
const SubColor1Button = ({ title, onClick, isSelected, outerClassName }) => {
|
|
3
|
-
return (<button className={twMerge(`swiper-slide
|
|
4
|
-
<p className={'label_large1_mo sm-top:label_large1_tb sm-top:text-[16px]
|
|
3
|
+
return (<button className={twMerge(`swiper-slide flex h-[34px] w-fit flex-row items-center justify-center rounded-[24px] px-[16px] transition-colors duration-300 max-sm-top:flex-shrink-0 sm-top:h-[39px] sm-top:px-[10px] md2:px-[16px] lg:h-[49px] lg:px-[12px] xl:px-[20px] ${isSelected ? 'bg-subColor01 text-white' : 'bg-white text-black'}`, outerClassName)} onClick={onClick}>
|
|
4
|
+
<p className={'label_large1_mo sm-top:label_large1_tb lg:label_large1 sm-top:text-[16px] md2:text-[18px] lg:text-[18px] xl:text-[20px] '}>
|
|
5
5
|
{title}
|
|
6
6
|
</p>
|
|
7
7
|
</button>);
|
|
@@ -14,14 +14,14 @@ const SubColor1Button = ({
|
|
|
14
14
|
return (
|
|
15
15
|
<button
|
|
16
16
|
className={twMerge(
|
|
17
|
-
`swiper-slide
|
|
17
|
+
`swiper-slide flex h-[34px] w-fit flex-row items-center justify-center rounded-[24px] px-[16px] transition-colors duration-300 max-sm-top:flex-shrink-0 sm-top:h-[39px] sm-top:px-[10px] md2:px-[16px] lg:h-[49px] lg:px-[12px] xl:px-[20px] ${isSelected ? 'bg-subColor01 text-white' : 'bg-white text-black'}`,
|
|
18
18
|
outerClassName
|
|
19
19
|
)}
|
|
20
20
|
onClick={onClick}
|
|
21
21
|
>
|
|
22
22
|
<p
|
|
23
23
|
className={
|
|
24
|
-
'label_large1_mo sm-top:label_large1_tb sm-top:text-[16px]
|
|
24
|
+
'label_large1_mo sm-top:label_large1_tb lg:label_large1 sm-top:text-[16px] md2:text-[18px] lg:text-[18px] xl:text-[20px] '
|
|
25
25
|
}
|
|
26
26
|
>
|
|
27
27
|
{title}
|
|
@@ -6,6 +6,7 @@ import caseIcon3 from '../../../../../asset/images/myCase/icon/case_icon3.webp';
|
|
|
6
6
|
import caseIcon4 from '../../../../../asset/images/myCase/icon/case_icon4.webp';
|
|
7
7
|
import caseIcon5 from '../../../../../asset/images/myCase/icon/case_icon5.webp';
|
|
8
8
|
import caseIcon6 from '../../../../../asset/images/myCase/icon/case_icon6.webp';
|
|
9
|
+
|
|
9
10
|
const titleList = {
|
|
10
11
|
ongoing: {
|
|
11
12
|
0: {
|
|
@@ -2,7 +2,7 @@ import { twMerge } from 'tailwind-merge';
|
|
|
2
2
|
import CaseWrapper from './CaseWrapper';
|
|
3
3
|
const CaseLayout = ({ outerClassName, innerClassName, children, isMobilePadding = true }) => {
|
|
4
4
|
return (<CaseWrapper className={outerClassName} isMobilePadding={isMobilePadding}>
|
|
5
|
-
<div className={twMerge('
|
|
5
|
+
<div className={twMerge('z-[1] w-full rounded-[12px] bg-grayScale8 sm-top:rounded-[24px] lg:rounded-[36px] ' +
|
|
6
6
|
innerClassName)}>
|
|
7
7
|
{children}
|
|
8
8
|
</div>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { twMerge } from 'tailwind-merge';
|
|
2
2
|
import CaseWrapper from './CaseWrapper';
|
|
3
|
-
|
|
3
|
+
|
|
4
4
|
const CaseLayout = ({
|
|
5
5
|
outerClassName,
|
|
6
6
|
innerClassName,
|
|
@@ -16,7 +16,7 @@ const CaseLayout = ({
|
|
|
16
16
|
<CaseWrapper className={outerClassName} isMobilePadding={isMobilePadding}>
|
|
17
17
|
<div
|
|
18
18
|
className={twMerge(
|
|
19
|
-
'
|
|
19
|
+
'z-[1] w-full rounded-[12px] bg-grayScale8 sm-top:rounded-[24px] lg:rounded-[36px] ' +
|
|
20
20
|
innerClassName
|
|
21
21
|
)}
|
|
22
22
|
>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode, useEffect, useRef, useState } from 'react';
|
|
2
2
|
import Swiper from 'swiper';
|
|
3
|
-
import {
|
|
3
|
+
import { FreeMode, Scrollbar } from 'swiper/modules';
|
|
4
4
|
import { twMerge } from 'tailwind-merge';
|
|
5
5
|
|
|
6
6
|
interface MobileSwiperProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
@@ -238,7 +238,7 @@ const StrengthIntro = ({ initialData }: { initialData: IInitialDataTypes }) => {
|
|
|
238
238
|
<br />
|
|
239
239
|
<span className={'text-[1.4em] font-extrabold text-[#AB0634]'}>365일 24시간</span>{' '}
|
|
240
240
|
<br />
|
|
241
|
-
|
|
241
|
+
상담접수 가능
|
|
242
242
|
</p>
|
|
243
243
|
<Arrow isRed />
|
|
244
244
|
</span>
|