@daeryun/dr_components 0.1.91 → 0.1.93

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 (56) hide show
  1. package/dist/asset/images/header/logo_b.webp +0 -0
  2. package/dist/asset/images/header/logo_w.webp +0 -0
  3. package/dist/asset/images/header/military.svg +38 -0
  4. package/dist/asset/images/header/military_w.svg +38 -0
  5. package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
  6. package/dist/components/Header/Header.d.ts +4 -0
  7. package/dist/components/Header/Header.jsx +189 -0
  8. package/dist/components/Header/Header.stories.d.ts +8 -0
  9. package/dist/components/Header/Header.stories.jsx +200 -0
  10. package/dist/components/Header/Header.stories.tsx +209 -0
  11. package/dist/components/Header/Header.tsx +280 -0
  12. package/dist/components/Header/Menu.d.ts +4 -0
  13. package/dist/components/Header/Menu.jsx +10 -0
  14. package/dist/components/Header/Menu.tsx +29 -0
  15. package/dist/components/Header/MobileMenu.d.ts +4 -0
  16. package/dist/components/Header/MobileMenu.jsx +209 -0
  17. package/dist/components/Header/MobileMenu.tsx +370 -0
  18. package/dist/components/Header/PCMenu.d.ts +4 -0
  19. package/dist/components/Header/PCMenu.jsx +130 -0
  20. package/dist/components/Header/PCMenu.tsx +243 -0
  21. package/dist/components/Header/main.module.css +150 -0
  22. package/dist/components/MapFix/AreaImage.jsx +12 -11
  23. package/dist/components/MapFix/AreaImage.tsx +26 -28
  24. package/dist/components/MapSection/MapSection.stories.jsx +17 -1
  25. package/dist/components/MapSection/MapSection.stories.tsx +35 -1
  26. package/dist/components/common/data/index.js +39 -219
  27. package/dist/components/common/data/index.ts +39 -219
  28. package/dist/components/hook/useBrowser.d.ts +5 -0
  29. package/dist/components/hook/useBrowser.js +51 -0
  30. package/dist/components/hook/useBrowser.ts +58 -0
  31. package/dist/components/hook/useCountNum.d.ts +4 -0
  32. package/dist/components/hook/useCountNum.jsx +23 -0
  33. package/dist/components/hook/useCountNum.tsx +28 -0
  34. package/dist/components/hook/useElementObserve.d.ts +7 -0
  35. package/dist/components/hook/useElementObserve.js +39 -0
  36. package/dist/components/hook/useElementObserve.ts +46 -0
  37. package/dist/components/hook/useScrollRestoration.d.ts +5 -0
  38. package/dist/components/hook/useScrollRestoration.js +61 -0
  39. package/dist/components/hook/useScrollRestoration.ts +80 -0
  40. package/dist/components/hook/useScrollRestorationException.d.ts +2 -0
  41. package/dist/components/hook/useScrollRestorationException.js +24 -0
  42. package/dist/components/hook/useScrollRestorationException.ts +30 -0
  43. package/dist/components/index.js +1 -0
  44. package/dist/components/index.ts +1 -0
  45. package/dist/components/myCase/MyCase.d.ts +5 -0
  46. package/dist/components/myCase/MyCase.jsx +26 -0
  47. package/dist/components/myCase/MyCase.tsx +47 -0
  48. package/dist/components/routes/gnb.d.ts +11 -0
  49. package/dist/components/routes/gnb.jsx +165 -0
  50. package/dist/components/routes/gnb.tsx +172 -0
  51. package/dist/styles/globals.css +348 -0
  52. package/dist/tsconfig.tsbuildinfo +1 -1
  53. package/dist/types/header.d.ts +52 -0
  54. package/dist/types/header.js +1 -0
  55. package/dist/types/header.ts +54 -0
  56. package/package.json +1 -1
@@ -0,0 +1,243 @@
1
+ import Link from 'next/link';
2
+ import React, { useEffect, useState } from 'react';
3
+ import Image from 'next/image';
4
+ import { insert } from '../../lib';
5
+ import * as gtag from '../../lib/gtag';
6
+ import { savePowerLinkConversion } from '../../lib';
7
+
8
+ import style from './main.module.css';
9
+ import MyCase from '../myCase/MyCase';
10
+ import { useRouter } from 'next/router';
11
+ import Menu from '../../asset/images/header/menu_x.webp';
12
+ import Window from '../../asset/images/header/image_b.webp';
13
+ import Call from '../../asset/images/header/h_call_line_b.webp';
14
+ import { IPcMenuType } from '../../types/header';
15
+ import BrochureBtn from '../BrochureBtn/BrochureBtn';
16
+
17
+ const PCMenu = ({ handleMenuToggle, opacity, menuToggle, tel, routes, isBrochureBtn }: IPcMenuType) => {
18
+ const mobile = require('is-mobile');
19
+ const [isMobile, setIsMobile] = useState<boolean>(false);
20
+
21
+ const router = useRouter();
22
+
23
+ //나의사건검색
24
+ const [isMyCaseOn, setIsMyCaseOn] = useState<boolean>(false);
25
+
26
+ // GA 클릭이벤트
27
+ const menuTelClickPC = () => {
28
+ gtag.event({
29
+ action: 'menu_tel',
30
+ category: 'menutel',
31
+ label: 'PC메뉴내전화버튼',
32
+ value: '1'
33
+ });
34
+ };
35
+
36
+ //나의사건검샛
37
+ const onClickMyCase = () => {
38
+ setIsMyCaseOn(false);
39
+ };
40
+
41
+ const handleKeyPress = (e: any) => {
42
+ if (e.key === 'Enter') {
43
+ handleMenuToggle();
44
+ }
45
+ };
46
+ useEffect(() => {
47
+ setIsMobile(mobile());
48
+ }, []);
49
+
50
+ //페이지 내부에서 쿼리 파라미터 없이 루트 경로로 돌아갈 때 새로고침
51
+ const reloadUrl = (url: string) => {
52
+ if (router.pathname === url) {
53
+ router.push(url).then(() => {
54
+ router.reload();
55
+ });
56
+ }
57
+ };
58
+ return (
59
+ <>
60
+ {isMyCaseOn ? <MyCase onClick={onClickMyCase} /> : <></>}
61
+
62
+ {/*pc 메뉴*/}
63
+ {/*<div style={{ opacity }} className={style.main + ' max-lg:hidden'}>*/}
64
+ <div
65
+ style={{ opacity, zIndex: menuToggle ? 50 : -9999, pointerEvents: menuToggle ? 'auto' : 'none' }}
66
+ className={`relative max-lg:hidden`}
67
+ >
68
+ <Image
69
+ onKeyDown={handleKeyPress}
70
+ tabIndex={0}
71
+ src={Menu}
72
+ width={54}
73
+ height={54}
74
+ alt={'메뉴'}
75
+ className={`fixed right-[7.5%] top-[5%] z-[101] w-[16px] cursor-pointer max-lg:right-[3.5%] max-lg:top-[2.8%] sm:w-[18px] md:w-[20px]`}
76
+ onClick={() => handleMenuToggle()}
77
+ />
78
+ <div
79
+ className={`fixed inset-0 z-50 block bg-black bg-opacity-[55%]`}
80
+ onClick={() => handleMenuToggle()}
81
+ ></div>
82
+ <div
83
+ className={
84
+ 'fixed right-0 top-0 z-[50] h-full w-[68.5%] min-w-[320px] overflow-hidden bg-white pt-[100px]'
85
+ }
86
+ >
87
+ <div
88
+ className={
89
+ 'flex h-full max-h-[800px] flex-col justify-between overflow-y-auto pb-[30px] text-center xl:ml-[75px] xl:w-[80%]'
90
+ }
91
+ >
92
+ {[...Array(2)].map((_, index) => {
93
+ return (
94
+ <ul key={index} className={`flex ${index === 0 ? 'pb-[30px]' : 'mt-0'}`}>
95
+ {[...Array(4)].map((_, index2) => {
96
+ return (
97
+ <li key={index2} className={'mt-[11.14px] lg:float-left lg:mt-0 lg:w-3/5 '}>
98
+ <ul className={'inline-block w-full text-black'}>
99
+ <li>
100
+ <span
101
+ className={
102
+ 'inline-block w-full cursor-pointer text-[1.2rem] font-[800] max-lg:pb-2 sm:text-[1.4em] md:text-[24px] lg:cursor-auto'
103
+ }
104
+ >
105
+ {routes[index2 + index * 4].name}
106
+ </span>
107
+ <div className={`mx-auto max-lg:ml-3`}>
108
+ <ul
109
+ className={
110
+ 'mt-2 flex w-4/5 flex-col gap-y-3 text-sm md:mt-2 md:text-2xl lg:block lg:w-full'
111
+ }
112
+ >
113
+ {routes[index2 + index * 4].routes?.map(
114
+ (item, index) => {
115
+ return (
116
+ <li key={index} className={'relative'}>
117
+ {item.name != '나의 사건검색' ? (
118
+ <Link
119
+ href={
120
+ item.path ? item.path : ''
121
+ }
122
+ onClick={() => {
123
+ handleMenuToggle(item.path);
124
+ reloadUrl(
125
+ item.path
126
+ ? item.path
127
+ : ''
128
+ );
129
+ }}
130
+ className={
131
+ 'block w-1/2 pt-1 text-[18px] hover:text-[#285FA7] lg:w-full lg:py-2'
132
+ }
133
+ target={
134
+ item.name === '통합검색' ||
135
+ item.name === '판결분석' ||
136
+ item.name ===
137
+ '만화로 보는 사례' ||
138
+ item.name === '인재채용'
139
+ ? '_blank'
140
+ : '_self'
141
+ }
142
+ >
143
+ <span
144
+ className={
145
+ 'relative w-[10em]'
146
+ }
147
+ >
148
+ {item.name}
149
+ {item.name === '통합검색' ||
150
+ item.name === '판결분석' ||
151
+ item.name ===
152
+ '만화로 보는 사례' ||
153
+ item.name === '인재채용' ? (
154
+ <Image
155
+ src={Window}
156
+ alt="새창이미지"
157
+ width={13}
158
+ height={13}
159
+ className="absolute left-[4em] top-[6px] sm:top-[5px] md:left-auto md:right-[-1.2em] md:top-[5px]"
160
+ />
161
+ ) : null}
162
+ </span>
163
+ </Link>
164
+ ) : (
165
+ <span
166
+ onClick={() =>
167
+ setIsMyCaseOn(true)
168
+ }
169
+ className={
170
+ 'block w-1/2 cursor-pointer pt-1 text-[18px] hover:text-[#285FA7] lg:w-full lg:py-2'
171
+ }
172
+ >
173
+ <span
174
+ className={
175
+ 'relative w-[10em]'
176
+ }
177
+ >
178
+ {item.name}
179
+ </span>
180
+ </span>
181
+ )}
182
+ </li>
183
+ );
184
+ }
185
+ )}
186
+ </ul>
187
+ </div>
188
+ </li>
189
+ </ul>
190
+ </li>
191
+ );
192
+ })}
193
+ </ul>
194
+ );
195
+ })}
196
+
197
+ {/*전화번호*/}
198
+ <div
199
+ className={
200
+ 'mt-[30px] text-left text-black max-lg:mr-4 max-lg:text-right lg:ml-[4vw] xl:ml-[2vw] 2xl:ml-[3vw] ' +
201
+ 'flex items-center justify-start'
202
+ }
203
+ >
204
+ <Link
205
+ href={`tel:${tel}`}
206
+ onClick={() => {
207
+ insert('call', isMobile);
208
+ savePowerLinkConversion('call', isMobile);
209
+ menuTelClickPC();
210
+ }}
211
+ className={'inline-block'}
212
+ >
213
+ <div className={'flex items-center justify-center'}>
214
+ <Image
215
+ src={Call}
216
+ width={57}
217
+ height={57}
218
+ alt={'전화상담'}
219
+ className={'aspect-square w-[35px] lg:w-[49px] '}
220
+ />
221
+ <span
222
+ className={
223
+ 'whitespace-nowrap pl-[12px] text-[24px] font-[800] lg:pl-[18px] lg:text-[32px] '
224
+ }
225
+ >
226
+ {tel}
227
+ </span>
228
+ </div>
229
+ </Link>
230
+ {isBrochureBtn ? (
231
+ <BrochureBtn width={'280px'} height={'58px'} className={'ml-16'} />
232
+ ) : (
233
+ <></>
234
+ )}
235
+ </div>
236
+ </div>
237
+ </div>
238
+ </div>
239
+ </>
240
+ );
241
+ };
242
+
243
+ export default PCMenu;
@@ -0,0 +1,150 @@
1
+ /* Keyframes */
2
+ @keyframes leftMove {
3
+ 0% {
4
+ transform: translateX(0px);
5
+ }
6
+ 100% {
7
+ transform: translateX(-80px);
8
+ }
9
+ }
10
+
11
+ @keyframes bgWide {
12
+ from {
13
+ width: 0;
14
+ }
15
+ to {
16
+ width: 100vw;
17
+ }
18
+ }
19
+
20
+ @keyframes fadeInUp {
21
+ from {
22
+ opacity: 0;
23
+ transform: translateY(20px);
24
+ }
25
+ to {
26
+ opacity: 1;
27
+ transform: translateY(0);
28
+ }
29
+ }
30
+
31
+ @keyframes fadeIn {
32
+ 0% {
33
+ opacity: 0;
34
+ }
35
+ 20% {
36
+ opacity: 1;
37
+ }
38
+ 100% {
39
+ opacity: 1;
40
+ }
41
+ }
42
+
43
+ @keyframes titleTextFadeOut {
44
+ 0% {
45
+ opacity: 1;
46
+ }
47
+ 100% {
48
+ opacity: 0;
49
+ }
50
+ }
51
+
52
+ @keyframes titleTextFadeIn {
53
+ 0% {
54
+ opacity: 0;
55
+ }
56
+ 100% {
57
+ opacity: 1;
58
+ }
59
+ }
60
+
61
+ @keyframes picAni_s {
62
+ 0% {
63
+ transform: translateZ(0) translateX(-50%) translateY(-50%) scale(0);
64
+ }
65
+ 100% {
66
+ transform: translateZ(0) translateX(-50%) translateY(-50%) scale(5.5);
67
+ }
68
+ }
69
+
70
+ @keyframes picAni_b {
71
+ 0% {
72
+ transform: translateZ(0) translateX(-50%) translateY(-50%) scale(0);
73
+ }
74
+ 100% {
75
+ transform: translateZ(0) translateX(-50%) translateY(-50%) scale(5.5);
76
+ }
77
+ }
78
+
79
+ /* Animations */
80
+ .bg_animation {
81
+ animation: leftMove 10s linear forwards;
82
+ animation-fill-mode: forwards;
83
+ }
84
+
85
+ .scroll_fade_in {
86
+ animation: fadeInUp 1.5s ease-in-out !important;
87
+ animation-fill-mode: forwards;
88
+ }
89
+
90
+ .scroll_fade_in_strength {
91
+ animation: fadeInUp 2.5s ease-in-out !important;
92
+ animation-fill-mode: forwards;
93
+ }
94
+
95
+ .bg_css {
96
+ position: relative;
97
+ overflow: hidden;
98
+ width: 100%;
99
+ height: 100%;
100
+ animation: bgWide 1s linear forwards !important;
101
+ }
102
+
103
+ .s4_bg_animation {
104
+ animation: imageWide 0.5s ease-in-out;
105
+ animation-fill-mode: forwards;
106
+ }
107
+
108
+ .fade_in_title {
109
+ animation: fadeIn 10s ease-in-out infinite;
110
+ }
111
+
112
+ .fade_out_titleText {
113
+ animation: titleTextFadeOut 2s ease-in-out 4s;
114
+ }
115
+
116
+ .fade_in_titleText {
117
+ animation: titleTextFadeIn 2s ease-in-out;
118
+ }
119
+
120
+ .map_picAni_s {
121
+ -webkit-animation: picAni_s 1.5s ease-in-out infinite;
122
+ animation: picAni_s 1.5s ease-in-out infinite;
123
+ }
124
+
125
+ .map_picAni_b {
126
+ transform-origin: 50% 50%;
127
+ -webkit-animation: picAni_b 1.5s ease-in-out infinite;
128
+ animation: picAni_b 1.5s ease-in-out infinite;
129
+ }
130
+
131
+ /* Masks */
132
+ .slide_fade_up_down {
133
+ mask-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,1) 18%, rgba(0,0,0,1) 70%, rgba(0,0,0,0)),
134
+ linear-gradient(to top, rgba(0,0,0,0), rgba(0,0,0,1) 30%, rgba(0,0,0,1) 82%, rgba(0,0,0,0));
135
+ }
136
+
137
+ .slide_fade {
138
+ mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 18%, rgba(0,0,0,1) 82%, rgba(0,0,0,0) 100%);
139
+ }
140
+
141
+ @media screen and (max-width: 1024px) {
142
+ .slide_fade {
143
+ mask-image: unset;
144
+ }
145
+
146
+ .slide_fade_up_down {
147
+ mask-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,1) 18%, rgba(0,0,0,1) 80%, rgba(0,0,0,0)),
148
+ linear-gradient(to top, rgba(0,0,0,0), rgba(0,0,0,1) 20%, rgba(0,0,0,1) 82%, rgba(0,0,0,0));
149
+ }
150
+ }
@@ -16,20 +16,21 @@ const AreaImage = (props) => {
16
16
  <div aria-label={area.name} className={`relative flex aspect-square items-center justify-center text-white max-md:h-full max-md:w-full`}>
17
17
  <Image src={`https://d1tgonli21s4df.cloudfront.net/main_new/${area.url}`} alt={''} draggable={'false'} fill style={{ objectFit: 'cover' }} sizes={'100%'}/>
18
18
 
19
- {isHover ? (<div className={'absolute h-full w-full bg-black bg-opacity-50 p-[13px] opacity-100 max-3xl:p-[10px] max-xxl:p-[10px] max-xl:p-[7px] max-lg:p-[6px] '} aria-label={area.name}>
20
- <div className={'flex h-full w-full items-center justify-center border border-solid border-white'}>
21
- <Image src={`https://d1tgonli21s4df.cloudfront.net/comp/main/section10/icon_img_map_pick.webp`} alt={'hover icon'} className={'h-auto w-[28px] translate-y-[50px] ' +
22
- 'max-xl:w-[22px] max-xl:translate-y-[35px] ' +
23
- 'max-lg:w-[20px] max-lg:translate-y-7 ' +
24
- 'max-md:w-[15px] max-md:translate-y-[25px] '} draggable={'false'} width={43} height={43}/>
25
- </div>
26
- </div>) : null}
19
+ <div className={(isHover ? 'opacity-100 ' : 'opacity-0 ') +
20
+ 'absolute h-full w-full bg-black bg-opacity-50 p-[13px] transition-[opacity] max-3xl:p-[10px] max-xxl:p-[10px] max-xl:p-[7px] max-lg:p-[6px] '} aria-label={area.name}>
21
+ <div className={'flex h-full w-full items-center justify-center border border-solid border-white'}>
22
+ <Image src={`https://d1tgonli21s4df.cloudfront.net/comp/main/section10/icon_img_map_pick.webp`} alt={'hover icon'} className={'h-auto w-[28px] translate-y-[50px] ' +
23
+ 'max-xl:w-[22px] max-xl:translate-y-[35px] ' +
24
+ 'max-lg:w-[20px] max-lg:translate-y-7 ' +
25
+ 'max-md:w-[15px] max-md:translate-y-[25px] '} draggable={'false'} width={43} height={43}/>
26
+ </div>
27
+ </div>
27
28
 
28
- <p className={`absolute text-center group-hover:-translate-y-[25%]`} aria-label={area.name}>
29
- <span aria-label={area.name} className={'text-[28px] font-semibold max-3xl:text-[24px] max-xl:text-[20px] max-lg:text-[18px] max-md2:text-[16px] max-md:text-[14px] '}>
29
+ <p className={`absolute text-center leading-none transition-[transform] group-hover:-translate-y-[25%]`} aria-label={area.name}>
30
+ <span aria-label={area.name} className={'whitespace-pre-wrap text-[28px] font-semibold leading-none max-5xl:text-[26px] max-3xl:text-[24px] max-xl:text-[20px] max-lg:text-[18px] max-md2:text-[15px] max-md:text-[14px] '}>
30
31
  {area.name}
31
32
  </span>
32
- <span aria-label={area.desc} className={'block text-[17px] font-medium max-3xl:text-[16px] max-xl:text-[14px] max-lg:text-[12px] max-md:text-[10px] '}>
33
+ <span aria-label={area.desc} className={'mt-4 block text-[17px] font-medium max-3xl:text-[16px] max-xxl:mt-[10px] max-xl:text-[14px] max-lg:mt-2 max-lg:text-[12px] max-md:text-[10px]'}>
33
34
  {area.desc}
34
35
  </span>
35
36
  </p>
@@ -40,40 +40,38 @@ const AreaImage = (props: { area: { name: string; desc: string; url: string; src
40
40
  sizes={'100%'}
41
41
  />
42
42
 
43
- {isHover ? (
44
- <div
45
- className={
46
- 'absolute h-full w-full bg-black bg-opacity-50 p-[13px] opacity-100 max-3xl:p-[10px] max-xxl:p-[10px] max-xl:p-[7px] max-lg:p-[6px] '
47
- }
48
- aria-label={area.name}
49
- >
50
- <div
43
+ <div
44
+ className={
45
+ (isHover ? 'opacity-100 ' : 'opacity-0 ') +
46
+ 'absolute h-full w-full bg-black bg-opacity-50 p-[13px] transition-[opacity] max-3xl:p-[10px] max-xxl:p-[10px] max-xl:p-[7px] max-lg:p-[6px] '
47
+ }
48
+ aria-label={area.name}
49
+ >
50
+ <div className={'flex h-full w-full items-center justify-center border border-solid border-white'}>
51
+ <Image
52
+ src={`https://d1tgonli21s4df.cloudfront.net/comp/main/section10/icon_img_map_pick.webp`}
53
+ alt={'hover icon'}
51
54
  className={
52
- 'flex h-full w-full items-center justify-center border border-solid border-white'
55
+ 'h-auto w-[28px] translate-y-[50px] ' +
56
+ 'max-xl:w-[22px] max-xl:translate-y-[35px] ' +
57
+ 'max-lg:w-[20px] max-lg:translate-y-7 ' +
58
+ 'max-md:w-[15px] max-md:translate-y-[25px] '
53
59
  }
54
- >
55
- <Image
56
- src={`https://d1tgonli21s4df.cloudfront.net/comp/main/section10/icon_img_map_pick.webp`}
57
- alt={'hover icon'}
58
- className={
59
- 'h-auto w-[28px] translate-y-[50px] ' +
60
- 'max-xl:w-[22px] max-xl:translate-y-[35px] ' +
61
- 'max-lg:w-[20px] max-lg:translate-y-7 ' +
62
- 'max-md:w-[15px] max-md:translate-y-[25px] '
63
- }
64
- draggable={'false'}
65
- width={43}
66
- height={43}
67
- />
68
- </div>
60
+ draggable={'false'}
61
+ width={43}
62
+ height={43}
63
+ />
69
64
  </div>
70
- ) : null}
65
+ </div>
71
66
 
72
- <p className={`absolute text-center group-hover:-translate-y-[25%]`} aria-label={area.name}>
67
+ <p
68
+ className={`absolute text-center leading-none transition-[transform] group-hover:-translate-y-[25%]`}
69
+ aria-label={area.name}
70
+ >
73
71
  <span
74
72
  aria-label={area.name}
75
73
  className={
76
- 'text-[28px] font-semibold max-3xl:text-[24px] max-xl:text-[20px] max-lg:text-[18px] max-md2:text-[16px] max-md:text-[14px] '
74
+ 'whitespace-pre-wrap text-[28px] font-semibold leading-none max-5xl:text-[26px] max-3xl:text-[24px] max-xl:text-[20px] max-lg:text-[18px] max-md2:text-[15px] max-md:text-[14px] '
77
75
  }
78
76
  >
79
77
  {area.name}
@@ -81,7 +79,7 @@ const AreaImage = (props: { area: { name: string; desc: string; url: string; src
81
79
  <span
82
80
  aria-label={area.desc}
83
81
  className={
84
- 'block text-[17px] font-medium max-3xl:text-[16px] max-xl:text-[14px] max-lg:text-[12px] max-md:text-[10px] '
82
+ 'mt-4 block text-[17px] font-medium max-3xl:text-[16px] max-xxl:mt-[10px] max-xl:text-[14px] max-lg:mt-2 max-lg:text-[12px] max-md:text-[10px]'
85
83
  }
86
84
  >
87
85
  {area.desc}
@@ -13,7 +13,23 @@ export const Default = {
13
13
  </div>);
14
14
  },
15
15
  args: {
16
- selectRegion: '서울',
16
+ Title: (<span className={'flex items-end pb-[1.1%] max-sm:items-center'}>
17
+ <p className={`!font-[NanumSquare] text-[173px] font-[800] leading-[0.8] tracking-[-3.46px] text-black max-3xl:text-[150px] max-xxl:text-[120px] max-lg:text-[90px] max-md:text-[80px] ` +
18
+ ' max-sm:text-[100px] max-2xs:text-[70px] '}>
19
+ 41
20
+ </p>
21
+ <span className={'justify-between pb-[8px] pl-[20px] max-3xl:pb-[6px] max-xxl:pb-[3px] max-lg:pl-[10px] max-sm:pl-3'}>
22
+ <h2 className={'text-[30px] leading-tight tracking-[-0.6px] max-5xl:text-[24px] max-3xl:text-[20px] max-xl:text-[18px] max-md2:text-[17px] max-xs:pb-1 max-xs:text-[16px] lg:pb-1'}>
23
+ <span className={'font-[800] '}>전국41개</span> 사무소에서 <br className={'sm:hidden'}/>
24
+ 군변호사가 상담부터 함께!
25
+ </h2>
26
+ <p className={'text-[80px] font-[900] leading-none tracking-[-3.2px] ' +
27
+ 'max-3xl:text-[70px] max-xxl:text-[60px] max-lg:text-[45px] max-md:text-[40px] max-sm:text-[45px] max-2xs:text-[35px]'}>
28
+ OFFICE
29
+ </p>
30
+ </span>
31
+ </span>),
32
+ selectRegion: '대구·경북',
17
33
  setMapFixOpen: () => { },
18
34
  setSelectRegion: () => { },
19
35
  initialData: {
@@ -21,7 +21,41 @@ export const Default: Story = {
21
21
  );
22
22
  },
23
23
  args: {
24
- selectRegion: '서울',
24
+ Title: (
25
+ <span className={'flex items-end pb-[1.1%] max-sm:items-center'}>
26
+ <p
27
+ className={
28
+ `!font-[NanumSquare] text-[173px] font-[800] leading-[0.8] tracking-[-3.46px] text-black max-3xl:text-[150px] max-xxl:text-[120px] max-lg:text-[90px] max-md:text-[80px] ` +
29
+ ' max-sm:text-[100px] max-2xs:text-[70px] '
30
+ }
31
+ >
32
+ 41
33
+ </p>
34
+ <span
35
+ className={
36
+ 'justify-between pb-[8px] pl-[20px] max-3xl:pb-[6px] max-xxl:pb-[3px] max-lg:pl-[10px] max-sm:pl-3'
37
+ }
38
+ >
39
+ <h2
40
+ className={
41
+ 'text-[30px] leading-tight tracking-[-0.6px] max-5xl:text-[24px] max-3xl:text-[20px] max-xl:text-[18px] max-md2:text-[17px] max-xs:pb-1 max-xs:text-[16px] lg:pb-1'
42
+ }
43
+ >
44
+ <span className={'font-[800] '}>전국41개</span> 사무소에서 <br className={'sm:hidden'} />
45
+ 군변호사가 상담부터 함께!
46
+ </h2>
47
+ <p
48
+ className={
49
+ 'text-[80px] font-[900] leading-none tracking-[-3.2px] ' +
50
+ 'max-3xl:text-[70px] max-xxl:text-[60px] max-lg:text-[45px] max-md:text-[40px] max-sm:text-[45px] max-2xs:text-[35px]'
51
+ }
52
+ >
53
+ OFFICE
54
+ </p>
55
+ </span>
56
+ </span>
57
+ ),
58
+ selectRegion: '대구·경북',
25
59
  setMapFixOpen: () => {},
26
60
  setSelectRegion: () => {},
27
61
  initialData: {