@daeryun/dr_components 1.0.71 → 1.0.72

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.
@@ -59,7 +59,7 @@ const CaseTabSwiper = (_a) => {
59
59
 
60
60
  {/* 스크롤바 추가 */}
61
61
  </div>
62
- <div id={`${id}-scrollbar`} className={twMerge('swiper-scrollbar !bottom-auto !left-[0px] !right-auto !top-[50px] !z-[50] ml-[20px] !hidden !w-[calc(100%-40px)] 2sm:ml-[40px] 2sm:!w-[calc(100%-80px)]', scrollClassName)}/>
62
+ <div id={`${id}-scrollbar`} className={twMerge('homepage-login-swiper-scrollbar !bottom-auto !left-[0px] !right-auto !top-[50px] !z-[50] ml-[20px] !hidden !w-[calc(100%-40px)] 2sm:ml-[40px] 2sm:!w-[calc(100%-80px)]', scrollClassName)}/>
63
63
  </div>);
64
64
  };
65
65
  export default CaseTabSwiper;
@@ -68,7 +68,7 @@ const CaseTabSwiper: React.FC<MobileSwiperProps> = ({
68
68
  <div
69
69
  id={`${id}-scrollbar`}
70
70
  className={twMerge(
71
- 'swiper-scrollbar !bottom-auto !left-[0px] !right-auto !top-[50px] !z-[50] ml-[20px] !hidden !w-[calc(100%-40px)] 2sm:ml-[40px] 2sm:!w-[calc(100%-80px)]',
71
+ 'homepage-login-swiper-scrollbar !bottom-auto !left-[0px] !right-auto !top-[50px] !z-[50] ml-[20px] !hidden !w-[calc(100%-40px)] 2sm:ml-[40px] 2sm:!w-[calc(100%-80px)]',
72
72
  scrollClassName
73
73
  )}
74
74
  />
@@ -1,5 +1,4 @@
1
1
  'use client';
2
- import Link from 'next/link';
3
2
  import Image from 'next/image';
4
3
  import React from 'react';
5
4
  import { usePathname, useRouter } from 'next/navigation';
@@ -12,16 +11,22 @@ const BannerSection = ({ title, subTitle, menu, initialData }) => {
12
11
  const router = useRouter();
13
12
  const isMain = pathname === '/strength';
14
13
  const bannerImg = pathname.replace('/strength/', '') + '_banner_bg';
15
- return (<section className={'relative h-[480px] w-full overflow-hidden pt-[170px] ' +
16
- 'max-xl:h-[420px] max-xl:pt-[162px] ' +
14
+ return (<section className={'relative h-[425px] w-full overflow-hidden pt-[170px] ' +
15
+ 'max-xl:h-[382px] max-xl:pt-[162px] ' +
17
16
  'max-sm:pt-[148px] ' +
18
- (isMain ? 'bg-[#D1E4F7] max-md:h-[410px] max-sm:h-[382px]' : 'max-md:h-[450px] max-sm:h-[440px]')}>
17
+ (isMain ? 'bg-[#D1E4F7] max-md:h-[350px] max-sm:h-[320px]' : 'max-md:h-[380px] max-sm:h-[370px]')
18
+ // 'relative h-[480px] w-full overflow-hidden pt-[170px] ' + < 메뉴 있을때 코드, 주석처리만
19
+ // 'max-xl:h-[420px] max-xl:pt-[162px] ' +
20
+ // 'max-sm:pt-[148px] ' +
21
+ // (isMain ? 'bg-[#D1E4F7] max-md:h-[410px] max-sm:h-[382px]' : 'max-md:h-[450px] max-sm:h-[440px]')
22
+ }>
19
23
  <Wrapper className={'relative z-10 w-full '}>
20
24
  <CategoryMenuForPage className="mb-[26px] max-md:mb-[20px] max-xs:mb-[12px]"/>
21
25
  <div className={'flex w-full flex-col tracking-[-0.04em] ' +
22
26
  (isMain
23
- ? ' mt-[50px] gap-20 max-xl:mt-9 '
24
- : ' mt-[32px] gap-7 max-xl:mt-4 max-xl:gap-5 max-md:mt-10 ')}>
27
+ ? ' mt-[50px] gap-20 max-xl:mt-11 max-sm:mt-9 '
28
+ : // : ' mt-[32px] gap-7 max-xl:mt-4 max-xl:gap-5 max-md:mt-10 ') +
29
+ ' mt-[32px] gap-7 max-xl:gap-5 max-md:mt-10 ')}>
25
30
  {isMain ? (<h1 className={'text-center text-[32px] font-[400] leading-[1] ' +
26
31
  'max-xl:text-[24px] ' +
27
32
  'max-md:text-[22px] ' +
@@ -54,32 +59,57 @@ const BannerSection = ({ title, subTitle, menu, initialData }) => {
54
59
  </div>
55
60
  </Wrapper>
56
61
 
57
- <div className={'!absolute bottom-0 z-20 h-[55px] w-full bg-[#5368C41A] ' +
58
- 'max-xl:h-12 ' +
59
- 'max-md:h-[82px] max-md:bg-[unset]'}>
60
- <div className={'relative mx-auto h-full w-full max-w-[1920px] px-[40px] ' +
61
- 'max-[2120px]:px-[140px] ' +
62
- 'max-3xl:px-[80px] ' +
63
- 'max-xl:w-[100%] max-xl:px-[60px] ' +
64
- 'max-md:px-0 '}>
65
- <div className={'mx-auto grid h-full w-full max-w-[1400px] grid-cols-4 ' +
66
- 'max-xl:max-w-[760px] ' +
67
- 'max-md:grid-cols-2 max-md:gap-[2px]'}>
68
- {menu.map(menu => {
69
- return (<Link href={`/strength/${menu.url}`} key={menu.url} style={{ color: menu.color }} className={'flex h-full w-full items-center justify-center text-[22px] leading-none tracking-[-0.7px] ' +
70
- 'max-xl:text-[20px] ' +
71
- 'max-md:h-10 max-md:bg-[#5368C41A] max-md:text-[18px] ' +
72
- 'max-sm:text-[16px] ' +
73
- 'transition-[background-color,font-weight] duration-500 hover:bg-[#5368C433] hover:font-[800] ' +
74
- (pathname.includes(menu.url)
75
- ? ' bg-[#5368C433] font-[800] max-md:bg-[#5368C433]'
76
- : ' font-[400] ')}>
77
- {menu.text}
78
- </Link>);
79
- })}
80
- </div>
81
- </div>
82
- </div>
62
+ {/*<div*/}
63
+ {/* className={*/}
64
+ {/* '!absolute bottom-0 z-20 h-[55px] w-full bg-[#5368C41A] ' +*/}
65
+ {/* 'max-xl:h-12 ' +*/}
66
+ {/* 'max-md:h-[82px] max-md:bg-[unset]'*/}
67
+ {/* }*/}
68
+ {/*>*/}
69
+ {/* <div*/}
70
+ {/* className={*/}
71
+ {/* 'relative mx-auto h-full w-full max-w-[1920px] px-[40px] ' +*/}
72
+ {/* 'max-[2120px]:px-[140px] ' +*/}
73
+ {/* 'max-3xl:px-[80px] ' +*/}
74
+ {/* 'max-xl:w-[100%] max-xl:px-[60px] ' +*/}
75
+ {/* 'max-md:px-0 '*/}
76
+ {/* }*/}
77
+ {/* >*/}
78
+ {/* <div*/}
79
+ {/* className={*/}
80
+ {/* 'mx-auto grid h-full w-full max-w-[1400px] grid-cols-4 ' +*/}
81
+ {/* 'max-xl:max-w-[760px] ' +*/}
82
+ {/* 'max-md:grid-cols-2 max-md:gap-[2px]'*/}
83
+ {/* }*/}
84
+ {/* >*/}
85
+ {/* {menu.map((menu) => {*/}
86
+ {/* return (*/}
87
+ {/* <Link*/}
88
+ {/* href={`/strength/${menu.url}`}*/}
89
+ {/* key={menu.url}*/}
90
+ {/* style={{ color: menu.color }}*/}
91
+ {/* className={*/}
92
+ {/* 'flex h-full w-full items-center justify-center text-[22px] leading-none tracking-[-0.7px] ' +*/}
93
+ {/* 'max-xl:text-[20px] ' +*/}
94
+ {/* 'max-md:h-10 max-md:bg-[#5368C41A] max-md:text-[18px] ' +*/}
95
+ {/* 'max-sm:text-[16px] ' +*/}
96
+ {/* 'transition-[background-color,font-weight] duration-500 hover:bg-[#5368C433] hover:font-[800] ' +*/}
97
+ {/* (pathname.includes(menu.url)*/}
98
+ {/* ? ' bg-[#5368C433] font-[800] max-md:bg-[#5368C433]'*/}
99
+ {/* : ' font-[400] ')*/}
100
+ {/* }*/}
101
+ {/* >*/}
102
+ {/* {router.locale === 'en' ? (*/}
103
+ {/* <span className={'w-full text-center text-[0.85em]'}>{menu.text}</span>*/}
104
+ {/* ) : (*/}
105
+ {/* menu.text*/}
106
+ {/* )}*/}
107
+ {/* </Link>*/}
108
+ {/* )*/}
109
+ {/* })}*/}
110
+ {/* </div>*/}
111
+ {/* </div>*/}
112
+ {/*</div>*/}
83
113
 
84
114
  {!isMain ? (<>
85
115
  <Image src={imagePath + `/strength_new/${bannerImg}.webp`} alt={'강점'} fill priority sizes={'100vw'} className={'relative z-0 object-cover object-top max-xl:hidden'} quality={100}/>
@@ -29,10 +29,14 @@ const BannerSection = ({
29
29
  return (
30
30
  <section
31
31
  className={
32
- 'relative h-[480px] w-full overflow-hidden pt-[170px] ' +
33
- 'max-xl:h-[420px] max-xl:pt-[162px] ' +
32
+ 'relative h-[425px] w-full overflow-hidden pt-[170px] ' +
33
+ 'max-xl:h-[382px] max-xl:pt-[162px] ' +
34
34
  'max-sm:pt-[148px] ' +
35
- (isMain ? 'bg-[#D1E4F7] max-md:h-[410px] max-sm:h-[382px]' : 'max-md:h-[450px] max-sm:h-[440px]')
35
+ (isMain ? 'bg-[#D1E4F7] max-md:h-[350px] max-sm:h-[320px]' : 'max-md:h-[380px] max-sm:h-[370px]')
36
+ // 'relative h-[480px] w-full overflow-hidden pt-[170px] ' + < 메뉴 있을때 코드, 주석처리만
37
+ // 'max-xl:h-[420px] max-xl:pt-[162px] ' +
38
+ // 'max-sm:pt-[148px] ' +
39
+ // (isMain ? 'bg-[#D1E4F7] max-md:h-[410px] max-sm:h-[382px]' : 'max-md:h-[450px] max-sm:h-[440px]')
36
40
  }
37
41
  >
38
42
  <Wrapper className={'relative z-10 w-full '}>
@@ -41,8 +45,9 @@ const BannerSection = ({
41
45
  className={
42
46
  'flex w-full flex-col tracking-[-0.04em] ' +
43
47
  (isMain
44
- ? ' mt-[50px] gap-20 max-xl:mt-9 '
45
- : ' mt-[32px] gap-7 max-xl:mt-4 max-xl:gap-5 max-md:mt-10 ')
48
+ ? ' mt-[50px] gap-20 max-xl:mt-11 max-sm:mt-9 '
49
+ : // : ' mt-[32px] gap-7 max-xl:mt-4 max-xl:gap-5 max-md:mt-10 ') +
50
+ ' mt-[32px] gap-7 max-xl:gap-5 max-md:mt-10 ')
46
51
  }
47
52
  >
48
53
  {isMain ? (
@@ -97,53 +102,57 @@ const BannerSection = ({
97
102
  </div>
98
103
  </Wrapper>
99
104
 
100
- <div
101
- className={
102
- '!absolute bottom-0 z-20 h-[55px] w-full bg-[#5368C41A] ' +
103
- 'max-xl:h-12 ' +
104
- 'max-md:h-[82px] max-md:bg-[unset]'
105
- }
106
- >
107
- <div
108
- className={
109
- 'relative mx-auto h-full w-full max-w-[1920px] px-[40px] ' +
110
- 'max-[2120px]:px-[140px] ' +
111
- 'max-3xl:px-[80px] ' +
112
- 'max-xl:w-[100%] max-xl:px-[60px] ' +
113
- 'max-md:px-0 '
114
- }
115
- >
116
- <div
117
- className={
118
- 'mx-auto grid h-full w-full max-w-[1400px] grid-cols-4 ' +
119
- 'max-xl:max-w-[760px] ' +
120
- 'max-md:grid-cols-2 max-md:gap-[2px]'
121
- }
122
- >
123
- {menu.map(menu => {
124
- return (
125
- <Link
126
- href={`/strength/${menu.url}`}
127
- key={menu.url}
128
- style={{ color: menu.color }}
129
- className={
130
- 'flex h-full w-full items-center justify-center text-[22px] leading-none tracking-[-0.7px] ' +
131
- 'max-xl:text-[20px] ' +
132
- 'max-md:h-10 max-md:bg-[#5368C41A] max-md:text-[18px] ' +
133
- 'max-sm:text-[16px] ' +
134
- 'transition-[background-color,font-weight] duration-500 hover:bg-[#5368C433] hover:font-[800] ' +
135
- (pathname.includes(menu.url)
136
- ? ' bg-[#5368C433] font-[800] max-md:bg-[#5368C433]'
137
- : ' font-[400] ')
138
- }
139
- >
140
- {menu.text}
141
- </Link>
142
- );
143
- })}
144
- </div>
145
- </div>
146
- </div>
105
+ {/*<div*/}
106
+ {/* className={*/}
107
+ {/* '!absolute bottom-0 z-20 h-[55px] w-full bg-[#5368C41A] ' +*/}
108
+ {/* 'max-xl:h-12 ' +*/}
109
+ {/* 'max-md:h-[82px] max-md:bg-[unset]'*/}
110
+ {/* }*/}
111
+ {/*>*/}
112
+ {/* <div*/}
113
+ {/* className={*/}
114
+ {/* 'relative mx-auto h-full w-full max-w-[1920px] px-[40px] ' +*/}
115
+ {/* 'max-[2120px]:px-[140px] ' +*/}
116
+ {/* 'max-3xl:px-[80px] ' +*/}
117
+ {/* 'max-xl:w-[100%] max-xl:px-[60px] ' +*/}
118
+ {/* 'max-md:px-0 '*/}
119
+ {/* }*/}
120
+ {/* >*/}
121
+ {/* <div*/}
122
+ {/* className={*/}
123
+ {/* 'mx-auto grid h-full w-full max-w-[1400px] grid-cols-4 ' +*/}
124
+ {/* 'max-xl:max-w-[760px] ' +*/}
125
+ {/* 'max-md:grid-cols-2 max-md:gap-[2px]'*/}
126
+ {/* }*/}
127
+ {/* >*/}
128
+ {/* {menu.map((menu) => {*/}
129
+ {/* return (*/}
130
+ {/* <Link*/}
131
+ {/* href={`/strength/${menu.url}`}*/}
132
+ {/* key={menu.url}*/}
133
+ {/* style={{ color: menu.color }}*/}
134
+ {/* className={*/}
135
+ {/* 'flex h-full w-full items-center justify-center text-[22px] leading-none tracking-[-0.7px] ' +*/}
136
+ {/* 'max-xl:text-[20px] ' +*/}
137
+ {/* 'max-md:h-10 max-md:bg-[#5368C41A] max-md:text-[18px] ' +*/}
138
+ {/* 'max-sm:text-[16px] ' +*/}
139
+ {/* 'transition-[background-color,font-weight] duration-500 hover:bg-[#5368C433] hover:font-[800] ' +*/}
140
+ {/* (pathname.includes(menu.url)*/}
141
+ {/* ? ' bg-[#5368C433] font-[800] max-md:bg-[#5368C433]'*/}
142
+ {/* : ' font-[400] ')*/}
143
+ {/* }*/}
144
+ {/* >*/}
145
+ {/* {router.locale === 'en' ? (*/}
146
+ {/* <span className={'w-full text-center text-[0.85em]'}>{menu.text}</span>*/}
147
+ {/* ) : (*/}
148
+ {/* menu.text*/}
149
+ {/* )}*/}
150
+ {/* </Link>*/}
151
+ {/* )*/}
152
+ {/* })}*/}
153
+ {/* </div>*/}
154
+ {/* </div>*/}
155
+ {/*</div>*/}
147
156
 
148
157
  {!isMain ? (
149
158
  <>
@@ -31,8 +31,11 @@ const LawyerSection = ({ lawyer_title_1, lawyer_title_2, lawyer_link_list }) =>
31
31
  </div>
32
32
  <div className={'flex shrink-0 gap-5 tracking-[-0.04em] max-3xl:gap-4 max-lg:gap-[15px] max-md2:gap-[0px] max-md:gap-[15px] max-xs:gap-[10px]'}>
33
33
  {lawyer_link_list.map((item, index) => {
34
+ var _a;
34
35
  //채권추심센터는 업무분야 페이지가 없어서 민사센터로 이동하게
35
- const isDebt = window.location.href.includes('debtcollection');
36
+ const isDebt = typeof window !== 'undefined' && ((_a = window.location) === null || _a === void 0 ? void 0 : _a.href)
37
+ ? window.location.href.includes('debtcollection')
38
+ : false;
36
39
  const url = item.url === '/field/area' && isDebt
37
40
  ? 'https://www.daeryunlaw-compensation.com/field/area'
38
41
  : item.url;
@@ -112,7 +112,10 @@ const LawyerSection = ({
112
112
  >
113
113
  {lawyer_link_list.map((item, index) => {
114
114
  //채권추심센터는 업무분야 페이지가 없어서 민사센터로 이동하게
115
- const isDebt = window.location.href.includes('debtcollection');
115
+ const isDebt =
116
+ typeof window !== 'undefined' && window.location?.href
117
+ ? window.location.href.includes('debtcollection')
118
+ : false;
116
119
  const url =
117
120
  item.url === '/field/area' && isDebt
118
121
  ? 'https://www.daeryunlaw-compensation.com/field/area'
@@ -15,8 +15,13 @@ const InfraSection = ({ infra_list, initialData }) => {
15
15
  };
16
16
  export default InfraSection;
17
17
  const ViewMoreBtn = ({ label, url }) => {
18
+ var _a;
18
19
  const imagePath = process.env.NEXT_PUBLIC_S3_URL + '';
19
- const center = window.location.href.split('.')[1]; //daeryunlaw- + discovery, guard, forensic
20
+ const center = typeof window !== 'undefined' && ((_a = window.location) === null || _a === void 0 ? void 0 : _a.href)
21
+ ? window.location.href.split('.').length > 0
22
+ ? window.location.href.split('.')[1]
23
+ : 'none'
24
+ : 'none';
20
25
  const target = url.includes(center) ? '_self' : '_blank';
21
26
  return (<Link href={url} target={target} className={'group flex h-[66px] w-[240px] items-center justify-center gap-[10px] rounded-[10px] border border-solid border-[#5368C4] bg-white text-[22px] font-[800] leading-none text-[#5368C4] ' +
22
27
  'lg:transition-[background-color,color] lg:duration-500 lg:hover:bg-[#5368C4] lg:hover:text-white ' +
@@ -100,7 +105,7 @@ const RightTextItem = ({ item, index, initialData }) => {
100
105
  <p className={'relative z-10 text-[20px] font-[400] leading-[1.4] max-xl:text-[16px]'}>
101
106
  <span className={'relative z-20 sm:whitespace-pre-wrap'} dangerouslySetInnerHTML={{ __html: replaceInitialData(item.desc, initialData) }}></span>
102
107
 
103
- <ItemNumber index={index} className={'right-0 max-md:top-[-160px] max-sm:top-[-150px] md:hidden'}/>
108
+ <ItemNumber index={index} className={'right-0 max-md:top-[-160px] md:hidden'}/>
104
109
  </p>
105
110
 
106
111
  <div className={'relative flex flex-col gap-[25px] border-y border-solid border-[#F6F6F6] py-10 ' +
@@ -122,11 +127,11 @@ const RightTextItem = ({ item, index, initialData }) => {
122
127
  })}
123
128
  </div>
124
129
 
125
- <div className={'flex w-full gap-5 max-lg:gap-[10px] max-xs:flex-col'}>
126
- {item.view_more_list.map(li => {
127
- return <ViewMoreBtn label={li.label} url={li.url} key={li.url}/>;
128
- })}
129
- </div>
130
+ {item.title != '심리상담센터' ? (<div className={'flex w-full gap-5 max-lg:gap-[10px] max-xs:flex-col'}>
131
+ {item.view_more_list.map(li => {
132
+ return <ViewMoreBtn label={li.label} url={li.url} key={li.url}/>;
133
+ })}
134
+ </div>) : (<></>)}
130
135
  </div>
131
136
  </div>
132
137
  </div>
@@ -196,10 +201,11 @@ const LeftTextItem = ({ item, index, initialData }) => {
196
201
  <h2 className={'whitespace-pre-wrap text-[32px] font-[800] leading-[1.3] max-xl:text-[24px] '} dangerouslySetInnerHTML={{
197
202
  __html: replaceInitialData(item.title.replace('*consult_date*', `<span class='text-[20px]'>*consult_date*</span>`), initialData)
198
203
  }}></h2>
199
- <p className={'relative z-10 whitespace-pre-wrap text-[20px] font-[400] leading-[1.4] ' +
200
- 'max-xl:text-[16px]'} dangerouslySetInnerHTML={{ __html: replaceInitialData(item.desc, initialData) }}></p>
204
+ <p className={'relative z-10 text-[20px] font-[400] leading-[1.4] ' + 'max-xl:text-[16px]'}>
205
+ <span className={'relative z-20 sm:whitespace-pre-wrap'} dangerouslySetInnerHTML={{ __html: replaceInitialData(item.desc, initialData) }}></span>
206
+ </p>
201
207
 
202
- <ItemNumber index={index} className={'max-md:left-[60px] max-md:top-[-60px] max-sm:left-5 md:hidden '}/>
208
+ <ItemNumber index={index} className={'max-md:left-[60px] max-md:top-[-60px] max-sm:left-5 max-sm:top-[-77px] md:hidden '}/>
203
209
 
204
210
  <div className={'relative flex flex-col gap-[25px] border-y border-solid border-[#F6F6F6] py-10 ' +
205
211
  'max-xl:gap-[22px] max-xl:py-5 ' +
@@ -219,11 +225,11 @@ const LeftTextItem = ({ item, index, initialData }) => {
219
225
  })}
220
226
  </div>
221
227
 
222
- <div className={'flex w-full gap-5 max-lg:gap-[10px] ' + 'max-xs:flex-col'}>
223
- {item.view_more_list.map(li => {
224
- return <ViewMoreBtn label={li.label} url={li.url} key={li.url}/>;
225
- })}
226
- </div>
228
+ {item.title != '심리상담센터' ? (<div className={'flex w-full gap-5 max-lg:gap-[10px] max-xs:flex-col'}>
229
+ {item.view_more_list.map(li => {
230
+ return <ViewMoreBtn label={li.label} url={li.url} key={li.url}/>;
231
+ })}
232
+ </div>) : (<></>)}
227
233
  </div>
228
234
  </div>
229
235
  </div>
@@ -41,9 +41,15 @@ export default InfraSection;
41
41
 
42
42
  const ViewMoreBtn = ({ label, url }: { label: string; url: string }) => {
43
43
  const imagePath: string = process.env.NEXT_PUBLIC_S3_URL + '';
44
- const center = window.location.href.split('.')[1]; //daeryunlaw- + discovery, guard, forensic
45
- const target = url.includes(center) ? '_self' : '_blank';
46
44
 
45
+ const center =
46
+ typeof window !== 'undefined' && window.location?.href
47
+ ? window.location.href.split('.').length > 0
48
+ ? window.location.href.split('.')[1]
49
+ : 'none'
50
+ : 'none';
51
+
52
+ const target = url.includes(center) ? '_self' : '_blank';
47
53
  return (
48
54
  <Link
49
55
  href={url}
@@ -226,10 +232,7 @@ const RightTextItem = ({
226
232
  dangerouslySetInnerHTML={{ __html: replaceInitialData(item.desc, initialData) }}
227
233
  ></span>
228
234
 
229
- <ItemNumber
230
- index={index}
231
- className={'right-0 max-md:top-[-160px] max-sm:top-[-150px] md:hidden'}
232
- />
235
+ <ItemNumber index={index} className={'right-0 max-md:top-[-160px] md:hidden'} />
233
236
  </p>
234
237
 
235
238
  <div
@@ -272,11 +275,15 @@ const RightTextItem = ({
272
275
  })}
273
276
  </div>
274
277
 
275
- <div className={'flex w-full gap-5 max-lg:gap-[10px] max-xs:flex-col'}>
276
- {item.view_more_list.map(li => {
277
- return <ViewMoreBtn label={li.label} url={li.url} key={li.url} />;
278
- })}
279
- </div>
278
+ {item.title != '심리상담센터' ? (
279
+ <div className={'flex w-full gap-5 max-lg:gap-[10px] max-xs:flex-col'}>
280
+ {item.view_more_list.map(li => {
281
+ return <ViewMoreBtn label={li.label} url={li.url} key={li.url} />;
282
+ })}
283
+ </div>
284
+ ) : (
285
+ <></>
286
+ )}
280
287
  </div>
281
288
  </div>
282
289
  </div>
@@ -425,17 +432,18 @@ const LeftTextItem = ({
425
432
  )
426
433
  }}
427
434
  ></h2>
428
- <p
429
- className={
430
- 'relative z-10 whitespace-pre-wrap text-[20px] font-[400] leading-[1.4] ' +
431
- 'max-xl:text-[16px]'
432
- }
433
- dangerouslySetInnerHTML={{ __html: replaceInitialData(item.desc, initialData) }}
434
- ></p>
435
+ <p className={'relative z-10 text-[20px] font-[400] leading-[1.4] ' + 'max-xl:text-[16px]'}>
436
+ <span
437
+ className={'relative z-20 sm:whitespace-pre-wrap'}
438
+ dangerouslySetInnerHTML={{ __html: replaceInitialData(item.desc, initialData) }}
439
+ ></span>
440
+ </p>
435
441
 
436
442
  <ItemNumber
437
443
  index={index}
438
- className={'max-md:left-[60px] max-md:top-[-60px] max-sm:left-5 md:hidden '}
444
+ className={
445
+ 'max-md:left-[60px] max-md:top-[-60px] max-sm:left-5 max-sm:top-[-77px] md:hidden '
446
+ }
439
447
  />
440
448
 
441
449
  <div
@@ -477,11 +485,15 @@ const LeftTextItem = ({
477
485
  })}
478
486
  </div>
479
487
 
480
- <div className={'flex w-full gap-5 max-lg:gap-[10px] ' + 'max-xs:flex-col'}>
481
- {item.view_more_list.map(li => {
482
- return <ViewMoreBtn label={li.label} url={li.url} key={li.url} />;
483
- })}
484
- </div>
488
+ {item.title != '심리상담센터' ? (
489
+ <div className={'flex w-full gap-5 max-lg:gap-[10px] max-xs:flex-col'}>
490
+ {item.view_more_list.map(li => {
491
+ return <ViewMoreBtn label={li.label} url={li.url} key={li.url} />;
492
+ })}
493
+ </div>
494
+ ) : (
495
+ <></>
496
+ )}
485
497
  </div>
486
498
  </div>
487
499
  </div>
@@ -112,7 +112,7 @@ export function categoryMenuName({ url }) {
112
112
  return { title: '업무분야', subTitle: `${NEXT_PUBLIC_GROUPNAME} 업무`, address: 'field/area' };
113
113
  }
114
114
  else if (url.includes('/field_new')) {
115
- return { title: '업무분야', subTitle: `업무분야`, address: 'field_new' };
115
+ return { title: '업무분야', subTitle: `업무분야`, address: 'field/area' };
116
116
  }
117
117
  else if (url.includes('/info')) {
118
118
  return {
@@ -90,7 +90,7 @@ export function categoryMenuName({ url }: { url: string }): {
90
90
  } else if (url.includes('/field/area')) {
91
91
  return { title: '업무분야', subTitle: `${NEXT_PUBLIC_GROUPNAME} 업무`, address: 'field/area' };
92
92
  } else if (url.includes('/field_new')) {
93
- return { title: '업무분야', subTitle: `업무분야`, address: 'field_new' };
93
+ return { title: '업무분야', subTitle: `업무분야`, address: 'field/area' };
94
94
  } else if (url.includes('/info')) {
95
95
  return {
96
96
  title: '업무사례',
@@ -2517,6 +2517,10 @@ html {
2517
2517
  height: 40px;
2518
2518
  }
2519
2519
 
2520
+ .h-\[425px\] {
2521
+ height: 425px;
2522
+ }
2523
+
2520
2524
  .h-\[42px\] {
2521
2525
  height: 42px;
2522
2526
  }
@@ -10668,6 +10672,10 @@ body {
10668
10672
  margin-top: 0px;
10669
10673
  }
10670
10674
 
10675
+ .max-xl\:mt-11 {
10676
+ margin-top: 2.75rem;
10677
+ }
10678
+
10671
10679
  .max-xl\:mt-2 {
10672
10680
  margin-top: 0.5rem;
10673
10681
  }
@@ -10680,10 +10688,6 @@ body {
10680
10688
  margin-top: 1.25rem;
10681
10689
  }
10682
10690
 
10683
- .max-xl\:mt-9 {
10684
- margin-top: 2.25rem;
10685
- }
10686
-
10687
10691
  .max-xl\:mt-\[-50px\] {
10688
10692
  margin-top: -50px;
10689
10693
  }
@@ -10879,6 +10883,10 @@ body {
10879
10883
  height: 362px;
10880
10884
  }
10881
10885
 
10886
+ .max-xl\:h-\[382px\] {
10887
+ height: 382px;
10888
+ }
10889
+
10882
10890
  .max-xl\:h-\[399px\] {
10883
10891
  height: 399px;
10884
10892
  }
@@ -13868,6 +13876,10 @@ body {
13868
13876
  height: 250px;
13869
13877
  }
13870
13878
 
13879
+ .max-md\:h-\[350px\] {
13880
+ height: 350px;
13881
+ }
13882
+
13871
13883
  .max-md\:h-\[380px\] {
13872
13884
  height: 380px;
13873
13885
  }
@@ -14884,10 +14896,6 @@ body {
14884
14896
  top: 1rem;
14885
14897
  }
14886
14898
 
14887
- .max-sm\:top-\[-150px\] {
14888
- top: -150px;
14889
- }
14890
-
14891
14899
  .max-sm\:top-\[-161px\] {
14892
14900
  top: -161px;
14893
14901
  }
@@ -14900,6 +14908,10 @@ body {
14900
14908
  top: -192px;
14901
14909
  }
14902
14910
 
14911
+ .max-sm\:top-\[-77px\] {
14912
+ top: -77px;
14913
+ }
14914
+
14903
14915
  .max-sm\:top-\[-80px\] {
14904
14916
  top: -80px;
14905
14917
  }
@@ -15009,6 +15021,10 @@ body {
15009
15021
  margin-top: 1.25rem;
15010
15022
  }
15011
15023
 
15024
+ .max-sm\:mt-9 {
15025
+ margin-top: 2.25rem;
15026
+ }
15027
+
15012
15028
  .max-sm\:mt-\[-20px\] {
15013
15029
  margin-top: -20px;
15014
15030
  }
@@ -15221,6 +15237,10 @@ body {
15221
15237
  height: 360px;
15222
15238
  }
15223
15239
 
15240
+ .max-sm\:h-\[370px\] {
15241
+ height: 370px;
15242
+ }
15243
+
15224
15244
  .max-sm\:h-\[382px\] {
15225
15245
  height: 382px;
15226
15246
  }
@@ -164,13 +164,13 @@
164
164
  .label_medium2_mo {
165
165
  @apply text-[13px] font-normal leading-[1.2] tracking-[-0.52px];
166
166
  }
167
- .swiper-scrollbar {
167
+ .homepage-login-swiper-scrollbar {
168
168
  /* border: 1px solid #b9b9b9; */
169
169
 
170
170
  /* z-index: 10; */
171
171
  }
172
172
 
173
- .swiper-scrollbar .swiper-scrollbar-drag {
173
+ .homepage-login-swiper-scrollbar .homepage-login-swiper-scrollbar-drag {
174
174
  background: #b9b9b9; /* 스크롤바 드래그 색상 */
175
175
  border-radius: 0px; /* 드래그 부분 모서리 둥글게 */
176
176
  z-index: 10;