@daeryun/dr_components 0.4.59 → 0.4.61

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.
@@ -14,7 +14,7 @@ export const Title = (props) => {
14
14
  ({props.count.toLocaleString()})
15
15
  </span>)}
16
16
  </p>
17
- {props.tab === '전체' && !props.noMoreView && (<Link href={`/integrate?search=${querySearch}&tab=${props.type}`} tabIndex={0} className={'flex cursor-pointer items-center justify-between text-black sm:mt-3 lg:mt-6 xl:mt-7 '} onClick={() => {
17
+ {props.tab === '전체' && !props.noMoreView && (<Link aria-label={props.type + '탭으로 이동'} href={`/integrate?search=${querySearch}&tab=${props.type}`} tabIndex={0} className={'flex cursor-pointer items-center justify-between text-black sm:mt-3 lg:mt-6 xl:mt-7 '} onClick={() => {
18
18
  props.onClick(props.type);
19
19
  }} onKeyDown={(e) => {
20
20
  if (e.key === 'Enter') {
@@ -31,6 +31,7 @@ export const Title = (props: {
31
31
  </p>
32
32
  {props.tab === '전체' && !props.noMoreView && (
33
33
  <Link
34
+ aria-label={props.type + '탭으로 이동'}
34
35
  href={`/integrate?search=${querySearch}&tab=${props.type}`}
35
36
  tabIndex={0}
36
37
  className={
@@ -4,11 +4,11 @@ import Image from 'next/image';
4
4
  import checkCircle from '../../../../../asset/images/myCase/icon/check_circle.webp';
5
5
  import checkCircle2 from '../../../../../asset/images/myCase/icon/check_circle2.webp';
6
6
  const TimeBox = ({ item }) => {
7
- return (<div className="sm-top:py-[20px] sm-top:px-[28px] sm-top:rounded-[8px] bg-grayScale7 rounded-[4px] px-[20px] py-[16px] lg:rounded-[12px] lg:px-[28px] lg:py-[20px]">
7
+ return (<div className="rounded-[4px] bg-grayScale7 px-[20px] py-[16px] sm-top:rounded-[8px] sm-top:px-[28px] sm-top:py-[20px] lg:rounded-[12px] lg:px-[28px] lg:py-[20px]">
8
8
  <div className="body_small2_mo sm-top:body_small2_tb lg:body_small2 text-grayScale2">
9
9
  {dayjs(item.progress_time).format('YYYY.MM.DD HH:mm')}
10
10
  </div>
11
- <div className="body_medium2_mo sm-top:body_medium2_tb lg:body_medium2 sm-top:mt-[6px] mt-[8px] lg:mt-[8px]">
11
+ <div className="body_medium2_mo sm-top:body_medium2_tb lg:body_medium2 mt-[8px] sm-top:mt-[6px] lg:mt-[8px]">
12
12
  {item.title}
13
13
  </div>
14
14
  </div>);
@@ -18,15 +18,15 @@ const TimeContainer = ({ list, isFirst }) => {
18
18
  const color = list[0].is_highest_court ? 'text-subColor05' : 'text-mycaseMainColor';
19
19
  const borderColor = list[0].is_highest_court ? 'border-subColor05' : 'border-mycaseMainColor';
20
20
  return (<>
21
- <div className="sm-top:gap-[16px] flex flex-col gap-[14px] lg:gap-[13px]">
22
- <div className="sm-top:gap-[12px] flex flex-row items-center gap-[8px]">
23
- <Image unoptimized src={imgUrl} alt="arrow" width={24} height={24} className="sm-top:w-[20px] sm-top:h-[20px] h-[16px] w-[16px] lg:h-[24px] lg:w-[24px]"/>
21
+ <div className="flex flex-col gap-[14px] sm-top:gap-[16px] lg:gap-[13px]">
22
+ <div className="flex flex-row items-center gap-[8px] sm-top:gap-[12px]">
23
+ <Image unoptimized src={imgUrl} alt="arrow" width={24} height={24} className="h-[16px] w-[16px] sm-top:h-[20px] sm-top:w-[20px] lg:h-[24px] lg:w-[24px]"/>
24
24
  <p className={`body_medium1_mo sm-top:body_medium1_tb lg:body_medium1 ${color}`}>
25
25
  {list[0].title}
26
26
  </p>
27
27
  </div>
28
- <div className={`sm-top:ml-[6px] sm-top:pl-[22px] ml-[8px] pl-[16px] lg:ml-[12px] lg:pl-[28px] ${borderColor} flex flex-col gap-[16px] ` +
29
- `${isFirst ? '' : 'sm-top:border-l-[1.5px] border-l-[1px] border-solid lg:border-l-[2px] '}`}>
28
+ <div className={`ml-[8px] pl-[16px] sm-top:ml-[6px] sm-top:pl-[22px] lg:ml-[12px] lg:pl-[28px] ${borderColor} flex flex-col gap-[16px] ` +
29
+ `${isFirst ? '' : 'border-l-[1px] border-solid sm-top:border-l-[1.5px] lg:border-l-[2px] '}`}>
30
30
  {list.map((item) => {
31
31
  return <TimeBox key={item.idx} item={item}/>;
32
32
  })}
@@ -7,11 +7,11 @@ import checkCircle2 from '../../../../../asset/images/myCase/icon/check_circle2.
7
7
 
8
8
  const TimeBox = ({ item }: { item: any }) => {
9
9
  return (
10
- <div className="sm-top:py-[20px] sm-top:px-[28px] sm-top:rounded-[8px] bg-grayScale7 rounded-[4px] px-[20px] py-[16px] lg:rounded-[12px] lg:px-[28px] lg:py-[20px]">
10
+ <div className="rounded-[4px] bg-grayScale7 px-[20px] py-[16px] sm-top:rounded-[8px] sm-top:px-[28px] sm-top:py-[20px] lg:rounded-[12px] lg:px-[28px] lg:py-[20px]">
11
11
  <div className="body_small2_mo sm-top:body_small2_tb lg:body_small2 text-grayScale2">
12
12
  {dayjs(item.progress_time).format('YYYY.MM.DD HH:mm')}
13
13
  </div>
14
- <div className="body_medium2_mo sm-top:body_medium2_tb lg:body_medium2 sm-top:mt-[6px] mt-[8px] lg:mt-[8px]">
14
+ <div className="body_medium2_mo sm-top:body_medium2_tb lg:body_medium2 mt-[8px] sm-top:mt-[6px] lg:mt-[8px]">
15
15
  {item.title}
16
16
  </div>
17
17
  </div>
@@ -23,15 +23,15 @@ const TimeContainer = ({ list, isFirst }: { list: TimeLineType[]; isFirst: boole
23
23
  const borderColor = list[0].is_highest_court ? 'border-subColor05' : 'border-mycaseMainColor';
24
24
  return (
25
25
  <>
26
- <div className="sm-top:gap-[16px] flex flex-col gap-[14px] lg:gap-[13px]">
27
- <div className="sm-top:gap-[12px] flex flex-row items-center gap-[8px]">
26
+ <div className="flex flex-col gap-[14px] sm-top:gap-[16px] lg:gap-[13px]">
27
+ <div className="flex flex-row items-center gap-[8px] sm-top:gap-[12px]">
28
28
  <Image
29
29
  unoptimized
30
30
  src={imgUrl}
31
31
  alt="arrow"
32
32
  width={24}
33
33
  height={24}
34
- className="sm-top:w-[20px] sm-top:h-[20px] h-[16px] w-[16px] lg:h-[24px] lg:w-[24px]"
34
+ className="h-[16px] w-[16px] sm-top:h-[20px] sm-top:w-[20px] lg:h-[24px] lg:w-[24px]"
35
35
  />
36
36
  <p className={`body_medium1_mo sm-top:body_medium1_tb lg:body_medium1 ${color}`}>
37
37
  {list[0].title}
@@ -39,8 +39,8 @@ const TimeContainer = ({ list, isFirst }: { list: TimeLineType[]; isFirst: boole
39
39
  </div>
40
40
  <div
41
41
  className={
42
- `sm-top:ml-[6px] sm-top:pl-[22px] ml-[8px] pl-[16px] lg:ml-[12px] lg:pl-[28px] ${borderColor} flex flex-col gap-[16px] ` +
43
- `${isFirst ? '' : 'sm-top:border-l-[1.5px] border-l-[1px] border-solid lg:border-l-[2px] '}`
42
+ `ml-[8px] pl-[16px] sm-top:ml-[6px] sm-top:pl-[22px] lg:ml-[12px] lg:pl-[28px] ${borderColor} flex flex-col gap-[16px] ` +
43
+ `${isFirst ? '' : 'border-l-[1px] border-solid sm-top:border-l-[1.5px] lg:border-l-[2px] '}`
44
44
  }
45
45
  >
46
46
  {list.map((item: any) => {
@@ -25,10 +25,10 @@ const AnswerBox = ({ item, isOpen, openId, setOpenId }) => {
25
25
  }
26
26
  }
27
27
  }}>
28
- <div className={`bg-grayScale7 sm-top:px-[40px] sm-top:py-[28px] flex flex-row items-center p-[20px] lg:px-[48px] lg:py-[36px] ${isOpen
29
- ? 'rounded-x-[8px] sm-top:rounded-x-[12px] lg:rounded-x-[20px] sm-top:rounded-t-[12px] rounded-t-[8px] lg:rounded-t-[20px] '
30
- : 'lg:rounded-x-[20px] sm-top:rounded-[12px] rounded-[8px] '}`}>
31
- <Image src={client} alt="client" width={60} height={60} className="sm-top:mr-[28px] sm-top:h-[52px] sm-top:w-[52px] mr-[12px] h-[40px] w-[40px] flex-shrink-0 lg:mr-[32px] lg:h-[60px] lg:w-[60px]"/>
28
+ <div className={`flex flex-row items-center bg-grayScale7 p-[20px] sm-top:px-[40px] sm-top:py-[28px] lg:px-[48px] lg:py-[36px] ${isOpen
29
+ ? 'rounded-x-[8px] sm-top:rounded-x-[12px] lg:rounded-x-[20px] rounded-t-[8px] sm-top:rounded-t-[12px] lg:rounded-t-[20px] '
30
+ : 'lg:rounded-x-[20px] rounded-[8px] sm-top:rounded-[12px] '}`}>
31
+ <Image src={client} alt="client" width={60} height={60} className="mr-[12px] h-[40px] w-[40px] flex-shrink-0 sm-top:mr-[28px] sm-top:h-[52px] sm-top:w-[52px] lg:mr-[32px] lg:h-[60px] lg:w-[60px]"/>
32
32
  <div className="w-full">
33
33
  <p className="body_small2_mo sm-top:body_small2_tb lg:body_small2 text-grayScale2">
34
34
  {dayjs(item.created_at).format('YYYY.MM.DD HH:mm')}
@@ -36,18 +36,18 @@ const AnswerBox = ({ item, isOpen, openId, setOpenId }) => {
36
36
  <p className="body_medium1_mo sm-top:body_medium1_tb lg:body_medium1 mt-[4px] text-black lg:mt-[5px]">
37
37
  {item.content}
38
38
  </p>
39
- <div className={`max-sm-top:gap-[8px] sm-top:mt-[12px] sm-top:justify-between mt-[8px] flex flex-row items-center lg:mt-[20px] `}>
39
+ <div className={`mt-[8px] flex flex-row items-center max-sm-top:gap-[8px] sm-top:mt-[12px] sm-top:justify-between lg:mt-[20px] `}>
40
40
  <p className={`body_small2_mo sm-top:body_small2_tb lg:body_small2 max-sm-top:h-[18px] ${(item === null || item === void 0 ? void 0 : item.answer) ? 'text-subColor04' : 'text-mycaseMainColor'}`}>
41
41
  {(item === null || item === void 0 ? void 0 : item.answer) ? '답변' : '미답변'}
42
42
  </p>
43
- {(item === null || item === void 0 ? void 0 : item.answer) ? (<Image src={arrowB} alt="arrow" width={16.6} height={10} className={`sm-top:h-[10px] sm-top:w-[16.6px] h-[6px] w-[10px] transition-transform duration-300 ${isOpen ? 'rotate-180' : ''}`}/>) : (<div className="bg-mycaseMainColor sm-top:h-[2px] sm-top:w-[16px] h-[1px] w-[12px] lg:w-[20px]"></div>)}
43
+ {(item === null || item === void 0 ? void 0 : item.answer) ? (<Image src={arrowB} alt="arrow" width={16.6} height={10} className={`h-[6px] w-[10px] transition-transform duration-300 sm-top:h-[10px] sm-top:w-[16.6px] ${isOpen ? 'rotate-180' : ''}`}/>) : (<div className="h-[1px] w-[12px] bg-mycaseMainColor sm-top:h-[2px] sm-top:w-[16px] lg:w-[20px]"></div>)}
44
44
  </div>
45
45
  </div>
46
46
  </div>
47
47
 
48
- <div className={`border-grayScale7 sm-top:px-[40px] flex flex-row overflow-hidden rounded-b-[20px] border-x-[2px] border-b-[2px] border-solid px-[20px] transition-all duration-500 lg:px-[48px] ${isOpen ? 'sm-top:py-[28px] h-full py-[20px] opacity-100 lg:py-[36px]' : 'h-0 opacity-0'}`}>
49
- <div className="sm-top:mr-[28px] sm-top:gap-[4px] mr-[12px] flex flex-shrink-0 flex-col items-center justify-center lg:mr-[32px] lg:gap-[12px]">
50
- <Image src={daeryun} alt="client" width={60} height={60} className="sm-top:h-[52px] sm-top:w-[52px] h-[40px] w-[40px] flex-shrink-0 lg:h-[60px] lg:w-[60px]"/>
48
+ <div className={`flex flex-row overflow-hidden rounded-b-[20px] border-x-[2px] border-b-[2px] border-solid border-grayScale7 px-[20px] transition-all duration-500 sm-top:px-[40px] lg:px-[48px] ${isOpen ? 'h-full py-[20px] opacity-100 sm-top:py-[28px] lg:py-[36px]' : 'h-0 opacity-0'}`}>
49
+ <div className="mr-[12px] flex flex-shrink-0 flex-col items-center justify-center sm-top:mr-[28px] sm-top:gap-[4px] lg:mr-[32px] lg:gap-[12px]">
50
+ <Image src={daeryun} alt="client" width={60} height={60} className="h-[40px] w-[40px] flex-shrink-0 sm-top:h-[52px] sm-top:w-[52px] lg:h-[60px] lg:w-[60px]"/>
51
51
  <p className=" sm-top:body_small2_tb lg:body_small2 text-mycaseMainColor max-sm-top:hidden">
52
52
  담당자
53
53
  </p>
@@ -56,7 +56,7 @@ const AnswerBox = ({ item, isOpen, openId, setOpenId }) => {
56
56
  <p className="body_small2_mo sm-top:body_small2_tb lg:body_small2 text-grayScale2">
57
57
  {dayjs(item === null || item === void 0 ? void 0 : item.answer_at).format('YYYY.MM.DD HH:mm')}
58
58
  </p>
59
- <p className="body_medium2_mo sm-top:body_medium2_tb lg:body_medium2 sm-top:mt-[4px] text-black lg:mt-[5px]">
59
+ <p className="body_medium2_mo sm-top:body_medium2_tb lg:body_medium2 text-black sm-top:mt-[4px] lg:mt-[5px]">
60
60
  {item === null || item === void 0 ? void 0 : item.answer}
61
61
  </p>
62
62
  </div>
@@ -68,14 +68,14 @@ const CaseInquiry = ({ myCaseQuestion, isLoading, id, refetch, pageSize, totalLe
68
68
  const [isOpen, setIsOpen] = useState(false);
69
69
  return (<CaseLayout isMobilePadding={false} outerClassName="mt-[35px] sm-top:mt-[24px] lg:mt-[40px] " innerClassName={'pt-[32px] px-[20px] pb-[80px] 2sm:px-[40px] sm-top:pt-[56px] sm-top:px-[50px] sm-top:pb-[60px] lg:pt-[70px] lg:pb-[80px] lg:px-[60px]'}>
70
70
  {isLoading ? (<Loading />) : (<>
71
- <div className="sm-top:gap-[12px] flex flex-col gap-[8px] lg:gap-[24px]">
71
+ <div className="flex flex-col gap-[8px] sm-top:gap-[12px] lg:gap-[24px]">
72
72
  {(myCaseQuestion === null || myCaseQuestion === void 0 ? void 0 : myCaseQuestion.length) > 0 ? (myCaseQuestion === null || myCaseQuestion === void 0 ? void 0 : myCaseQuestion.map((item, index) => (<AnswerBox key={index} item={item} isOpen={openId === item.idx.toString()} openId={openId} setOpenId={setOpenId}/>))) : (<EmptyTable tap="caseInquiry" subTap={0} isMinHeight={false}/>)}
73
73
  </div>
74
74
  <div className={` flex items-center justify-end ${(myCaseQuestion === null || myCaseQuestion === void 0 ? void 0 : myCaseQuestion.length) > 0
75
- ? 'sm-top:mt-[80px] mt-[40px] lg:mt-[60px] '
76
- : 'sm-top:mt-[95px] mt-[69px] lg:mt-[112px]'}`}>
77
- <button onClick={() => setIsOpen(prev => !prev)} className=" bg-mycaseMainColor sm-top:h-[60px] sm-top:w-[188px] sm-top:gap-[23px] sm-top:rounded-[36px] flex h-[48px] w-[132px] items-center justify-center gap-[14px] rounded-[24px] text-white lg:h-[72px] lg:w-[220px] lg:gap-[21px]">
78
- <Image src={inkPen} alt="ink_pen" width={28.5} height={28.5} className="sm-top:h-[23.75px] sm-top:w-[23.75px] h-[19px] w-[19px] lg:h-[28.5px] lg:w-[28.5px]"/>
75
+ ? 'mt-[40px] sm-top:mt-[80px] lg:mt-[60px] '
76
+ : 'mt-[69px] sm-top:mt-[95px] lg:mt-[112px]'}`}>
77
+ <button onClick={() => setIsOpen(prev => !prev)} className=" flex h-[48px] w-[132px] items-center justify-center gap-[14px] rounded-[24px] bg-mycaseMainColor text-white sm-top:h-[60px] sm-top:w-[188px] sm-top:gap-[23px] sm-top:rounded-[36px] lg:h-[72px] lg:w-[220px] lg:gap-[21px]">
78
+ <Image src={inkPen} alt="ink_pen" width={28.5} height={28.5} className="h-[19px] w-[19px] sm-top:h-[23.75px] sm-top:w-[23.75px] lg:h-[28.5px] lg:w-[28.5px]"/>
79
79
  <p className="body_large2_mo sm-top:body_large2_tb lg:body_large2" style={{ color: 'white' }}>
80
80
  문의하기
81
81
  </p>
@@ -42,10 +42,10 @@ const AnswerBox = ({
42
42
  }}
43
43
  >
44
44
  <div
45
- className={`bg-grayScale7 sm-top:px-[40px] sm-top:py-[28px] flex flex-row items-center p-[20px] lg:px-[48px] lg:py-[36px] ${
45
+ className={`flex flex-row items-center bg-grayScale7 p-[20px] sm-top:px-[40px] sm-top:py-[28px] lg:px-[48px] lg:py-[36px] ${
46
46
  isOpen
47
- ? 'rounded-x-[8px] sm-top:rounded-x-[12px] lg:rounded-x-[20px] sm-top:rounded-t-[12px] rounded-t-[8px] lg:rounded-t-[20px] '
48
- : 'lg:rounded-x-[20px] sm-top:rounded-[12px] rounded-[8px] '
47
+ ? 'rounded-x-[8px] sm-top:rounded-x-[12px] lg:rounded-x-[20px] rounded-t-[8px] sm-top:rounded-t-[12px] lg:rounded-t-[20px] '
48
+ : 'lg:rounded-x-[20px] rounded-[8px] sm-top:rounded-[12px] '
49
49
  }`}
50
50
  >
51
51
  <Image
@@ -53,7 +53,7 @@ const AnswerBox = ({
53
53
  alt="client"
54
54
  width={60}
55
55
  height={60}
56
- className="sm-top:mr-[28px] sm-top:h-[52px] sm-top:w-[52px] mr-[12px] h-[40px] w-[40px] flex-shrink-0 lg:mr-[32px] lg:h-[60px] lg:w-[60px]"
56
+ className="mr-[12px] h-[40px] w-[40px] flex-shrink-0 sm-top:mr-[28px] sm-top:h-[52px] sm-top:w-[52px] lg:mr-[32px] lg:h-[60px] lg:w-[60px]"
57
57
  />
58
58
  <div className="w-full">
59
59
  <p className="body_small2_mo sm-top:body_small2_tb lg:body_small2 text-grayScale2">
@@ -63,7 +63,7 @@ const AnswerBox = ({
63
63
  {item.content}
64
64
  </p>
65
65
  <div
66
- className={`max-sm-top:gap-[8px] sm-top:mt-[12px] sm-top:justify-between mt-[8px] flex flex-row items-center lg:mt-[20px] `}
66
+ className={`mt-[8px] flex flex-row items-center max-sm-top:gap-[8px] sm-top:mt-[12px] sm-top:justify-between lg:mt-[20px] `}
67
67
  >
68
68
  <p
69
69
  className={`body_small2_mo sm-top:body_small2_tb lg:body_small2 max-sm-top:h-[18px] ${
@@ -78,29 +78,29 @@ const AnswerBox = ({
78
78
  alt="arrow"
79
79
  width={16.6}
80
80
  height={10}
81
- className={`sm-top:h-[10px] sm-top:w-[16.6px] h-[6px] w-[10px] transition-transform duration-300 ${
81
+ className={`h-[6px] w-[10px] transition-transform duration-300 sm-top:h-[10px] sm-top:w-[16.6px] ${
82
82
  isOpen ? 'rotate-180' : ''
83
83
  }`}
84
84
  />
85
85
  ) : (
86
- <div className="bg-mycaseMainColor sm-top:h-[2px] sm-top:w-[16px] h-[1px] w-[12px] lg:w-[20px]"></div>
86
+ <div className="h-[1px] w-[12px] bg-mycaseMainColor sm-top:h-[2px] sm-top:w-[16px] lg:w-[20px]"></div>
87
87
  )}
88
88
  </div>
89
89
  </div>
90
90
  </div>
91
91
 
92
92
  <div
93
- className={`border-grayScale7 sm-top:px-[40px] flex flex-row overflow-hidden rounded-b-[20px] border-x-[2px] border-b-[2px] border-solid px-[20px] transition-all duration-500 lg:px-[48px] ${
94
- isOpen ? 'sm-top:py-[28px] h-full py-[20px] opacity-100 lg:py-[36px]' : 'h-0 opacity-0'
93
+ className={`flex flex-row overflow-hidden rounded-b-[20px] border-x-[2px] border-b-[2px] border-solid border-grayScale7 px-[20px] transition-all duration-500 sm-top:px-[40px] lg:px-[48px] ${
94
+ isOpen ? 'h-full py-[20px] opacity-100 sm-top:py-[28px] lg:py-[36px]' : 'h-0 opacity-0'
95
95
  }`}
96
96
  >
97
- <div className="sm-top:mr-[28px] sm-top:gap-[4px] mr-[12px] flex flex-shrink-0 flex-col items-center justify-center lg:mr-[32px] lg:gap-[12px]">
97
+ <div className="mr-[12px] flex flex-shrink-0 flex-col items-center justify-center sm-top:mr-[28px] sm-top:gap-[4px] lg:mr-[32px] lg:gap-[12px]">
98
98
  <Image
99
99
  src={daeryun}
100
100
  alt="client"
101
101
  width={60}
102
102
  height={60}
103
- className="sm-top:h-[52px] sm-top:w-[52px] h-[40px] w-[40px] flex-shrink-0 lg:h-[60px] lg:w-[60px]"
103
+ className="h-[40px] w-[40px] flex-shrink-0 sm-top:h-[52px] sm-top:w-[52px] lg:h-[60px] lg:w-[60px]"
104
104
  />
105
105
  <p className=" sm-top:body_small2_tb lg:body_small2 text-mycaseMainColor max-sm-top:hidden">
106
106
  담당자
@@ -110,7 +110,7 @@ const AnswerBox = ({
110
110
  <p className="body_small2_mo sm-top:body_small2_tb lg:body_small2 text-grayScale2">
111
111
  {dayjs(item?.answer_at).format('YYYY.MM.DD HH:mm')}
112
112
  </p>
113
- <p className="body_medium2_mo sm-top:body_medium2_tb lg:body_medium2 sm-top:mt-[4px] text-black lg:mt-[5px]">
113
+ <p className="body_medium2_mo sm-top:body_medium2_tb lg:body_medium2 text-black sm-top:mt-[4px] lg:mt-[5px]">
114
114
  {item?.answer}
115
115
  </p>
116
116
  </div>
@@ -153,7 +153,7 @@ const CaseInquiry = ({
153
153
  <Loading />
154
154
  ) : (
155
155
  <>
156
- <div className="sm-top:gap-[12px] flex flex-col gap-[8px] lg:gap-[24px]">
156
+ <div className="flex flex-col gap-[8px] sm-top:gap-[12px] lg:gap-[24px]">
157
157
  {myCaseQuestion?.length > 0 ? (
158
158
  myCaseQuestion?.map((item, index) => (
159
159
  <AnswerBox
@@ -171,20 +171,20 @@ const CaseInquiry = ({
171
171
  <div
172
172
  className={` flex items-center justify-end ${
173
173
  myCaseQuestion?.length > 0
174
- ? 'sm-top:mt-[80px] mt-[40px] lg:mt-[60px] '
175
- : 'sm-top:mt-[95px] mt-[69px] lg:mt-[112px]'
174
+ ? 'mt-[40px] sm-top:mt-[80px] lg:mt-[60px] '
175
+ : 'mt-[69px] sm-top:mt-[95px] lg:mt-[112px]'
176
176
  }`}
177
177
  >
178
178
  <button
179
179
  onClick={() => setIsOpen(prev => !prev)}
180
- className=" bg-mycaseMainColor sm-top:h-[60px] sm-top:w-[188px] sm-top:gap-[23px] sm-top:rounded-[36px] flex h-[48px] w-[132px] items-center justify-center gap-[14px] rounded-[24px] text-white lg:h-[72px] lg:w-[220px] lg:gap-[21px]"
180
+ className=" flex h-[48px] w-[132px] items-center justify-center gap-[14px] rounded-[24px] bg-mycaseMainColor text-white sm-top:h-[60px] sm-top:w-[188px] sm-top:gap-[23px] sm-top:rounded-[36px] lg:h-[72px] lg:w-[220px] lg:gap-[21px]"
181
181
  >
182
182
  <Image
183
183
  src={inkPen}
184
184
  alt="ink_pen"
185
185
  width={28.5}
186
186
  height={28.5}
187
- className="sm-top:h-[23.75px] sm-top:w-[23.75px] h-[19px] w-[19px] lg:h-[28.5px] lg:w-[28.5px]"
187
+ className="h-[19px] w-[19px] sm-top:h-[23.75px] sm-top:w-[23.75px] lg:h-[28.5px] lg:w-[28.5px]"
188
188
  />
189
189
  <p
190
190
  className="body_large2_mo sm-top:body_large2_tb lg:body_large2"
@@ -3,7 +3,7 @@ import { useState } from 'react';
3
3
  import FileUploadModal from '../_modal/FileUploadModal';
4
4
  import FileSuccessModal from '../_modal/FileSuccessModal';
5
5
  import FileUpload from './FileUpload';
6
- import upload from '../../../../../../asset/images/mycase/icon/upload.webp';
6
+ import upload from '../../../../../../asset/images/myCase/icon/upload.webp';
7
7
  const FileDropZone = ({ id, refetch }) => {
8
8
  const [isOpen, setIsOpen] = useState(false);
9
9
  const saved = localStorage.getItem('isFileUploadModalCheck');
@@ -3,7 +3,7 @@ import { useState } from 'react';
3
3
  import FileUploadModal from '../_modal/FileUploadModal';
4
4
  import FileSuccessModal from '../_modal/FileSuccessModal';
5
5
  import FileUpload from './FileUpload';
6
- import upload from '../../../../../../asset/images/mycase/icon/upload.webp';
6
+ import upload from '../../../../../../asset/images/myCase/icon/upload.webp';
7
7
 
8
8
  const FileDropZone = ({ id, refetch }: { id: string; refetch: () => void }) => {
9
9
  const [isOpen, setIsOpen] = useState(false);
@@ -6,15 +6,15 @@ const CaseInquiryConfirmModal = ({ isOpen, onClose, id, refetch }) => {
6
6
  return (<ModalContainer isOpen={isOpen} onClose={() => {
7
7
  onClose();
8
8
  }}>
9
- <div className="border-grayScale4 bg-grayScale8 sm-top:w-[calc(100%-252px)] sm-top:max-w-[648px] sm-top:rounded-[24px] sm-top:px-[52px] sm-top:py-[44px] absolute flex w-[calc(100%-40px)] flex-col items-center justify-center overflow-y-auto rounded-[12px] border border-solid p-[30px] lg:w-full lg:max-w-[804px] lg:p-[52px] " onClick={e => e.stopPropagation()}>
10
- <Image src={modalIcon} alt="check" width={40} height={48.9} className="sm-top:h-[68.44px] sm-top:w-[56px] h-[48.9px] w-[40px] lg:h-[88px] lg:w-[72px]"/>
11
- <p className="body_large1_mo sm-top:body_large1_tb sm-top: lg:body_large1 sm-top:mt-[20px] mt-[16.11px] lg:mt-[36px]">
9
+ <div className="absolute flex w-[calc(100%-40px)] flex-col items-center justify-center overflow-y-auto rounded-[12px] border border-solid border-grayScale4 bg-grayScale8 p-[30px] sm-top:w-[calc(100%-252px)] sm-top:max-w-[648px] sm-top:rounded-[24px] sm-top:px-[52px] sm-top:py-[44px] lg:w-full lg:max-w-[804px] lg:p-[52px] " onClick={e => e.stopPropagation()}>
10
+ <Image src={modalIcon} alt="check" width={40} height={48.9} className="h-[48.9px] w-[40px] sm-top:h-[68.44px] sm-top:w-[56px] lg:h-[88px] lg:w-[72px]"/>
11
+ <p className="body_large1_mo sm-top:body_large1_tb sm-top: lg:body_large1 mt-[16.11px] sm-top:mt-[20px] lg:mt-[36px]">
12
12
  사건문의 작성이 완료되었습니다.
13
13
  </p>
14
- <p className="body_medium2_mo sm-top:body_medium2_tb lg:body_medium2 text-grayScale3 sm-top:mt-[16px] mt-[8px] text-center lg:mt-[20px]">
14
+ <p className="body_medium2_mo sm-top:body_medium2_tb lg:body_medium2 mt-[8px] text-center text-grayScale3 sm-top:mt-[16px] lg:mt-[20px]">
15
15
  문의에 대한 답변은 평균 1일 정도 소요될 예정입니다.
16
16
  </p>
17
- <button className={`bg-grayScale1 sm-top:mt-[40px] sm-top:h-[60px] sm-top:rounded-[8px] mt-[20px] h-[48px] w-full rounded-[4px] lg:mt-[47px] lg:h-[72px] lg:rounded-[16px] `} onClick={() => {
17
+ <button className={`mt-[20px] h-[48px] w-full rounded-[4px] bg-grayScale1 sm-top:mt-[40px] sm-top:h-[60px] sm-top:rounded-[8px] lg:mt-[47px] lg:h-[72px] lg:rounded-[16px] `} onClick={() => {
18
18
  onClose();
19
19
  }}>
20
20
  <p className="body_large2_mo sm-top:body_large2_tb lg:body_large2 text-white" style={{ color: 'white' }}>
@@ -22,7 +22,7 @@ const CaseInquiryConfirmModal = ({
22
22
  }}
23
23
  >
24
24
  <div
25
- className="border-grayScale4 bg-grayScale8 sm-top:w-[calc(100%-252px)] sm-top:max-w-[648px] sm-top:rounded-[24px] sm-top:px-[52px] sm-top:py-[44px] absolute flex w-[calc(100%-40px)] flex-col items-center justify-center overflow-y-auto rounded-[12px] border border-solid p-[30px] lg:w-full lg:max-w-[804px] lg:p-[52px] "
25
+ className="absolute flex w-[calc(100%-40px)] flex-col items-center justify-center overflow-y-auto rounded-[12px] border border-solid border-grayScale4 bg-grayScale8 p-[30px] sm-top:w-[calc(100%-252px)] sm-top:max-w-[648px] sm-top:rounded-[24px] sm-top:px-[52px] sm-top:py-[44px] lg:w-full lg:max-w-[804px] lg:p-[52px] "
26
26
  onClick={e => e.stopPropagation()}
27
27
  >
28
28
  <Image
@@ -30,16 +30,16 @@ const CaseInquiryConfirmModal = ({
30
30
  alt="check"
31
31
  width={40}
32
32
  height={48.9}
33
- className="sm-top:h-[68.44px] sm-top:w-[56px] h-[48.9px] w-[40px] lg:h-[88px] lg:w-[72px]"
33
+ className="h-[48.9px] w-[40px] sm-top:h-[68.44px] sm-top:w-[56px] lg:h-[88px] lg:w-[72px]"
34
34
  />
35
- <p className="body_large1_mo sm-top:body_large1_tb sm-top: lg:body_large1 sm-top:mt-[20px] mt-[16.11px] lg:mt-[36px]">
35
+ <p className="body_large1_mo sm-top:body_large1_tb sm-top: lg:body_large1 mt-[16.11px] sm-top:mt-[20px] lg:mt-[36px]">
36
36
  사건문의 작성이 완료되었습니다.
37
37
  </p>
38
- <p className="body_medium2_mo sm-top:body_medium2_tb lg:body_medium2 text-grayScale3 sm-top:mt-[16px] mt-[8px] text-center lg:mt-[20px]">
38
+ <p className="body_medium2_mo sm-top:body_medium2_tb lg:body_medium2 mt-[8px] text-center text-grayScale3 sm-top:mt-[16px] lg:mt-[20px]">
39
39
  문의에 대한 답변은 평균 1일 정도 소요될 예정입니다.
40
40
  </p>
41
41
  <button
42
- className={`bg-grayScale1 sm-top:mt-[40px] sm-top:h-[60px] sm-top:rounded-[8px] mt-[20px] h-[48px] w-full rounded-[4px] lg:mt-[47px] lg:h-[72px] lg:rounded-[16px] `}
42
+ className={`mt-[20px] h-[48px] w-full rounded-[4px] bg-grayScale1 sm-top:mt-[40px] sm-top:h-[60px] sm-top:rounded-[8px] lg:mt-[47px] lg:h-[72px] lg:rounded-[16px] `}
43
43
  onClick={() => {
44
44
  onClose();
45
45
  }}
@@ -1,6 +1,6 @@
1
1
  import Image from 'next/image';
2
2
  import ModalContainer from './ModalCotainer';
3
- import file from '../../../../../../asset/images/mycase/icon/file.webp';
3
+ import file from '../../../../../../asset/images/myCase/icon/file.webp';
4
4
  import { useState } from 'react';
5
5
  const FileUploadModal = ({ isOpen, onClose, getRootProps, getInputProps }) => {
6
6
  const [value, setValue] = useState('');
@@ -1,6 +1,6 @@
1
1
  import Image from 'next/image';
2
2
  import ModalContainer from './ModalCotainer';
3
- import file from '../../../../../../asset/images/mycase/icon/file.webp';
3
+ import file from '../../../../../../asset/images/myCase/icon/file.webp';
4
4
  import { useState } from 'react';
5
5
 
6
6
  const FileUploadModal = ({