@daeryun/dr_components 0.7.48 → 0.7.50

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.
Files changed (27) hide show
  1. package/dist/asset/images/PageTitleBox/lawfirm.webp +0 -0
  2. package/dist/asset/images/PageTitleBox/lawfirm_m.webp +0 -0
  3. package/dist/asset/images/categoryMenu/HouseWhite.svg +3 -0
  4. package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
  5. package/dist/components/CategoryMenu/CategoryMenuForPage.d.ts +2 -1
  6. package/dist/components/CategoryMenu/CategoryMenuForPage.jsx +9 -8
  7. package/dist/components/CategoryMenu/CategoryMenuForPage.tsx +14 -14
  8. package/dist/components/PageTitleBox/ImgTypes.d.ts +1 -0
  9. package/dist/components/PageTitleBox/ImgTypes.js +2 -1
  10. package/dist/components/PageTitleBox/ImgTypes.ts +2 -1
  11. package/dist/components/PageTitleBox/PageTitleBox.d.ts +3 -1
  12. package/dist/components/PageTitleBox/PageTitleBox.jsx +10 -6
  13. package/dist/components/PageTitleBox/PageTitleBox.tsx +25 -7
  14. package/dist/components/SubPage/SubPageTitle.d.ts +1 -0
  15. package/dist/components/SubPage/SubPageTitle.jsx +3 -2
  16. package/dist/components/SubPage/SubPageTitle.tsx +5 -1
  17. package/dist/components/common/integrate/index.d.ts +1 -1
  18. package/dist/components/common/strength/index.js +2 -1
  19. package/dist/components/common/strength/index.ts +2 -1
  20. package/dist/components/page/Choice/Choice.jsx +2 -0
  21. package/dist/components/page/Choice/Choice.tsx +2 -0
  22. package/dist/components/page/ConsultComplete/ConsultComplete.jsx +1 -1
  23. package/dist/components/page/ConsultComplete/ConsultComplete.tsx +1 -1
  24. package/dist/components/page/ConsultComplete/complete.module.css +1 -0
  25. package/dist/styles/globals.css +315 -286
  26. package/dist/tsconfig.tsbuildinfo +1 -1
  27. package/package.json +1 -1
@@ -16,6 +16,7 @@ import replyImg from '../../asset/images/PageTitleBox/reply.webp';
16
16
  import successImg from '../../asset/images/PageTitleBox/success.webp';
17
17
  import trendImg from '../../asset/images/PageTitleBox/trend.webp';
18
18
  import faqImg from '../../asset/images/PageTitleBox/faq.webp';
19
+ import lawfirmImg from '../../asset/images/PageTitleBox/lawfirm.webp';
19
20
 
20
21
  import archiveImgM from '../../asset/images/PageTitleBox/archive_m.webp';
21
22
  import broadcastImgM from '../../asset/images/PageTitleBox/broadcast_m.webp';
@@ -26,6 +27,7 @@ import replyImgM from '../../asset/images/PageTitleBox/reply_m.webp';
26
27
  import successImgM from '../../asset/images/PageTitleBox/success_m.webp';
27
28
  import trendImgM from '../../asset/images/PageTitleBox/trend_m.webp';
28
29
  import faqImgM from '../../asset/images/PageTitleBox/faq_m.webp';
30
+ import lawfirmImgM from '../../asset/images/PageTitleBox/lawfirm_m.webp';
29
31
  import useBrowser from '../common/hook/useBrowser';
30
32
 
31
33
  export type ImgType = (typeof ImgTypes)[keyof typeof ImgTypes];
@@ -39,7 +41,8 @@ const imageMap: Record<ImgType, StaticImageData> = {
39
41
  [ImgTypes.REPLY]: replyImg,
40
42
  [ImgTypes.SUCCESS]: successImg,
41
43
  [ImgTypes.TREND]: trendImg,
42
- [ImgTypes.FAQ]: faqImg
44
+ [ImgTypes.FAQ]: faqImg,
45
+ [ImgTypes.LAWFIRM]: lawfirmImg
43
46
  };
44
47
 
45
48
  const imageMapMobile: Record<ImgType, StaticImageData> = {
@@ -51,7 +54,8 @@ const imageMapMobile: Record<ImgType, StaticImageData> = {
51
54
  [ImgTypes.REPLY]: replyImgM,
52
55
  [ImgTypes.SUCCESS]: successImgM,
53
56
  [ImgTypes.TREND]: trendImgM,
54
- [ImgTypes.FAQ]: faqImgM
57
+ [ImgTypes.FAQ]: faqImgM,
58
+ [ImgTypes.LAWFIRM]: lawfirmImgM
55
59
  };
56
60
 
57
61
  interface PageTitleBoxProps {
@@ -61,9 +65,20 @@ interface PageTitleBoxProps {
61
65
  isViewP?: boolean;
62
66
  isSeo?: boolean;
63
67
  isUseHeaderComponent?: boolean;
68
+ isWhiteText?: boolean;
69
+ isImgRigthAlign?: boolean;
64
70
  }
65
71
 
66
- const PageTitleBox = ({ titleTxt, subTxt, imgType, isViewP, isSeo, isUseHeaderComponent }: PageTitleBoxProps) => {
72
+ const PageTitleBox = ({
73
+ titleTxt,
74
+ subTxt,
75
+ imgType,
76
+ isViewP,
77
+ isSeo,
78
+ isUseHeaderComponent,
79
+ isWhiteText,
80
+ isImgRigthAlign
81
+ }: PageTitleBoxProps) => {
67
82
  const { width } = useBrowser();
68
83
 
69
84
  // seo페이지 사용시 div 아니면 공통 래퍼 사용
@@ -86,7 +101,7 @@ const PageTitleBox = ({ titleTxt, subTxt, imgType, isViewP, isSeo, isUseHeaderCo
86
101
  alt={'페이지 타이틀 배경 pc 버전'}
87
102
  fill
88
103
  sizes={'100vw'}
89
- className={'h-full w-full object-cover'}
104
+ className={`h-full w-full object-cover ${isImgRigthAlign ? 'object-[right] max-xxl:object-[calc(100%--80px)_center] max-xl:object-[calc(100%--120px)_center] max-md2:object-[calc(100%--190px)]' : ''}`}
90
105
  unoptimized
91
106
  priority
92
107
  draggable={false}
@@ -97,7 +112,7 @@ const PageTitleBox = ({ titleTxt, subTxt, imgType, isViewP, isSeo, isUseHeaderCo
97
112
  alt={'페이지 타이틀 배경 모바일 버전'}
98
113
  fill
99
114
  sizes={'100vw'}
100
- className={'h-full w-full object-cover'}
115
+ className={`h-full w-full object-cover`}
101
116
  priority
102
117
  draggable={false}
103
118
  />
@@ -107,8 +122,11 @@ const PageTitleBox = ({ titleTxt, subTxt, imgType, isViewP, isSeo, isUseHeaderCo
107
122
  isSeo ? 'relative m-auto w-[90%] max-w-[1536px] tracking-[-0.5px] max-xs:mb-[30px]' : 'relative'
108
123
  }
109
124
  >
110
- <CategoryMenuForPage className="mb-[26px] max-md:mb-[20px] max-xs:mb-[12px]" />
111
- <SubPageTitle titleTxt={titleTxt} subTxt={subTxt} isViewP={isViewP} />
125
+ <CategoryMenuForPage
126
+ isWhiteText={isWhiteText}
127
+ className="mb-[26px] max-md:mb-[20px] max-xs:mb-[12px]"
128
+ />
129
+ <SubPageTitle titleTxt={titleTxt} subTxt={subTxt} isViewP={isViewP} isWhiteText={isWhiteText} />
112
130
  </Wrapper>
113
131
  </div>
114
132
  );
@@ -8,5 +8,6 @@ declare const SubPageTitle: (props: {
8
8
  marginBottom?: number;
9
9
  isViewP?: boolean;
10
10
  isRed?: boolean;
11
+ isWhiteText?: boolean;
11
12
  }) => React.JSX.Element;
12
13
  export default SubPageTitle;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  const SubPageTitle = (props) => {
3
3
  return (<div className={props.tailwindStyle ? props.tailwindStyle : ''}>
4
- <section className={'relative mx-auto flex w-full flex-row items-center justify-between '}>
4
+ <section className={`${props.isWhiteText ? 'text-white' : ''} relative mx-auto flex w-full flex-row items-center justify-between `}>
5
5
  {props.isViewP ? (<p className={'relative block font-[SUIT] text-[56px] font-[800] leading-[1.2] tracking-[-1.5px] ' +
6
6
  (props.isRed ? ' after:bg-mainRed ' : ' after:bg-[#285FA7] ') +
7
7
  //1500px
@@ -23,7 +23,8 @@ const SubPageTitle = (props) => {
23
23
  {props.titleTxt}
24
24
  </h1>)}
25
25
  </section>
26
- {props.subTxt ? (<div className={'mt-[17px] text-[24px] leading-[1.4] tracking-[-0.7px] text-[#58595B] ' +
26
+ {props.subTxt ? (<div className={(props.isWhiteText ? 'text-white ' : 'text-[#58595B] ') +
27
+ 'mt-[17px] text-[24px] leading-[1.4] tracking-[-0.7px] text-[#58595B] ' +
27
28
  //1500px
28
29
  'max-3xl:text-[22px] ' +
29
30
  //768px
@@ -9,10 +9,13 @@ const SubPageTitle = (props: {
9
9
  marginBottom?: number;
10
10
  isViewP?: boolean;
11
11
  isRed?: boolean;
12
+ isWhiteText?: boolean;
12
13
  }) => {
13
14
  return (
14
15
  <div className={props.tailwindStyle ? props.tailwindStyle : ''}>
15
- <section className={'relative mx-auto flex w-full flex-row items-center justify-between '}>
16
+ <section
17
+ className={`${props.isWhiteText ? 'text-white' : ''} relative mx-auto flex w-full flex-row items-center justify-between `}
18
+ >
16
19
  {props.isViewP ? (
17
20
  <p
18
21
  className={
@@ -49,6 +52,7 @@ const SubPageTitle = (props: {
49
52
  {props.subTxt ? (
50
53
  <div
51
54
  className={
55
+ (props.isWhiteText ? 'text-white ' : 'text-[#58595B] ') +
52
56
  'mt-[17px] text-[24px] leading-[1.4] tracking-[-0.7px] text-[#58595B] ' +
53
57
  //1500px
54
58
  'max-3xl:text-[22px] ' +
@@ -2,7 +2,7 @@ export declare const getSearchKeywordJson: (searchKeywords: {
2
2
  code_name: string;
3
3
  survey_title: string;
4
4
  }[]) => {
5
- [key: string]: string[];
5
+ [x: string]: string[];
6
6
  };
7
7
  export declare const tabTypes: {
8
8
  tab: string;
@@ -169,7 +169,8 @@ export const strengthList = [
169
169
  '평일 저녁은 물론 주말, 공휴일에도 전문변호사가 즉시 법률상담 진행',
170
170
  '24시간 대응 시스템 운영하여 급박한 경찰조사에 전문변호사가 곧바로 동행',
171
171
  '사건 진행 상황을 고객에게 정기적으로 보고하는 시스템 운영',
172
- '변호사와 커뮤니케이션 요청 시 전담 변호사와 담당팀이 답신·회신하여 24시간 고객과 소통'
172
+ '변호사와 커뮤니케이션 요청 시 전담 변호사와 담당팀이 답신·회신하여 24시간 고객과 소통',
173
+ '직접 방문이 어려운 고객들을 위한 맞춤형 화상상담 서비스 제공'
173
174
  ]
174
175
  }
175
176
  ]
@@ -170,7 +170,8 @@ export const strengthList: { subTitle: string; title: string; list: { liTitle: s
170
170
  '평일 저녁은 물론 주말, 공휴일에도 전문변호사가 즉시 법률상담 진행',
171
171
  '24시간 대응 시스템 운영하여 급박한 경찰조사에 전문변호사가 곧바로 동행',
172
172
  '사건 진행 상황을 고객에게 정기적으로 보고하는 시스템 운영',
173
- '변호사와 커뮤니케이션 요청 시 전담 변호사와 담당팀이 답신·회신하여 24시간 고객과 소통'
173
+ '변호사와 커뮤니케이션 요청 시 전담 변호사와 담당팀이 답신·회신하여 24시간 고객과 소통',
174
+ '직접 방문이 어려운 고객들을 위한 맞춤형 화상상담 서비스 제공'
174
175
  ]
175
176
  }
176
177
  ]
@@ -173,6 +173,8 @@ const Index = ({ initialData, tel, aceUrl }) => {
173
173
  동시간에 긴급한 우선 상담 사안이 발생하거나 <br />
174
174
  회사 내부사정에 따라 상담 일정이 <br className={'max-lg:hidden max-sm:block'}/>
175
175
  조정되거나 취소될 수 있습니다.
176
+ <br />
177
+ <br />※ 직접 방문이 어려운 고객들을 위한 맞춤형 화상상담 서비스도 제공합니다.
176
178
  </p>
177
179
  </span>
178
180
  <span className={'block h-[1px] w-full bg-[#CECECE] ' +
@@ -205,6 +205,8 @@ const Index = ({ initialData, tel, aceUrl }: { initialData: IInitialDataTypes; t
205
205
  동시간에 긴급한 우선 상담 사안이 발생하거나 <br />
206
206
  회사 내부사정에 따라 상담 일정이 <br className={'max-lg:hidden max-sm:block'} />
207
207
  조정되거나 취소될 수 있습니다.
208
+ <br />
209
+ <br />※ 직접 방문이 어려운 고객들을 위한 맞춤형 화상상담 서비스도 제공합니다.
208
210
  </p>
209
211
  </span>
210
212
  <span
@@ -97,7 +97,7 @@ const ConsultComplete = (props) => {
97
97
  </div>
98
98
  </section>
99
99
  </>) : (<>
100
- <section>
100
+ <section className={'py-[400px]'}>
101
101
  <div className={style.complete}>
102
102
  <svg className={style.svg} version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 130.2 130.2">
103
103
  <circle className={classNames({ [style.path]: true, [style.circle]: true })} fill="none" stroke="#ab0634" strokeWidth="6" strokeMiterlimit="10" cx="65.1" cy="65.1" r="62.1"/>
@@ -176,7 +176,7 @@ const ConsultComplete = (props: { result: boolean }) => {
176
176
  </>
177
177
  ) : (
178
178
  <>
179
- <section>
179
+ <section className={'py-[400px]'}>
180
180
  <div className={style.complete}>
181
181
  <svg
182
182
  className={style.svg}
@@ -39,6 +39,7 @@
39
39
  font-size: 18px;
40
40
  font-weight: 400;
41
41
  margin-right: 5px;
42
+ margin-top: 50px;
42
43
  border: 1px solid #d5d5d5;
43
44
  }
44
45
  .complete .btn button:hover {