@daeryun/dr_components 0.7.48 → 0.7.49
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/asset/images/PageTitleBox/lawfirm.webp +0 -0
- package/dist/asset/images/PageTitleBox/lawfirm_m.webp +0 -0
- package/dist/asset/images/categoryMenu/HouseWhite.svg +3 -0
- package/dist/components/CategoryMenu/CategoryMenuForPage.d.ts +2 -1
- package/dist/components/CategoryMenu/CategoryMenuForPage.jsx +9 -8
- package/dist/components/CategoryMenu/CategoryMenuForPage.tsx +14 -14
- package/dist/components/PageTitleBox/ImgTypes.d.ts +1 -0
- package/dist/components/PageTitleBox/ImgTypes.js +2 -1
- package/dist/components/PageTitleBox/ImgTypes.ts +2 -1
- package/dist/components/PageTitleBox/PageTitleBox.d.ts +3 -1
- package/dist/components/PageTitleBox/PageTitleBox.jsx +10 -6
- package/dist/components/PageTitleBox/PageTitleBox.tsx +25 -7
- package/dist/components/SubPage/SubPageTitle.d.ts +1 -0
- package/dist/components/SubPage/SubPageTitle.jsx +3 -2
- package/dist/components/SubPage/SubPageTitle.tsx +5 -1
- package/dist/components/page/ConsultComplete/ConsultComplete.jsx +1 -1
- package/dist/components/page/ConsultComplete/ConsultComplete.tsx +1 -1
- package/dist/components/page/ConsultComplete/complete.module.css +1 -0
- package/dist/styles/globals.css +14 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M16.6667 14.1668V9.54352C16.6667 9.09824 16.6663 8.87548 16.6122 8.66828C16.5642 8.48466 16.4854 8.31089 16.3788 8.15387C16.2586 7.97668 16.0913 7.82974 15.7562 7.53652L11.7562 4.03652C11.134 3.49212 10.823 3.22005 10.4729 3.11652C10.1644 3.02529 9.83555 3.02529 9.52706 3.11652C9.17722 3.21997 8.86658 3.49178 8.24534 4.03536L4.24402 7.53652C3.90891 7.82974 3.74174 7.97668 3.62146 8.15387C3.51487 8.31089 3.4355 8.48466 3.38752 8.66828C3.33337 8.87548 3.33337 9.09824 3.33337 9.54352V14.1668C3.33337 14.9434 3.33337 15.3315 3.46024 15.6378C3.6294 16.0462 3.95364 16.371 4.36202 16.5402C4.6683 16.6671 5.05659 16.6671 5.83316 16.6671C6.60973 16.6671 6.99844 16.6671 7.30473 16.5402C7.71311 16.371 8.03726 16.0462 8.20642 15.6379C8.33329 15.3316 8.33337 14.9433 8.33337 14.1667V13.3334C8.33337 12.4129 9.07957 11.6667 10 11.6667C10.9205 11.6667 11.6667 12.4129 11.6667 13.3334V14.1667C11.6667 14.9433 11.6667 15.3316 11.7936 15.6379C11.9627 16.0462 12.287 16.371 12.6954 16.5402C13.0016 16.6671 13.3899 16.6671 14.1665 16.6671C14.9431 16.6671 15.3318 16.6671 15.6381 16.5402C16.0464 16.371 16.3706 16.0462 16.5398 15.6378C16.6666 15.3315 16.6667 14.9434 16.6667 14.1668Z" stroke="#ffffff" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
</svg>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
type CategoryMenuType = {
|
|
3
3
|
className?: string;
|
|
4
|
+
isWhiteText?: boolean;
|
|
4
5
|
};
|
|
5
|
-
declare const CategoryMenuForPage: ({ className }: CategoryMenuType) => React.JSX.Element;
|
|
6
|
+
declare const CategoryMenuForPage: ({ className, isWhiteText }: CategoryMenuType) => React.JSX.Element;
|
|
6
7
|
export default CategoryMenuForPage;
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
import React, { useEffect, useState } from 'react';
|
|
3
3
|
import Link from 'next/link';
|
|
4
4
|
import IconHome from '../../asset/images/categoryMenu/House.svg';
|
|
5
|
+
import IconHomeWhite from '../../asset/images/categoryMenu/HouseWhite.svg';
|
|
5
6
|
import IconArrow from '../../asset/images/categoryMenu/right_arrow.svg';
|
|
6
7
|
import { categoryMenuName } from '../../lib';
|
|
7
8
|
import { usePathname } from 'next/navigation';
|
|
8
|
-
const CategoryMenuForPage = ({ className = '' }) => {
|
|
9
|
+
const CategoryMenuForPage = ({ className = '', isWhiteText = false }) => {
|
|
9
10
|
const pathname = usePathname();
|
|
10
11
|
const [menu, setMenu] = useState({
|
|
11
12
|
title: '',
|
|
@@ -23,19 +24,19 @@ const CategoryMenuForPage = ({ className = '' }) => {
|
|
|
23
24
|
return (<div className={'mr-0 flex gap-[3px] text-[16px] font-normal tracking-[-0.32px] max-md:text-[14px] max-3xs:text-[12px] ' +
|
|
24
25
|
className} aria-label={'페이지 상단 네비게이션'}>
|
|
25
26
|
<Link href="/" tabIndex={0} id="daum-wm-content" className={'relative aspect-square w-[20px] max-md:w-[18px] '}>
|
|
26
|
-
<IconHome className={
|
|
27
|
+
{isWhiteText ? (<IconHomeWhite className={`h-full w-full object-contain`}/>) : (<IconHome className={`h-full w-full object-contain`}/>)}
|
|
27
28
|
</Link>
|
|
28
29
|
{menu.title === menu.subTitle ? (<>
|
|
29
|
-
<IconArrow className={'aspect-square w-[20px] scale-[-1]
|
|
30
|
+
<IconArrow className={`${isWhiteText ? ' stroke-white' : ' stroke-[#58595B]'} aspect-square w-[20px] scale-[-1] max-md:w-[18px] max-3xs:w-[16px]`}/>
|
|
30
31
|
<Link href={`/${menu.address}`} onClick={() => reloadUrl(`/${menu.address}`)}>
|
|
31
|
-
<div className={'text-[#58595B]'}>{menu.title}</div>
|
|
32
|
+
<div className={isWhiteText ? 'text-white' : 'text-[#58595B]'}>{menu.title}</div>
|
|
32
33
|
</Link>
|
|
33
34
|
</>) : (<>
|
|
34
|
-
<IconArrow className={'aspect-square w-[20px] scale-[-1]
|
|
35
|
-
<div className={'text-[#58595B]'}>{menu.title}</div>
|
|
36
|
-
<IconArrow className={'aspect-square w-[20px] scale-[-1]
|
|
35
|
+
<IconArrow className={`${isWhiteText ? ' stroke-white' : ' stroke-[#58595B]'} aspect-square w-[20px] scale-[-1] max-md:w-[18px] max-3xs:w-[16px]`}/>
|
|
36
|
+
<div className={isWhiteText ? 'text-white' : 'text-[#58595B]'}>{menu.title}</div>
|
|
37
|
+
<IconArrow className={`${isWhiteText ? ' stroke-white' : ' stroke-[#58595B]'} aspect-square w-[20px] scale-[-1] max-md:w-[18px] max-3xs:w-[16px]`}/>
|
|
37
38
|
<Link href={`/${menu.address}`} onClick={() => reloadUrl(`/${menu.address}`)}>
|
|
38
|
-
<div className={'text-[#58595B]'}>{menu.subTitle}</div>
|
|
39
|
+
<div className={isWhiteText ? 'text-white' : 'text-[#58595B]'}>{menu.subTitle}</div>
|
|
39
40
|
</Link>
|
|
40
41
|
</>)}
|
|
41
42
|
</div>);
|
|
@@ -3,15 +3,17 @@
|
|
|
3
3
|
import React, { useEffect, useState } from 'react';
|
|
4
4
|
import Link from 'next/link';
|
|
5
5
|
import IconHome from '../../asset/images/categoryMenu/House.svg';
|
|
6
|
+
import IconHomeWhite from '../../asset/images/categoryMenu/HouseWhite.svg';
|
|
6
7
|
import IconArrow from '../../asset/images/categoryMenu/right_arrow.svg';
|
|
7
8
|
import { categoryMenuName } from '../../lib';
|
|
8
9
|
import { usePathname } from 'next/navigation';
|
|
9
10
|
|
|
10
11
|
type CategoryMenuType = {
|
|
11
12
|
className?: string;
|
|
13
|
+
isWhiteText?: boolean;
|
|
12
14
|
};
|
|
13
15
|
|
|
14
|
-
const CategoryMenuForPage = ({ className = '' }: CategoryMenuType) => {
|
|
16
|
+
const CategoryMenuForPage = ({ className = '', isWhiteText = false }: CategoryMenuType) => {
|
|
15
17
|
const pathname = usePathname();
|
|
16
18
|
const [menu, setMenu] = useState({
|
|
17
19
|
title: '',
|
|
@@ -43,34 +45,32 @@ const CategoryMenuForPage = ({ className = '' }: CategoryMenuType) => {
|
|
|
43
45
|
id="daum-wm-content"
|
|
44
46
|
className={'relative aspect-square w-[20px] max-md:w-[18px] '}
|
|
45
47
|
>
|
|
46
|
-
|
|
48
|
+
{isWhiteText ? (
|
|
49
|
+
<IconHomeWhite className={`h-full w-full object-contain`} />
|
|
50
|
+
) : (
|
|
51
|
+
<IconHome className={`h-full w-full object-contain`} />
|
|
52
|
+
)}
|
|
47
53
|
</Link>
|
|
48
54
|
{menu.title === menu.subTitle ? (
|
|
49
55
|
<>
|
|
50
56
|
<IconArrow
|
|
51
|
-
className={
|
|
52
|
-
'aspect-square w-[20px] scale-[-1] stroke-[#58595B] max-md:w-[18px] max-3xs:w-[16px]'
|
|
53
|
-
}
|
|
57
|
+
className={`${isWhiteText ? ' stroke-white' : ' stroke-[#58595B]'} aspect-square w-[20px] scale-[-1] max-md:w-[18px] max-3xs:w-[16px]`}
|
|
54
58
|
/>
|
|
55
59
|
<Link href={`/${menu.address}`} onClick={() => reloadUrl(`/${menu.address}`)}>
|
|
56
|
-
<div className={'text-[#58595B]'}>{menu.title}</div>
|
|
60
|
+
<div className={isWhiteText ? 'text-white' : 'text-[#58595B]'}>{menu.title}</div>
|
|
57
61
|
</Link>
|
|
58
62
|
</>
|
|
59
63
|
) : (
|
|
60
64
|
<>
|
|
61
65
|
<IconArrow
|
|
62
|
-
className={
|
|
63
|
-
'aspect-square w-[20px] scale-[-1] stroke-[#58595B] max-md:w-[18px] max-3xs:w-[16px]'
|
|
64
|
-
}
|
|
66
|
+
className={`${isWhiteText ? ' stroke-white' : ' stroke-[#58595B]'} aspect-square w-[20px] scale-[-1] max-md:w-[18px] max-3xs:w-[16px]`}
|
|
65
67
|
/>
|
|
66
|
-
<div className={'text-[#58595B]'}>{menu.title}</div>
|
|
68
|
+
<div className={isWhiteText ? 'text-white' : 'text-[#58595B]'}>{menu.title}</div>
|
|
67
69
|
<IconArrow
|
|
68
|
-
className={
|
|
69
|
-
'aspect-square w-[20px] scale-[-1] stroke-[#58595B] max-md:w-[18px] max-3xs:w-[16px]'
|
|
70
|
-
}
|
|
70
|
+
className={`${isWhiteText ? ' stroke-white' : ' stroke-[#58595B]'} aspect-square w-[20px] scale-[-1] max-md:w-[18px] max-3xs:w-[16px]`}
|
|
71
71
|
/>
|
|
72
72
|
<Link href={`/${menu.address}`} onClick={() => reloadUrl(`/${menu.address}`)}>
|
|
73
|
-
<div className={'text-[#58595B]'}>{menu.subTitle}</div>
|
|
73
|
+
<div className={isWhiteText ? 'text-white' : 'text-[#58595B]'}>{menu.subTitle}</div>
|
|
74
74
|
</Link>
|
|
75
75
|
</>
|
|
76
76
|
)}
|
|
@@ -8,6 +8,8 @@ interface PageTitleBoxProps {
|
|
|
8
8
|
isViewP?: boolean;
|
|
9
9
|
isSeo?: boolean;
|
|
10
10
|
isUseHeaderComponent?: boolean;
|
|
11
|
+
isWhiteText?: boolean;
|
|
12
|
+
isImgRigthAlign?: boolean;
|
|
11
13
|
}
|
|
12
|
-
declare const PageTitleBox: ({ titleTxt, subTxt, imgType, isViewP, isSeo, isUseHeaderComponent }: PageTitleBoxProps) => React.JSX.Element;
|
|
14
|
+
declare const PageTitleBox: ({ titleTxt, subTxt, imgType, isViewP, isSeo, isUseHeaderComponent, isWhiteText, isImgRigthAlign }: PageTitleBoxProps) => React.JSX.Element;
|
|
13
15
|
export default PageTitleBox;
|
|
@@ -14,6 +14,7 @@ import replyImg from '../../asset/images/PageTitleBox/reply.webp';
|
|
|
14
14
|
import successImg from '../../asset/images/PageTitleBox/success.webp';
|
|
15
15
|
import trendImg from '../../asset/images/PageTitleBox/trend.webp';
|
|
16
16
|
import faqImg from '../../asset/images/PageTitleBox/faq.webp';
|
|
17
|
+
import lawfirmImg from '../../asset/images/PageTitleBox/lawfirm.webp';
|
|
17
18
|
import archiveImgM from '../../asset/images/PageTitleBox/archive_m.webp';
|
|
18
19
|
import broadcastImgM from '../../asset/images/PageTitleBox/broadcast_m.webp';
|
|
19
20
|
import fieldImgM from '../../asset/images/PageTitleBox/field_m.webp';
|
|
@@ -23,6 +24,7 @@ import replyImgM from '../../asset/images/PageTitleBox/reply_m.webp';
|
|
|
23
24
|
import successImgM from '../../asset/images/PageTitleBox/success_m.webp';
|
|
24
25
|
import trendImgM from '../../asset/images/PageTitleBox/trend_m.webp';
|
|
25
26
|
import faqImgM from '../../asset/images/PageTitleBox/faq_m.webp';
|
|
27
|
+
import lawfirmImgM from '../../asset/images/PageTitleBox/lawfirm_m.webp';
|
|
26
28
|
import useBrowser from '../common/hook/useBrowser';
|
|
27
29
|
const imageMap = {
|
|
28
30
|
[ImgTypes.ARCHIVE]: archiveImg,
|
|
@@ -33,7 +35,8 @@ const imageMap = {
|
|
|
33
35
|
[ImgTypes.REPLY]: replyImg,
|
|
34
36
|
[ImgTypes.SUCCESS]: successImg,
|
|
35
37
|
[ImgTypes.TREND]: trendImg,
|
|
36
|
-
[ImgTypes.FAQ]: faqImg
|
|
38
|
+
[ImgTypes.FAQ]: faqImg,
|
|
39
|
+
[ImgTypes.LAWFIRM]: lawfirmImg
|
|
37
40
|
};
|
|
38
41
|
const imageMapMobile = {
|
|
39
42
|
[ImgTypes.ARCHIVE]: archiveImgM,
|
|
@@ -44,9 +47,10 @@ const imageMapMobile = {
|
|
|
44
47
|
[ImgTypes.REPLY]: replyImgM,
|
|
45
48
|
[ImgTypes.SUCCESS]: successImgM,
|
|
46
49
|
[ImgTypes.TREND]: trendImgM,
|
|
47
|
-
[ImgTypes.FAQ]: faqImgM
|
|
50
|
+
[ImgTypes.FAQ]: faqImgM,
|
|
51
|
+
[ImgTypes.LAWFIRM]: lawfirmImgM
|
|
48
52
|
};
|
|
49
|
-
const PageTitleBox = ({ titleTxt, subTxt, imgType, isViewP, isSeo, isUseHeaderComponent }) => {
|
|
53
|
+
const PageTitleBox = ({ titleTxt, subTxt, imgType, isViewP, isSeo, isUseHeaderComponent, isWhiteText, isImgRigthAlign }) => {
|
|
50
54
|
const { width } = useBrowser();
|
|
51
55
|
// seo페이지 사용시 div 아니면 공통 래퍼 사용
|
|
52
56
|
const Wrapper = isSeo ? 'div' : PageWrapper;
|
|
@@ -56,10 +60,10 @@ const PageTitleBox = ({ titleTxt, subTxt, imgType, isViewP, isSeo, isUseHeaderCo
|
|
|
56
60
|
'max-md:h-[250px] ' +
|
|
57
61
|
//480px
|
|
58
62
|
'max-xs:h-[200px] '}>
|
|
59
|
-
{width >= 640 ? (<Image src={imageMap[imgType]} alt={'페이지 타이틀 배경 pc 버전'} fill sizes={'100vw'} className={
|
|
63
|
+
{width >= 640 ? (<Image src={imageMap[imgType]} alt={'페이지 타이틀 배경 pc 버전'} fill sizes={'100vw'} className={`h-full w-full object-cover ${isImgRigthAlign ? 'object-[right]' : ''}`} unoptimized priority draggable={false}/>) : (<Image src={imageMapMobile[imgType]} alt={'페이지 타이틀 배경 모바일 버전'} fill sizes={'100vw'} className={`h-full w-full object-cover`} priority draggable={false}/>)}
|
|
60
64
|
<Wrapper className={isSeo ? 'relative m-auto w-[90%] max-w-[1536px] tracking-[-0.5px] max-xs:mb-[30px]' : 'relative'}>
|
|
61
|
-
<CategoryMenuForPage className="mb-[26px] max-md:mb-[20px] max-xs:mb-[12px]"/>
|
|
62
|
-
<SubPageTitle titleTxt={titleTxt} subTxt={subTxt} isViewP={isViewP}/>
|
|
65
|
+
<CategoryMenuForPage isWhiteText={isWhiteText} className="mb-[26px] max-md:mb-[20px] max-xs:mb-[12px]"/>
|
|
66
|
+
<SubPageTitle titleTxt={titleTxt} subTxt={subTxt} isViewP={isViewP} isWhiteText={isWhiteText}/>
|
|
63
67
|
</Wrapper>
|
|
64
68
|
</div>);
|
|
65
69
|
};
|
|
@@ -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 = ({
|
|
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={
|
|
104
|
+
className={`h-full w-full object-cover ${isImgRigthAlign ? 'object-[right]' : ''}`}
|
|
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={
|
|
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
|
|
111
|
-
|
|
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
|
);
|
|
@@ -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={'
|
|
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
|
|
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] ' +
|
|
@@ -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"/>
|
package/dist/styles/globals.css
CHANGED
|
@@ -4662,6 +4662,10 @@ video {
|
|
|
4662
4662
|
stroke: #6c6c6c;
|
|
4663
4663
|
}
|
|
4664
4664
|
|
|
4665
|
+
.stroke-white {
|
|
4666
|
+
stroke: #fff;
|
|
4667
|
+
}
|
|
4668
|
+
|
|
4665
4669
|
.object-contain {
|
|
4666
4670
|
-o-object-fit: contain;
|
|
4667
4671
|
object-fit: contain;
|
|
@@ -4672,6 +4676,11 @@ video {
|
|
|
4672
4676
|
object-fit: cover;
|
|
4673
4677
|
}
|
|
4674
4678
|
|
|
4679
|
+
.object-\[right\] {
|
|
4680
|
+
-o-object-position: right;
|
|
4681
|
+
object-position: right;
|
|
4682
|
+
}
|
|
4683
|
+
|
|
4675
4684
|
.object-right {
|
|
4676
4685
|
-o-object-position: right;
|
|
4677
4686
|
object-position: right;
|
|
@@ -5004,6 +5013,11 @@ video {
|
|
|
5004
5013
|
padding-bottom: 36px;
|
|
5005
5014
|
}
|
|
5006
5015
|
|
|
5016
|
+
.py-\[400px\] {
|
|
5017
|
+
padding-top: 400px;
|
|
5018
|
+
padding-bottom: 400px;
|
|
5019
|
+
}
|
|
5020
|
+
|
|
5007
5021
|
.py-\[40px\] {
|
|
5008
5022
|
padding-top: 40px;
|
|
5009
5023
|
padding-bottom: 40px;
|