@daeryun/dr_components 0.6.31 → 0.6.34

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.
@@ -364,7 +364,7 @@ export default Fix;
364
364
  const OnlineBox = (props) => {
365
365
  const closeRef = useRef(null);
366
366
  return (<div ref={props.onlineRef} className={'fixed bottom-[80px] right-[25px] z-50 h-[300px] w-[300px] bg-white px-[30px] py-[26px] shadow-[0_4px_8px_0_rgba(0,0,0,0.1)] ' +
367
- 'max-5xl:bottom-[15px] max-5xl:h-[230px] max-5xl:w-[230px] max-5xl:px-[22px] max-5xl:py-[20px] ' +
367
+ 'max-5xl:bottom-[75px] max-5xl:h-[230px] max-5xl:w-[230px] max-5xl:px-[22px] max-5xl:py-[20px] ' +
368
368
  'max-lg:bottom-[85px] max-lg:left-[20px] max-lg:h-[160px] max-lg:w-[240px] max-lg:px-[20px] max-lg:py-[17px] ' +
369
369
  'animate-[fadeIn_0.15s] transition-opacity '}>
370
370
  <span className={'z-10 mb-[11px] flex w-full items-center justify-between text-[26px] font-bold leading-[30px] tracking-[-1.3px] max-5xl:text-[20px] max-lg:text-[18px] max-lg:leading-[23px]'}>
@@ -566,7 +566,7 @@ const OnlineBox = (props: {
566
566
  ref={props.onlineRef}
567
567
  className={
568
568
  'fixed bottom-[80px] right-[25px] z-50 h-[300px] w-[300px] bg-white px-[30px] py-[26px] shadow-[0_4px_8px_0_rgba(0,0,0,0.1)] ' +
569
- 'max-5xl:bottom-[15px] max-5xl:h-[230px] max-5xl:w-[230px] max-5xl:px-[22px] max-5xl:py-[20px] ' +
569
+ 'max-5xl:bottom-[75px] max-5xl:h-[230px] max-5xl:w-[230px] max-5xl:px-[22px] max-5xl:py-[20px] ' +
570
570
  'max-lg:bottom-[85px] max-lg:left-[20px] max-lg:h-[160px] max-lg:w-[240px] max-lg:px-[20px] max-lg:py-[17px] ' +
571
571
  'animate-[fadeIn_0.15s] transition-opacity '
572
572
  }
@@ -17,6 +17,7 @@ interface DetailProps {
17
17
  code_name: string;
18
18
  initialData: IInitialDataTypes;
19
19
  tel: string;
20
+ isUseHeaderComponent?: boolean;
20
21
  }
21
- declare const FaqDetail: ({ faq, lawyerData, fieldData, successData, pnData, code_desc, code_name, initialData, tel }: DetailProps) => import("react").JSX.Element;
22
+ declare const FaqDetail: ({ faq, lawyerData, fieldData, successData, pnData, code_desc, code_name, initialData, tel, isUseHeaderComponent }: DetailProps) => import("react").JSX.Element;
22
23
  export default FaqDetail;
@@ -15,7 +15,7 @@ import { FieldCase } from '../../../Seo/FieldCase';
15
15
  import EyeImg from '../../../../asset/images/faq/eye.webp';
16
16
  import IconLeft from '../../../../asset/images/seo/left.webp';
17
17
  import IconRight from '../../../../asset/images/seo/right.webp';
18
- const FaqDetail = ({ faq, lawyerData, fieldData, successData, pnData, code_desc, code_name, initialData, tel }) => {
18
+ const FaqDetail = ({ faq, lawyerData, fieldData, successData, pnData, code_desc, code_name, initialData, tel, isUseHeaderComponent }) => {
19
19
  var _a, _b, _c, _d, _e;
20
20
  const printRef = useRef(null);
21
21
  return (<>
@@ -23,7 +23,7 @@ const FaqDetail = ({ faq, lawyerData, fieldData, successData, pnData, code_desc,
23
23
  법률 궁금증 비전문가, 광고성 답변에 지쳤다면?
24
24
  <br />
25
25
  대륜의 전문변호사가 답변 드리겠습니다.
26
- </span>} imgType={ImgTypes.FAQ} isSeo isViewP/>
26
+ </span>} imgType={ImgTypes.FAQ} isSeo isViewP isUseHeaderComponent={isUseHeaderComponent}/>
27
27
  <div className={'relative m-auto mb-[100px] w-[90%] max-w-[1536px] tracking-[-0.5px] max-xs:mb-[30px]'}>
28
28
  <section className={'mb-20 mt-[10px] flex w-full gap-[96px] max-xl:flex-col max-xl:gap-[50px] xl:mt-[80px]'} id={'sub_contents'}>
29
29
  {/*faq*/}
@@ -39,6 +39,7 @@ interface DetailProps {
39
39
  code_name: string;
40
40
  initialData: IInitialDataTypes;
41
41
  tel: string;
42
+ isUseHeaderComponent?: boolean;
42
43
  }
43
44
  const FaqDetail = ({
44
45
  faq,
@@ -49,7 +50,8 @@ const FaqDetail = ({
49
50
  code_desc,
50
51
  code_name,
51
52
  initialData,
52
- tel
53
+ tel,
54
+ isUseHeaderComponent
53
55
  }: DetailProps) => {
54
56
  const printRef = useRef<HTMLDivElement>(null);
55
57
  return (
@@ -66,6 +68,7 @@ const FaqDetail = ({
66
68
  imgType={ImgTypes.FAQ}
67
69
  isSeo
68
70
  isViewP
71
+ isUseHeaderComponent={isUseHeaderComponent}
69
72
  />
70
73
  <div className={'relative m-auto mb-[100px] w-[90%] max-w-[1536px] tracking-[-0.5px] max-xs:mb-[30px]'}>
71
74
  <section
@@ -19,6 +19,7 @@ interface FaqListProps {
19
19
  }[];
20
20
  faqList: IFaqTypes[];
21
21
  currentCodeDesc?: string;
22
+ isUseHeaderComponent?: boolean;
22
23
  }
23
- declare const FaqList: ({ SearchBarProps, PaginationProps, groupList, faqList, currentCodeDesc }: FaqListProps) => import("react").JSX.Element;
24
+ declare const FaqList: ({ SearchBarProps, PaginationProps, groupList, faqList, currentCodeDesc, isUseHeaderComponent }: FaqListProps) => import("react").JSX.Element;
24
25
  export default FaqList;
@@ -10,13 +10,13 @@ import Image from 'next/image';
10
10
  import PaginationComponent from '../MyCase/_component/_pagination/PaginationComponent';
11
11
  import EyeImg from '../../../asset/images/faq/eye.webp';
12
12
  import PlusImg from '../../../asset/images/faq/plus.webp';
13
- const FaqList = ({ SearchBarProps, PaginationProps, groupList, faqList, currentCodeDesc }) => {
13
+ const FaqList = ({ SearchBarProps, PaginationProps, groupList, faqList, currentCodeDesc, isUseHeaderComponent }) => {
14
14
  return (<>
15
15
  <PageTitleBox titleTxt={'법률지식인'} subTxt={<span>
16
16
  법률 궁금증 비전문가, 광고성 답변에 지쳤다면?
17
17
  <br />
18
18
  대륜의 전문변호사가 답변 드리겠습니다.
19
- </span>} imgType={ImgTypes.FAQ}/>
19
+ </span>} imgType={ImgTypes.FAQ} isUseHeaderComponent={isUseHeaderComponent}/>
20
20
  <PageWrapper className={'tracking-[-0.5px]'}>
21
21
  <span className={'h-auto w-auto'}>
22
22
  <SearchBar label={'법률지식인 검색창'} onChange={SearchBarProps.handleInputChange} onClick={SearchBarProps.handleSearch} search={SearchBarProps.searchInput} placeholder={''} isKeyPress={true} marginTop={[70, 50, 50]} marginBottom={0}/>
@@ -31,9 +31,17 @@ interface FaqListProps {
31
31
  groupList: { code: string; code_name: string | null; code_desc: string | null }[];
32
32
  faqList: IFaqTypes[];
33
33
  currentCodeDesc?: string;
34
+ isUseHeaderComponent?: boolean;
34
35
  }
35
36
 
36
- const FaqList = ({ SearchBarProps, PaginationProps, groupList, faqList, currentCodeDesc }: FaqListProps) => {
37
+ const FaqList = ({
38
+ SearchBarProps,
39
+ PaginationProps,
40
+ groupList,
41
+ faqList,
42
+ currentCodeDesc,
43
+ isUseHeaderComponent
44
+ }: FaqListProps) => {
37
45
  return (
38
46
  <>
39
47
  <PageTitleBox
@@ -46,6 +54,7 @@ const FaqList = ({ SearchBarProps, PaginationProps, groupList, faqList, currentC
46
54
  </span>
47
55
  }
48
56
  imgType={ImgTypes.FAQ}
57
+ isUseHeaderComponent={isUseHeaderComponent}
49
58
  />
50
59
  <PageWrapper className={'tracking-[-0.5px]'}>
51
60
  <span className={'h-auto w-auto'}>
@@ -7317,6 +7317,10 @@ body {
7317
7317
  bottom: 15px;
7318
7318
  }
7319
7319
 
7320
+ .max-5xl\:bottom-\[75px\] {
7321
+ bottom: 75px;
7322
+ }
7323
+
7320
7324
  .max-5xl\:mb-\[3px\] {
7321
7325
  margin-bottom: 3px;
7322
7326
  }